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_wxColour swig_types[30]
2497 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[31]
2498 #define SWIGTYPE_p_wxColourPickerEvent swig_types[32]
2499 #define SWIGTYPE_p_wxComboBox swig_types[33]
2500 #define SWIGTYPE_p_wxCommandEvent swig_types[34]
2501 #define SWIGTYPE_p_wxContextHelp swig_types[35]
2502 #define SWIGTYPE_p_wxContextHelpButton swig_types[36]
2503 #define SWIGTYPE_p_wxContextMenuEvent swig_types[37]
2504 #define SWIGTYPE_p_wxControl swig_types[38]
2505 #define SWIGTYPE_p_wxControlWithItems swig_types[39]
2506 #define SWIGTYPE_p_wxCursor swig_types[40]
2507 #define SWIGTYPE_p_wxDC swig_types[41]
2508 #define SWIGTYPE_p_wxDateEvent swig_types[42]
2509 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[43]
2510 #define SWIGTYPE_p_wxDateTime swig_types[44]
2511 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[45]
2512 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[46]
2513 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[47]
2514 #define SWIGTYPE_p_wxDropFilesEvent swig_types[48]
2515 #define SWIGTYPE_p_wxDuplexMode swig_types[49]
2516 #define SWIGTYPE_p_wxEraseEvent swig_types[50]
2517 #define SWIGTYPE_p_wxEvent swig_types[51]
2518 #define SWIGTYPE_p_wxEvtHandler swig_types[52]
2519 #define SWIGTYPE_p_wxFSFile swig_types[53]
2520 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[54]
2521 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[55]
2522 #define SWIGTYPE_p_wxFileSystem swig_types[56]
2523 #define SWIGTYPE_p_wxFlexGridSizer swig_types[57]
2524 #define SWIGTYPE_p_wxFocusEvent swig_types[58]
2525 #define SWIGTYPE_p_wxFont swig_types[59]
2526 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[60]
2527 #define SWIGTYPE_p_wxFontPickerEvent swig_types[61]
2528 #define SWIGTYPE_p_wxGBSizerItem swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGauge swig_types[64]
2531 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[65]
2532 #define SWIGTYPE_p_wxGenericDragImage swig_types[66]
2533 #define SWIGTYPE_p_wxGridBagSizer swig_types[67]
2534 #define SWIGTYPE_p_wxGridSizer swig_types[68]
2535 #define SWIGTYPE_p_wxHelpEvent swig_types[69]
2536 #define SWIGTYPE_p_wxHelpProvider swig_types[70]
2537 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[71]
2538 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[72]
2539 #define SWIGTYPE_p_wxICOHandler swig_types[73]
2540 #define SWIGTYPE_p_wxIcon swig_types[74]
2541 #define SWIGTYPE_p_wxIconizeEvent swig_types[75]
2542 #define SWIGTYPE_p_wxIdleEvent swig_types[76]
2543 #define SWIGTYPE_p_wxImage swig_types[77]
2544 #define SWIGTYPE_p_wxImageHandler swig_types[78]
2545 #define SWIGTYPE_p_wxImageList swig_types[79]
2546 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[80]
2547 #define SWIGTYPE_p_wxInitDialogEvent swig_types[81]
2548 #define SWIGTYPE_p_wxItemContainer swig_types[82]
2549 #define SWIGTYPE_p_wxJPEGHandler swig_types[83]
2550 #define SWIGTYPE_p_wxKeyEvent swig_types[84]
2551 #define SWIGTYPE_p_wxLayoutConstraints swig_types[85]
2552 #define SWIGTYPE_p_wxListBox swig_types[86]
2553 #define SWIGTYPE_p_wxListEvent swig_types[87]
2554 #define SWIGTYPE_p_wxListItem swig_types[88]
2555 #define SWIGTYPE_p_wxListItemAttr swig_types[89]
2556 #define SWIGTYPE_p_wxListView swig_types[90]
2557 #define SWIGTYPE_p_wxListbook swig_types[91]
2558 #define SWIGTYPE_p_wxListbookEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMaximizeEvent swig_types[93]
2560 #define SWIGTYPE_p_wxMemoryDC swig_types[94]
2561 #define SWIGTYPE_p_wxMenu swig_types[95]
2562 #define SWIGTYPE_p_wxMenuBar swig_types[96]
2563 #define SWIGTYPE_p_wxMenuEvent swig_types[97]
2564 #define SWIGTYPE_p_wxMenuItem swig_types[98]
2565 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMouseEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMoveEvent swig_types[101]
2568 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[102]
2569 #define SWIGTYPE_p_wxNcPaintEvent swig_types[103]
2570 #define SWIGTYPE_p_wxNotebook swig_types[104]
2571 #define SWIGTYPE_p_wxNotebookEvent swig_types[105]
2572 #define SWIGTYPE_p_wxNotifyEvent swig_types[106]
2573 #define SWIGTYPE_p_wxObject swig_types[107]
2574 #define SWIGTYPE_p_wxPCXHandler swig_types[108]
2575 #define SWIGTYPE_p_wxPNGHandler swig_types[109]
2576 #define SWIGTYPE_p_wxPNMHandler swig_types[110]
2577 #define SWIGTYPE_p_wxPaintEvent swig_types[111]
2578 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPaperSize swig_types[113]
2580 #define SWIGTYPE_p_wxPickerBase swig_types[114]
2581 #define SWIGTYPE_p_wxPoint swig_types[115]
2582 #define SWIGTYPE_p_wxPyApp swig_types[116]
2583 #define SWIGTYPE_p_wxPyCommandEvent swig_types[117]
2584 #define SWIGTYPE_p_wxPyControl swig_types[118]
2585 #define SWIGTYPE_p_wxPyEvent swig_types[119]
2586 #define SWIGTYPE_p_wxPyImageHandler swig_types[120]
2587 #define SWIGTYPE_p_wxPyListCtrl swig_types[121]
2588 #define SWIGTYPE_p_wxPySizer swig_types[122]
2589 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[123]
2590 #define SWIGTYPE_p_wxPyTreeItemData swig_types[124]
2591 #define SWIGTYPE_p_wxPyValidator swig_types[125]
2592 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2593 #define SWIGTYPE_p_wxRadioBox swig_types[127]
2594 #define SWIGTYPE_p_wxRadioButton swig_types[128]
2595 #define SWIGTYPE_p_wxRect swig_types[129]
2596 #define SWIGTYPE_p_wxScrollBar swig_types[130]
2597 #define SWIGTYPE_p_wxScrollEvent swig_types[131]
2598 #define SWIGTYPE_p_wxScrollWinEvent swig_types[132]
2599 #define SWIGTYPE_p_wxSetCursorEvent swig_types[133]
2600 #define SWIGTYPE_p_wxShowEvent swig_types[134]
2601 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[135]
2602 #define SWIGTYPE_p_wxSize swig_types[136]
2603 #define SWIGTYPE_p_wxSizeEvent swig_types[137]
2604 #define SWIGTYPE_p_wxSizer swig_types[138]
2605 #define SWIGTYPE_p_wxSizerItem swig_types[139]
2606 #define SWIGTYPE_p_wxSlider swig_types[140]
2607 #define SWIGTYPE_p_wxSpinButton swig_types[141]
2608 #define SWIGTYPE_p_wxSpinCtrl swig_types[142]
2609 #define SWIGTYPE_p_wxSpinEvent swig_types[143]
2610 #define SWIGTYPE_p_wxStaticBitmap swig_types[144]
2611 #define SWIGTYPE_p_wxStaticBox swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStaticLine swig_types[147]
2614 #define SWIGTYPE_p_wxStaticText swig_types[148]
2615 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[149]
2616 #define SWIGTYPE_p_wxString swig_types[150]
2617 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[151]
2618 #define SWIGTYPE_p_wxTIFFHandler swig_types[152]
2619 #define SWIGTYPE_p_wxTextAttr swig_types[153]
2620 #define SWIGTYPE_p_wxTextCtrl swig_types[154]
2621 #define SWIGTYPE_p_wxTextUrlEvent swig_types[155]
2622 #define SWIGTYPE_p_wxToggleButton swig_types[156]
2623 #define SWIGTYPE_p_wxToolBar swig_types[157]
2624 #define SWIGTYPE_p_wxToolBarBase swig_types[158]
2625 #define SWIGTYPE_p_wxToolBarToolBase swig_types[159]
2626 #define SWIGTYPE_p_wxToolbook swig_types[160]
2627 #define SWIGTYPE_p_wxToolbookEvent swig_types[161]
2628 #define SWIGTYPE_p_wxTreeEvent swig_types[162]
2629 #define SWIGTYPE_p_wxTreeItemId swig_types[163]
2630 #define SWIGTYPE_p_wxTreebook swig_types[164]
2631 #define SWIGTYPE_p_wxTreebookEvent swig_types[165]
2632 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[166]
2633 #define SWIGTYPE_p_wxValidator swig_types[167]
2634 #define SWIGTYPE_p_wxVisualAttributes swig_types[168]
2635 #define SWIGTYPE_p_wxWindow swig_types[169]
2636 #define SWIGTYPE_p_wxWindowBase swig_types[170]
2637 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[171]
2638 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[172]
2639 #define SWIGTYPE_p_wxXPMHandler swig_types[173]
2640 static swig_type_info
*swig_types
[175];
2641 static swig_module_info swig_module
= {swig_types
, 174, 0, 0, 0, 0};
2642 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2643 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2645 /* -------- TYPES TABLE (END) -------- */
2647 #if (PY_VERSION_HEX <= 0x02000000)
2648 # if !defined(SWIG_PYTHON_CLASSIC)
2649 # error "This python version requires to use swig with the '-classic' option"
2652 #if (PY_VERSION_HEX <= 0x02020000)
2653 # error "This python version requires to use swig with the '-nomodern' option"
2655 #if (PY_VERSION_HEX <= 0x02020000)
2656 # error "This python version requires to use swig with the '-nomodernargs' option"
2659 # error "This python version requires to use swig with the '-nofastunpack' option"
2662 /*-----------------------------------------------
2663 @(target):= _controls_.so
2664 ------------------------------------------------*/
2665 #define SWIG_init init_controls_
2667 #define SWIG_name "_controls_"
2669 #define SWIGVERSION 0x010329
2672 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2673 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2676 #include <stdexcept>
2680 class PyObject_ptr
{
2685 PyObject_ptr() :_obj(0)
2689 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2694 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2696 if (initial_ref
) Py_XINCREF(_obj
);
2699 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2701 Py_XINCREF(item
._obj
);
2712 operator PyObject
*() const
2717 PyObject
*operator->() const
2726 struct PyObject_var
: PyObject_ptr
{
2727 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2729 PyObject_var
& operator = (PyObject
* obj
)
2739 #include "wx/wxPython/wxPython.h"
2740 #include "wx/wxPython/pyclasses.h"
2742 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2743 static const wxString
wxPyEmptyString(wxEmptyString
);
2744 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2746 const wxArrayString wxPyEmptyStringArray
;
2748 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2750 #define SWIG_From_long PyInt_FromLong
2753 SWIGINTERNINLINE PyObject
*
2754 SWIG_From_int (int value
)
2756 return SWIG_From_long (value
);
2762 # define LLONG_MIN LONG_LONG_MIN
2765 # define LLONG_MAX LONG_LONG_MAX
2768 # define ULLONG_MAX ULONG_LONG_MAX
2773 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2775 if (PyNumber_Check(obj
)) {
2776 if (val
) *val
= PyInt_AsLong(obj
);
2779 return SWIG_TypeError
;
2784 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2787 int res
= SWIG_AsVal_long (obj
, &v
);
2788 if (SWIG_IsOK(res
)) {
2789 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2790 return SWIG_OverflowError
;
2792 if (val
) *val
= static_cast< int >(v
);
2798 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2801 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2803 if (obj
== Py_True
) {
2804 if (val
) *val
= true;
2806 } else if (obj
== Py_False
) {
2807 if (val
) *val
= false;
2811 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2812 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2817 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2818 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2819 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2820 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2821 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2822 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2824 #include <wx/checklst.h>
2826 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2827 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2830 wxPyClientData
* data
= new wxPyClientData(clientData
);
2831 self
->Insert(item
, pos
, data
);
2834 self
->Insert(item
, pos
);
2838 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2841 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2842 return SWIG_TypeError
;
2845 *val
= (unsigned long)v
;
2851 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2854 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2855 if (SWIG_IsOK(res
)) {
2856 if ((v
> UINT_MAX
)) {
2857 return SWIG_OverflowError
;
2859 if (val
) *val
= static_cast< unsigned int >(v
);
2865 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2866 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2868 self
->GetSelections(lst
);
2869 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2870 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2872 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2874 wxPyEndBlockThreads(blocked
);
2877 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2879 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2880 self
->GetItem(item
)->SetTextColour(c
);
2883 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2885 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2886 self
->GetItem(item
)->SetBackgroundColour(c
);
2889 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2891 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2892 self
->GetItem(item
)->SetFont(f
);
2895 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2896 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2897 self
->AppendText(text
);
2899 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2900 return self
->GetValue().Mid(from
, to
- from
);
2902 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2903 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2904 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2905 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2906 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2908 SWIGINTERNINLINE PyObject
*
2909 SWIG_From_unsigned_SS_long (unsigned long value
)
2911 return (value
> LONG_MAX
) ?
2912 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2916 SWIGINTERNINLINE PyObject
*
2917 SWIG_From_size_t (size_t value
)
2919 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2923 SWIGINTERNINLINE PyObject
*
2924 SWIG_From_unsigned_SS_int (unsigned int value
)
2926 return SWIG_From_unsigned_SS_long (value
);
2930 #include <wx/slider.h>
2933 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2934 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2936 #if !wxUSE_TOGGLEBTN
2937 // implement dummy items for platforms that don't have this class
2939 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2941 class wxToggleButton
: public wxControl
2944 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2945 const wxPoint
&, const wxSize
&, long,
2946 const wxValidator
&, const wxString
&)
2947 { wxPyRaiseNotImplemented(); }
2950 { wxPyRaiseNotImplemented(); }
2954 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2956 SWIGINTERNINLINE
int
2957 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2960 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2961 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2965 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2966 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2967 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2969 Py_INCREF(udata
->m_obj
);
2970 return udata
->m_obj
;
2976 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2977 self
->SetClientData(new wxPyUserData(clientData
));
2979 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
){
2980 wxPyUserData
* udata
= NULL
;
2981 if (clientData
&& clientData
!= Py_None
)
2982 udata
= new wxPyUserData(clientData
);
2983 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2984 shortHelp
, longHelp
, udata
);
2986 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
){
2987 wxPyUserData
* udata
= NULL
;
2988 if (clientData
&& clientData
!= Py_None
)
2989 udata
= new wxPyUserData(clientData
);
2990 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2991 shortHelp
, longHelp
, udata
);
2993 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2994 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
2996 Py_INCREF(udata
->m_obj
);
2997 return udata
->m_obj
;
3003 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3004 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3007 #include <wx/listctrl.h>
3009 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3010 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3011 // Python aware sorting function for wxPyListCtrl
3012 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3014 PyObject
* func
= (PyObject
*)funcPtr
;
3015 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3017 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3018 PyObject
* result
= PyEval_CallObject(func
, args
);
3021 retval
= PyInt_AsLong(result
);
3025 wxPyEndBlockThreads(blocked
);
3029 // C++ Version of a Python aware class
3030 class wxPyListCtrl
: public wxListCtrl
{
3031 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3033 wxPyListCtrl() : wxListCtrl() {}
3034 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3038 const wxValidator
& validator
,
3039 const wxString
& name
) :
3040 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3042 bool Create(wxWindow
* parent
, wxWindowID id
,
3046 const wxValidator
& validator
,
3047 const wxString
& name
) {
3048 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3051 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3052 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3054 // use the virtual version to avoid a confusing assert in the base class
3055 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3056 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3061 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3063 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3064 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3065 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3066 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3069 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3071 item
.SetMask( wxLIST_MASK_STATE
|
3079 if (self
->GetColumn(col
, item
))
3080 return new wxListItem(item
);
3084 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3085 wxListItem
* info
= new wxListItem
;
3086 info
->m_itemId
= itemId
;
3088 info
->m_mask
= 0xFFFF;
3089 self
->GetItem(*info
);
3092 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3094 self
->GetItemPosition(item
, pos
);
3097 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3099 self
->GetItemRect(item
, rect
, code
);
3102 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3103 if (!PyCallable_Check(func
))
3105 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3107 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3115 #include <wx/treectrl.h>
3116 #include "wx/wxPython/pytree.h"
3118 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3119 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3120 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3121 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3123 static wxTreeItemId wxNullTreeItemId
;
3125 // C++ version of Python aware wxTreeCtrl
3126 class wxPyTreeCtrl
: public wxTreeCtrl
{
3127 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3129 wxPyTreeCtrl() : wxTreeCtrl() {}
3130 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3134 const wxValidator
& validator
,
3135 const wxString
& name
) :
3136 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3138 bool Create(wxWindow
*parent
, wxWindowID id
,
3142 const wxValidator
& validator
,
3143 const wxString
& name
) {
3144 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3148 int OnCompareItems(const wxTreeItemId
& item1
,
3149 const wxTreeItemId
& item2
) {
3152 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3153 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3154 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3155 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3156 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3160 wxPyEndBlockThreads(blocked
);
3162 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3168 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3171 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3172 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3174 data
= new wxPyTreeItemData();
3175 data
->SetId(item
); // set the id
3176 self
->SetItemData(item
, data
);
3180 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3181 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3183 data
= new wxPyTreeItemData();
3184 data
->SetId(item
); // set the id
3185 self
->SetItemData(item
, data
);
3187 return data
->GetData();
3189 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3190 data
->SetId(item
); // set the id
3191 self
->SetItemData(item
, data
);
3193 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3194 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3196 data
= new wxPyTreeItemData(obj
);
3197 data
->SetId(item
); // set the id
3198 self
->SetItemData(item
, data
);
3202 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3203 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3204 PyObject
* rval
= PyList_New(0);
3205 wxArrayTreeItemIds array
;
3207 num
= self
->GetSelections(array
);
3208 for (x
=0; x
< num
; x
++) {
3209 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3210 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3211 PyList_Append(rval
, item
);
3214 wxPyEndBlockThreads(blocked
);
3217 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3219 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3220 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3221 PyObject
* tup
= PyTuple_New(2);
3222 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3223 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3224 wxPyEndBlockThreads(blocked
);
3227 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3228 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3229 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3230 PyObject
* tup
= PyTuple_New(2);
3231 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3232 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3233 wxPyEndBlockThreads(blocked
);
3236 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3238 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3239 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3240 wxRect
* r
= new wxRect(rect
);
3241 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3242 wxPyEndBlockThreads(blocked
);
3248 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3250 SWIGINTERNINLINE PyObject
*
3251 SWIG_From_bool (bool value
)
3253 return PyBool_FromLong(value
? 1 : 0);
3256 // C++ version of Python aware wxControl
3257 class wxPyControl
: public wxControl
3259 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3261 wxPyControl() : wxControl() {}
3262 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3263 const wxPoint
& pos
= wxDefaultPosition
,
3264 const wxSize
& size
= wxDefaultSize
,
3266 const wxValidator
& validator
=wxDefaultValidator
,
3267 const wxString
& name
= wxPyControlNameStr
)
3268 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3270 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
3272 bool DoEraseBackground(wxDC
* dc
) {
3274 return wxWindow::DoEraseBackground(dc
->GetHDC());
3276 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3282 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3283 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3284 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3285 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3287 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3288 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3289 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3291 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3292 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3294 DEC_PYCALLBACK__(InitDialog
);
3295 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3296 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3297 DEC_PYCALLBACK_BOOL_(Validate
);
3299 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3300 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3301 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3303 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3304 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3306 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3307 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3309 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3311 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3316 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3318 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3319 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3320 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3321 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3323 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3324 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3325 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3327 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3328 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3330 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3331 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3332 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3333 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3335 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3336 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3337 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3339 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3340 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3342 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3343 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3345 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3347 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3351 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3353 #include <wx/generic/dragimgg.h>
3355 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3356 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3358 self
->GetRange(&rv
, NULL
);
3361 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3363 self
->GetRange(NULL
, &rv
);
3366 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3367 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3368 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3369 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3370 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3371 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3372 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3373 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3377 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3378 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3383 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3384 PyObject
*pyobj
= 0;
3388 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3390 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3397 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3398 PyObject
*resultobj
= 0;
3399 wxWindow
*arg1
= (wxWindow
*) 0 ;
3400 int arg2
= (int) -1 ;
3401 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3402 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3403 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3404 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3405 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3406 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3407 long arg6
= (long) 0 ;
3408 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3409 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3410 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3411 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3412 wxButton
*result
= 0 ;
3417 bool temp3
= false ;
3424 bool temp8
= false ;
3425 PyObject
* obj0
= 0 ;
3426 PyObject
* obj1
= 0 ;
3427 PyObject
* obj2
= 0 ;
3428 PyObject
* obj3
= 0 ;
3429 PyObject
* obj4
= 0 ;
3430 PyObject
* obj5
= 0 ;
3431 PyObject
* obj6
= 0 ;
3432 PyObject
* obj7
= 0 ;
3433 char * kwnames
[] = {
3434 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3439 if (!SWIG_IsOK(res1
)) {
3440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3442 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3445 if (!SWIG_IsOK(ecode2
)) {
3446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3448 arg2
= static_cast< int >(val2
);
3452 arg3
= wxString_in_helper(obj2
);
3453 if (arg3
== NULL
) SWIG_fail
;
3460 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3466 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3470 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3471 if (!SWIG_IsOK(ecode6
)) {
3472 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3474 arg6
= static_cast< long >(val6
);
3477 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3478 if (!SWIG_IsOK(res7
)) {
3479 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3482 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3484 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3488 arg8
= wxString_in_helper(obj7
);
3489 if (arg8
== NULL
) SWIG_fail
;
3494 if (!wxPyCheckForApp()) SWIG_fail
;
3495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3496 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3497 wxPyEndAllowThreads(__tstate
);
3498 if (PyErr_Occurred()) SWIG_fail
;
3500 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3523 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3524 PyObject
*resultobj
= 0;
3525 wxButton
*result
= 0 ;
3527 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3529 if (!wxPyCheckForApp()) SWIG_fail
;
3530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3531 result
= (wxButton
*)new wxButton();
3532 wxPyEndAllowThreads(__tstate
);
3533 if (PyErr_Occurred()) SWIG_fail
;
3535 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3542 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3543 PyObject
*resultobj
= 0;
3544 wxButton
*arg1
= (wxButton
*) 0 ;
3545 wxWindow
*arg2
= (wxWindow
*) 0 ;
3546 int arg3
= (int) -1 ;
3547 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3548 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3549 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3550 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3551 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3552 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3553 long arg7
= (long) 0 ;
3554 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3555 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3556 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3557 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3565 bool temp4
= false ;
3572 bool temp9
= false ;
3573 PyObject
* obj0
= 0 ;
3574 PyObject
* obj1
= 0 ;
3575 PyObject
* obj2
= 0 ;
3576 PyObject
* obj3
= 0 ;
3577 PyObject
* obj4
= 0 ;
3578 PyObject
* obj5
= 0 ;
3579 PyObject
* obj6
= 0 ;
3580 PyObject
* obj7
= 0 ;
3581 PyObject
* obj8
= 0 ;
3582 char * kwnames
[] = {
3583 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3588 if (!SWIG_IsOK(res1
)) {
3589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3591 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3592 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3593 if (!SWIG_IsOK(res2
)) {
3594 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3596 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3598 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3599 if (!SWIG_IsOK(ecode3
)) {
3600 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3602 arg3
= static_cast< int >(val3
);
3606 arg4
= wxString_in_helper(obj3
);
3607 if (arg4
== NULL
) SWIG_fail
;
3614 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3620 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3624 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3625 if (!SWIG_IsOK(ecode7
)) {
3626 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3628 arg7
= static_cast< long >(val7
);
3631 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3632 if (!SWIG_IsOK(res8
)) {
3633 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3636 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3638 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3642 arg9
= wxString_in_helper(obj8
);
3643 if (arg9
== NULL
) SWIG_fail
;
3648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3649 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3650 wxPyEndAllowThreads(__tstate
);
3651 if (PyErr_Occurred()) SWIG_fail
;
3654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3678 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3679 PyObject
*resultobj
= 0;
3680 wxButton
*arg1
= (wxButton
*) 0 ;
3683 PyObject
*swig_obj
[1] ;
3685 if (!args
) SWIG_fail
;
3687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3688 if (!SWIG_IsOK(res1
)) {
3689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3691 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3694 (arg1
)->SetDefault();
3695 wxPyEndAllowThreads(__tstate
);
3696 if (PyErr_Occurred()) SWIG_fail
;
3698 resultobj
= SWIG_Py_Void();
3705 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3706 PyObject
*resultobj
= 0;
3709 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3712 result
= wxButton::GetDefaultSize();
3713 wxPyEndAllowThreads(__tstate
);
3714 if (PyErr_Occurred()) SWIG_fail
;
3716 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3723 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3724 PyObject
*resultobj
= 0;
3725 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3726 SwigValueWrapper
<wxVisualAttributes
> result
;
3729 PyObject
* obj0
= 0 ;
3730 char * kwnames
[] = {
3731 (char *) "variant", NULL
3734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3736 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3737 if (!SWIG_IsOK(ecode1
)) {
3738 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3740 arg1
= static_cast< wxWindowVariant
>(val1
);
3743 if (!wxPyCheckForApp()) SWIG_fail
;
3744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3745 result
= wxButton::GetClassDefaultAttributes(arg1
);
3746 wxPyEndAllowThreads(__tstate
);
3747 if (PyErr_Occurred()) SWIG_fail
;
3749 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3756 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3758 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3759 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3760 return SWIG_Py_Void();
3763 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3764 return SWIG_Python_InitShadowInstance(args
);
3767 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3768 PyObject
*resultobj
= 0;
3769 wxWindow
*arg1
= (wxWindow
*) 0 ;
3770 int arg2
= (int) -1 ;
3771 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3772 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3773 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3774 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3775 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3776 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3777 long arg6
= (long) wxBU_AUTODRAW
;
3778 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3779 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3780 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3781 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3782 wxBitmapButton
*result
= 0 ;
3795 bool temp8
= false ;
3796 PyObject
* obj0
= 0 ;
3797 PyObject
* obj1
= 0 ;
3798 PyObject
* obj2
= 0 ;
3799 PyObject
* obj3
= 0 ;
3800 PyObject
* obj4
= 0 ;
3801 PyObject
* obj5
= 0 ;
3802 PyObject
* obj6
= 0 ;
3803 PyObject
* obj7
= 0 ;
3804 char * kwnames
[] = {
3805 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3810 if (!SWIG_IsOK(res1
)) {
3811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3813 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3815 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3816 if (!SWIG_IsOK(ecode2
)) {
3817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3819 arg2
= static_cast< int >(val2
);
3822 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3823 if (!SWIG_IsOK(res3
)) {
3824 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3827 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3829 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3834 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3840 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3844 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3845 if (!SWIG_IsOK(ecode6
)) {
3846 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3848 arg6
= static_cast< long >(val6
);
3851 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3852 if (!SWIG_IsOK(res7
)) {
3853 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3856 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3858 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3862 arg8
= wxString_in_helper(obj7
);
3863 if (arg8
== NULL
) SWIG_fail
;
3868 if (!wxPyCheckForApp()) SWIG_fail
;
3869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3870 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3871 wxPyEndAllowThreads(__tstate
);
3872 if (PyErr_Occurred()) SWIG_fail
;
3874 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3889 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3890 PyObject
*resultobj
= 0;
3891 wxBitmapButton
*result
= 0 ;
3893 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3895 if (!wxPyCheckForApp()) SWIG_fail
;
3896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3897 result
= (wxBitmapButton
*)new wxBitmapButton();
3898 wxPyEndAllowThreads(__tstate
);
3899 if (PyErr_Occurred()) SWIG_fail
;
3901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3908 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3909 PyObject
*resultobj
= 0;
3910 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3911 wxWindow
*arg2
= (wxWindow
*) 0 ;
3912 int arg3
= (int) -1 ;
3913 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3914 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3915 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3916 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3917 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3918 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3919 long arg7
= (long) wxBU_AUTODRAW
;
3920 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3921 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3922 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3923 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3939 bool temp9
= false ;
3940 PyObject
* obj0
= 0 ;
3941 PyObject
* obj1
= 0 ;
3942 PyObject
* obj2
= 0 ;
3943 PyObject
* obj3
= 0 ;
3944 PyObject
* obj4
= 0 ;
3945 PyObject
* obj5
= 0 ;
3946 PyObject
* obj6
= 0 ;
3947 PyObject
* obj7
= 0 ;
3948 PyObject
* obj8
= 0 ;
3949 char * kwnames
[] = {
3950 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3955 if (!SWIG_IsOK(res1
)) {
3956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3958 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3959 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3960 if (!SWIG_IsOK(res2
)) {
3961 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3963 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3965 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3966 if (!SWIG_IsOK(ecode3
)) {
3967 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3969 arg3
= static_cast< int >(val3
);
3972 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3973 if (!SWIG_IsOK(res4
)) {
3974 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3977 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3979 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3984 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3990 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3994 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3995 if (!SWIG_IsOK(ecode7
)) {
3996 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
3998 arg7
= static_cast< long >(val7
);
4001 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4002 if (!SWIG_IsOK(res8
)) {
4003 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4006 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4008 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4012 arg9
= wxString_in_helper(obj8
);
4013 if (arg9
== NULL
) SWIG_fail
;
4018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4019 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4020 wxPyEndAllowThreads(__tstate
);
4021 if (PyErr_Occurred()) SWIG_fail
;
4024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4040 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4041 PyObject
*resultobj
= 0;
4042 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4046 PyObject
*swig_obj
[1] ;
4048 if (!args
) SWIG_fail
;
4050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4051 if (!SWIG_IsOK(res1
)) {
4052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4054 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4057 result
= (arg1
)->GetBitmapLabel();
4058 wxPyEndAllowThreads(__tstate
);
4059 if (PyErr_Occurred()) SWIG_fail
;
4061 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4068 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4069 PyObject
*resultobj
= 0;
4070 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4074 PyObject
*swig_obj
[1] ;
4076 if (!args
) SWIG_fail
;
4078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4079 if (!SWIG_IsOK(res1
)) {
4080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4082 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4085 result
= (arg1
)->GetBitmapDisabled();
4086 wxPyEndAllowThreads(__tstate
);
4087 if (PyErr_Occurred()) SWIG_fail
;
4089 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4096 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4097 PyObject
*resultobj
= 0;
4098 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4102 PyObject
*swig_obj
[1] ;
4104 if (!args
) SWIG_fail
;
4106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4107 if (!SWIG_IsOK(res1
)) {
4108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4110 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4113 result
= (arg1
)->GetBitmapFocus();
4114 wxPyEndAllowThreads(__tstate
);
4115 if (PyErr_Occurred()) SWIG_fail
;
4117 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4124 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4125 PyObject
*resultobj
= 0;
4126 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4130 PyObject
*swig_obj
[1] ;
4132 if (!args
) SWIG_fail
;
4134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4135 if (!SWIG_IsOK(res1
)) {
4136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4138 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4141 result
= (arg1
)->GetBitmapSelected();
4142 wxPyEndAllowThreads(__tstate
);
4143 if (PyErr_Occurred()) SWIG_fail
;
4145 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4152 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4153 PyObject
*resultobj
= 0;
4154 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4158 PyObject
*swig_obj
[1] ;
4160 if (!args
) SWIG_fail
;
4162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4163 if (!SWIG_IsOK(res1
)) {
4164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4166 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4169 result
= (arg1
)->GetBitmapHover();
4170 wxPyEndAllowThreads(__tstate
);
4171 if (PyErr_Occurred()) SWIG_fail
;
4173 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4180 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4181 PyObject
*resultobj
= 0;
4182 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4183 wxBitmap
*arg2
= 0 ;
4188 PyObject
* obj0
= 0 ;
4189 PyObject
* obj1
= 0 ;
4190 char * kwnames
[] = {
4191 (char *) "self",(char *) "bitmap", NULL
4194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4196 if (!SWIG_IsOK(res1
)) {
4197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4199 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4200 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4201 if (!SWIG_IsOK(res2
)) {
4202 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4205 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4207 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4210 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4211 wxPyEndAllowThreads(__tstate
);
4212 if (PyErr_Occurred()) SWIG_fail
;
4214 resultobj
= SWIG_Py_Void();
4221 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4222 PyObject
*resultobj
= 0;
4223 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4224 wxBitmap
*arg2
= 0 ;
4229 PyObject
* obj0
= 0 ;
4230 PyObject
* obj1
= 0 ;
4231 char * kwnames
[] = {
4232 (char *) "self",(char *) "bitmap", NULL
4235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4237 if (!SWIG_IsOK(res1
)) {
4238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4240 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4241 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4242 if (!SWIG_IsOK(res2
)) {
4243 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4246 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4248 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4251 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4252 wxPyEndAllowThreads(__tstate
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4255 resultobj
= SWIG_Py_Void();
4262 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4263 PyObject
*resultobj
= 0;
4264 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4265 wxBitmap
*arg2
= 0 ;
4270 PyObject
* obj0
= 0 ;
4271 PyObject
* obj1
= 0 ;
4272 char * kwnames
[] = {
4273 (char *) "self",(char *) "bitmap", NULL
4276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4278 if (!SWIG_IsOK(res1
)) {
4279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4281 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4282 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4283 if (!SWIG_IsOK(res2
)) {
4284 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4287 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4289 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4292 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4293 wxPyEndAllowThreads(__tstate
);
4294 if (PyErr_Occurred()) SWIG_fail
;
4296 resultobj
= SWIG_Py_Void();
4303 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4304 PyObject
*resultobj
= 0;
4305 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4306 wxBitmap
*arg2
= 0 ;
4311 PyObject
* obj0
= 0 ;
4312 PyObject
* obj1
= 0 ;
4313 char * kwnames
[] = {
4314 (char *) "self",(char *) "bitmap", NULL
4317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4319 if (!SWIG_IsOK(res1
)) {
4320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4322 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4323 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4324 if (!SWIG_IsOK(res2
)) {
4325 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4328 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4330 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4333 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4334 wxPyEndAllowThreads(__tstate
);
4335 if (PyErr_Occurred()) SWIG_fail
;
4337 resultobj
= SWIG_Py_Void();
4344 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4345 PyObject
*resultobj
= 0;
4346 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4347 wxBitmap
*arg2
= 0 ;
4352 PyObject
* obj0
= 0 ;
4353 PyObject
* obj1
= 0 ;
4354 char * kwnames
[] = {
4355 (char *) "self",(char *) "hover", NULL
4358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4360 if (!SWIG_IsOK(res1
)) {
4361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4363 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4364 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4365 if (!SWIG_IsOK(res2
)) {
4366 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4369 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4371 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4374 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4375 wxPyEndAllowThreads(__tstate
);
4376 if (PyErr_Occurred()) SWIG_fail
;
4378 resultobj
= SWIG_Py_Void();
4385 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4386 PyObject
*resultobj
= 0;
4387 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4396 PyObject
* obj0
= 0 ;
4397 PyObject
* obj1
= 0 ;
4398 PyObject
* obj2
= 0 ;
4399 char * kwnames
[] = {
4400 (char *) "self",(char *) "x",(char *) "y", NULL
4403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4405 if (!SWIG_IsOK(res1
)) {
4406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4408 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4409 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4410 if (!SWIG_IsOK(ecode2
)) {
4411 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4413 arg2
= static_cast< int >(val2
);
4414 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4415 if (!SWIG_IsOK(ecode3
)) {
4416 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4418 arg3
= static_cast< int >(val3
);
4420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4421 (arg1
)->SetMargins(arg2
,arg3
);
4422 wxPyEndAllowThreads(__tstate
);
4423 if (PyErr_Occurred()) SWIG_fail
;
4425 resultobj
= SWIG_Py_Void();
4432 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4433 PyObject
*resultobj
= 0;
4434 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4438 PyObject
*swig_obj
[1] ;
4440 if (!args
) SWIG_fail
;
4442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4443 if (!SWIG_IsOK(res1
)) {
4444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4446 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4449 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4450 wxPyEndAllowThreads(__tstate
);
4451 if (PyErr_Occurred()) SWIG_fail
;
4453 resultobj
= SWIG_From_int(static_cast< int >(result
));
4460 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4461 PyObject
*resultobj
= 0;
4462 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4466 PyObject
*swig_obj
[1] ;
4468 if (!args
) SWIG_fail
;
4470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4471 if (!SWIG_IsOK(res1
)) {
4472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4474 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4477 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4478 wxPyEndAllowThreads(__tstate
);
4479 if (PyErr_Occurred()) SWIG_fail
;
4481 resultobj
= SWIG_From_int(static_cast< int >(result
));
4488 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4490 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4491 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4492 return SWIG_Py_Void();
4495 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4496 return SWIG_Python_InitShadowInstance(args
);
4499 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4500 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4505 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4506 PyObject
*pyobj
= 0;
4510 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4512 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4519 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4520 PyObject
*resultobj
= 0;
4521 wxWindow
*arg1
= (wxWindow
*) 0 ;
4522 int arg2
= (int) -1 ;
4523 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4524 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4525 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4526 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4527 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4528 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4529 long arg6
= (long) 0 ;
4530 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4531 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4532 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4533 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4534 wxCheckBox
*result
= 0 ;
4539 bool temp3
= false ;
4546 bool temp8
= false ;
4547 PyObject
* obj0
= 0 ;
4548 PyObject
* obj1
= 0 ;
4549 PyObject
* obj2
= 0 ;
4550 PyObject
* obj3
= 0 ;
4551 PyObject
* obj4
= 0 ;
4552 PyObject
* obj5
= 0 ;
4553 PyObject
* obj6
= 0 ;
4554 PyObject
* obj7
= 0 ;
4555 char * kwnames
[] = {
4556 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4561 if (!SWIG_IsOK(res1
)) {
4562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4564 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4566 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4567 if (!SWIG_IsOK(ecode2
)) {
4568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4570 arg2
= static_cast< int >(val2
);
4574 arg3
= wxString_in_helper(obj2
);
4575 if (arg3
== NULL
) SWIG_fail
;
4582 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4588 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4592 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4593 if (!SWIG_IsOK(ecode6
)) {
4594 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4596 arg6
= static_cast< long >(val6
);
4599 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4600 if (!SWIG_IsOK(res7
)) {
4601 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4604 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4606 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4610 arg8
= wxString_in_helper(obj7
);
4611 if (arg8
== NULL
) SWIG_fail
;
4616 if (!wxPyCheckForApp()) SWIG_fail
;
4617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4618 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4619 wxPyEndAllowThreads(__tstate
);
4620 if (PyErr_Occurred()) SWIG_fail
;
4622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4645 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4646 PyObject
*resultobj
= 0;
4647 wxCheckBox
*result
= 0 ;
4649 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4651 if (!wxPyCheckForApp()) SWIG_fail
;
4652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4653 result
= (wxCheckBox
*)new wxCheckBox();
4654 wxPyEndAllowThreads(__tstate
);
4655 if (PyErr_Occurred()) SWIG_fail
;
4657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4664 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4665 PyObject
*resultobj
= 0;
4666 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4667 wxWindow
*arg2
= (wxWindow
*) 0 ;
4668 int arg3
= (int) -1 ;
4669 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4670 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4671 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4672 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4673 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4674 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4675 long arg7
= (long) 0 ;
4676 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4677 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4678 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4679 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4687 bool temp4
= false ;
4694 bool temp9
= false ;
4695 PyObject
* obj0
= 0 ;
4696 PyObject
* obj1
= 0 ;
4697 PyObject
* obj2
= 0 ;
4698 PyObject
* obj3
= 0 ;
4699 PyObject
* obj4
= 0 ;
4700 PyObject
* obj5
= 0 ;
4701 PyObject
* obj6
= 0 ;
4702 PyObject
* obj7
= 0 ;
4703 PyObject
* obj8
= 0 ;
4704 char * kwnames
[] = {
4705 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4710 if (!SWIG_IsOK(res1
)) {
4711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4713 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4714 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4715 if (!SWIG_IsOK(res2
)) {
4716 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4718 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4720 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4721 if (!SWIG_IsOK(ecode3
)) {
4722 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4724 arg3
= static_cast< int >(val3
);
4728 arg4
= wxString_in_helper(obj3
);
4729 if (arg4
== NULL
) SWIG_fail
;
4736 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4742 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4746 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4747 if (!SWIG_IsOK(ecode7
)) {
4748 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4750 arg7
= static_cast< long >(val7
);
4753 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4754 if (!SWIG_IsOK(res8
)) {
4755 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4758 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4760 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4764 arg9
= wxString_in_helper(obj8
);
4765 if (arg9
== NULL
) SWIG_fail
;
4770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4771 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4772 wxPyEndAllowThreads(__tstate
);
4773 if (PyErr_Occurred()) SWIG_fail
;
4776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4800 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4801 PyObject
*resultobj
= 0;
4802 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4806 PyObject
*swig_obj
[1] ;
4808 if (!args
) SWIG_fail
;
4810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4811 if (!SWIG_IsOK(res1
)) {
4812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4814 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4817 result
= (bool)(arg1
)->GetValue();
4818 wxPyEndAllowThreads(__tstate
);
4819 if (PyErr_Occurred()) SWIG_fail
;
4822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4830 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4831 PyObject
*resultobj
= 0;
4832 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4836 PyObject
*swig_obj
[1] ;
4838 if (!args
) SWIG_fail
;
4840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4841 if (!SWIG_IsOK(res1
)) {
4842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4844 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4847 result
= (bool)(arg1
)->IsChecked();
4848 wxPyEndAllowThreads(__tstate
);
4849 if (PyErr_Occurred()) SWIG_fail
;
4852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4860 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4861 PyObject
*resultobj
= 0;
4862 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4868 PyObject
* obj0
= 0 ;
4869 PyObject
* obj1
= 0 ;
4870 char * kwnames
[] = {
4871 (char *) "self",(char *) "state", NULL
4874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4876 if (!SWIG_IsOK(res1
)) {
4877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4879 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4880 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4881 if (!SWIG_IsOK(ecode2
)) {
4882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4884 arg2
= static_cast< bool >(val2
);
4886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4887 (arg1
)->SetValue(arg2
);
4888 wxPyEndAllowThreads(__tstate
);
4889 if (PyErr_Occurred()) SWIG_fail
;
4891 resultobj
= SWIG_Py_Void();
4898 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4899 PyObject
*resultobj
= 0;
4900 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4901 wxCheckBoxState result
;
4904 PyObject
*swig_obj
[1] ;
4906 if (!args
) SWIG_fail
;
4908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4909 if (!SWIG_IsOK(res1
)) {
4910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4912 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4915 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4916 wxPyEndAllowThreads(__tstate
);
4917 if (PyErr_Occurred()) SWIG_fail
;
4919 resultobj
= SWIG_From_int(static_cast< int >(result
));
4926 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4927 PyObject
*resultobj
= 0;
4928 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4929 wxCheckBoxState arg2
;
4934 PyObject
* obj0
= 0 ;
4935 PyObject
* obj1
= 0 ;
4936 char * kwnames
[] = {
4937 (char *) "self",(char *) "state", NULL
4940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4942 if (!SWIG_IsOK(res1
)) {
4943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4945 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4946 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4947 if (!SWIG_IsOK(ecode2
)) {
4948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4950 arg2
= static_cast< wxCheckBoxState
>(val2
);
4952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4953 (arg1
)->Set3StateValue(arg2
);
4954 wxPyEndAllowThreads(__tstate
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4957 resultobj
= SWIG_Py_Void();
4964 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4965 PyObject
*resultobj
= 0;
4966 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4970 PyObject
*swig_obj
[1] ;
4972 if (!args
) SWIG_fail
;
4974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4975 if (!SWIG_IsOK(res1
)) {
4976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4978 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4981 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4982 wxPyEndAllowThreads(__tstate
);
4983 if (PyErr_Occurred()) SWIG_fail
;
4986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4994 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4995 PyObject
*resultobj
= 0;
4996 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5000 PyObject
*swig_obj
[1] ;
5002 if (!args
) SWIG_fail
;
5004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5005 if (!SWIG_IsOK(res1
)) {
5006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5008 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5011 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5012 wxPyEndAllowThreads(__tstate
);
5013 if (PyErr_Occurred()) SWIG_fail
;
5016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5024 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5025 PyObject
*resultobj
= 0;
5026 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5027 SwigValueWrapper
<wxVisualAttributes
> result
;
5030 PyObject
* obj0
= 0 ;
5031 char * kwnames
[] = {
5032 (char *) "variant", NULL
5035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5037 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5038 if (!SWIG_IsOK(ecode1
)) {
5039 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5041 arg1
= static_cast< wxWindowVariant
>(val1
);
5044 if (!wxPyCheckForApp()) SWIG_fail
;
5045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5046 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5047 wxPyEndAllowThreads(__tstate
);
5048 if (PyErr_Occurred()) SWIG_fail
;
5050 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5057 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5059 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5060 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5061 return SWIG_Py_Void();
5064 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5065 return SWIG_Python_InitShadowInstance(args
);
5068 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5069 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5074 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5075 PyObject
*pyobj
= 0;
5079 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5081 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5088 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5089 PyObject
*resultobj
= 0;
5090 wxWindow
*arg1
= (wxWindow
*) 0 ;
5091 int arg2
= (int) -1 ;
5092 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5093 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5094 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5095 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5096 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5097 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5098 long arg6
= (long) 0 ;
5099 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5100 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5101 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5102 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5103 wxChoice
*result
= 0 ;
5110 bool temp5
= false ;
5115 bool temp8
= false ;
5116 PyObject
* obj0
= 0 ;
5117 PyObject
* obj1
= 0 ;
5118 PyObject
* obj2
= 0 ;
5119 PyObject
* obj3
= 0 ;
5120 PyObject
* obj4
= 0 ;
5121 PyObject
* obj5
= 0 ;
5122 PyObject
* obj6
= 0 ;
5123 PyObject
* obj7
= 0 ;
5124 char * kwnames
[] = {
5125 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5130 if (!SWIG_IsOK(res1
)) {
5131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5133 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5135 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5136 if (!SWIG_IsOK(ecode2
)) {
5137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5139 arg2
= static_cast< int >(val2
);
5144 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5150 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5155 if (! PySequence_Check(obj4
)) {
5156 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5159 arg5
= new wxArrayString
;
5161 int i
, len
=PySequence_Length(obj4
);
5162 for (i
=0; i
<len
; i
++) {
5163 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5164 wxString
* s
= wxString_in_helper(item
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5173 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5174 if (!SWIG_IsOK(ecode6
)) {
5175 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5177 arg6
= static_cast< long >(val6
);
5180 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5181 if (!SWIG_IsOK(res7
)) {
5182 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5185 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5187 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5191 arg8
= wxString_in_helper(obj7
);
5192 if (arg8
== NULL
) SWIG_fail
;
5197 if (!wxPyCheckForApp()) SWIG_fail
;
5198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5199 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5200 wxPyEndAllowThreads(__tstate
);
5201 if (PyErr_Occurred()) SWIG_fail
;
5203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5205 if (temp5
) delete arg5
;
5214 if (temp5
) delete arg5
;
5224 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5225 PyObject
*resultobj
= 0;
5226 wxChoice
*result
= 0 ;
5228 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5230 if (!wxPyCheckForApp()) SWIG_fail
;
5231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5232 result
= (wxChoice
*)new wxChoice();
5233 wxPyEndAllowThreads(__tstate
);
5234 if (PyErr_Occurred()) SWIG_fail
;
5236 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5243 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5244 PyObject
*resultobj
= 0;
5245 wxChoice
*arg1
= (wxChoice
*) 0 ;
5246 wxWindow
*arg2
= (wxWindow
*) 0 ;
5247 int arg3
= (int) -1 ;
5248 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5249 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5250 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5251 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5252 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5253 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5254 long arg7
= (long) 0 ;
5255 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5256 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5257 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5258 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5268 bool temp6
= false ;
5273 bool temp9
= false ;
5274 PyObject
* obj0
= 0 ;
5275 PyObject
* obj1
= 0 ;
5276 PyObject
* obj2
= 0 ;
5277 PyObject
* obj3
= 0 ;
5278 PyObject
* obj4
= 0 ;
5279 PyObject
* obj5
= 0 ;
5280 PyObject
* obj6
= 0 ;
5281 PyObject
* obj7
= 0 ;
5282 PyObject
* obj8
= 0 ;
5283 char * kwnames
[] = {
5284 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5289 if (!SWIG_IsOK(res1
)) {
5290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5292 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5293 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5294 if (!SWIG_IsOK(res2
)) {
5295 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5297 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5299 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5300 if (!SWIG_IsOK(ecode3
)) {
5301 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5303 arg3
= static_cast< int >(val3
);
5308 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5314 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5319 if (! PySequence_Check(obj5
)) {
5320 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5323 arg6
= new wxArrayString
;
5325 int i
, len
=PySequence_Length(obj5
);
5326 for (i
=0; i
<len
; i
++) {
5327 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5328 wxString
* s
= wxString_in_helper(item
);
5329 if (PyErr_Occurred()) SWIG_fail
;
5337 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5338 if (!SWIG_IsOK(ecode7
)) {
5339 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5341 arg7
= static_cast< long >(val7
);
5344 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5345 if (!SWIG_IsOK(res8
)) {
5346 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5349 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5351 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5355 arg9
= wxString_in_helper(obj8
);
5356 if (arg9
== NULL
) SWIG_fail
;
5361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5362 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5363 wxPyEndAllowThreads(__tstate
);
5364 if (PyErr_Occurred()) SWIG_fail
;
5367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5370 if (temp6
) delete arg6
;
5379 if (temp6
) delete arg6
;
5389 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5390 PyObject
*resultobj
= 0;
5391 wxChoice
*arg1
= (wxChoice
*) 0 ;
5395 PyObject
*swig_obj
[1] ;
5397 if (!args
) SWIG_fail
;
5399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5400 if (!SWIG_IsOK(res1
)) {
5401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5403 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5406 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5407 wxPyEndAllowThreads(__tstate
);
5408 if (PyErr_Occurred()) SWIG_fail
;
5410 resultobj
= SWIG_From_int(static_cast< int >(result
));
5417 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5418 PyObject
*resultobj
= 0;
5419 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5420 SwigValueWrapper
<wxVisualAttributes
> result
;
5423 PyObject
* obj0
= 0 ;
5424 char * kwnames
[] = {
5425 (char *) "variant", NULL
5428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5430 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5431 if (!SWIG_IsOK(ecode1
)) {
5432 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5434 arg1
= static_cast< wxWindowVariant
>(val1
);
5437 if (!wxPyCheckForApp()) SWIG_fail
;
5438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5439 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5440 wxPyEndAllowThreads(__tstate
);
5441 if (PyErr_Occurred()) SWIG_fail
;
5443 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5450 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5452 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5453 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5454 return SWIG_Py_Void();
5457 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5458 return SWIG_Python_InitShadowInstance(args
);
5461 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5462 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5467 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5468 PyObject
*pyobj
= 0;
5472 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5474 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5481 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5482 PyObject
*resultobj
= 0;
5483 wxWindow
*arg1
= (wxWindow
*) 0 ;
5484 int arg2
= (int) -1 ;
5485 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5486 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5487 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5488 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5489 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5490 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5491 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5492 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5493 long arg7
= (long) 0 ;
5494 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5495 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5496 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5497 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5498 wxComboBox
*result
= 0 ;
5503 bool temp3
= false ;
5506 bool temp6
= false ;
5511 bool temp9
= false ;
5512 PyObject
* obj0
= 0 ;
5513 PyObject
* obj1
= 0 ;
5514 PyObject
* obj2
= 0 ;
5515 PyObject
* obj3
= 0 ;
5516 PyObject
* obj4
= 0 ;
5517 PyObject
* obj5
= 0 ;
5518 PyObject
* obj6
= 0 ;
5519 PyObject
* obj7
= 0 ;
5520 PyObject
* obj8
= 0 ;
5521 char * kwnames
[] = {
5522 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5527 if (!SWIG_IsOK(res1
)) {
5528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5530 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5532 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5533 if (!SWIG_IsOK(ecode2
)) {
5534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5536 arg2
= static_cast< int >(val2
);
5540 arg3
= wxString_in_helper(obj2
);
5541 if (arg3
== NULL
) SWIG_fail
;
5548 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5554 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5559 if (! PySequence_Check(obj5
)) {
5560 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5563 arg6
= new wxArrayString
;
5565 int i
, len
=PySequence_Length(obj5
);
5566 for (i
=0; i
<len
; i
++) {
5567 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5568 wxString
* s
= wxString_in_helper(item
);
5569 if (PyErr_Occurred()) SWIG_fail
;
5577 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5578 if (!SWIG_IsOK(ecode7
)) {
5579 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5581 arg7
= static_cast< long >(val7
);
5584 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5585 if (!SWIG_IsOK(res8
)) {
5586 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5589 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5591 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5595 arg9
= wxString_in_helper(obj8
);
5596 if (arg9
== NULL
) SWIG_fail
;
5601 if (!wxPyCheckForApp()) SWIG_fail
;
5602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5603 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
);
5604 wxPyEndAllowThreads(__tstate
);
5605 if (PyErr_Occurred()) SWIG_fail
;
5607 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5613 if (temp6
) delete arg6
;
5626 if (temp6
) delete arg6
;
5636 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5637 PyObject
*resultobj
= 0;
5638 wxComboBox
*result
= 0 ;
5640 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5642 if (!wxPyCheckForApp()) SWIG_fail
;
5643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5644 result
= (wxComboBox
*)new wxComboBox();
5645 wxPyEndAllowThreads(__tstate
);
5646 if (PyErr_Occurred()) SWIG_fail
;
5648 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5655 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5656 PyObject
*resultobj
= 0;
5657 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5658 wxWindow
*arg2
= (wxWindow
*) 0 ;
5659 int arg3
= (int) -1 ;
5660 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5661 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5662 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5663 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5664 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5665 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5666 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5667 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5668 long arg8
= (long) 0 ;
5669 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5670 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5671 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5672 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5680 bool temp4
= false ;
5683 bool temp7
= false ;
5688 bool temp10
= false ;
5689 PyObject
* obj0
= 0 ;
5690 PyObject
* obj1
= 0 ;
5691 PyObject
* obj2
= 0 ;
5692 PyObject
* obj3
= 0 ;
5693 PyObject
* obj4
= 0 ;
5694 PyObject
* obj5
= 0 ;
5695 PyObject
* obj6
= 0 ;
5696 PyObject
* obj7
= 0 ;
5697 PyObject
* obj8
= 0 ;
5698 PyObject
* obj9
= 0 ;
5699 char * kwnames
[] = {
5700 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5705 if (!SWIG_IsOK(res1
)) {
5706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5708 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5709 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5710 if (!SWIG_IsOK(res2
)) {
5711 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5713 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5715 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5716 if (!SWIG_IsOK(ecode3
)) {
5717 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5719 arg3
= static_cast< int >(val3
);
5723 arg4
= wxString_in_helper(obj3
);
5724 if (arg4
== NULL
) SWIG_fail
;
5731 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5737 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5742 if (! PySequence_Check(obj6
)) {
5743 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5746 arg7
= new wxArrayString
;
5748 int i
, len
=PySequence_Length(obj6
);
5749 for (i
=0; i
<len
; i
++) {
5750 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5751 wxString
* s
= wxString_in_helper(item
);
5752 if (PyErr_Occurred()) SWIG_fail
;
5760 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5761 if (!SWIG_IsOK(ecode8
)) {
5762 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5764 arg8
= static_cast< long >(val8
);
5767 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5768 if (!SWIG_IsOK(res9
)) {
5769 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5772 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5774 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5778 arg10
= wxString_in_helper(obj9
);
5779 if (arg10
== NULL
) SWIG_fail
;
5784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5785 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
);
5786 wxPyEndAllowThreads(__tstate
);
5787 if (PyErr_Occurred()) SWIG_fail
;
5790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5797 if (temp7
) delete arg7
;
5810 if (temp7
) delete arg7
;
5820 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5821 PyObject
*resultobj
= 0;
5822 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5826 PyObject
*swig_obj
[1] ;
5828 if (!args
) SWIG_fail
;
5830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5831 if (!SWIG_IsOK(res1
)) {
5832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5834 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5837 result
= ((wxComboBox
const *)arg1
)->GetValue();
5838 wxPyEndAllowThreads(__tstate
);
5839 if (PyErr_Occurred()) SWIG_fail
;
5843 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5845 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5854 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5855 PyObject
*resultobj
= 0;
5856 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5857 wxString
*arg2
= 0 ;
5860 bool temp2
= false ;
5861 PyObject
* obj0
= 0 ;
5862 PyObject
* obj1
= 0 ;
5863 char * kwnames
[] = {
5864 (char *) "self",(char *) "value", NULL
5867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5869 if (!SWIG_IsOK(res1
)) {
5870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5872 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5874 arg2
= wxString_in_helper(obj1
);
5875 if (arg2
== NULL
) SWIG_fail
;
5879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5880 (arg1
)->SetValue((wxString
const &)*arg2
);
5881 wxPyEndAllowThreads(__tstate
);
5882 if (PyErr_Occurred()) SWIG_fail
;
5884 resultobj
= SWIG_Py_Void();
5899 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5900 PyObject
*resultobj
= 0;
5901 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5904 PyObject
*swig_obj
[1] ;
5906 if (!args
) SWIG_fail
;
5908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5909 if (!SWIG_IsOK(res1
)) {
5910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5912 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 wxPyEndAllowThreads(__tstate
);
5917 if (PyErr_Occurred()) SWIG_fail
;
5919 resultobj
= SWIG_Py_Void();
5926 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5927 PyObject
*resultobj
= 0;
5928 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5931 PyObject
*swig_obj
[1] ;
5933 if (!args
) SWIG_fail
;
5935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5936 if (!SWIG_IsOK(res1
)) {
5937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5939 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5943 wxPyEndAllowThreads(__tstate
);
5944 if (PyErr_Occurred()) SWIG_fail
;
5946 resultobj
= SWIG_Py_Void();
5953 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5954 PyObject
*resultobj
= 0;
5955 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5958 PyObject
*swig_obj
[1] ;
5960 if (!args
) SWIG_fail
;
5962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5963 if (!SWIG_IsOK(res1
)) {
5964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5966 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5970 wxPyEndAllowThreads(__tstate
);
5971 if (PyErr_Occurred()) SWIG_fail
;
5973 resultobj
= SWIG_Py_Void();
5980 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5981 PyObject
*resultobj
= 0;
5982 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5988 PyObject
* obj0
= 0 ;
5989 PyObject
* obj1
= 0 ;
5990 char * kwnames
[] = {
5991 (char *) "self",(char *) "pos", NULL
5994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5996 if (!SWIG_IsOK(res1
)) {
5997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
5999 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6000 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6001 if (!SWIG_IsOK(ecode2
)) {
6002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6004 arg2
= static_cast< long >(val2
);
6006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6007 (arg1
)->SetInsertionPoint(arg2
);
6008 wxPyEndAllowThreads(__tstate
);
6009 if (PyErr_Occurred()) SWIG_fail
;
6011 resultobj
= SWIG_Py_Void();
6018 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6019 PyObject
*resultobj
= 0;
6020 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6024 PyObject
*swig_obj
[1] ;
6026 if (!args
) SWIG_fail
;
6028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6029 if (!SWIG_IsOK(res1
)) {
6030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6032 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6035 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6036 wxPyEndAllowThreads(__tstate
);
6037 if (PyErr_Occurred()) SWIG_fail
;
6039 resultobj
= SWIG_From_long(static_cast< long >(result
));
6046 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6047 PyObject
*resultobj
= 0;
6048 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6052 PyObject
*swig_obj
[1] ;
6054 if (!args
) SWIG_fail
;
6056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6057 if (!SWIG_IsOK(res1
)) {
6058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6060 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6063 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6064 wxPyEndAllowThreads(__tstate
);
6065 if (PyErr_Occurred()) SWIG_fail
;
6067 resultobj
= SWIG_From_long(static_cast< long >(result
));
6074 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6075 PyObject
*resultobj
= 0;
6076 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6079 wxString
*arg4
= 0 ;
6086 bool temp4
= false ;
6087 PyObject
* obj0
= 0 ;
6088 PyObject
* obj1
= 0 ;
6089 PyObject
* obj2
= 0 ;
6090 PyObject
* obj3
= 0 ;
6091 char * kwnames
[] = {
6092 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6097 if (!SWIG_IsOK(res1
)) {
6098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6100 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6101 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6102 if (!SWIG_IsOK(ecode2
)) {
6103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6105 arg2
= static_cast< long >(val2
);
6106 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6107 if (!SWIG_IsOK(ecode3
)) {
6108 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6110 arg3
= static_cast< long >(val3
);
6112 arg4
= wxString_in_helper(obj3
);
6113 if (arg4
== NULL
) SWIG_fail
;
6117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6118 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6119 wxPyEndAllowThreads(__tstate
);
6120 if (PyErr_Occurred()) SWIG_fail
;
6122 resultobj
= SWIG_Py_Void();
6137 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6138 PyObject
*resultobj
= 0;
6139 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6148 PyObject
* obj0
= 0 ;
6149 PyObject
* obj1
= 0 ;
6150 PyObject
* obj2
= 0 ;
6151 char * kwnames
[] = {
6152 (char *) "self",(char *) "from",(char *) "to", NULL
6155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6157 if (!SWIG_IsOK(res1
)) {
6158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6160 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6161 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6162 if (!SWIG_IsOK(ecode2
)) {
6163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6165 arg2
= static_cast< long >(val2
);
6166 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6167 if (!SWIG_IsOK(ecode3
)) {
6168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6170 arg3
= static_cast< long >(val3
);
6172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6173 (arg1
)->SetSelection(arg2
,arg3
);
6174 wxPyEndAllowThreads(__tstate
);
6175 if (PyErr_Occurred()) SWIG_fail
;
6177 resultobj
= SWIG_Py_Void();
6184 SWIGINTERN PyObject
*_wrap_ComboBox_GetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6185 PyObject
*resultobj
= 0;
6186 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6187 long *arg2
= (long *) 0 ;
6188 long *arg3
= (long *) 0 ;
6192 int res2
= SWIG_TMPOBJ
;
6194 int res3
= SWIG_TMPOBJ
;
6195 PyObject
*swig_obj
[1] ;
6199 if (!args
) SWIG_fail
;
6201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6202 if (!SWIG_IsOK(res1
)) {
6203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6205 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6208 (arg1
)->GetSelection(arg2
,arg3
);
6209 wxPyEndAllowThreads(__tstate
);
6210 if (PyErr_Occurred()) SWIG_fail
;
6212 resultobj
= SWIG_Py_Void();
6213 if (SWIG_IsTmpObj(res2
)) {
6214 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6216 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6217 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6219 if (SWIG_IsTmpObj(res3
)) {
6220 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6222 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6223 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6231 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6232 PyObject
*resultobj
= 0;
6233 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6237 PyObject
*swig_obj
[1] ;
6239 if (!args
) SWIG_fail
;
6241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6242 if (!SWIG_IsOK(res1
)) {
6243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6245 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6248 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6249 wxPyEndAllowThreads(__tstate
);
6250 if (PyErr_Occurred()) SWIG_fail
;
6252 resultobj
= SWIG_From_int(static_cast< int >(result
));
6259 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6260 PyObject
*resultobj
= 0;
6261 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6262 wxString
*arg2
= 0 ;
6266 bool temp2
= false ;
6267 PyObject
* obj0
= 0 ;
6268 PyObject
* obj1
= 0 ;
6269 char * kwnames
[] = {
6270 (char *) "self",(char *) "string", NULL
6273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6275 if (!SWIG_IsOK(res1
)) {
6276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6278 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6280 arg2
= wxString_in_helper(obj1
);
6281 if (arg2
== NULL
) SWIG_fail
;
6285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6286 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6287 wxPyEndAllowThreads(__tstate
);
6288 if (PyErr_Occurred()) SWIG_fail
;
6291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6307 SWIGINTERN PyObject
*_wrap_ComboBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6308 PyObject
*resultobj
= 0;
6309 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6311 wxString
*arg3
= 0 ;
6316 bool temp3
= false ;
6317 PyObject
* obj0
= 0 ;
6318 PyObject
* obj1
= 0 ;
6319 PyObject
* obj2
= 0 ;
6320 char * kwnames
[] = {
6321 (char *) "self",(char *) "n",(char *) "string", NULL
6324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6326 if (!SWIG_IsOK(res1
)) {
6327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6329 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6330 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6331 if (!SWIG_IsOK(ecode2
)) {
6332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6334 arg2
= static_cast< int >(val2
);
6336 arg3
= wxString_in_helper(obj2
);
6337 if (arg3
== NULL
) SWIG_fail
;
6341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6342 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
6343 wxPyEndAllowThreads(__tstate
);
6344 if (PyErr_Occurred()) SWIG_fail
;
6346 resultobj
= SWIG_Py_Void();
6361 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6362 PyObject
*resultobj
= 0;
6363 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6369 PyObject
* obj0
= 0 ;
6370 PyObject
* obj1
= 0 ;
6371 char * kwnames
[] = {
6372 (char *) "self",(char *) "editable", NULL
6375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6377 if (!SWIG_IsOK(res1
)) {
6378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6380 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6381 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6382 if (!SWIG_IsOK(ecode2
)) {
6383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6385 arg2
= static_cast< bool >(val2
);
6387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6388 (arg1
)->SetEditable(arg2
);
6389 wxPyEndAllowThreads(__tstate
);
6390 if (PyErr_Occurred()) SWIG_fail
;
6392 resultobj
= SWIG_Py_Void();
6399 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6400 PyObject
*resultobj
= 0;
6401 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6404 PyObject
*swig_obj
[1] ;
6406 if (!args
) SWIG_fail
;
6408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6409 if (!SWIG_IsOK(res1
)) {
6410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6412 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6415 (arg1
)->SetInsertionPointEnd();
6416 wxPyEndAllowThreads(__tstate
);
6417 if (PyErr_Occurred()) SWIG_fail
;
6419 resultobj
= SWIG_Py_Void();
6426 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6427 PyObject
*resultobj
= 0;
6428 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6437 PyObject
* obj0
= 0 ;
6438 PyObject
* obj1
= 0 ;
6439 PyObject
* obj2
= 0 ;
6440 char * kwnames
[] = {
6441 (char *) "self",(char *) "from",(char *) "to", NULL
6444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6446 if (!SWIG_IsOK(res1
)) {
6447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6449 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6450 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6451 if (!SWIG_IsOK(ecode2
)) {
6452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6454 arg2
= static_cast< long >(val2
);
6455 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6456 if (!SWIG_IsOK(ecode3
)) {
6457 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6459 arg3
= static_cast< long >(val3
);
6461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6462 (arg1
)->Remove(arg2
,arg3
);
6463 wxPyEndAllowThreads(__tstate
);
6464 if (PyErr_Occurred()) SWIG_fail
;
6466 resultobj
= SWIG_Py_Void();
6473 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6474 PyObject
*resultobj
= 0;
6475 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6479 PyObject
*swig_obj
[1] ;
6481 if (!args
) SWIG_fail
;
6483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6484 if (!SWIG_IsOK(res1
)) {
6485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6487 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6490 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6491 wxPyEndAllowThreads(__tstate
);
6492 if (PyErr_Occurred()) SWIG_fail
;
6495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6503 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6504 PyObject
*resultobj
= 0;
6505 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6508 PyObject
*swig_obj
[1] ;
6510 if (!args
) SWIG_fail
;
6512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6513 if (!SWIG_IsOK(res1
)) {
6514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6516 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6520 wxPyEndAllowThreads(__tstate
);
6521 if (PyErr_Occurred()) SWIG_fail
;
6523 resultobj
= SWIG_Py_Void();
6530 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6531 PyObject
*resultobj
= 0;
6532 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6535 PyObject
*swig_obj
[1] ;
6537 if (!args
) SWIG_fail
;
6539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6540 if (!SWIG_IsOK(res1
)) {
6541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6543 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6547 wxPyEndAllowThreads(__tstate
);
6548 if (PyErr_Occurred()) SWIG_fail
;
6550 resultobj
= SWIG_Py_Void();
6557 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6558 PyObject
*resultobj
= 0;
6559 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6562 PyObject
*swig_obj
[1] ;
6564 if (!args
) SWIG_fail
;
6566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6567 if (!SWIG_IsOK(res1
)) {
6568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6570 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 (arg1
)->SelectAll();
6574 wxPyEndAllowThreads(__tstate
);
6575 if (PyErr_Occurred()) SWIG_fail
;
6577 resultobj
= SWIG_Py_Void();
6584 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6585 PyObject
*resultobj
= 0;
6586 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6590 PyObject
*swig_obj
[1] ;
6592 if (!args
) SWIG_fail
;
6594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6595 if (!SWIG_IsOK(res1
)) {
6596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6598 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6601 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6602 wxPyEndAllowThreads(__tstate
);
6603 if (PyErr_Occurred()) SWIG_fail
;
6606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6614 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6615 PyObject
*resultobj
= 0;
6616 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6620 PyObject
*swig_obj
[1] ;
6622 if (!args
) SWIG_fail
;
6624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6625 if (!SWIG_IsOK(res1
)) {
6626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6628 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6631 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6632 wxPyEndAllowThreads(__tstate
);
6633 if (PyErr_Occurred()) SWIG_fail
;
6636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6644 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6645 PyObject
*resultobj
= 0;
6646 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6650 PyObject
*swig_obj
[1] ;
6652 if (!args
) SWIG_fail
;
6654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6655 if (!SWIG_IsOK(res1
)) {
6656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6658 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6661 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6662 wxPyEndAllowThreads(__tstate
);
6663 if (PyErr_Occurred()) SWIG_fail
;
6666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6674 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6675 PyObject
*resultobj
= 0;
6676 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6680 PyObject
*swig_obj
[1] ;
6682 if (!args
) SWIG_fail
;
6684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6685 if (!SWIG_IsOK(res1
)) {
6686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6688 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6691 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6692 wxPyEndAllowThreads(__tstate
);
6693 if (PyErr_Occurred()) SWIG_fail
;
6696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6704 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6705 PyObject
*resultobj
= 0;
6706 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6710 PyObject
*swig_obj
[1] ;
6712 if (!args
) SWIG_fail
;
6714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6715 if (!SWIG_IsOK(res1
)) {
6716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6718 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6721 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6722 wxPyEndAllowThreads(__tstate
);
6723 if (PyErr_Occurred()) SWIG_fail
;
6726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6734 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6735 PyObject
*resultobj
= 0;
6736 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6737 SwigValueWrapper
<wxVisualAttributes
> result
;
6740 PyObject
* obj0
= 0 ;
6741 char * kwnames
[] = {
6742 (char *) "variant", NULL
6745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6747 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6748 if (!SWIG_IsOK(ecode1
)) {
6749 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6751 arg1
= static_cast< wxWindowVariant
>(val1
);
6754 if (!wxPyCheckForApp()) SWIG_fail
;
6755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6756 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6757 wxPyEndAllowThreads(__tstate
);
6758 if (PyErr_Occurred()) SWIG_fail
;
6760 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6767 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6769 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6770 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6771 return SWIG_Py_Void();
6774 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6775 return SWIG_Python_InitShadowInstance(args
);
6778 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6779 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6784 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6785 PyObject
*pyobj
= 0;
6789 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6791 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6798 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6799 PyObject
*resultobj
= 0;
6800 wxWindow
*arg1
= (wxWindow
*) 0 ;
6801 int arg2
= (int) -1 ;
6802 int arg3
= (int) 100 ;
6803 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6804 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6805 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6806 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6807 long arg6
= (long) wxGA_HORIZONTAL
;
6808 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6809 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6810 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6811 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6812 wxGauge
*result
= 0 ;
6825 bool temp8
= false ;
6826 PyObject
* obj0
= 0 ;
6827 PyObject
* obj1
= 0 ;
6828 PyObject
* obj2
= 0 ;
6829 PyObject
* obj3
= 0 ;
6830 PyObject
* obj4
= 0 ;
6831 PyObject
* obj5
= 0 ;
6832 PyObject
* obj6
= 0 ;
6833 PyObject
* obj7
= 0 ;
6834 char * kwnames
[] = {
6835 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6840 if (!SWIG_IsOK(res1
)) {
6841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6843 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6846 if (!SWIG_IsOK(ecode2
)) {
6847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6849 arg2
= static_cast< int >(val2
);
6852 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6853 if (!SWIG_IsOK(ecode3
)) {
6854 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6856 arg3
= static_cast< int >(val3
);
6861 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6867 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6871 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6872 if (!SWIG_IsOK(ecode6
)) {
6873 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6875 arg6
= static_cast< long >(val6
);
6878 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6879 if (!SWIG_IsOK(res7
)) {
6880 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6883 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6885 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6889 arg8
= wxString_in_helper(obj7
);
6890 if (arg8
== NULL
) SWIG_fail
;
6895 if (!wxPyCheckForApp()) SWIG_fail
;
6896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6897 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6898 wxPyEndAllowThreads(__tstate
);
6899 if (PyErr_Occurred()) SWIG_fail
;
6901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6916 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6917 PyObject
*resultobj
= 0;
6918 wxGauge
*result
= 0 ;
6920 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6922 if (!wxPyCheckForApp()) SWIG_fail
;
6923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6924 result
= (wxGauge
*)new wxGauge();
6925 wxPyEndAllowThreads(__tstate
);
6926 if (PyErr_Occurred()) SWIG_fail
;
6928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6935 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6936 PyObject
*resultobj
= 0;
6937 wxGauge
*arg1
= (wxGauge
*) 0 ;
6938 wxWindow
*arg2
= (wxWindow
*) 0 ;
6939 int arg3
= (int) -1 ;
6940 int arg4
= (int) 100 ;
6941 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6942 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6943 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6944 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6945 long arg7
= (long) wxGA_HORIZONTAL
;
6946 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6947 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6948 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6949 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6965 bool temp9
= false ;
6966 PyObject
* obj0
= 0 ;
6967 PyObject
* obj1
= 0 ;
6968 PyObject
* obj2
= 0 ;
6969 PyObject
* obj3
= 0 ;
6970 PyObject
* obj4
= 0 ;
6971 PyObject
* obj5
= 0 ;
6972 PyObject
* obj6
= 0 ;
6973 PyObject
* obj7
= 0 ;
6974 PyObject
* obj8
= 0 ;
6975 char * kwnames
[] = {
6976 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6981 if (!SWIG_IsOK(res1
)) {
6982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6984 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6985 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6986 if (!SWIG_IsOK(res2
)) {
6987 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6989 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6991 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6992 if (!SWIG_IsOK(ecode3
)) {
6993 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6995 arg3
= static_cast< int >(val3
);
6998 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6999 if (!SWIG_IsOK(ecode4
)) {
7000 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
7002 arg4
= static_cast< int >(val4
);
7007 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7013 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7017 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7018 if (!SWIG_IsOK(ecode7
)) {
7019 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
7021 arg7
= static_cast< long >(val7
);
7024 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
7025 if (!SWIG_IsOK(res8
)) {
7026 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7029 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7031 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
7035 arg9
= wxString_in_helper(obj8
);
7036 if (arg9
== NULL
) SWIG_fail
;
7041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7042 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7043 wxPyEndAllowThreads(__tstate
);
7044 if (PyErr_Occurred()) SWIG_fail
;
7047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7063 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7064 PyObject
*resultobj
= 0;
7065 wxGauge
*arg1
= (wxGauge
*) 0 ;
7071 PyObject
* obj0
= 0 ;
7072 PyObject
* obj1
= 0 ;
7073 char * kwnames
[] = {
7074 (char *) "self",(char *) "range", NULL
7077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7079 if (!SWIG_IsOK(res1
)) {
7080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7082 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7084 if (!SWIG_IsOK(ecode2
)) {
7085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7087 arg2
= static_cast< int >(val2
);
7089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7090 (arg1
)->SetRange(arg2
);
7091 wxPyEndAllowThreads(__tstate
);
7092 if (PyErr_Occurred()) SWIG_fail
;
7094 resultobj
= SWIG_Py_Void();
7101 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7102 PyObject
*resultobj
= 0;
7103 wxGauge
*arg1
= (wxGauge
*) 0 ;
7107 PyObject
*swig_obj
[1] ;
7109 if (!args
) SWIG_fail
;
7111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7112 if (!SWIG_IsOK(res1
)) {
7113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7115 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7118 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7119 wxPyEndAllowThreads(__tstate
);
7120 if (PyErr_Occurred()) SWIG_fail
;
7122 resultobj
= SWIG_From_int(static_cast< int >(result
));
7129 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7130 PyObject
*resultobj
= 0;
7131 wxGauge
*arg1
= (wxGauge
*) 0 ;
7137 PyObject
* obj0
= 0 ;
7138 PyObject
* obj1
= 0 ;
7139 char * kwnames
[] = {
7140 (char *) "self",(char *) "pos", NULL
7143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7145 if (!SWIG_IsOK(res1
)) {
7146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7148 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7149 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7150 if (!SWIG_IsOK(ecode2
)) {
7151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7153 arg2
= static_cast< int >(val2
);
7155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7156 (arg1
)->SetValue(arg2
);
7157 wxPyEndAllowThreads(__tstate
);
7158 if (PyErr_Occurred()) SWIG_fail
;
7160 resultobj
= SWIG_Py_Void();
7167 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7168 PyObject
*resultobj
= 0;
7169 wxGauge
*arg1
= (wxGauge
*) 0 ;
7173 PyObject
*swig_obj
[1] ;
7175 if (!args
) SWIG_fail
;
7177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7178 if (!SWIG_IsOK(res1
)) {
7179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7181 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7184 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7185 wxPyEndAllowThreads(__tstate
);
7186 if (PyErr_Occurred()) SWIG_fail
;
7188 resultobj
= SWIG_From_int(static_cast< int >(result
));
7195 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7196 PyObject
*resultobj
= 0;
7197 wxGauge
*arg1
= (wxGauge
*) 0 ;
7201 PyObject
*swig_obj
[1] ;
7203 if (!args
) SWIG_fail
;
7205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7206 if (!SWIG_IsOK(res1
)) {
7207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7209 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7212 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7213 wxPyEndAllowThreads(__tstate
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7225 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7226 PyObject
*resultobj
= 0;
7227 wxGauge
*arg1
= (wxGauge
*) 0 ;
7233 PyObject
* obj0
= 0 ;
7234 PyObject
* obj1
= 0 ;
7235 char * kwnames
[] = {
7236 (char *) "self",(char *) "w", NULL
7239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7241 if (!SWIG_IsOK(res1
)) {
7242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7244 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7246 if (!SWIG_IsOK(ecode2
)) {
7247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7249 arg2
= static_cast< int >(val2
);
7251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7252 (arg1
)->SetShadowWidth(arg2
);
7253 wxPyEndAllowThreads(__tstate
);
7254 if (PyErr_Occurred()) SWIG_fail
;
7256 resultobj
= SWIG_Py_Void();
7263 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7264 PyObject
*resultobj
= 0;
7265 wxGauge
*arg1
= (wxGauge
*) 0 ;
7269 PyObject
*swig_obj
[1] ;
7271 if (!args
) SWIG_fail
;
7273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7274 if (!SWIG_IsOK(res1
)) {
7275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7277 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7280 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7281 wxPyEndAllowThreads(__tstate
);
7282 if (PyErr_Occurred()) SWIG_fail
;
7284 resultobj
= SWIG_From_int(static_cast< int >(result
));
7291 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7292 PyObject
*resultobj
= 0;
7293 wxGauge
*arg1
= (wxGauge
*) 0 ;
7299 PyObject
* obj0
= 0 ;
7300 PyObject
* obj1
= 0 ;
7301 char * kwnames
[] = {
7302 (char *) "self",(char *) "w", NULL
7305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7307 if (!SWIG_IsOK(res1
)) {
7308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7310 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7311 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7312 if (!SWIG_IsOK(ecode2
)) {
7313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7315 arg2
= static_cast< int >(val2
);
7317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7318 (arg1
)->SetBezelFace(arg2
);
7319 wxPyEndAllowThreads(__tstate
);
7320 if (PyErr_Occurred()) SWIG_fail
;
7322 resultobj
= SWIG_Py_Void();
7329 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7330 PyObject
*resultobj
= 0;
7331 wxGauge
*arg1
= (wxGauge
*) 0 ;
7335 PyObject
*swig_obj
[1] ;
7337 if (!args
) SWIG_fail
;
7339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7340 if (!SWIG_IsOK(res1
)) {
7341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7343 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7346 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7347 wxPyEndAllowThreads(__tstate
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7350 resultobj
= SWIG_From_int(static_cast< int >(result
));
7357 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7358 PyObject
*resultobj
= 0;
7359 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7360 SwigValueWrapper
<wxVisualAttributes
> result
;
7363 PyObject
* obj0
= 0 ;
7364 char * kwnames
[] = {
7365 (char *) "variant", NULL
7368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7370 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7371 if (!SWIG_IsOK(ecode1
)) {
7372 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7374 arg1
= static_cast< wxWindowVariant
>(val1
);
7377 if (!wxPyCheckForApp()) SWIG_fail
;
7378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7379 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7380 wxPyEndAllowThreads(__tstate
);
7381 if (PyErr_Occurred()) SWIG_fail
;
7383 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7390 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7392 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7393 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7394 return SWIG_Py_Void();
7397 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7398 return SWIG_Python_InitShadowInstance(args
);
7401 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7402 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7407 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7408 PyObject
*pyobj
= 0;
7412 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7414 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7421 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7422 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7427 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7428 PyObject
*pyobj
= 0;
7432 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7434 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7441 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7442 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7447 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7448 PyObject
*pyobj
= 0;
7452 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7454 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7461 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7462 PyObject
*resultobj
= 0;
7463 wxWindow
*arg1
= (wxWindow
*) 0 ;
7464 int arg2
= (int) -1 ;
7465 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7466 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7467 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7468 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7469 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7470 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7471 long arg6
= (long) 0 ;
7472 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7473 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7474 wxStaticBox
*result
= 0 ;
7479 bool temp3
= false ;
7484 bool temp7
= false ;
7485 PyObject
* obj0
= 0 ;
7486 PyObject
* obj1
= 0 ;
7487 PyObject
* obj2
= 0 ;
7488 PyObject
* obj3
= 0 ;
7489 PyObject
* obj4
= 0 ;
7490 PyObject
* obj5
= 0 ;
7491 PyObject
* obj6
= 0 ;
7492 char * kwnames
[] = {
7493 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7498 if (!SWIG_IsOK(res1
)) {
7499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7501 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7504 if (!SWIG_IsOK(ecode2
)) {
7505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7507 arg2
= static_cast< int >(val2
);
7511 arg3
= wxString_in_helper(obj2
);
7512 if (arg3
== NULL
) SWIG_fail
;
7519 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7525 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7529 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7530 if (!SWIG_IsOK(ecode6
)) {
7531 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7533 arg6
= static_cast< long >(val6
);
7537 arg7
= wxString_in_helper(obj6
);
7538 if (arg7
== NULL
) SWIG_fail
;
7543 if (!wxPyCheckForApp()) SWIG_fail
;
7544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7545 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7546 wxPyEndAllowThreads(__tstate
);
7547 if (PyErr_Occurred()) SWIG_fail
;
7549 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7572 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7573 PyObject
*resultobj
= 0;
7574 wxStaticBox
*result
= 0 ;
7576 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7578 if (!wxPyCheckForApp()) SWIG_fail
;
7579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7580 result
= (wxStaticBox
*)new wxStaticBox();
7581 wxPyEndAllowThreads(__tstate
);
7582 if (PyErr_Occurred()) SWIG_fail
;
7584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7591 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7592 PyObject
*resultobj
= 0;
7593 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7594 wxWindow
*arg2
= (wxWindow
*) 0 ;
7595 int arg3
= (int) -1 ;
7596 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7597 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7598 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7599 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7600 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7601 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7602 long arg7
= (long) 0 ;
7603 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7604 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7612 bool temp4
= false ;
7617 bool temp8
= false ;
7618 PyObject
* obj0
= 0 ;
7619 PyObject
* obj1
= 0 ;
7620 PyObject
* obj2
= 0 ;
7621 PyObject
* obj3
= 0 ;
7622 PyObject
* obj4
= 0 ;
7623 PyObject
* obj5
= 0 ;
7624 PyObject
* obj6
= 0 ;
7625 PyObject
* obj7
= 0 ;
7626 char * kwnames
[] = {
7627 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7632 if (!SWIG_IsOK(res1
)) {
7633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7635 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7636 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7637 if (!SWIG_IsOK(res2
)) {
7638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7640 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7642 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7643 if (!SWIG_IsOK(ecode3
)) {
7644 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7646 arg3
= static_cast< int >(val3
);
7650 arg4
= wxString_in_helper(obj3
);
7651 if (arg4
== NULL
) SWIG_fail
;
7658 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7664 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7668 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7669 if (!SWIG_IsOK(ecode7
)) {
7670 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7672 arg7
= static_cast< long >(val7
);
7676 arg8
= wxString_in_helper(obj7
);
7677 if (arg8
== NULL
) SWIG_fail
;
7682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7683 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7684 wxPyEndAllowThreads(__tstate
);
7685 if (PyErr_Occurred()) SWIG_fail
;
7688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7712 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7713 PyObject
*resultobj
= 0;
7714 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7715 SwigValueWrapper
<wxVisualAttributes
> result
;
7718 PyObject
* obj0
= 0 ;
7719 char * kwnames
[] = {
7720 (char *) "variant", NULL
7723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7725 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7726 if (!SWIG_IsOK(ecode1
)) {
7727 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7729 arg1
= static_cast< wxWindowVariant
>(val1
);
7732 if (!wxPyCheckForApp()) SWIG_fail
;
7733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7734 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7735 wxPyEndAllowThreads(__tstate
);
7736 if (PyErr_Occurred()) SWIG_fail
;
7738 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7745 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7747 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7748 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7749 return SWIG_Py_Void();
7752 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7753 return SWIG_Python_InitShadowInstance(args
);
7756 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7757 PyObject
*resultobj
= 0;
7758 wxWindow
*arg1
= (wxWindow
*) 0 ;
7759 int arg2
= (int) -1 ;
7760 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7761 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7762 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7763 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7764 long arg5
= (long) wxLI_HORIZONTAL
;
7765 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7766 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7767 wxStaticLine
*result
= 0 ;
7776 bool temp6
= false ;
7777 PyObject
* obj0
= 0 ;
7778 PyObject
* obj1
= 0 ;
7779 PyObject
* obj2
= 0 ;
7780 PyObject
* obj3
= 0 ;
7781 PyObject
* obj4
= 0 ;
7782 PyObject
* obj5
= 0 ;
7783 char * kwnames
[] = {
7784 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7789 if (!SWIG_IsOK(res1
)) {
7790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7792 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7794 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7795 if (!SWIG_IsOK(ecode2
)) {
7796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7798 arg2
= static_cast< int >(val2
);
7803 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7809 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7813 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7814 if (!SWIG_IsOK(ecode5
)) {
7815 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7817 arg5
= static_cast< long >(val5
);
7821 arg6
= wxString_in_helper(obj5
);
7822 if (arg6
== NULL
) SWIG_fail
;
7827 if (!wxPyCheckForApp()) SWIG_fail
;
7828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7829 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7830 wxPyEndAllowThreads(__tstate
);
7831 if (PyErr_Occurred()) SWIG_fail
;
7833 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7848 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7849 PyObject
*resultobj
= 0;
7850 wxStaticLine
*result
= 0 ;
7852 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7854 if (!wxPyCheckForApp()) SWIG_fail
;
7855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7856 result
= (wxStaticLine
*)new wxStaticLine();
7857 wxPyEndAllowThreads(__tstate
);
7858 if (PyErr_Occurred()) SWIG_fail
;
7860 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7867 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7868 PyObject
*resultobj
= 0;
7869 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7870 wxWindow
*arg2
= (wxWindow
*) 0 ;
7871 int arg3
= (int) -1 ;
7872 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7873 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7874 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7875 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7876 long arg6
= (long) wxLI_HORIZONTAL
;
7877 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7878 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7890 bool temp7
= false ;
7891 PyObject
* obj0
= 0 ;
7892 PyObject
* obj1
= 0 ;
7893 PyObject
* obj2
= 0 ;
7894 PyObject
* obj3
= 0 ;
7895 PyObject
* obj4
= 0 ;
7896 PyObject
* obj5
= 0 ;
7897 PyObject
* obj6
= 0 ;
7898 char * kwnames
[] = {
7899 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7904 if (!SWIG_IsOK(res1
)) {
7905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7907 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7908 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7909 if (!SWIG_IsOK(res2
)) {
7910 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7912 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7914 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7915 if (!SWIG_IsOK(ecode3
)) {
7916 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7918 arg3
= static_cast< int >(val3
);
7923 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7929 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7933 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7934 if (!SWIG_IsOK(ecode6
)) {
7935 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7937 arg6
= static_cast< long >(val6
);
7941 arg7
= wxString_in_helper(obj6
);
7942 if (arg7
== NULL
) SWIG_fail
;
7947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7948 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7949 wxPyEndAllowThreads(__tstate
);
7950 if (PyErr_Occurred()) SWIG_fail
;
7953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7969 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7970 PyObject
*resultobj
= 0;
7971 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7975 PyObject
*swig_obj
[1] ;
7977 if (!args
) SWIG_fail
;
7979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7980 if (!SWIG_IsOK(res1
)) {
7981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7983 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7986 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7987 wxPyEndAllowThreads(__tstate
);
7988 if (PyErr_Occurred()) SWIG_fail
;
7991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7999 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8000 PyObject
*resultobj
= 0;
8003 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
8005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8006 result
= (int)wxStaticLine::GetDefaultSize();
8007 wxPyEndAllowThreads(__tstate
);
8008 if (PyErr_Occurred()) SWIG_fail
;
8010 resultobj
= SWIG_From_int(static_cast< int >(result
));
8017 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8018 PyObject
*resultobj
= 0;
8019 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8020 SwigValueWrapper
<wxVisualAttributes
> result
;
8023 PyObject
* obj0
= 0 ;
8024 char * kwnames
[] = {
8025 (char *) "variant", NULL
8028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8030 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8031 if (!SWIG_IsOK(ecode1
)) {
8032 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8034 arg1
= static_cast< wxWindowVariant
>(val1
);
8037 if (!wxPyCheckForApp()) SWIG_fail
;
8038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8039 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8040 wxPyEndAllowThreads(__tstate
);
8041 if (PyErr_Occurred()) SWIG_fail
;
8043 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8050 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8052 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8053 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8054 return SWIG_Py_Void();
8057 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8058 return SWIG_Python_InitShadowInstance(args
);
8061 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8062 PyObject
*resultobj
= 0;
8063 wxWindow
*arg1
= (wxWindow
*) 0 ;
8064 int arg2
= (int) -1 ;
8065 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8066 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8067 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8068 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8069 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8070 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8071 long arg6
= (long) 0 ;
8072 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8073 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8074 wxStaticText
*result
= 0 ;
8079 bool temp3
= false ;
8084 bool temp7
= false ;
8085 PyObject
* obj0
= 0 ;
8086 PyObject
* obj1
= 0 ;
8087 PyObject
* obj2
= 0 ;
8088 PyObject
* obj3
= 0 ;
8089 PyObject
* obj4
= 0 ;
8090 PyObject
* obj5
= 0 ;
8091 PyObject
* obj6
= 0 ;
8092 char * kwnames
[] = {
8093 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8098 if (!SWIG_IsOK(res1
)) {
8099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8101 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8103 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8104 if (!SWIG_IsOK(ecode2
)) {
8105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8107 arg2
= static_cast< int >(val2
);
8111 arg3
= wxString_in_helper(obj2
);
8112 if (arg3
== NULL
) SWIG_fail
;
8119 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8125 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8129 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8130 if (!SWIG_IsOK(ecode6
)) {
8131 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8133 arg6
= static_cast< long >(val6
);
8137 arg7
= wxString_in_helper(obj6
);
8138 if (arg7
== NULL
) SWIG_fail
;
8143 if (!wxPyCheckForApp()) SWIG_fail
;
8144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8145 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8146 wxPyEndAllowThreads(__tstate
);
8147 if (PyErr_Occurred()) SWIG_fail
;
8149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8172 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8173 PyObject
*resultobj
= 0;
8174 wxStaticText
*result
= 0 ;
8176 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8178 if (!wxPyCheckForApp()) SWIG_fail
;
8179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8180 result
= (wxStaticText
*)new wxStaticText();
8181 wxPyEndAllowThreads(__tstate
);
8182 if (PyErr_Occurred()) SWIG_fail
;
8184 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8191 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8192 PyObject
*resultobj
= 0;
8193 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8194 wxWindow
*arg2
= (wxWindow
*) 0 ;
8195 int arg3
= (int) -1 ;
8196 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8197 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8198 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8199 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8200 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8201 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8202 long arg7
= (long) 0 ;
8203 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8204 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8212 bool temp4
= false ;
8217 bool temp8
= false ;
8218 PyObject
* obj0
= 0 ;
8219 PyObject
* obj1
= 0 ;
8220 PyObject
* obj2
= 0 ;
8221 PyObject
* obj3
= 0 ;
8222 PyObject
* obj4
= 0 ;
8223 PyObject
* obj5
= 0 ;
8224 PyObject
* obj6
= 0 ;
8225 PyObject
* obj7
= 0 ;
8226 char * kwnames
[] = {
8227 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8232 if (!SWIG_IsOK(res1
)) {
8233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8235 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8236 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8237 if (!SWIG_IsOK(res2
)) {
8238 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8240 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8242 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8243 if (!SWIG_IsOK(ecode3
)) {
8244 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8246 arg3
= static_cast< int >(val3
);
8250 arg4
= wxString_in_helper(obj3
);
8251 if (arg4
== NULL
) SWIG_fail
;
8258 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8264 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8268 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8269 if (!SWIG_IsOK(ecode7
)) {
8270 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8272 arg7
= static_cast< long >(val7
);
8276 arg8
= wxString_in_helper(obj7
);
8277 if (arg8
== NULL
) SWIG_fail
;
8282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8283 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8284 wxPyEndAllowThreads(__tstate
);
8285 if (PyErr_Occurred()) SWIG_fail
;
8288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8312 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8313 PyObject
*resultobj
= 0;
8314 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8320 PyObject
* obj0
= 0 ;
8321 PyObject
* obj1
= 0 ;
8322 char * kwnames
[] = {
8323 (char *) "self",(char *) "width", NULL
8326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8328 if (!SWIG_IsOK(res1
)) {
8329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8331 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8332 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8333 if (!SWIG_IsOK(ecode2
)) {
8334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8336 arg2
= static_cast< int >(val2
);
8338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8340 wxPyEndAllowThreads(__tstate
);
8341 if (PyErr_Occurred()) SWIG_fail
;
8343 resultobj
= SWIG_Py_Void();
8350 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8351 PyObject
*resultobj
= 0;
8352 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8353 SwigValueWrapper
<wxVisualAttributes
> result
;
8356 PyObject
* obj0
= 0 ;
8357 char * kwnames
[] = {
8358 (char *) "variant", NULL
8361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8363 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8364 if (!SWIG_IsOK(ecode1
)) {
8365 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8367 arg1
= static_cast< wxWindowVariant
>(val1
);
8370 if (!wxPyCheckForApp()) SWIG_fail
;
8371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8372 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8373 wxPyEndAllowThreads(__tstate
);
8374 if (PyErr_Occurred()) SWIG_fail
;
8376 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8383 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8385 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8386 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8387 return SWIG_Py_Void();
8390 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8391 return SWIG_Python_InitShadowInstance(args
);
8394 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8395 PyObject
*resultobj
= 0;
8396 wxWindow
*arg1
= (wxWindow
*) 0 ;
8397 int arg2
= (int) -1 ;
8398 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8399 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8400 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8401 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8402 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8403 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8404 long arg6
= (long) 0 ;
8405 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8406 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8407 wxStaticBitmap
*result
= 0 ;
8418 bool temp7
= false ;
8419 PyObject
* obj0
= 0 ;
8420 PyObject
* obj1
= 0 ;
8421 PyObject
* obj2
= 0 ;
8422 PyObject
* obj3
= 0 ;
8423 PyObject
* obj4
= 0 ;
8424 PyObject
* obj5
= 0 ;
8425 PyObject
* obj6
= 0 ;
8426 char * kwnames
[] = {
8427 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8432 if (!SWIG_IsOK(res1
)) {
8433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8435 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8438 if (!SWIG_IsOK(ecode2
)) {
8439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8441 arg2
= static_cast< int >(val2
);
8444 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8445 if (!SWIG_IsOK(res3
)) {
8446 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8449 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8451 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8456 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8462 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8466 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8467 if (!SWIG_IsOK(ecode6
)) {
8468 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8470 arg6
= static_cast< long >(val6
);
8474 arg7
= wxString_in_helper(obj6
);
8475 if (arg7
== NULL
) SWIG_fail
;
8480 if (!wxPyCheckForApp()) SWIG_fail
;
8481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8482 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8483 wxPyEndAllowThreads(__tstate
);
8484 if (PyErr_Occurred()) SWIG_fail
;
8486 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8501 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8502 PyObject
*resultobj
= 0;
8503 wxStaticBitmap
*result
= 0 ;
8505 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8507 if (!wxPyCheckForApp()) SWIG_fail
;
8508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8509 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8510 wxPyEndAllowThreads(__tstate
);
8511 if (PyErr_Occurred()) SWIG_fail
;
8513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8520 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8521 PyObject
*resultobj
= 0;
8522 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8523 wxWindow
*arg2
= (wxWindow
*) 0 ;
8524 int arg3
= (int) -1 ;
8525 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8526 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8527 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8528 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8529 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8530 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8531 long arg7
= (long) 0 ;
8532 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8533 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8547 bool temp8
= false ;
8548 PyObject
* obj0
= 0 ;
8549 PyObject
* obj1
= 0 ;
8550 PyObject
* obj2
= 0 ;
8551 PyObject
* obj3
= 0 ;
8552 PyObject
* obj4
= 0 ;
8553 PyObject
* obj5
= 0 ;
8554 PyObject
* obj6
= 0 ;
8555 PyObject
* obj7
= 0 ;
8556 char * kwnames
[] = {
8557 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8562 if (!SWIG_IsOK(res1
)) {
8563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8565 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8566 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8567 if (!SWIG_IsOK(res2
)) {
8568 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8570 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8572 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8573 if (!SWIG_IsOK(ecode3
)) {
8574 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8576 arg3
= static_cast< int >(val3
);
8579 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8580 if (!SWIG_IsOK(res4
)) {
8581 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8584 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8586 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8591 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8597 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8601 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8602 if (!SWIG_IsOK(ecode7
)) {
8603 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8605 arg7
= static_cast< long >(val7
);
8609 arg8
= wxString_in_helper(obj7
);
8610 if (arg8
== NULL
) SWIG_fail
;
8615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8616 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8617 wxPyEndAllowThreads(__tstate
);
8618 if (PyErr_Occurred()) SWIG_fail
;
8621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8637 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8638 PyObject
*resultobj
= 0;
8639 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8643 PyObject
*swig_obj
[1] ;
8645 if (!args
) SWIG_fail
;
8647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8648 if (!SWIG_IsOK(res1
)) {
8649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8651 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8654 result
= (arg1
)->GetBitmap();
8655 wxPyEndAllowThreads(__tstate
);
8656 if (PyErr_Occurred()) SWIG_fail
;
8658 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8665 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8666 PyObject
*resultobj
= 0;
8667 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8668 wxBitmap
*arg2
= 0 ;
8673 PyObject
* obj0
= 0 ;
8674 PyObject
* obj1
= 0 ;
8675 char * kwnames
[] = {
8676 (char *) "self",(char *) "bitmap", NULL
8679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8681 if (!SWIG_IsOK(res1
)) {
8682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8684 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8685 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8686 if (!SWIG_IsOK(res2
)) {
8687 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8690 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8692 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8695 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8696 wxPyEndAllowThreads(__tstate
);
8697 if (PyErr_Occurred()) SWIG_fail
;
8699 resultobj
= SWIG_Py_Void();
8706 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8707 PyObject
*resultobj
= 0;
8708 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8714 PyObject
* obj0
= 0 ;
8715 PyObject
* obj1
= 0 ;
8716 char * kwnames
[] = {
8717 (char *) "self",(char *) "icon", NULL
8720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8722 if (!SWIG_IsOK(res1
)) {
8723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8725 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8726 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8727 if (!SWIG_IsOK(res2
)) {
8728 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8731 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8733 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8736 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8737 wxPyEndAllowThreads(__tstate
);
8738 if (PyErr_Occurred()) SWIG_fail
;
8740 resultobj
= SWIG_Py_Void();
8747 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8748 PyObject
*resultobj
= 0;
8749 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8750 SwigValueWrapper
<wxVisualAttributes
> result
;
8753 PyObject
* obj0
= 0 ;
8754 char * kwnames
[] = {
8755 (char *) "variant", NULL
8758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8760 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8761 if (!SWIG_IsOK(ecode1
)) {
8762 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8764 arg1
= static_cast< wxWindowVariant
>(val1
);
8767 if (!wxPyCheckForApp()) SWIG_fail
;
8768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8769 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8770 wxPyEndAllowThreads(__tstate
);
8771 if (PyErr_Occurred()) SWIG_fail
;
8773 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8780 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8782 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8783 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8784 return SWIG_Py_Void();
8787 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8788 return SWIG_Python_InitShadowInstance(args
);
8791 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8792 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8797 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8798 PyObject
*pyobj
= 0;
8802 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8804 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8811 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8812 PyObject
*resultobj
= 0;
8813 wxWindow
*arg1
= (wxWindow
*) 0 ;
8814 int arg2
= (int) -1 ;
8815 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8816 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8817 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8818 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8819 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8820 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8821 long arg6
= (long) 0 ;
8822 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8823 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8824 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8825 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8826 wxListBox
*result
= 0 ;
8833 bool temp5
= false ;
8838 bool temp8
= false ;
8839 PyObject
* obj0
= 0 ;
8840 PyObject
* obj1
= 0 ;
8841 PyObject
* obj2
= 0 ;
8842 PyObject
* obj3
= 0 ;
8843 PyObject
* obj4
= 0 ;
8844 PyObject
* obj5
= 0 ;
8845 PyObject
* obj6
= 0 ;
8846 PyObject
* obj7
= 0 ;
8847 char * kwnames
[] = {
8848 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8853 if (!SWIG_IsOK(res1
)) {
8854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8856 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8858 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8859 if (!SWIG_IsOK(ecode2
)) {
8860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8862 arg2
= static_cast< int >(val2
);
8867 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8873 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8878 if (! PySequence_Check(obj4
)) {
8879 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8882 arg5
= new wxArrayString
;
8884 int i
, len
=PySequence_Length(obj4
);
8885 for (i
=0; i
<len
; i
++) {
8886 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8887 wxString
* s
= wxString_in_helper(item
);
8888 if (PyErr_Occurred()) SWIG_fail
;
8896 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8897 if (!SWIG_IsOK(ecode6
)) {
8898 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8900 arg6
= static_cast< long >(val6
);
8903 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8904 if (!SWIG_IsOK(res7
)) {
8905 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8908 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8910 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8914 arg8
= wxString_in_helper(obj7
);
8915 if (arg8
== NULL
) SWIG_fail
;
8920 if (!wxPyCheckForApp()) SWIG_fail
;
8921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8922 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8923 wxPyEndAllowThreads(__tstate
);
8924 if (PyErr_Occurred()) SWIG_fail
;
8926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8928 if (temp5
) delete arg5
;
8937 if (temp5
) delete arg5
;
8947 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8948 PyObject
*resultobj
= 0;
8949 wxListBox
*result
= 0 ;
8951 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8953 if (!wxPyCheckForApp()) SWIG_fail
;
8954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8955 result
= (wxListBox
*)new wxListBox();
8956 wxPyEndAllowThreads(__tstate
);
8957 if (PyErr_Occurred()) SWIG_fail
;
8959 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8966 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8967 PyObject
*resultobj
= 0;
8968 wxListBox
*arg1
= (wxListBox
*) 0 ;
8969 wxWindow
*arg2
= (wxWindow
*) 0 ;
8970 int arg3
= (int) -1 ;
8971 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8972 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8973 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8974 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8975 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8976 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8977 long arg7
= (long) 0 ;
8978 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8979 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8980 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8981 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8991 bool temp6
= false ;
8996 bool temp9
= false ;
8997 PyObject
* obj0
= 0 ;
8998 PyObject
* obj1
= 0 ;
8999 PyObject
* obj2
= 0 ;
9000 PyObject
* obj3
= 0 ;
9001 PyObject
* obj4
= 0 ;
9002 PyObject
* obj5
= 0 ;
9003 PyObject
* obj6
= 0 ;
9004 PyObject
* obj7
= 0 ;
9005 PyObject
* obj8
= 0 ;
9006 char * kwnames
[] = {
9007 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
9011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9012 if (!SWIG_IsOK(res1
)) {
9013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9015 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9016 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9017 if (!SWIG_IsOK(res2
)) {
9018 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9020 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9022 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9023 if (!SWIG_IsOK(ecode3
)) {
9024 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9026 arg3
= static_cast< int >(val3
);
9031 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9037 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9042 if (! PySequence_Check(obj5
)) {
9043 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9046 arg6
= new wxArrayString
;
9048 int i
, len
=PySequence_Length(obj5
);
9049 for (i
=0; i
<len
; i
++) {
9050 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9051 wxString
* s
= wxString_in_helper(item
);
9052 if (PyErr_Occurred()) SWIG_fail
;
9060 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9061 if (!SWIG_IsOK(ecode7
)) {
9062 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9064 arg7
= static_cast< long >(val7
);
9067 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9068 if (!SWIG_IsOK(res8
)) {
9069 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9072 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9074 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9078 arg9
= wxString_in_helper(obj8
);
9079 if (arg9
== NULL
) SWIG_fail
;
9084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9085 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9086 wxPyEndAllowThreads(__tstate
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9093 if (temp6
) delete arg6
;
9102 if (temp6
) delete arg6
;
9112 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9113 PyObject
*resultobj
= 0;
9114 wxListBox
*arg1
= (wxListBox
*) 0 ;
9115 wxString
*arg2
= 0 ;
9117 PyObject
*arg4
= (PyObject
*) NULL
;
9120 bool temp2
= false ;
9123 PyObject
* obj0
= 0 ;
9124 PyObject
* obj1
= 0 ;
9125 PyObject
* obj2
= 0 ;
9126 PyObject
* obj3
= 0 ;
9127 char * kwnames
[] = {
9128 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9133 if (!SWIG_IsOK(res1
)) {
9134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9136 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9138 arg2
= wxString_in_helper(obj1
);
9139 if (arg2
== NULL
) SWIG_fail
;
9142 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9143 if (!SWIG_IsOK(ecode3
)) {
9144 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9146 arg3
= static_cast< int >(val3
);
9151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9152 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9153 wxPyEndAllowThreads(__tstate
);
9154 if (PyErr_Occurred()) SWIG_fail
;
9156 resultobj
= SWIG_Py_Void();
9171 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9172 PyObject
*resultobj
= 0;
9173 wxListBox
*arg1
= (wxListBox
*) 0 ;
9174 wxArrayString
*arg2
= 0 ;
9178 bool temp2
= false ;
9181 PyObject
* obj0
= 0 ;
9182 PyObject
* obj1
= 0 ;
9183 PyObject
* obj2
= 0 ;
9184 char * kwnames
[] = {
9185 (char *) "self",(char *) "items",(char *) "pos", NULL
9188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9190 if (!SWIG_IsOK(res1
)) {
9191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9193 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9195 if (! PySequence_Check(obj1
)) {
9196 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9199 arg2
= new wxArrayString
;
9201 int i
, len
=PySequence_Length(obj1
);
9202 for (i
=0; i
<len
; i
++) {
9203 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9204 wxString
* s
= wxString_in_helper(item
);
9205 if (PyErr_Occurred()) SWIG_fail
;
9211 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9212 if (!SWIG_IsOK(ecode3
)) {
9213 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9215 arg3
= static_cast< unsigned int >(val3
);
9217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9218 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9219 wxPyEndAllowThreads(__tstate
);
9220 if (PyErr_Occurred()) SWIG_fail
;
9222 resultobj
= SWIG_Py_Void();
9224 if (temp2
) delete arg2
;
9229 if (temp2
) delete arg2
;
9235 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9236 PyObject
*resultobj
= 0;
9237 wxListBox
*arg1
= (wxListBox
*) 0 ;
9238 wxArrayString
*arg2
= 0 ;
9241 bool temp2
= false ;
9242 PyObject
* obj0
= 0 ;
9243 PyObject
* obj1
= 0 ;
9244 char * kwnames
[] = {
9245 (char *) "self",(char *) "items", NULL
9248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9250 if (!SWIG_IsOK(res1
)) {
9251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9253 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9255 if (! PySequence_Check(obj1
)) {
9256 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9259 arg2
= new wxArrayString
;
9261 int i
, len
=PySequence_Length(obj1
);
9262 for (i
=0; i
<len
; i
++) {
9263 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9264 wxString
* s
= wxString_in_helper(item
);
9265 if (PyErr_Occurred()) SWIG_fail
;
9272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9273 (arg1
)->Set((wxArrayString
const &)*arg2
);
9274 wxPyEndAllowThreads(__tstate
);
9275 if (PyErr_Occurred()) SWIG_fail
;
9277 resultobj
= SWIG_Py_Void();
9279 if (temp2
) delete arg2
;
9284 if (temp2
) delete arg2
;
9290 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9291 PyObject
*resultobj
= 0;
9292 wxListBox
*arg1
= (wxListBox
*) 0 ;
9299 PyObject
* obj0
= 0 ;
9300 PyObject
* obj1
= 0 ;
9301 char * kwnames
[] = {
9302 (char *) "self",(char *) "n", NULL
9305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) 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_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
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_IsSelected" "', expected argument " "2"" of type '" "int""'");
9315 arg2
= static_cast< int >(val2
);
9317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9318 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9319 wxPyEndAllowThreads(__tstate
);
9320 if (PyErr_Occurred()) SWIG_fail
;
9323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9331 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9332 PyObject
*resultobj
= 0;
9333 wxListBox
*arg1
= (wxListBox
*) 0 ;
9335 bool arg3
= (bool) true ;
9342 PyObject
* obj0
= 0 ;
9343 PyObject
* obj1
= 0 ;
9344 PyObject
* obj2
= 0 ;
9345 char * kwnames
[] = {
9346 (char *) "self",(char *) "n",(char *) "select", NULL
9349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9351 if (!SWIG_IsOK(res1
)) {
9352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9354 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9355 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9356 if (!SWIG_IsOK(ecode2
)) {
9357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9359 arg2
= static_cast< int >(val2
);
9361 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9362 if (!SWIG_IsOK(ecode3
)) {
9363 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9365 arg3
= static_cast< bool >(val3
);
9368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9369 (arg1
)->SetSelection(arg2
,arg3
);
9370 wxPyEndAllowThreads(__tstate
);
9371 if (PyErr_Occurred()) SWIG_fail
;
9373 resultobj
= SWIG_Py_Void();
9380 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9381 PyObject
*resultobj
= 0;
9382 wxListBox
*arg1
= (wxListBox
*) 0 ;
9388 PyObject
* obj0
= 0 ;
9389 PyObject
* obj1
= 0 ;
9390 char * kwnames
[] = {
9391 (char *) "self",(char *) "n", NULL
9394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9396 if (!SWIG_IsOK(res1
)) {
9397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9399 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9400 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9401 if (!SWIG_IsOK(ecode2
)) {
9402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9404 arg2
= static_cast< int >(val2
);
9406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9407 (arg1
)->Select(arg2
);
9408 wxPyEndAllowThreads(__tstate
);
9409 if (PyErr_Occurred()) SWIG_fail
;
9411 resultobj
= SWIG_Py_Void();
9418 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9419 PyObject
*resultobj
= 0;
9420 wxListBox
*arg1
= (wxListBox
*) 0 ;
9426 PyObject
* obj0
= 0 ;
9427 PyObject
* obj1
= 0 ;
9428 char * kwnames
[] = {
9429 (char *) "self",(char *) "n", NULL
9432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9434 if (!SWIG_IsOK(res1
)) {
9435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9437 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9439 if (!SWIG_IsOK(ecode2
)) {
9440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9442 arg2
= static_cast< int >(val2
);
9444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9445 (arg1
)->Deselect(arg2
);
9446 wxPyEndAllowThreads(__tstate
);
9447 if (PyErr_Occurred()) SWIG_fail
;
9449 resultobj
= SWIG_Py_Void();
9456 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9457 PyObject
*resultobj
= 0;
9458 wxListBox
*arg1
= (wxListBox
*) 0 ;
9459 int arg2
= (int) -1 ;
9464 PyObject
* obj0
= 0 ;
9465 PyObject
* obj1
= 0 ;
9466 char * kwnames
[] = {
9467 (char *) "self",(char *) "itemToLeaveSelected", NULL
9470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) 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_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9475 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9477 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9478 if (!SWIG_IsOK(ecode2
)) {
9479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9481 arg2
= static_cast< int >(val2
);
9484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9485 (arg1
)->DeselectAll(arg2
);
9486 wxPyEndAllowThreads(__tstate
);
9487 if (PyErr_Occurred()) SWIG_fail
;
9489 resultobj
= SWIG_Py_Void();
9496 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9497 PyObject
*resultobj
= 0;
9498 wxListBox
*arg1
= (wxListBox
*) 0 ;
9499 wxString
*arg2
= 0 ;
9500 bool arg3
= (bool) true ;
9504 bool temp2
= false ;
9507 PyObject
* obj0
= 0 ;
9508 PyObject
* obj1
= 0 ;
9509 PyObject
* obj2
= 0 ;
9510 char * kwnames
[] = {
9511 (char *) "self",(char *) "s",(char *) "select", NULL
9514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9516 if (!SWIG_IsOK(res1
)) {
9517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9519 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9521 arg2
= wxString_in_helper(obj1
);
9522 if (arg2
== NULL
) SWIG_fail
;
9526 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9527 if (!SWIG_IsOK(ecode3
)) {
9528 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9530 arg3
= static_cast< bool >(val3
);
9533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9534 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9535 wxPyEndAllowThreads(__tstate
);
9536 if (PyErr_Occurred()) SWIG_fail
;
9539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9555 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9556 PyObject
*resultobj
= 0;
9557 wxListBox
*arg1
= (wxListBox
*) 0 ;
9558 PyObject
*result
= 0 ;
9561 PyObject
*swig_obj
[1] ;
9563 if (!args
) SWIG_fail
;
9565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9566 if (!SWIG_IsOK(res1
)) {
9567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9569 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9572 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9573 wxPyEndAllowThreads(__tstate
);
9574 if (PyErr_Occurred()) SWIG_fail
;
9583 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9584 PyObject
*resultobj
= 0;
9585 wxListBox
*arg1
= (wxListBox
*) 0 ;
9591 PyObject
* obj0
= 0 ;
9592 PyObject
* obj1
= 0 ;
9593 char * kwnames
[] = {
9594 (char *) "self",(char *) "n", NULL
9597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9599 if (!SWIG_IsOK(res1
)) {
9600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9602 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9603 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9604 if (!SWIG_IsOK(ecode2
)) {
9605 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9607 arg2
= static_cast< int >(val2
);
9609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9610 (arg1
)->SetFirstItem(arg2
);
9611 wxPyEndAllowThreads(__tstate
);
9612 if (PyErr_Occurred()) SWIG_fail
;
9614 resultobj
= SWIG_Py_Void();
9621 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9622 PyObject
*resultobj
= 0;
9623 wxListBox
*arg1
= (wxListBox
*) 0 ;
9624 wxString
*arg2
= 0 ;
9627 bool temp2
= false ;
9628 PyObject
* obj0
= 0 ;
9629 PyObject
* obj1
= 0 ;
9630 char * kwnames
[] = {
9631 (char *) "self",(char *) "s", NULL
9634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9636 if (!SWIG_IsOK(res1
)) {
9637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9639 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9641 arg2
= wxString_in_helper(obj1
);
9642 if (arg2
== NULL
) SWIG_fail
;
9646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9647 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9648 wxPyEndAllowThreads(__tstate
);
9649 if (PyErr_Occurred()) SWIG_fail
;
9651 resultobj
= SWIG_Py_Void();
9666 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9667 PyObject
*resultobj
= 0;
9668 wxListBox
*arg1
= (wxListBox
*) 0 ;
9674 PyObject
* obj0
= 0 ;
9675 PyObject
* obj1
= 0 ;
9676 char * kwnames
[] = {
9677 (char *) "self",(char *) "n", NULL
9680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9682 if (!SWIG_IsOK(res1
)) {
9683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9685 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9686 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9687 if (!SWIG_IsOK(ecode2
)) {
9688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9690 arg2
= static_cast< int >(val2
);
9692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9693 (arg1
)->EnsureVisible(arg2
);
9694 wxPyEndAllowThreads(__tstate
);
9695 if (PyErr_Occurred()) SWIG_fail
;
9697 resultobj
= SWIG_Py_Void();
9704 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9705 PyObject
*resultobj
= 0;
9706 wxListBox
*arg1
= (wxListBox
*) 0 ;
9707 wxString
*arg2
= 0 ;
9710 bool temp2
= false ;
9711 PyObject
* obj0
= 0 ;
9712 PyObject
* obj1
= 0 ;
9713 char * kwnames
[] = {
9714 (char *) "self",(char *) "s", NULL
9717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9719 if (!SWIG_IsOK(res1
)) {
9720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9722 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9724 arg2
= wxString_in_helper(obj1
);
9725 if (arg2
== NULL
) SWIG_fail
;
9729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9730 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9731 wxPyEndAllowThreads(__tstate
);
9732 if (PyErr_Occurred()) SWIG_fail
;
9734 resultobj
= SWIG_Py_Void();
9749 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9750 PyObject
*resultobj
= 0;
9751 wxListBox
*arg1
= (wxListBox
*) 0 ;
9755 PyObject
*swig_obj
[1] ;
9757 if (!args
) SWIG_fail
;
9759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9760 if (!SWIG_IsOK(res1
)) {
9761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9763 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9766 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9767 wxPyEndAllowThreads(__tstate
);
9768 if (PyErr_Occurred()) SWIG_fail
;
9771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9779 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9780 PyObject
*resultobj
= 0;
9781 wxListBox
*arg1
= (wxListBox
*) 0 ;
9787 PyObject
* obj0
= 0 ;
9788 PyObject
* obj1
= 0 ;
9789 char * kwnames
[] = {
9790 (char *) "self",(char *) "pt", NULL
9793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9795 if (!SWIG_IsOK(res1
)) {
9796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9798 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9801 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9805 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9806 wxPyEndAllowThreads(__tstate
);
9807 if (PyErr_Occurred()) SWIG_fail
;
9809 resultobj
= SWIG_From_int(static_cast< int >(result
));
9816 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9817 PyObject
*resultobj
= 0;
9818 wxListBox
*arg1
= (wxListBox
*) 0 ;
9820 wxColour
*arg3
= 0 ;
9826 PyObject
* obj0
= 0 ;
9827 PyObject
* obj1
= 0 ;
9828 PyObject
* obj2
= 0 ;
9829 char * kwnames
[] = {
9830 (char *) "self",(char *) "item",(char *) "c", NULL
9833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9835 if (!SWIG_IsOK(res1
)) {
9836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9838 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9839 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9840 if (!SWIG_IsOK(ecode2
)) {
9841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9843 arg2
= static_cast< int >(val2
);
9846 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9850 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9851 wxPyEndAllowThreads(__tstate
);
9852 if (PyErr_Occurred()) SWIG_fail
;
9854 resultobj
= SWIG_Py_Void();
9861 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9862 PyObject
*resultobj
= 0;
9863 wxListBox
*arg1
= (wxListBox
*) 0 ;
9865 wxColour
*arg3
= 0 ;
9871 PyObject
* obj0
= 0 ;
9872 PyObject
* obj1
= 0 ;
9873 PyObject
* obj2
= 0 ;
9874 char * kwnames
[] = {
9875 (char *) "self",(char *) "item",(char *) "c", NULL
9878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9880 if (!SWIG_IsOK(res1
)) {
9881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9883 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9884 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9885 if (!SWIG_IsOK(ecode2
)) {
9886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9888 arg2
= static_cast< int >(val2
);
9891 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9895 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9896 wxPyEndAllowThreads(__tstate
);
9897 if (PyErr_Occurred()) SWIG_fail
;
9899 resultobj
= SWIG_Py_Void();
9906 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9907 PyObject
*resultobj
= 0;
9908 wxListBox
*arg1
= (wxListBox
*) 0 ;
9917 PyObject
* obj0
= 0 ;
9918 PyObject
* obj1
= 0 ;
9919 PyObject
* obj2
= 0 ;
9920 char * kwnames
[] = {
9921 (char *) "self",(char *) "item",(char *) "f", NULL
9924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9926 if (!SWIG_IsOK(res1
)) {
9927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9929 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9930 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9931 if (!SWIG_IsOK(ecode2
)) {
9932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9934 arg2
= static_cast< int >(val2
);
9935 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9936 if (!SWIG_IsOK(res3
)) {
9937 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9940 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9942 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9945 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9946 wxPyEndAllowThreads(__tstate
);
9947 if (PyErr_Occurred()) SWIG_fail
;
9949 resultobj
= SWIG_Py_Void();
9956 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9957 PyObject
*resultobj
= 0;
9958 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9959 SwigValueWrapper
<wxVisualAttributes
> result
;
9962 PyObject
* obj0
= 0 ;
9963 char * kwnames
[] = {
9964 (char *) "variant", NULL
9967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9969 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9970 if (!SWIG_IsOK(ecode1
)) {
9971 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9973 arg1
= static_cast< wxWindowVariant
>(val1
);
9976 if (!wxPyCheckForApp()) SWIG_fail
;
9977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9978 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9979 wxPyEndAllowThreads(__tstate
);
9980 if (PyErr_Occurred()) SWIG_fail
;
9982 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9989 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9991 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9992 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9993 return SWIG_Py_Void();
9996 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9997 return SWIG_Python_InitShadowInstance(args
);
10000 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10001 PyObject
*resultobj
= 0;
10002 wxWindow
*arg1
= (wxWindow
*) 0 ;
10003 int arg2
= (int) -1 ;
10004 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10005 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10006 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10007 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10008 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
10009 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
10010 long arg6
= (long) 0 ;
10011 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10012 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10013 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
10014 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10015 wxCheckListBox
*result
= 0 ;
10022 bool temp5
= false ;
10027 bool temp8
= false ;
10028 PyObject
* obj0
= 0 ;
10029 PyObject
* obj1
= 0 ;
10030 PyObject
* obj2
= 0 ;
10031 PyObject
* obj3
= 0 ;
10032 PyObject
* obj4
= 0 ;
10033 PyObject
* obj5
= 0 ;
10034 PyObject
* obj6
= 0 ;
10035 PyObject
* obj7
= 0 ;
10036 char * kwnames
[] = {
10037 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10042 if (!SWIG_IsOK(res1
)) {
10043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10045 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10047 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10048 if (!SWIG_IsOK(ecode2
)) {
10049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10051 arg2
= static_cast< int >(val2
);
10056 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10062 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10067 if (! PySequence_Check(obj4
)) {
10068 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10071 arg5
= new wxArrayString
;
10073 int i
, len
=PySequence_Length(obj4
);
10074 for (i
=0; i
<len
; i
++) {
10075 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10076 wxString
* s
= wxString_in_helper(item
);
10077 if (PyErr_Occurred()) SWIG_fail
;
10085 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10086 if (!SWIG_IsOK(ecode6
)) {
10087 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10089 arg6
= static_cast< long >(val6
);
10092 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10093 if (!SWIG_IsOK(res7
)) {
10094 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10097 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10099 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10103 arg8
= wxString_in_helper(obj7
);
10104 if (arg8
== NULL
) SWIG_fail
;
10109 if (!wxPyCheckForApp()) SWIG_fail
;
10110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10111 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10112 wxPyEndAllowThreads(__tstate
);
10113 if (PyErr_Occurred()) SWIG_fail
;
10115 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10117 if (temp5
) delete arg5
;
10126 if (temp5
) delete arg5
;
10136 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10137 PyObject
*resultobj
= 0;
10138 wxCheckListBox
*result
= 0 ;
10140 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10142 if (!wxPyCheckForApp()) SWIG_fail
;
10143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10144 result
= (wxCheckListBox
*)new wxCheckListBox();
10145 wxPyEndAllowThreads(__tstate
);
10146 if (PyErr_Occurred()) SWIG_fail
;
10148 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10155 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10156 PyObject
*resultobj
= 0;
10157 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10158 wxWindow
*arg2
= (wxWindow
*) 0 ;
10159 int arg3
= (int) -1 ;
10160 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10161 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10162 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10163 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10164 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10165 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10166 long arg7
= (long) 0 ;
10167 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10168 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10169 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10170 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10180 bool temp6
= false ;
10185 bool temp9
= false ;
10186 PyObject
* obj0
= 0 ;
10187 PyObject
* obj1
= 0 ;
10188 PyObject
* obj2
= 0 ;
10189 PyObject
* obj3
= 0 ;
10190 PyObject
* obj4
= 0 ;
10191 PyObject
* obj5
= 0 ;
10192 PyObject
* obj6
= 0 ;
10193 PyObject
* obj7
= 0 ;
10194 PyObject
* obj8
= 0 ;
10195 char * kwnames
[] = {
10196 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10201 if (!SWIG_IsOK(res1
)) {
10202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10204 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10205 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10206 if (!SWIG_IsOK(res2
)) {
10207 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10209 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10211 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10212 if (!SWIG_IsOK(ecode3
)) {
10213 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10215 arg3
= static_cast< int >(val3
);
10220 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10226 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10231 if (! PySequence_Check(obj5
)) {
10232 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10235 arg6
= new wxArrayString
;
10237 int i
, len
=PySequence_Length(obj5
);
10238 for (i
=0; i
<len
; i
++) {
10239 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10240 wxString
* s
= wxString_in_helper(item
);
10241 if (PyErr_Occurred()) SWIG_fail
;
10249 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10250 if (!SWIG_IsOK(ecode7
)) {
10251 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10253 arg7
= static_cast< long >(val7
);
10256 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10257 if (!SWIG_IsOK(res8
)) {
10258 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10261 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10263 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10267 arg9
= wxString_in_helper(obj8
);
10268 if (arg9
== NULL
) SWIG_fail
;
10273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10274 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10275 wxPyEndAllowThreads(__tstate
);
10276 if (PyErr_Occurred()) SWIG_fail
;
10279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10282 if (temp6
) delete arg6
;
10291 if (temp6
) delete arg6
;
10301 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10302 PyObject
*resultobj
= 0;
10303 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10304 unsigned int arg2
;
10308 unsigned int val2
;
10310 PyObject
* obj0
= 0 ;
10311 PyObject
* obj1
= 0 ;
10312 char * kwnames
[] = {
10313 (char *) "self",(char *) "index", NULL
10316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) 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_IsChecked" "', 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_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10326 arg2
= static_cast< unsigned int >(val2
);
10328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10329 result
= (bool)(arg1
)->IsChecked(arg2
);
10330 wxPyEndAllowThreads(__tstate
);
10331 if (PyErr_Occurred()) SWIG_fail
;
10334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10342 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10343 PyObject
*resultobj
= 0;
10344 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10345 unsigned int arg2
;
10346 int arg3
= (int) true ;
10349 unsigned int val2
;
10353 PyObject
* obj0
= 0 ;
10354 PyObject
* obj1
= 0 ;
10355 PyObject
* obj2
= 0 ;
10356 char * kwnames
[] = {
10357 (char *) "self",(char *) "index",(char *) "check", NULL
10360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10362 if (!SWIG_IsOK(res1
)) {
10363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10365 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10366 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10367 if (!SWIG_IsOK(ecode2
)) {
10368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10370 arg2
= static_cast< unsigned int >(val2
);
10372 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10373 if (!SWIG_IsOK(ecode3
)) {
10374 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10376 arg3
= static_cast< int >(val3
);
10379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10380 (arg1
)->Check(arg2
,arg3
);
10381 wxPyEndAllowThreads(__tstate
);
10382 if (PyErr_Occurred()) SWIG_fail
;
10384 resultobj
= SWIG_Py_Void();
10391 SWIGINTERN PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10392 PyObject
*resultobj
= 0;
10393 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10397 PyObject
*swig_obj
[1] ;
10399 if (!args
) SWIG_fail
;
10400 swig_obj
[0] = args
;
10401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10402 if (!SWIG_IsOK(res1
)) {
10403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10405 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10408 result
= (int)(arg1
)->GetItemHeight();
10409 wxPyEndAllowThreads(__tstate
);
10410 if (PyErr_Occurred()) SWIG_fail
;
10412 resultobj
= SWIG_From_int(static_cast< int >(result
));
10419 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10421 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10422 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10423 return SWIG_Py_Void();
10426 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10427 return SWIG_Python_InitShadowInstance(args
);
10430 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10431 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10436 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10437 PyObject
*pyobj
= 0;
10441 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10443 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10450 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10451 PyObject
*resultobj
= 0;
10452 wxColour
const &arg1_defvalue
= wxNullColour
;
10453 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10454 wxColour
const &arg2_defvalue
= wxNullColour
;
10455 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10456 wxFont
const &arg3_defvalue
= wxNullFont
;
10457 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10458 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10459 wxTextAttr
*result
= 0 ;
10466 PyObject
* obj0
= 0 ;
10467 PyObject
* obj1
= 0 ;
10468 PyObject
* obj2
= 0 ;
10469 PyObject
* obj3
= 0 ;
10470 char * kwnames
[] = {
10471 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10478 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10484 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10488 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10489 if (!SWIG_IsOK(res3
)) {
10490 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10493 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10495 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10498 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10499 if (!SWIG_IsOK(ecode4
)) {
10500 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10502 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10506 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10507 wxPyEndAllowThreads(__tstate
);
10508 if (PyErr_Occurred()) SWIG_fail
;
10510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10517 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10518 PyObject
*resultobj
= 0;
10519 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10522 PyObject
*swig_obj
[1] ;
10524 if (!args
) SWIG_fail
;
10525 swig_obj
[0] = args
;
10526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10527 if (!SWIG_IsOK(res1
)) {
10528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10530 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10535 wxPyEndAllowThreads(__tstate
);
10536 if (PyErr_Occurred()) SWIG_fail
;
10538 resultobj
= SWIG_Py_Void();
10545 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10546 PyObject
*resultobj
= 0;
10547 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10550 PyObject
*swig_obj
[1] ;
10552 if (!args
) SWIG_fail
;
10553 swig_obj
[0] = args
;
10554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10555 if (!SWIG_IsOK(res1
)) {
10556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10558 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10562 wxPyEndAllowThreads(__tstate
);
10563 if (PyErr_Occurred()) SWIG_fail
;
10565 resultobj
= SWIG_Py_Void();
10572 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10573 PyObject
*resultobj
= 0;
10574 wxTextAttr
*arg1
= 0 ;
10575 wxTextAttr
*arg2
= 0 ;
10581 PyObject
* obj0
= 0 ;
10582 PyObject
* obj1
= 0 ;
10583 char * kwnames
[] = {
10584 (char *) "base",(char *) "overlay", NULL
10587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10588 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10589 if (!SWIG_IsOK(res1
)) {
10590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10593 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10595 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10596 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10597 if (!SWIG_IsOK(res2
)) {
10598 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10601 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10603 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10606 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10607 wxPyEndAllowThreads(__tstate
);
10608 if (PyErr_Occurred()) SWIG_fail
;
10610 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10617 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10618 PyObject
*resultobj
= 0;
10619 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10620 wxColour
*arg2
= 0 ;
10624 PyObject
* obj0
= 0 ;
10625 PyObject
* obj1
= 0 ;
10626 char * kwnames
[] = {
10627 (char *) "self",(char *) "colText", NULL
10630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10632 if (!SWIG_IsOK(res1
)) {
10633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10635 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10638 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10642 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10643 wxPyEndAllowThreads(__tstate
);
10644 if (PyErr_Occurred()) SWIG_fail
;
10646 resultobj
= SWIG_Py_Void();
10653 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10654 PyObject
*resultobj
= 0;
10655 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10656 wxColour
*arg2
= 0 ;
10660 PyObject
* obj0
= 0 ;
10661 PyObject
* obj1
= 0 ;
10662 char * kwnames
[] = {
10663 (char *) "self",(char *) "colBack", NULL
10666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10668 if (!SWIG_IsOK(res1
)) {
10669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10671 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10674 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10678 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10679 wxPyEndAllowThreads(__tstate
);
10680 if (PyErr_Occurred()) SWIG_fail
;
10682 resultobj
= SWIG_Py_Void();
10689 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10690 PyObject
*resultobj
= 0;
10691 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10693 long arg3
= (long) wxTEXT_ATTR_FONT
;
10700 PyObject
* obj0
= 0 ;
10701 PyObject
* obj1
= 0 ;
10702 PyObject
* obj2
= 0 ;
10703 char * kwnames
[] = {
10704 (char *) "self",(char *) "font",(char *) "flags", NULL
10707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10709 if (!SWIG_IsOK(res1
)) {
10710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10712 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10713 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10714 if (!SWIG_IsOK(res2
)) {
10715 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10718 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10720 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10722 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10723 if (!SWIG_IsOK(ecode3
)) {
10724 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10726 arg3
= static_cast< long >(val3
);
10729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10730 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10731 wxPyEndAllowThreads(__tstate
);
10732 if (PyErr_Occurred()) SWIG_fail
;
10734 resultobj
= SWIG_Py_Void();
10741 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10742 PyObject
*resultobj
= 0;
10743 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10744 wxTextAttrAlignment arg2
;
10749 PyObject
* obj0
= 0 ;
10750 PyObject
* obj1
= 0 ;
10751 char * kwnames
[] = {
10752 (char *) "self",(char *) "alignment", NULL
10755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10757 if (!SWIG_IsOK(res1
)) {
10758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10760 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10761 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10762 if (!SWIG_IsOK(ecode2
)) {
10763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10765 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10768 (arg1
)->SetAlignment(arg2
);
10769 wxPyEndAllowThreads(__tstate
);
10770 if (PyErr_Occurred()) SWIG_fail
;
10772 resultobj
= SWIG_Py_Void();
10779 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10780 PyObject
*resultobj
= 0;
10781 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10782 wxArrayInt
*arg2
= 0 ;
10785 bool temp2
= false ;
10786 PyObject
* obj0
= 0 ;
10787 PyObject
* obj1
= 0 ;
10788 char * kwnames
[] = {
10789 (char *) "self",(char *) "tabs", NULL
10792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10794 if (!SWIG_IsOK(res1
)) {
10795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10797 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10799 if (! PySequence_Check(obj1
)) {
10800 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10803 arg2
= new wxArrayInt
;
10805 int i
, len
=PySequence_Length(obj1
);
10806 for (i
=0; i
<len
; i
++) {
10807 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10808 PyObject
* number
= PyNumber_Int(item
);
10809 arg2
->Add(PyInt_AS_LONG(number
));
10815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10816 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10817 wxPyEndAllowThreads(__tstate
);
10818 if (PyErr_Occurred()) SWIG_fail
;
10820 resultobj
= SWIG_Py_Void();
10822 if (temp2
) delete arg2
;
10827 if (temp2
) delete arg2
;
10833 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10834 PyObject
*resultobj
= 0;
10835 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10837 int arg3
= (int) 0 ;
10844 PyObject
* obj0
= 0 ;
10845 PyObject
* obj1
= 0 ;
10846 PyObject
* obj2
= 0 ;
10847 char * kwnames
[] = {
10848 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10853 if (!SWIG_IsOK(res1
)) {
10854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10856 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10857 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10858 if (!SWIG_IsOK(ecode2
)) {
10859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10861 arg2
= static_cast< int >(val2
);
10863 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10864 if (!SWIG_IsOK(ecode3
)) {
10865 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10867 arg3
= static_cast< int >(val3
);
10870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10871 (arg1
)->SetLeftIndent(arg2
,arg3
);
10872 wxPyEndAllowThreads(__tstate
);
10873 if (PyErr_Occurred()) SWIG_fail
;
10875 resultobj
= SWIG_Py_Void();
10882 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10883 PyObject
*resultobj
= 0;
10884 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10890 PyObject
* obj0
= 0 ;
10891 PyObject
* obj1
= 0 ;
10892 char * kwnames
[] = {
10893 (char *) "self",(char *) "indent", NULL
10896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10898 if (!SWIG_IsOK(res1
)) {
10899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10901 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10902 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10903 if (!SWIG_IsOK(ecode2
)) {
10904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10906 arg2
= static_cast< int >(val2
);
10908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10909 (arg1
)->SetRightIndent(arg2
);
10910 wxPyEndAllowThreads(__tstate
);
10911 if (PyErr_Occurred()) SWIG_fail
;
10913 resultobj
= SWIG_Py_Void();
10920 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10921 PyObject
*resultobj
= 0;
10922 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10928 PyObject
* obj0
= 0 ;
10929 PyObject
* obj1
= 0 ;
10930 char * kwnames
[] = {
10931 (char *) "self",(char *) "flags", NULL
10934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10936 if (!SWIG_IsOK(res1
)) {
10937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10939 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10940 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10941 if (!SWIG_IsOK(ecode2
)) {
10942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10944 arg2
= static_cast< long >(val2
);
10946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10947 (arg1
)->SetFlags(arg2
);
10948 wxPyEndAllowThreads(__tstate
);
10949 if (PyErr_Occurred()) SWIG_fail
;
10951 resultobj
= SWIG_Py_Void();
10958 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10959 PyObject
*resultobj
= 0;
10960 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10964 PyObject
*swig_obj
[1] ;
10966 if (!args
) SWIG_fail
;
10967 swig_obj
[0] = args
;
10968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10969 if (!SWIG_IsOK(res1
)) {
10970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10972 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10975 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10976 wxPyEndAllowThreads(__tstate
);
10977 if (PyErr_Occurred()) SWIG_fail
;
10980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10988 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10989 PyObject
*resultobj
= 0;
10990 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10994 PyObject
*swig_obj
[1] ;
10996 if (!args
) SWIG_fail
;
10997 swig_obj
[0] = args
;
10998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10999 if (!SWIG_IsOK(res1
)) {
11000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11002 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11005 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
11006 wxPyEndAllowThreads(__tstate
);
11007 if (PyErr_Occurred()) SWIG_fail
;
11010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11018 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11019 PyObject
*resultobj
= 0;
11020 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11024 PyObject
*swig_obj
[1] ;
11026 if (!args
) SWIG_fail
;
11027 swig_obj
[0] = args
;
11028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11029 if (!SWIG_IsOK(res1
)) {
11030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11032 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11035 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11036 wxPyEndAllowThreads(__tstate
);
11037 if (PyErr_Occurred()) SWIG_fail
;
11040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11048 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11049 PyObject
*resultobj
= 0;
11050 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11054 PyObject
*swig_obj
[1] ;
11056 if (!args
) SWIG_fail
;
11057 swig_obj
[0] = args
;
11058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11059 if (!SWIG_IsOK(res1
)) {
11060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11062 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11065 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11066 wxPyEndAllowThreads(__tstate
);
11067 if (PyErr_Occurred()) SWIG_fail
;
11070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11078 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11079 PyObject
*resultobj
= 0;
11080 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11084 PyObject
*swig_obj
[1] ;
11086 if (!args
) SWIG_fail
;
11087 swig_obj
[0] = args
;
11088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11089 if (!SWIG_IsOK(res1
)) {
11090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11092 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11095 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11096 wxPyEndAllowThreads(__tstate
);
11097 if (PyErr_Occurred()) SWIG_fail
;
11100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11108 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11109 PyObject
*resultobj
= 0;
11110 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11114 PyObject
*swig_obj
[1] ;
11116 if (!args
) SWIG_fail
;
11117 swig_obj
[0] = args
;
11118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11119 if (!SWIG_IsOK(res1
)) {
11120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11122 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11125 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11126 wxPyEndAllowThreads(__tstate
);
11127 if (PyErr_Occurred()) SWIG_fail
;
11130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11138 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11139 PyObject
*resultobj
= 0;
11140 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11144 PyObject
*swig_obj
[1] ;
11146 if (!args
) SWIG_fail
;
11147 swig_obj
[0] = args
;
11148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11149 if (!SWIG_IsOK(res1
)) {
11150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11152 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11155 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11156 wxPyEndAllowThreads(__tstate
);
11157 if (PyErr_Occurred()) SWIG_fail
;
11160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11168 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11169 PyObject
*resultobj
= 0;
11170 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11177 PyObject
* obj0
= 0 ;
11178 PyObject
* obj1
= 0 ;
11179 char * kwnames
[] = {
11180 (char *) "self",(char *) "flag", NULL
11183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11185 if (!SWIG_IsOK(res1
)) {
11186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11188 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11189 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11190 if (!SWIG_IsOK(ecode2
)) {
11191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11193 arg2
= static_cast< long >(val2
);
11195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11196 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11197 wxPyEndAllowThreads(__tstate
);
11198 if (PyErr_Occurred()) SWIG_fail
;
11201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11209 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11210 PyObject
*resultobj
= 0;
11211 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11212 wxColour
*result
= 0 ;
11215 PyObject
*swig_obj
[1] ;
11217 if (!args
) SWIG_fail
;
11218 swig_obj
[0] = args
;
11219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11220 if (!SWIG_IsOK(res1
)) {
11221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11223 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11227 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11228 result
= (wxColour
*) &_result_ref
;
11230 wxPyEndAllowThreads(__tstate
);
11231 if (PyErr_Occurred()) SWIG_fail
;
11233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11240 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11241 PyObject
*resultobj
= 0;
11242 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11243 wxColour
*result
= 0 ;
11246 PyObject
*swig_obj
[1] ;
11248 if (!args
) SWIG_fail
;
11249 swig_obj
[0] = args
;
11250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11251 if (!SWIG_IsOK(res1
)) {
11252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11254 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11258 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11259 result
= (wxColour
*) &_result_ref
;
11261 wxPyEndAllowThreads(__tstate
);
11262 if (PyErr_Occurred()) SWIG_fail
;
11264 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11271 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11272 PyObject
*resultobj
= 0;
11273 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11274 wxFont
*result
= 0 ;
11277 PyObject
*swig_obj
[1] ;
11279 if (!args
) SWIG_fail
;
11280 swig_obj
[0] = args
;
11281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11282 if (!SWIG_IsOK(res1
)) {
11283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11285 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11289 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11290 result
= (wxFont
*) &_result_ref
;
11292 wxPyEndAllowThreads(__tstate
);
11293 if (PyErr_Occurred()) SWIG_fail
;
11296 wxFont
* resultptr
= new wxFont(*result
);
11297 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11305 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11306 PyObject
*resultobj
= 0;
11307 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11308 wxTextAttrAlignment result
;
11311 PyObject
*swig_obj
[1] ;
11313 if (!args
) SWIG_fail
;
11314 swig_obj
[0] = args
;
11315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11316 if (!SWIG_IsOK(res1
)) {
11317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11319 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11322 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11323 wxPyEndAllowThreads(__tstate
);
11324 if (PyErr_Occurred()) SWIG_fail
;
11326 resultobj
= SWIG_From_int(static_cast< int >(result
));
11333 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11334 PyObject
*resultobj
= 0;
11335 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11336 wxArrayInt
*result
= 0 ;
11339 PyObject
*swig_obj
[1] ;
11341 if (!args
) SWIG_fail
;
11342 swig_obj
[0] = args
;
11343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11344 if (!SWIG_IsOK(res1
)) {
11345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11347 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11351 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11352 result
= (wxArrayInt
*) &_result_ref
;
11354 wxPyEndAllowThreads(__tstate
);
11355 if (PyErr_Occurred()) SWIG_fail
;
11358 resultobj
= PyList_New(0);
11360 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
11361 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
11362 PyList_Append(resultobj
, val
);
11372 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11373 PyObject
*resultobj
= 0;
11374 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11378 PyObject
*swig_obj
[1] ;
11380 if (!args
) SWIG_fail
;
11381 swig_obj
[0] = args
;
11382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11383 if (!SWIG_IsOK(res1
)) {
11384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11386 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11389 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11390 wxPyEndAllowThreads(__tstate
);
11391 if (PyErr_Occurred()) SWIG_fail
;
11393 resultobj
= SWIG_From_long(static_cast< long >(result
));
11400 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11401 PyObject
*resultobj
= 0;
11402 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11406 PyObject
*swig_obj
[1] ;
11408 if (!args
) SWIG_fail
;
11409 swig_obj
[0] = args
;
11410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11411 if (!SWIG_IsOK(res1
)) {
11412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11414 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11417 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11418 wxPyEndAllowThreads(__tstate
);
11419 if (PyErr_Occurred()) SWIG_fail
;
11421 resultobj
= SWIG_From_long(static_cast< long >(result
));
11428 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11429 PyObject
*resultobj
= 0;
11430 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11434 PyObject
*swig_obj
[1] ;
11436 if (!args
) SWIG_fail
;
11437 swig_obj
[0] = args
;
11438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11439 if (!SWIG_IsOK(res1
)) {
11440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11442 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11445 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11446 wxPyEndAllowThreads(__tstate
);
11447 if (PyErr_Occurred()) SWIG_fail
;
11449 resultobj
= SWIG_From_long(static_cast< long >(result
));
11456 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11457 PyObject
*resultobj
= 0;
11458 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11462 PyObject
*swig_obj
[1] ;
11464 if (!args
) SWIG_fail
;
11465 swig_obj
[0] = args
;
11466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11467 if (!SWIG_IsOK(res1
)) {
11468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11470 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11473 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11474 wxPyEndAllowThreads(__tstate
);
11475 if (PyErr_Occurred()) SWIG_fail
;
11477 resultobj
= SWIG_From_long(static_cast< long >(result
));
11484 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11485 PyObject
*resultobj
= 0;
11486 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11490 PyObject
*swig_obj
[1] ;
11492 if (!args
) SWIG_fail
;
11493 swig_obj
[0] = args
;
11494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11495 if (!SWIG_IsOK(res1
)) {
11496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11498 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11501 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11502 wxPyEndAllowThreads(__tstate
);
11503 if (PyErr_Occurred()) SWIG_fail
;
11506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11514 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11515 PyObject
*resultobj
= 0;
11516 wxTextAttr
*arg1
= 0 ;
11517 wxTextAttr
*arg2
= 0 ;
11518 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11526 PyObject
* obj0
= 0 ;
11527 PyObject
* obj1
= 0 ;
11528 PyObject
* obj2
= 0 ;
11529 char * kwnames
[] = {
11530 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11534 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11535 if (!SWIG_IsOK(res1
)) {
11536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11539 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11541 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11542 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11543 if (!SWIG_IsOK(res2
)) {
11544 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11547 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11549 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11550 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11551 if (!SWIG_IsOK(res3
)) {
11552 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11554 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11557 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11558 wxPyEndAllowThreads(__tstate
);
11559 if (PyErr_Occurred()) SWIG_fail
;
11561 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11568 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11570 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11571 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11572 return SWIG_Py_Void();
11575 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11576 return SWIG_Python_InitShadowInstance(args
);
11579 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11580 PyObject
*resultobj
= 0;
11581 wxWindow
*arg1
= (wxWindow
*) 0 ;
11582 int arg2
= (int) -1 ;
11583 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11584 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11585 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11586 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11587 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11588 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11589 long arg6
= (long) 0 ;
11590 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11591 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11592 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11593 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11594 wxTextCtrl
*result
= 0 ;
11599 bool temp3
= false ;
11606 bool temp8
= false ;
11607 PyObject
* obj0
= 0 ;
11608 PyObject
* obj1
= 0 ;
11609 PyObject
* obj2
= 0 ;
11610 PyObject
* obj3
= 0 ;
11611 PyObject
* obj4
= 0 ;
11612 PyObject
* obj5
= 0 ;
11613 PyObject
* obj6
= 0 ;
11614 PyObject
* obj7
= 0 ;
11615 char * kwnames
[] = {
11616 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11621 if (!SWIG_IsOK(res1
)) {
11622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11624 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11626 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11627 if (!SWIG_IsOK(ecode2
)) {
11628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11630 arg2
= static_cast< int >(val2
);
11634 arg3
= wxString_in_helper(obj2
);
11635 if (arg3
== NULL
) SWIG_fail
;
11642 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11648 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11652 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11653 if (!SWIG_IsOK(ecode6
)) {
11654 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11656 arg6
= static_cast< long >(val6
);
11659 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11660 if (!SWIG_IsOK(res7
)) {
11661 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11664 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11666 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11670 arg8
= wxString_in_helper(obj7
);
11671 if (arg8
== NULL
) SWIG_fail
;
11676 if (!wxPyCheckForApp()) SWIG_fail
;
11677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11678 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11679 wxPyEndAllowThreads(__tstate
);
11680 if (PyErr_Occurred()) SWIG_fail
;
11682 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11705 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11706 PyObject
*resultobj
= 0;
11707 wxTextCtrl
*result
= 0 ;
11709 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11711 if (!wxPyCheckForApp()) SWIG_fail
;
11712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11713 result
= (wxTextCtrl
*)new wxTextCtrl();
11714 wxPyEndAllowThreads(__tstate
);
11715 if (PyErr_Occurred()) SWIG_fail
;
11717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11724 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11725 PyObject
*resultobj
= 0;
11726 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11727 wxWindow
*arg2
= (wxWindow
*) 0 ;
11728 int arg3
= (int) -1 ;
11729 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11730 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11731 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11732 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11733 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11734 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11735 long arg7
= (long) 0 ;
11736 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11737 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11738 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11739 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11747 bool temp4
= false ;
11754 bool temp9
= false ;
11755 PyObject
* obj0
= 0 ;
11756 PyObject
* obj1
= 0 ;
11757 PyObject
* obj2
= 0 ;
11758 PyObject
* obj3
= 0 ;
11759 PyObject
* obj4
= 0 ;
11760 PyObject
* obj5
= 0 ;
11761 PyObject
* obj6
= 0 ;
11762 PyObject
* obj7
= 0 ;
11763 PyObject
* obj8
= 0 ;
11764 char * kwnames
[] = {
11765 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11770 if (!SWIG_IsOK(res1
)) {
11771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11773 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11774 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11775 if (!SWIG_IsOK(res2
)) {
11776 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11778 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11780 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11781 if (!SWIG_IsOK(ecode3
)) {
11782 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11784 arg3
= static_cast< int >(val3
);
11788 arg4
= wxString_in_helper(obj3
);
11789 if (arg4
== NULL
) SWIG_fail
;
11796 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11802 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11806 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11807 if (!SWIG_IsOK(ecode7
)) {
11808 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11810 arg7
= static_cast< long >(val7
);
11813 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11814 if (!SWIG_IsOK(res8
)) {
11815 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11818 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11820 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11824 arg9
= wxString_in_helper(obj8
);
11825 if (arg9
== NULL
) SWIG_fail
;
11830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11831 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11832 wxPyEndAllowThreads(__tstate
);
11833 if (PyErr_Occurred()) SWIG_fail
;
11836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11860 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11861 PyObject
*resultobj
= 0;
11862 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11866 PyObject
*swig_obj
[1] ;
11868 if (!args
) SWIG_fail
;
11869 swig_obj
[0] = args
;
11870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11871 if (!SWIG_IsOK(res1
)) {
11872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11874 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11877 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11878 wxPyEndAllowThreads(__tstate
);
11879 if (PyErr_Occurred()) SWIG_fail
;
11883 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11885 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11894 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11895 PyObject
*resultobj
= 0;
11896 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11897 wxString
*arg2
= 0 ;
11900 bool temp2
= false ;
11901 PyObject
* obj0
= 0 ;
11902 PyObject
* obj1
= 0 ;
11903 char * kwnames
[] = {
11904 (char *) "self",(char *) "value", NULL
11907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11909 if (!SWIG_IsOK(res1
)) {
11910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11912 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11914 arg2
= wxString_in_helper(obj1
);
11915 if (arg2
== NULL
) SWIG_fail
;
11919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11920 (arg1
)->SetValue((wxString
const &)*arg2
);
11921 wxPyEndAllowThreads(__tstate
);
11922 if (PyErr_Occurred()) SWIG_fail
;
11924 resultobj
= SWIG_Py_Void();
11939 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11940 PyObject
*resultobj
= 0;
11941 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11951 PyObject
* obj0
= 0 ;
11952 PyObject
* obj1
= 0 ;
11953 PyObject
* obj2
= 0 ;
11954 char * kwnames
[] = {
11955 (char *) "self",(char *) "from",(char *) "to", NULL
11958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11960 if (!SWIG_IsOK(res1
)) {
11961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11963 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11964 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11965 if (!SWIG_IsOK(ecode2
)) {
11966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11968 arg2
= static_cast< long >(val2
);
11969 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11970 if (!SWIG_IsOK(ecode3
)) {
11971 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
11973 arg3
= static_cast< long >(val3
);
11975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11976 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
11977 wxPyEndAllowThreads(__tstate
);
11978 if (PyErr_Occurred()) SWIG_fail
;
11982 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11984 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11993 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11994 PyObject
*resultobj
= 0;
11995 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12002 PyObject
* obj0
= 0 ;
12003 PyObject
* obj1
= 0 ;
12004 char * kwnames
[] = {
12005 (char *) "self",(char *) "lineNo", NULL
12008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12010 if (!SWIG_IsOK(res1
)) {
12011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12013 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12014 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12015 if (!SWIG_IsOK(ecode2
)) {
12016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12018 arg2
= static_cast< long >(val2
);
12020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12021 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12022 wxPyEndAllowThreads(__tstate
);
12023 if (PyErr_Occurred()) SWIG_fail
;
12025 resultobj
= SWIG_From_int(static_cast< int >(result
));
12032 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12033 PyObject
*resultobj
= 0;
12034 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12041 PyObject
* obj0
= 0 ;
12042 PyObject
* obj1
= 0 ;
12043 char * kwnames
[] = {
12044 (char *) "self",(char *) "lineNo", NULL
12047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12049 if (!SWIG_IsOK(res1
)) {
12050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12052 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12053 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12054 if (!SWIG_IsOK(ecode2
)) {
12055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12057 arg2
= static_cast< long >(val2
);
12059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12060 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12061 wxPyEndAllowThreads(__tstate
);
12062 if (PyErr_Occurred()) SWIG_fail
;
12066 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12068 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12077 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12078 PyObject
*resultobj
= 0;
12079 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12083 PyObject
*swig_obj
[1] ;
12085 if (!args
) SWIG_fail
;
12086 swig_obj
[0] = args
;
12087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12088 if (!SWIG_IsOK(res1
)) {
12089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12091 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12094 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12095 wxPyEndAllowThreads(__tstate
);
12096 if (PyErr_Occurred()) SWIG_fail
;
12098 resultobj
= SWIG_From_int(static_cast< int >(result
));
12105 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12106 PyObject
*resultobj
= 0;
12107 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12111 PyObject
*swig_obj
[1] ;
12113 if (!args
) SWIG_fail
;
12114 swig_obj
[0] = args
;
12115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12116 if (!SWIG_IsOK(res1
)) {
12117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12119 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12122 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12123 wxPyEndAllowThreads(__tstate
);
12124 if (PyErr_Occurred()) SWIG_fail
;
12127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12135 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12136 PyObject
*resultobj
= 0;
12137 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12141 PyObject
*swig_obj
[1] ;
12143 if (!args
) SWIG_fail
;
12144 swig_obj
[0] = args
;
12145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12146 if (!SWIG_IsOK(res1
)) {
12147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12149 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12152 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12153 wxPyEndAllowThreads(__tstate
);
12154 if (PyErr_Occurred()) SWIG_fail
;
12157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12165 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12166 PyObject
*resultobj
= 0;
12167 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12171 PyObject
*swig_obj
[1] ;
12173 if (!args
) SWIG_fail
;
12174 swig_obj
[0] = args
;
12175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12176 if (!SWIG_IsOK(res1
)) {
12177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12179 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12182 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12183 wxPyEndAllowThreads(__tstate
);
12184 if (PyErr_Occurred()) SWIG_fail
;
12187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12195 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12196 PyObject
*resultobj
= 0;
12197 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12201 PyObject
*swig_obj
[1] ;
12203 if (!args
) SWIG_fail
;
12204 swig_obj
[0] = args
;
12205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12206 if (!SWIG_IsOK(res1
)) {
12207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12209 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12212 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12213 wxPyEndAllowThreads(__tstate
);
12214 if (PyErr_Occurred()) SWIG_fail
;
12217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12225 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12226 PyObject
*resultobj
= 0;
12227 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12228 long *arg2
= (long *) 0 ;
12229 long *arg3
= (long *) 0 ;
12233 int res2
= SWIG_TMPOBJ
;
12235 int res3
= SWIG_TMPOBJ
;
12236 PyObject
*swig_obj
[1] ;
12240 if (!args
) SWIG_fail
;
12241 swig_obj
[0] = args
;
12242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12243 if (!SWIG_IsOK(res1
)) {
12244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12246 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12249 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12250 wxPyEndAllowThreads(__tstate
);
12251 if (PyErr_Occurred()) SWIG_fail
;
12253 resultobj
= SWIG_Py_Void();
12254 if (SWIG_IsTmpObj(res2
)) {
12255 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12257 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12258 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12260 if (SWIG_IsTmpObj(res3
)) {
12261 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12263 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12264 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12272 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12273 PyObject
*resultobj
= 0;
12274 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12278 PyObject
*swig_obj
[1] ;
12280 if (!args
) SWIG_fail
;
12281 swig_obj
[0] = args
;
12282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12283 if (!SWIG_IsOK(res1
)) {
12284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12286 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12289 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12290 wxPyEndAllowThreads(__tstate
);
12291 if (PyErr_Occurred()) SWIG_fail
;
12295 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12297 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12306 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12307 PyObject
*resultobj
= 0;
12308 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12311 PyObject
*swig_obj
[1] ;
12313 if (!args
) SWIG_fail
;
12314 swig_obj
[0] = args
;
12315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12316 if (!SWIG_IsOK(res1
)) {
12317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12319 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12323 wxPyEndAllowThreads(__tstate
);
12324 if (PyErr_Occurred()) SWIG_fail
;
12326 resultobj
= SWIG_Py_Void();
12333 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12334 PyObject
*resultobj
= 0;
12335 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12338 wxString
*arg4
= 0 ;
12345 bool temp4
= false ;
12346 PyObject
* obj0
= 0 ;
12347 PyObject
* obj1
= 0 ;
12348 PyObject
* obj2
= 0 ;
12349 PyObject
* obj3
= 0 ;
12350 char * kwnames
[] = {
12351 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12356 if (!SWIG_IsOK(res1
)) {
12357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12359 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12360 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12361 if (!SWIG_IsOK(ecode2
)) {
12362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12364 arg2
= static_cast< long >(val2
);
12365 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12366 if (!SWIG_IsOK(ecode3
)) {
12367 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12369 arg3
= static_cast< long >(val3
);
12371 arg4
= wxString_in_helper(obj3
);
12372 if (arg4
== NULL
) SWIG_fail
;
12376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12377 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12378 wxPyEndAllowThreads(__tstate
);
12379 if (PyErr_Occurred()) SWIG_fail
;
12381 resultobj
= SWIG_Py_Void();
12396 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12397 PyObject
*resultobj
= 0;
12398 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12407 PyObject
* obj0
= 0 ;
12408 PyObject
* obj1
= 0 ;
12409 PyObject
* obj2
= 0 ;
12410 char * kwnames
[] = {
12411 (char *) "self",(char *) "from",(char *) "to", NULL
12414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12416 if (!SWIG_IsOK(res1
)) {
12417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12419 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12420 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12421 if (!SWIG_IsOK(ecode2
)) {
12422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12424 arg2
= static_cast< long >(val2
);
12425 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12426 if (!SWIG_IsOK(ecode3
)) {
12427 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12429 arg3
= static_cast< long >(val3
);
12431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12432 (arg1
)->Remove(arg2
,arg3
);
12433 wxPyEndAllowThreads(__tstate
);
12434 if (PyErr_Occurred()) SWIG_fail
;
12436 resultobj
= SWIG_Py_Void();
12443 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12444 PyObject
*resultobj
= 0;
12445 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12446 wxString
*arg2
= 0 ;
12450 bool temp2
= false ;
12451 PyObject
* obj0
= 0 ;
12452 PyObject
* obj1
= 0 ;
12453 char * kwnames
[] = {
12454 (char *) "self",(char *) "file", NULL
12457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12459 if (!SWIG_IsOK(res1
)) {
12460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12462 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12464 arg2
= wxString_in_helper(obj1
);
12465 if (arg2
== NULL
) SWIG_fail
;
12469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12470 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
12471 wxPyEndAllowThreads(__tstate
);
12472 if (PyErr_Occurred()) SWIG_fail
;
12475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12491 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12492 PyObject
*resultobj
= 0;
12493 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12494 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12495 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12499 bool temp2
= false ;
12500 PyObject
* obj0
= 0 ;
12501 PyObject
* obj1
= 0 ;
12502 char * kwnames
[] = {
12503 (char *) "self",(char *) "file", NULL
12506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12508 if (!SWIG_IsOK(res1
)) {
12509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12511 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12514 arg2
= wxString_in_helper(obj1
);
12515 if (arg2
== NULL
) SWIG_fail
;
12520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12521 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
12522 wxPyEndAllowThreads(__tstate
);
12523 if (PyErr_Occurred()) SWIG_fail
;
12526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12542 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12543 PyObject
*resultobj
= 0;
12544 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12547 PyObject
*swig_obj
[1] ;
12549 if (!args
) SWIG_fail
;
12550 swig_obj
[0] = args
;
12551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12552 if (!SWIG_IsOK(res1
)) {
12553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12555 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12558 (arg1
)->MarkDirty();
12559 wxPyEndAllowThreads(__tstate
);
12560 if (PyErr_Occurred()) SWIG_fail
;
12562 resultobj
= SWIG_Py_Void();
12569 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12570 PyObject
*resultobj
= 0;
12571 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12574 PyObject
*swig_obj
[1] ;
12576 if (!args
) SWIG_fail
;
12577 swig_obj
[0] = args
;
12578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12579 if (!SWIG_IsOK(res1
)) {
12580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12582 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12585 (arg1
)->DiscardEdits();
12586 wxPyEndAllowThreads(__tstate
);
12587 if (PyErr_Occurred()) SWIG_fail
;
12589 resultobj
= SWIG_Py_Void();
12596 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12597 PyObject
*resultobj
= 0;
12598 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12604 PyObject
* obj0
= 0 ;
12605 PyObject
* obj1
= 0 ;
12606 char * kwnames
[] = {
12607 (char *) "self",(char *) "modified", NULL
12610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12612 if (!SWIG_IsOK(res1
)) {
12613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12615 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12616 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12617 if (!SWIG_IsOK(ecode2
)) {
12618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12620 arg2
= static_cast< bool >(val2
);
12622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12623 (arg1
)->SetModified(arg2
);
12624 wxPyEndAllowThreads(__tstate
);
12625 if (PyErr_Occurred()) SWIG_fail
;
12627 resultobj
= SWIG_Py_Void();
12634 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12635 PyObject
*resultobj
= 0;
12636 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12637 unsigned long arg2
;
12640 unsigned long val2
;
12642 PyObject
* obj0
= 0 ;
12643 PyObject
* obj1
= 0 ;
12644 char * kwnames
[] = {
12645 (char *) "self",(char *) "len", NULL
12648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12650 if (!SWIG_IsOK(res1
)) {
12651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12653 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12654 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12655 if (!SWIG_IsOK(ecode2
)) {
12656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12658 arg2
= static_cast< unsigned long >(val2
);
12660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12661 (arg1
)->SetMaxLength(arg2
);
12662 wxPyEndAllowThreads(__tstate
);
12663 if (PyErr_Occurred()) SWIG_fail
;
12665 resultobj
= SWIG_Py_Void();
12672 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12673 PyObject
*resultobj
= 0;
12674 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12675 wxString
*arg2
= 0 ;
12678 bool temp2
= false ;
12679 PyObject
* obj0
= 0 ;
12680 PyObject
* obj1
= 0 ;
12681 char * kwnames
[] = {
12682 (char *) "self",(char *) "text", NULL
12685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12687 if (!SWIG_IsOK(res1
)) {
12688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12690 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12692 arg2
= wxString_in_helper(obj1
);
12693 if (arg2
== NULL
) SWIG_fail
;
12697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12698 (arg1
)->WriteText((wxString
const &)*arg2
);
12699 wxPyEndAllowThreads(__tstate
);
12700 if (PyErr_Occurred()) SWIG_fail
;
12702 resultobj
= SWIG_Py_Void();
12717 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12718 PyObject
*resultobj
= 0;
12719 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12720 wxString
*arg2
= 0 ;
12723 bool temp2
= false ;
12724 PyObject
* obj0
= 0 ;
12725 PyObject
* obj1
= 0 ;
12726 char * kwnames
[] = {
12727 (char *) "self",(char *) "text", NULL
12730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12732 if (!SWIG_IsOK(res1
)) {
12733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12735 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12737 arg2
= wxString_in_helper(obj1
);
12738 if (arg2
== NULL
) SWIG_fail
;
12742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12743 (arg1
)->AppendText((wxString
const &)*arg2
);
12744 wxPyEndAllowThreads(__tstate
);
12745 if (PyErr_Occurred()) SWIG_fail
;
12747 resultobj
= SWIG_Py_Void();
12762 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12763 PyObject
*resultobj
= 0;
12764 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12765 wxKeyEvent
*arg2
= 0 ;
12771 PyObject
* obj0
= 0 ;
12772 PyObject
* obj1
= 0 ;
12773 char * kwnames
[] = {
12774 (char *) "self",(char *) "event", NULL
12777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12779 if (!SWIG_IsOK(res1
)) {
12780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12782 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12783 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12784 if (!SWIG_IsOK(res2
)) {
12785 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12788 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12790 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12793 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12794 wxPyEndAllowThreads(__tstate
);
12795 if (PyErr_Occurred()) SWIG_fail
;
12798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12806 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12807 PyObject
*resultobj
= 0;
12808 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12811 wxTextAttr
*arg4
= 0 ;
12821 PyObject
* obj0
= 0 ;
12822 PyObject
* obj1
= 0 ;
12823 PyObject
* obj2
= 0 ;
12824 PyObject
* obj3
= 0 ;
12825 char * kwnames
[] = {
12826 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12831 if (!SWIG_IsOK(res1
)) {
12832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12834 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12835 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12836 if (!SWIG_IsOK(ecode2
)) {
12837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12839 arg2
= static_cast< long >(val2
);
12840 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12841 if (!SWIG_IsOK(ecode3
)) {
12842 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12844 arg3
= static_cast< long >(val3
);
12845 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12846 if (!SWIG_IsOK(res4
)) {
12847 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12850 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12852 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12855 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12856 wxPyEndAllowThreads(__tstate
);
12857 if (PyErr_Occurred()) SWIG_fail
;
12860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12868 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12869 PyObject
*resultobj
= 0;
12870 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12872 wxTextAttr
*arg3
= 0 ;
12880 PyObject
* obj0
= 0 ;
12881 PyObject
* obj1
= 0 ;
12882 PyObject
* obj2
= 0 ;
12883 char * kwnames
[] = {
12884 (char *) "self",(char *) "position",(char *) "style", NULL
12887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12889 if (!SWIG_IsOK(res1
)) {
12890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12892 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12893 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12894 if (!SWIG_IsOK(ecode2
)) {
12895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12897 arg2
= static_cast< long >(val2
);
12898 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12899 if (!SWIG_IsOK(res3
)) {
12900 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12903 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12905 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12908 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12909 wxPyEndAllowThreads(__tstate
);
12910 if (PyErr_Occurred()) SWIG_fail
;
12913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12921 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12922 PyObject
*resultobj
= 0;
12923 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12924 wxTextAttr
*arg2
= 0 ;
12930 PyObject
* obj0
= 0 ;
12931 PyObject
* obj1
= 0 ;
12932 char * kwnames
[] = {
12933 (char *) "self",(char *) "style", NULL
12936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12938 if (!SWIG_IsOK(res1
)) {
12939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12941 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12942 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12943 if (!SWIG_IsOK(res2
)) {
12944 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12947 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12949 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
12951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12952 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
12953 wxPyEndAllowThreads(__tstate
);
12954 if (PyErr_Occurred()) SWIG_fail
;
12957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12965 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12966 PyObject
*resultobj
= 0;
12967 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12968 wxTextAttr
*result
= 0 ;
12971 PyObject
*swig_obj
[1] ;
12973 if (!args
) SWIG_fail
;
12974 swig_obj
[0] = args
;
12975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12976 if (!SWIG_IsOK(res1
)) {
12977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12979 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12983 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
12984 result
= (wxTextAttr
*) &_result_ref
;
12986 wxPyEndAllowThreads(__tstate
);
12987 if (PyErr_Occurred()) SWIG_fail
;
12989 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
12996 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12997 PyObject
*resultobj
= 0;
12998 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13008 PyObject
* obj0
= 0 ;
13009 PyObject
* obj1
= 0 ;
13010 PyObject
* obj2
= 0 ;
13011 char * kwnames
[] = {
13012 (char *) "self",(char *) "x",(char *) "y", NULL
13015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13017 if (!SWIG_IsOK(res1
)) {
13018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13020 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13021 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13022 if (!SWIG_IsOK(ecode2
)) {
13023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13025 arg2
= static_cast< long >(val2
);
13026 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13027 if (!SWIG_IsOK(ecode3
)) {
13028 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13030 arg3
= static_cast< long >(val3
);
13032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13033 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
13034 wxPyEndAllowThreads(__tstate
);
13035 if (PyErr_Occurred()) SWIG_fail
;
13037 resultobj
= SWIG_From_long(static_cast< long >(result
));
13044 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13045 PyObject
*resultobj
= 0;
13046 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13048 long *arg3
= (long *) 0 ;
13049 long *arg4
= (long *) 0 ;
13055 int res3
= SWIG_TMPOBJ
;
13057 int res4
= SWIG_TMPOBJ
;
13058 PyObject
* obj0
= 0 ;
13059 PyObject
* obj1
= 0 ;
13060 char * kwnames
[] = {
13061 (char *) "self",(char *) "pos", NULL
13066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13068 if (!SWIG_IsOK(res1
)) {
13069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13071 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13072 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13073 if (!SWIG_IsOK(ecode2
)) {
13074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13076 arg2
= static_cast< long >(val2
);
13078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13079 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13080 wxPyEndAllowThreads(__tstate
);
13081 if (PyErr_Occurred()) SWIG_fail
;
13083 resultobj
= SWIG_Py_Void();
13084 if (SWIG_IsTmpObj(res3
)) {
13085 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13087 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13088 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13090 if (SWIG_IsTmpObj(res4
)) {
13091 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13093 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13094 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13102 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13103 PyObject
*resultobj
= 0;
13104 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13110 PyObject
* obj0
= 0 ;
13111 PyObject
* obj1
= 0 ;
13112 char * kwnames
[] = {
13113 (char *) "self",(char *) "pos", NULL
13116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13118 if (!SWIG_IsOK(res1
)) {
13119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13121 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13122 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13123 if (!SWIG_IsOK(ecode2
)) {
13124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13126 arg2
= static_cast< long >(val2
);
13128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13129 (arg1
)->ShowPosition(arg2
);
13130 wxPyEndAllowThreads(__tstate
);
13131 if (PyErr_Occurred()) SWIG_fail
;
13133 resultobj
= SWIG_Py_Void();
13140 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13141 PyObject
*resultobj
= 0;
13142 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13143 wxPoint
*arg2
= 0 ;
13144 long *arg3
= (long *) 0 ;
13145 long *arg4
= (long *) 0 ;
13146 wxTextCtrlHitTestResult result
;
13151 int res3
= SWIG_TMPOBJ
;
13153 int res4
= SWIG_TMPOBJ
;
13154 PyObject
* obj0
= 0 ;
13155 PyObject
* obj1
= 0 ;
13156 char * kwnames
[] = {
13157 (char *) "self",(char *) "pt", NULL
13162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13164 if (!SWIG_IsOK(res1
)) {
13165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13167 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13170 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13174 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13175 wxPyEndAllowThreads(__tstate
);
13176 if (PyErr_Occurred()) SWIG_fail
;
13178 resultobj
= SWIG_From_int(static_cast< int >(result
));
13179 if (SWIG_IsTmpObj(res3
)) {
13180 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13182 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13183 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13185 if (SWIG_IsTmpObj(res4
)) {
13186 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13188 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13189 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13197 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13198 PyObject
*resultobj
= 0;
13199 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13200 wxPoint
*arg2
= 0 ;
13201 long *arg3
= (long *) 0 ;
13202 wxTextCtrlHitTestResult result
;
13207 int res3
= SWIG_TMPOBJ
;
13208 PyObject
* obj0
= 0 ;
13209 PyObject
* obj1
= 0 ;
13210 char * kwnames
[] = {
13211 (char *) "self",(char *) "pt", NULL
13215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13217 if (!SWIG_IsOK(res1
)) {
13218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13220 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13223 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13227 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13228 wxPyEndAllowThreads(__tstate
);
13229 if (PyErr_Occurred()) SWIG_fail
;
13231 resultobj
= SWIG_From_int(static_cast< int >(result
));
13232 if (SWIG_IsTmpObj(res3
)) {
13233 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13235 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13236 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13244 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13245 PyObject
*resultobj
= 0;
13246 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13249 PyObject
*swig_obj
[1] ;
13251 if (!args
) SWIG_fail
;
13252 swig_obj
[0] = args
;
13253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13254 if (!SWIG_IsOK(res1
)) {
13255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13257 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13261 wxPyEndAllowThreads(__tstate
);
13262 if (PyErr_Occurred()) SWIG_fail
;
13264 resultobj
= SWIG_Py_Void();
13271 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13272 PyObject
*resultobj
= 0;
13273 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13276 PyObject
*swig_obj
[1] ;
13278 if (!args
) SWIG_fail
;
13279 swig_obj
[0] = args
;
13280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13281 if (!SWIG_IsOK(res1
)) {
13282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13284 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13288 wxPyEndAllowThreads(__tstate
);
13289 if (PyErr_Occurred()) SWIG_fail
;
13291 resultobj
= SWIG_Py_Void();
13298 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13299 PyObject
*resultobj
= 0;
13300 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13303 PyObject
*swig_obj
[1] ;
13305 if (!args
) SWIG_fail
;
13306 swig_obj
[0] = args
;
13307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13308 if (!SWIG_IsOK(res1
)) {
13309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13311 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13315 wxPyEndAllowThreads(__tstate
);
13316 if (PyErr_Occurred()) SWIG_fail
;
13318 resultobj
= SWIG_Py_Void();
13325 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13326 PyObject
*resultobj
= 0;
13327 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13331 PyObject
*swig_obj
[1] ;
13333 if (!args
) SWIG_fail
;
13334 swig_obj
[0] = args
;
13335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13336 if (!SWIG_IsOK(res1
)) {
13337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13339 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13342 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13343 wxPyEndAllowThreads(__tstate
);
13344 if (PyErr_Occurred()) SWIG_fail
;
13347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13355 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13356 PyObject
*resultobj
= 0;
13357 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13361 PyObject
*swig_obj
[1] ;
13363 if (!args
) SWIG_fail
;
13364 swig_obj
[0] = args
;
13365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13366 if (!SWIG_IsOK(res1
)) {
13367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13369 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13372 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13373 wxPyEndAllowThreads(__tstate
);
13374 if (PyErr_Occurred()) SWIG_fail
;
13377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13385 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13386 PyObject
*resultobj
= 0;
13387 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13391 PyObject
*swig_obj
[1] ;
13393 if (!args
) SWIG_fail
;
13394 swig_obj
[0] = args
;
13395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13396 if (!SWIG_IsOK(res1
)) {
13397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13399 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13402 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13403 wxPyEndAllowThreads(__tstate
);
13404 if (PyErr_Occurred()) SWIG_fail
;
13407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13415 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13416 PyObject
*resultobj
= 0;
13417 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13420 PyObject
*swig_obj
[1] ;
13422 if (!args
) SWIG_fail
;
13423 swig_obj
[0] = args
;
13424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13425 if (!SWIG_IsOK(res1
)) {
13426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13428 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13432 wxPyEndAllowThreads(__tstate
);
13433 if (PyErr_Occurred()) SWIG_fail
;
13435 resultobj
= SWIG_Py_Void();
13442 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13443 PyObject
*resultobj
= 0;
13444 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13447 PyObject
*swig_obj
[1] ;
13449 if (!args
) SWIG_fail
;
13450 swig_obj
[0] = args
;
13451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13452 if (!SWIG_IsOK(res1
)) {
13453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13455 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13459 wxPyEndAllowThreads(__tstate
);
13460 if (PyErr_Occurred()) SWIG_fail
;
13462 resultobj
= SWIG_Py_Void();
13469 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13470 PyObject
*resultobj
= 0;
13471 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13475 PyObject
*swig_obj
[1] ;
13477 if (!args
) SWIG_fail
;
13478 swig_obj
[0] = args
;
13479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13480 if (!SWIG_IsOK(res1
)) {
13481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13483 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13486 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13487 wxPyEndAllowThreads(__tstate
);
13488 if (PyErr_Occurred()) SWIG_fail
;
13491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13499 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13500 PyObject
*resultobj
= 0;
13501 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13505 PyObject
*swig_obj
[1] ;
13507 if (!args
) SWIG_fail
;
13508 swig_obj
[0] = args
;
13509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13510 if (!SWIG_IsOK(res1
)) {
13511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13513 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13516 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13517 wxPyEndAllowThreads(__tstate
);
13518 if (PyErr_Occurred()) SWIG_fail
;
13521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13529 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13530 PyObject
*resultobj
= 0;
13531 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13537 PyObject
* obj0
= 0 ;
13538 PyObject
* obj1
= 0 ;
13539 char * kwnames
[] = {
13540 (char *) "self",(char *) "pos", NULL
13543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13545 if (!SWIG_IsOK(res1
)) {
13546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13548 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13549 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13550 if (!SWIG_IsOK(ecode2
)) {
13551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13553 arg2
= static_cast< long >(val2
);
13555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13556 (arg1
)->SetInsertionPoint(arg2
);
13557 wxPyEndAllowThreads(__tstate
);
13558 if (PyErr_Occurred()) SWIG_fail
;
13560 resultobj
= SWIG_Py_Void();
13567 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13568 PyObject
*resultobj
= 0;
13569 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13572 PyObject
*swig_obj
[1] ;
13574 if (!args
) SWIG_fail
;
13575 swig_obj
[0] = args
;
13576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13577 if (!SWIG_IsOK(res1
)) {
13578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13580 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13583 (arg1
)->SetInsertionPointEnd();
13584 wxPyEndAllowThreads(__tstate
);
13585 if (PyErr_Occurred()) SWIG_fail
;
13587 resultobj
= SWIG_Py_Void();
13594 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13595 PyObject
*resultobj
= 0;
13596 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13600 PyObject
*swig_obj
[1] ;
13602 if (!args
) SWIG_fail
;
13603 swig_obj
[0] = args
;
13604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13605 if (!SWIG_IsOK(res1
)) {
13606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13608 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13611 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13612 wxPyEndAllowThreads(__tstate
);
13613 if (PyErr_Occurred()) SWIG_fail
;
13615 resultobj
= SWIG_From_long(static_cast< long >(result
));
13622 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13623 PyObject
*resultobj
= 0;
13624 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13628 PyObject
*swig_obj
[1] ;
13630 if (!args
) SWIG_fail
;
13631 swig_obj
[0] = args
;
13632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13633 if (!SWIG_IsOK(res1
)) {
13634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13636 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13639 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13640 wxPyEndAllowThreads(__tstate
);
13641 if (PyErr_Occurred()) SWIG_fail
;
13643 resultobj
= SWIG_From_long(static_cast< long >(result
));
13650 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13651 PyObject
*resultobj
= 0;
13652 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13661 PyObject
* obj0
= 0 ;
13662 PyObject
* obj1
= 0 ;
13663 PyObject
* obj2
= 0 ;
13664 char * kwnames
[] = {
13665 (char *) "self",(char *) "from",(char *) "to", NULL
13668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13670 if (!SWIG_IsOK(res1
)) {
13671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13673 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13674 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13675 if (!SWIG_IsOK(ecode2
)) {
13676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13678 arg2
= static_cast< long >(val2
);
13679 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13680 if (!SWIG_IsOK(ecode3
)) {
13681 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13683 arg3
= static_cast< long >(val3
);
13685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13686 (arg1
)->SetSelection(arg2
,arg3
);
13687 wxPyEndAllowThreads(__tstate
);
13688 if (PyErr_Occurred()) SWIG_fail
;
13690 resultobj
= SWIG_Py_Void();
13697 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13698 PyObject
*resultobj
= 0;
13699 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13702 PyObject
*swig_obj
[1] ;
13704 if (!args
) SWIG_fail
;
13705 swig_obj
[0] = args
;
13706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13707 if (!SWIG_IsOK(res1
)) {
13708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13710 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13713 (arg1
)->SelectAll();
13714 wxPyEndAllowThreads(__tstate
);
13715 if (PyErr_Occurred()) SWIG_fail
;
13717 resultobj
= SWIG_Py_Void();
13724 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13725 PyObject
*resultobj
= 0;
13726 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13732 PyObject
* obj0
= 0 ;
13733 PyObject
* obj1
= 0 ;
13734 char * kwnames
[] = {
13735 (char *) "self",(char *) "editable", NULL
13738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13740 if (!SWIG_IsOK(res1
)) {
13741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13743 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13744 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13745 if (!SWIG_IsOK(ecode2
)) {
13746 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13748 arg2
= static_cast< bool >(val2
);
13750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13751 (arg1
)->SetEditable(arg2
);
13752 wxPyEndAllowThreads(__tstate
);
13753 if (PyErr_Occurred()) SWIG_fail
;
13755 resultobj
= SWIG_Py_Void();
13762 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13763 PyObject
*resultobj
= 0;
13764 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13765 bool arg2
= (bool) true ;
13771 PyObject
* obj0
= 0 ;
13772 PyObject
* obj1
= 0 ;
13773 char * kwnames
[] = {
13774 (char *) "self",(char *) "show", NULL
13777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13779 if (!SWIG_IsOK(res1
)) {
13780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13782 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13784 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13785 if (!SWIG_IsOK(ecode2
)) {
13786 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "2"" of type '" "bool""'");
13788 arg2
= static_cast< bool >(val2
);
13791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13792 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
13793 wxPyEndAllowThreads(__tstate
);
13794 if (PyErr_Occurred()) SWIG_fail
;
13797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13805 SWIGINTERN PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13806 PyObject
*resultobj
= 0;
13807 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13811 PyObject
*swig_obj
[1] ;
13813 if (!args
) SWIG_fail
;
13814 swig_obj
[0] = args
;
13815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13816 if (!SWIG_IsOK(res1
)) {
13817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HideNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13819 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13822 result
= (bool)(arg1
)->HideNativeCaret();
13823 wxPyEndAllowThreads(__tstate
);
13824 if (PyErr_Occurred()) SWIG_fail
;
13827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13835 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13836 PyObject
*resultobj
= 0;
13837 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13838 wxString
*arg2
= 0 ;
13841 bool temp2
= false ;
13842 PyObject
* obj0
= 0 ;
13843 PyObject
* obj1
= 0 ;
13844 char * kwnames
[] = {
13845 (char *) "self",(char *) "text", NULL
13848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13850 if (!SWIG_IsOK(res1
)) {
13851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13853 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13855 arg2
= wxString_in_helper(obj1
);
13856 if (arg2
== NULL
) SWIG_fail
;
13860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13861 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13862 wxPyEndAllowThreads(__tstate
);
13863 if (PyErr_Occurred()) SWIG_fail
;
13865 resultobj
= SWIG_Py_Void();
13880 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13881 PyObject
*resultobj
= 0;
13882 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13892 PyObject
* obj0
= 0 ;
13893 PyObject
* obj1
= 0 ;
13894 PyObject
* obj2
= 0 ;
13895 char * kwnames
[] = {
13896 (char *) "self",(char *) "from",(char *) "to", NULL
13899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13901 if (!SWIG_IsOK(res1
)) {
13902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13904 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13905 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13906 if (!SWIG_IsOK(ecode2
)) {
13907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13909 arg2
= static_cast< long >(val2
);
13910 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13911 if (!SWIG_IsOK(ecode3
)) {
13912 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13914 arg3
= static_cast< long >(val3
);
13916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13917 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13918 wxPyEndAllowThreads(__tstate
);
13919 if (PyErr_Occurred()) SWIG_fail
;
13923 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13925 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13934 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13935 PyObject
*resultobj
= 0;
13936 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13937 SwigValueWrapper
<wxVisualAttributes
> result
;
13940 PyObject
* obj0
= 0 ;
13941 char * kwnames
[] = {
13942 (char *) "variant", NULL
13945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
13947 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13948 if (!SWIG_IsOK(ecode1
)) {
13949 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13951 arg1
= static_cast< wxWindowVariant
>(val1
);
13954 if (!wxPyCheckForApp()) SWIG_fail
;
13955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13956 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
13957 wxPyEndAllowThreads(__tstate
);
13958 if (PyErr_Occurred()) SWIG_fail
;
13960 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
13967 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13969 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13970 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
13971 return SWIG_Py_Void();
13974 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13975 return SWIG_Python_InitShadowInstance(args
);
13978 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13979 PyObject
*resultobj
= 0;
13981 wxMouseEvent
*arg2
= 0 ;
13984 wxTextUrlEvent
*result
= 0 ;
13993 PyObject
* obj0
= 0 ;
13994 PyObject
* obj1
= 0 ;
13995 PyObject
* obj2
= 0 ;
13996 PyObject
* obj3
= 0 ;
13997 char * kwnames
[] = {
13998 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14002 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14003 if (!SWIG_IsOK(ecode1
)) {
14004 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14006 arg1
= static_cast< int >(val1
);
14007 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
14008 if (!SWIG_IsOK(res2
)) {
14009 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14012 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14014 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
14015 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14016 if (!SWIG_IsOK(ecode3
)) {
14017 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14019 arg3
= static_cast< long >(val3
);
14020 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
14021 if (!SWIG_IsOK(ecode4
)) {
14022 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14024 arg4
= static_cast< long >(val4
);
14026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14027 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
14028 wxPyEndAllowThreads(__tstate
);
14029 if (PyErr_Occurred()) SWIG_fail
;
14031 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
14038 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14039 PyObject
*resultobj
= 0;
14040 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14041 wxMouseEvent
*result
= 0 ;
14044 PyObject
*swig_obj
[1] ;
14046 if (!args
) SWIG_fail
;
14047 swig_obj
[0] = args
;
14048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14049 if (!SWIG_IsOK(res1
)) {
14050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14052 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14056 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
14057 result
= (wxMouseEvent
*) &_result_ref
;
14059 wxPyEndAllowThreads(__tstate
);
14060 if (PyErr_Occurred()) SWIG_fail
;
14062 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14069 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14070 PyObject
*resultobj
= 0;
14071 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14075 PyObject
*swig_obj
[1] ;
14077 if (!args
) SWIG_fail
;
14078 swig_obj
[0] = args
;
14079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14080 if (!SWIG_IsOK(res1
)) {
14081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14083 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14086 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14087 wxPyEndAllowThreads(__tstate
);
14088 if (PyErr_Occurred()) SWIG_fail
;
14090 resultobj
= SWIG_From_long(static_cast< long >(result
));
14097 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14098 PyObject
*resultobj
= 0;
14099 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14103 PyObject
*swig_obj
[1] ;
14105 if (!args
) SWIG_fail
;
14106 swig_obj
[0] = args
;
14107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14108 if (!SWIG_IsOK(res1
)) {
14109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14111 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14114 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14115 wxPyEndAllowThreads(__tstate
);
14116 if (PyErr_Occurred()) SWIG_fail
;
14118 resultobj
= SWIG_From_long(static_cast< long >(result
));
14125 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14127 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14128 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14129 return SWIG_Py_Void();
14132 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14133 return SWIG_Python_InitShadowInstance(args
);
14136 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14137 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14142 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14143 PyObject
*pyobj
= 0;
14147 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14149 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14156 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14157 PyObject
*resultobj
= 0;
14158 wxWindow
*arg1
= (wxWindow
*) 0 ;
14159 int arg2
= (int) -1 ;
14160 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14161 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14162 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14163 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14164 long arg5
= (long) wxSB_HORIZONTAL
;
14165 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14166 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14167 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14168 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14169 wxScrollBar
*result
= 0 ;
14180 bool temp7
= false ;
14181 PyObject
* obj0
= 0 ;
14182 PyObject
* obj1
= 0 ;
14183 PyObject
* obj2
= 0 ;
14184 PyObject
* obj3
= 0 ;
14185 PyObject
* obj4
= 0 ;
14186 PyObject
* obj5
= 0 ;
14187 PyObject
* obj6
= 0 ;
14188 char * kwnames
[] = {
14189 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14194 if (!SWIG_IsOK(res1
)) {
14195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14197 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14199 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14200 if (!SWIG_IsOK(ecode2
)) {
14201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14203 arg2
= static_cast< int >(val2
);
14208 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14214 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14218 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14219 if (!SWIG_IsOK(ecode5
)) {
14220 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14222 arg5
= static_cast< long >(val5
);
14225 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14226 if (!SWIG_IsOK(res6
)) {
14227 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14230 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14232 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14236 arg7
= wxString_in_helper(obj6
);
14237 if (arg7
== NULL
) SWIG_fail
;
14242 if (!wxPyCheckForApp()) SWIG_fail
;
14243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14244 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14245 wxPyEndAllowThreads(__tstate
);
14246 if (PyErr_Occurred()) SWIG_fail
;
14248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14263 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14264 PyObject
*resultobj
= 0;
14265 wxScrollBar
*result
= 0 ;
14267 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14269 if (!wxPyCheckForApp()) SWIG_fail
;
14270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14271 result
= (wxScrollBar
*)new wxScrollBar();
14272 wxPyEndAllowThreads(__tstate
);
14273 if (PyErr_Occurred()) SWIG_fail
;
14275 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14282 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14283 PyObject
*resultobj
= 0;
14284 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14285 wxWindow
*arg2
= (wxWindow
*) 0 ;
14286 int arg3
= (int) -1 ;
14287 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14288 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14289 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14290 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14291 long arg6
= (long) wxSB_HORIZONTAL
;
14292 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14293 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14294 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14295 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14309 bool temp8
= false ;
14310 PyObject
* obj0
= 0 ;
14311 PyObject
* obj1
= 0 ;
14312 PyObject
* obj2
= 0 ;
14313 PyObject
* obj3
= 0 ;
14314 PyObject
* obj4
= 0 ;
14315 PyObject
* obj5
= 0 ;
14316 PyObject
* obj6
= 0 ;
14317 PyObject
* obj7
= 0 ;
14318 char * kwnames
[] = {
14319 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14324 if (!SWIG_IsOK(res1
)) {
14325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14327 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14328 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14329 if (!SWIG_IsOK(res2
)) {
14330 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14332 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14334 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14335 if (!SWIG_IsOK(ecode3
)) {
14336 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14338 arg3
= static_cast< int >(val3
);
14343 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14349 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14353 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14354 if (!SWIG_IsOK(ecode6
)) {
14355 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14357 arg6
= static_cast< long >(val6
);
14360 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14361 if (!SWIG_IsOK(res7
)) {
14362 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14365 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14367 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14371 arg8
= wxString_in_helper(obj7
);
14372 if (arg8
== NULL
) SWIG_fail
;
14377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14378 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14379 wxPyEndAllowThreads(__tstate
);
14380 if (PyErr_Occurred()) SWIG_fail
;
14383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14399 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14400 PyObject
*resultobj
= 0;
14401 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14405 PyObject
*swig_obj
[1] ;
14407 if (!args
) SWIG_fail
;
14408 swig_obj
[0] = args
;
14409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14410 if (!SWIG_IsOK(res1
)) {
14411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14413 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14416 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14417 wxPyEndAllowThreads(__tstate
);
14418 if (PyErr_Occurred()) SWIG_fail
;
14420 resultobj
= SWIG_From_int(static_cast< int >(result
));
14427 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14428 PyObject
*resultobj
= 0;
14429 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14433 PyObject
*swig_obj
[1] ;
14435 if (!args
) SWIG_fail
;
14436 swig_obj
[0] = args
;
14437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14438 if (!SWIG_IsOK(res1
)) {
14439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14441 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14444 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14445 wxPyEndAllowThreads(__tstate
);
14446 if (PyErr_Occurred()) SWIG_fail
;
14448 resultobj
= SWIG_From_int(static_cast< int >(result
));
14455 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14456 PyObject
*resultobj
= 0;
14457 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14461 PyObject
*swig_obj
[1] ;
14463 if (!args
) SWIG_fail
;
14464 swig_obj
[0] = args
;
14465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14466 if (!SWIG_IsOK(res1
)) {
14467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14469 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14472 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14473 wxPyEndAllowThreads(__tstate
);
14474 if (PyErr_Occurred()) SWIG_fail
;
14476 resultobj
= SWIG_From_int(static_cast< int >(result
));
14483 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14484 PyObject
*resultobj
= 0;
14485 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14489 PyObject
*swig_obj
[1] ;
14491 if (!args
) SWIG_fail
;
14492 swig_obj
[0] = args
;
14493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14494 if (!SWIG_IsOK(res1
)) {
14495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14497 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14500 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14501 wxPyEndAllowThreads(__tstate
);
14502 if (PyErr_Occurred()) SWIG_fail
;
14504 resultobj
= SWIG_From_int(static_cast< int >(result
));
14511 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14512 PyObject
*resultobj
= 0;
14513 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14517 PyObject
*swig_obj
[1] ;
14519 if (!args
) SWIG_fail
;
14520 swig_obj
[0] = args
;
14521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14522 if (!SWIG_IsOK(res1
)) {
14523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14525 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14528 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14529 wxPyEndAllowThreads(__tstate
);
14530 if (PyErr_Occurred()) SWIG_fail
;
14533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14541 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14542 PyObject
*resultobj
= 0;
14543 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14549 PyObject
* obj0
= 0 ;
14550 PyObject
* obj1
= 0 ;
14551 char * kwnames
[] = {
14552 (char *) "self",(char *) "viewStart", NULL
14555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14557 if (!SWIG_IsOK(res1
)) {
14558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14560 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14561 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14562 if (!SWIG_IsOK(ecode2
)) {
14563 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14565 arg2
= static_cast< int >(val2
);
14567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14568 (arg1
)->SetThumbPosition(arg2
);
14569 wxPyEndAllowThreads(__tstate
);
14570 if (PyErr_Occurred()) SWIG_fail
;
14572 resultobj
= SWIG_Py_Void();
14579 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14580 PyObject
*resultobj
= 0;
14581 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14582 SwigValueWrapper
<wxVisualAttributes
> result
;
14585 PyObject
* obj0
= 0 ;
14586 char * kwnames
[] = {
14587 (char *) "variant", NULL
14590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14592 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14593 if (!SWIG_IsOK(ecode1
)) {
14594 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14596 arg1
= static_cast< wxWindowVariant
>(val1
);
14599 if (!wxPyCheckForApp()) SWIG_fail
;
14600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14601 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14602 wxPyEndAllowThreads(__tstate
);
14603 if (PyErr_Occurred()) SWIG_fail
;
14605 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14612 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14614 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14615 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14616 return SWIG_Py_Void();
14619 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14620 return SWIG_Python_InitShadowInstance(args
);
14623 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14624 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14629 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14630 PyObject
*pyobj
= 0;
14634 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14636 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14643 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14644 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14649 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14650 PyObject
*pyobj
= 0;
14654 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14656 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14663 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14664 PyObject
*resultobj
= 0;
14665 wxWindow
*arg1
= (wxWindow
*) 0 ;
14666 int arg2
= (int) -1 ;
14667 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14668 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14669 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14670 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14671 long arg5
= (long) wxSP_HORIZONTAL
;
14672 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14673 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14674 wxSpinButton
*result
= 0 ;
14683 bool temp6
= false ;
14684 PyObject
* obj0
= 0 ;
14685 PyObject
* obj1
= 0 ;
14686 PyObject
* obj2
= 0 ;
14687 PyObject
* obj3
= 0 ;
14688 PyObject
* obj4
= 0 ;
14689 PyObject
* obj5
= 0 ;
14690 char * kwnames
[] = {
14691 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14696 if (!SWIG_IsOK(res1
)) {
14697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14699 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14701 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14702 if (!SWIG_IsOK(ecode2
)) {
14703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14705 arg2
= static_cast< int >(val2
);
14710 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14716 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14720 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14721 if (!SWIG_IsOK(ecode5
)) {
14722 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14724 arg5
= static_cast< long >(val5
);
14728 arg6
= wxString_in_helper(obj5
);
14729 if (arg6
== NULL
) SWIG_fail
;
14734 if (!wxPyCheckForApp()) SWIG_fail
;
14735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14736 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14737 wxPyEndAllowThreads(__tstate
);
14738 if (PyErr_Occurred()) SWIG_fail
;
14740 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14755 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14756 PyObject
*resultobj
= 0;
14757 wxSpinButton
*result
= 0 ;
14759 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14761 if (!wxPyCheckForApp()) SWIG_fail
;
14762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14763 result
= (wxSpinButton
*)new wxSpinButton();
14764 wxPyEndAllowThreads(__tstate
);
14765 if (PyErr_Occurred()) SWIG_fail
;
14767 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14774 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14775 PyObject
*resultobj
= 0;
14776 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14777 wxWindow
*arg2
= (wxWindow
*) 0 ;
14778 int arg3
= (int) -1 ;
14779 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14780 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14781 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14782 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14783 long arg6
= (long) wxSP_HORIZONTAL
;
14784 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14785 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14797 bool temp7
= false ;
14798 PyObject
* obj0
= 0 ;
14799 PyObject
* obj1
= 0 ;
14800 PyObject
* obj2
= 0 ;
14801 PyObject
* obj3
= 0 ;
14802 PyObject
* obj4
= 0 ;
14803 PyObject
* obj5
= 0 ;
14804 PyObject
* obj6
= 0 ;
14805 char * kwnames
[] = {
14806 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14811 if (!SWIG_IsOK(res1
)) {
14812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14814 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14815 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14816 if (!SWIG_IsOK(res2
)) {
14817 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14819 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14821 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14822 if (!SWIG_IsOK(ecode3
)) {
14823 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14825 arg3
= static_cast< int >(val3
);
14830 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14836 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14840 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14841 if (!SWIG_IsOK(ecode6
)) {
14842 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14844 arg6
= static_cast< long >(val6
);
14848 arg7
= wxString_in_helper(obj6
);
14849 if (arg7
== NULL
) SWIG_fail
;
14854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14855 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14856 wxPyEndAllowThreads(__tstate
);
14857 if (PyErr_Occurred()) SWIG_fail
;
14860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14876 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14877 PyObject
*resultobj
= 0;
14878 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14882 PyObject
*swig_obj
[1] ;
14884 if (!args
) SWIG_fail
;
14885 swig_obj
[0] = args
;
14886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14887 if (!SWIG_IsOK(res1
)) {
14888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14890 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14893 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14894 wxPyEndAllowThreads(__tstate
);
14895 if (PyErr_Occurred()) SWIG_fail
;
14897 resultobj
= SWIG_From_int(static_cast< int >(result
));
14904 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14905 PyObject
*resultobj
= 0;
14906 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14910 PyObject
*swig_obj
[1] ;
14912 if (!args
) SWIG_fail
;
14913 swig_obj
[0] = args
;
14914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14915 if (!SWIG_IsOK(res1
)) {
14916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14918 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14921 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14922 wxPyEndAllowThreads(__tstate
);
14923 if (PyErr_Occurred()) SWIG_fail
;
14925 resultobj
= SWIG_From_int(static_cast< int >(result
));
14932 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14933 PyObject
*resultobj
= 0;
14934 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14938 PyObject
*swig_obj
[1] ;
14940 if (!args
) SWIG_fail
;
14941 swig_obj
[0] = args
;
14942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14943 if (!SWIG_IsOK(res1
)) {
14944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14946 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14949 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
14950 wxPyEndAllowThreads(__tstate
);
14951 if (PyErr_Occurred()) SWIG_fail
;
14953 resultobj
= SWIG_From_int(static_cast< int >(result
));
14960 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14961 PyObject
*resultobj
= 0;
14962 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14968 PyObject
* obj0
= 0 ;
14969 PyObject
* obj1
= 0 ;
14970 char * kwnames
[] = {
14971 (char *) "self",(char *) "val", NULL
14974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14976 if (!SWIG_IsOK(res1
)) {
14977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14979 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14980 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14981 if (!SWIG_IsOK(ecode2
)) {
14982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14984 arg2
= static_cast< int >(val2
);
14986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14987 (arg1
)->SetValue(arg2
);
14988 wxPyEndAllowThreads(__tstate
);
14989 if (PyErr_Occurred()) SWIG_fail
;
14991 resultobj
= SWIG_Py_Void();
14998 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14999 PyObject
*resultobj
= 0;
15000 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15006 PyObject
* obj0
= 0 ;
15007 PyObject
* obj1
= 0 ;
15008 char * kwnames
[] = {
15009 (char *) "self",(char *) "minVal", NULL
15012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15014 if (!SWIG_IsOK(res1
)) {
15015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15017 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15018 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15019 if (!SWIG_IsOK(ecode2
)) {
15020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15022 arg2
= static_cast< int >(val2
);
15024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15025 (arg1
)->SetMin(arg2
);
15026 wxPyEndAllowThreads(__tstate
);
15027 if (PyErr_Occurred()) SWIG_fail
;
15029 resultobj
= SWIG_Py_Void();
15036 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15037 PyObject
*resultobj
= 0;
15038 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15044 PyObject
* obj0
= 0 ;
15045 PyObject
* obj1
= 0 ;
15046 char * kwnames
[] = {
15047 (char *) "self",(char *) "maxVal", NULL
15050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15052 if (!SWIG_IsOK(res1
)) {
15053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15055 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15056 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15057 if (!SWIG_IsOK(ecode2
)) {
15058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15060 arg2
= static_cast< int >(val2
);
15062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15063 (arg1
)->SetMax(arg2
);
15064 wxPyEndAllowThreads(__tstate
);
15065 if (PyErr_Occurred()) SWIG_fail
;
15067 resultobj
= SWIG_Py_Void();
15074 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15075 PyObject
*resultobj
= 0;
15076 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15085 PyObject
* obj0
= 0 ;
15086 PyObject
* obj1
= 0 ;
15087 PyObject
* obj2
= 0 ;
15088 char * kwnames
[] = {
15089 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15094 if (!SWIG_IsOK(res1
)) {
15095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15097 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15098 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15099 if (!SWIG_IsOK(ecode2
)) {
15100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15102 arg2
= static_cast< int >(val2
);
15103 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15104 if (!SWIG_IsOK(ecode3
)) {
15105 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15107 arg3
= static_cast< int >(val3
);
15109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15110 (arg1
)->SetRange(arg2
,arg3
);
15111 wxPyEndAllowThreads(__tstate
);
15112 if (PyErr_Occurred()) SWIG_fail
;
15114 resultobj
= SWIG_Py_Void();
15121 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15122 PyObject
*resultobj
= 0;
15123 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15127 PyObject
*swig_obj
[1] ;
15129 if (!args
) SWIG_fail
;
15130 swig_obj
[0] = args
;
15131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15132 if (!SWIG_IsOK(res1
)) {
15133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15135 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15138 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15139 wxPyEndAllowThreads(__tstate
);
15140 if (PyErr_Occurred()) SWIG_fail
;
15143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15151 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15152 PyObject
*resultobj
= 0;
15153 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15154 SwigValueWrapper
<wxVisualAttributes
> result
;
15157 PyObject
* obj0
= 0 ;
15158 char * kwnames
[] = {
15159 (char *) "variant", NULL
15162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15164 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15165 if (!SWIG_IsOK(ecode1
)) {
15166 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15168 arg1
= static_cast< wxWindowVariant
>(val1
);
15171 if (!wxPyCheckForApp()) SWIG_fail
;
15172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15173 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15174 wxPyEndAllowThreads(__tstate
);
15175 if (PyErr_Occurred()) SWIG_fail
;
15177 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15184 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15186 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15187 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15188 return SWIG_Py_Void();
15191 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15192 return SWIG_Python_InitShadowInstance(args
);
15195 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15196 PyObject
*resultobj
= 0;
15197 wxWindow
*arg1
= (wxWindow
*) 0 ;
15198 int arg2
= (int) -1 ;
15199 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15200 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15201 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15202 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15203 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15204 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15205 long arg6
= (long) wxSP_ARROW_KEYS
;
15206 int arg7
= (int) 0 ;
15207 int arg8
= (int) 100 ;
15208 int arg9
= (int) 0 ;
15209 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15210 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15211 wxSpinCtrl
*result
= 0 ;
15216 bool temp3
= false ;
15227 bool temp10
= false ;
15228 PyObject
* obj0
= 0 ;
15229 PyObject
* obj1
= 0 ;
15230 PyObject
* obj2
= 0 ;
15231 PyObject
* obj3
= 0 ;
15232 PyObject
* obj4
= 0 ;
15233 PyObject
* obj5
= 0 ;
15234 PyObject
* obj6
= 0 ;
15235 PyObject
* obj7
= 0 ;
15236 PyObject
* obj8
= 0 ;
15237 PyObject
* obj9
= 0 ;
15238 char * kwnames
[] = {
15239 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15244 if (!SWIG_IsOK(res1
)) {
15245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15247 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15249 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15250 if (!SWIG_IsOK(ecode2
)) {
15251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15253 arg2
= static_cast< int >(val2
);
15257 arg3
= wxString_in_helper(obj2
);
15258 if (arg3
== NULL
) SWIG_fail
;
15265 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15271 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15275 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15276 if (!SWIG_IsOK(ecode6
)) {
15277 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15279 arg6
= static_cast< long >(val6
);
15282 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15283 if (!SWIG_IsOK(ecode7
)) {
15284 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15286 arg7
= static_cast< int >(val7
);
15289 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15290 if (!SWIG_IsOK(ecode8
)) {
15291 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15293 arg8
= static_cast< int >(val8
);
15296 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15297 if (!SWIG_IsOK(ecode9
)) {
15298 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15300 arg9
= static_cast< int >(val9
);
15304 arg10
= wxString_in_helper(obj9
);
15305 if (arg10
== NULL
) SWIG_fail
;
15310 if (!wxPyCheckForApp()) SWIG_fail
;
15311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15312 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15313 wxPyEndAllowThreads(__tstate
);
15314 if (PyErr_Occurred()) SWIG_fail
;
15316 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15339 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15340 PyObject
*resultobj
= 0;
15341 wxSpinCtrl
*result
= 0 ;
15343 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15345 if (!wxPyCheckForApp()) SWIG_fail
;
15346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15347 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15348 wxPyEndAllowThreads(__tstate
);
15349 if (PyErr_Occurred()) SWIG_fail
;
15351 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15358 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15359 PyObject
*resultobj
= 0;
15360 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15361 wxWindow
*arg2
= (wxWindow
*) 0 ;
15362 int arg3
= (int) -1 ;
15363 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15364 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15365 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15366 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15367 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15368 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15369 long arg7
= (long) wxSP_ARROW_KEYS
;
15370 int arg8
= (int) 0 ;
15371 int arg9
= (int) 100 ;
15372 int arg10
= (int) 0 ;
15373 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15374 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15382 bool temp4
= false ;
15393 bool temp11
= false ;
15394 PyObject
* obj0
= 0 ;
15395 PyObject
* obj1
= 0 ;
15396 PyObject
* obj2
= 0 ;
15397 PyObject
* obj3
= 0 ;
15398 PyObject
* obj4
= 0 ;
15399 PyObject
* obj5
= 0 ;
15400 PyObject
* obj6
= 0 ;
15401 PyObject
* obj7
= 0 ;
15402 PyObject
* obj8
= 0 ;
15403 PyObject
* obj9
= 0 ;
15404 PyObject
* obj10
= 0 ;
15405 char * kwnames
[] = {
15406 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15411 if (!SWIG_IsOK(res1
)) {
15412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15414 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15415 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15416 if (!SWIG_IsOK(res2
)) {
15417 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15419 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15421 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15422 if (!SWIG_IsOK(ecode3
)) {
15423 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15425 arg3
= static_cast< int >(val3
);
15429 arg4
= wxString_in_helper(obj3
);
15430 if (arg4
== NULL
) SWIG_fail
;
15437 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15443 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15447 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15448 if (!SWIG_IsOK(ecode7
)) {
15449 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15451 arg7
= static_cast< long >(val7
);
15454 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15455 if (!SWIG_IsOK(ecode8
)) {
15456 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15458 arg8
= static_cast< int >(val8
);
15461 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15462 if (!SWIG_IsOK(ecode9
)) {
15463 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15465 arg9
= static_cast< int >(val9
);
15468 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15469 if (!SWIG_IsOK(ecode10
)) {
15470 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15472 arg10
= static_cast< int >(val10
);
15476 arg11
= wxString_in_helper(obj10
);
15477 if (arg11
== NULL
) SWIG_fail
;
15482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15483 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15484 wxPyEndAllowThreads(__tstate
);
15485 if (PyErr_Occurred()) SWIG_fail
;
15488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15512 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15513 PyObject
*resultobj
= 0;
15514 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15518 PyObject
*swig_obj
[1] ;
15520 if (!args
) SWIG_fail
;
15521 swig_obj
[0] = args
;
15522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15523 if (!SWIG_IsOK(res1
)) {
15524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15526 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15529 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15530 wxPyEndAllowThreads(__tstate
);
15531 if (PyErr_Occurred()) SWIG_fail
;
15533 resultobj
= SWIG_From_int(static_cast< int >(result
));
15540 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15541 PyObject
*resultobj
= 0;
15542 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15548 PyObject
* obj0
= 0 ;
15549 PyObject
* obj1
= 0 ;
15550 char * kwnames
[] = {
15551 (char *) "self",(char *) "value", NULL
15554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15556 if (!SWIG_IsOK(res1
)) {
15557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15559 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15560 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15561 if (!SWIG_IsOK(ecode2
)) {
15562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15564 arg2
= static_cast< int >(val2
);
15566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15567 (arg1
)->SetValue(arg2
);
15568 wxPyEndAllowThreads(__tstate
);
15569 if (PyErr_Occurred()) SWIG_fail
;
15571 resultobj
= SWIG_Py_Void();
15578 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15579 PyObject
*resultobj
= 0;
15580 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15581 wxString
*arg2
= 0 ;
15584 bool temp2
= false ;
15585 PyObject
* obj0
= 0 ;
15586 PyObject
* obj1
= 0 ;
15587 char * kwnames
[] = {
15588 (char *) "self",(char *) "text", NULL
15591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15593 if (!SWIG_IsOK(res1
)) {
15594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15596 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15598 arg2
= wxString_in_helper(obj1
);
15599 if (arg2
== NULL
) SWIG_fail
;
15603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15604 (arg1
)->SetValue((wxString
const &)*arg2
);
15605 wxPyEndAllowThreads(__tstate
);
15606 if (PyErr_Occurred()) SWIG_fail
;
15608 resultobj
= SWIG_Py_Void();
15623 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15624 PyObject
*resultobj
= 0;
15625 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15634 PyObject
* obj0
= 0 ;
15635 PyObject
* obj1
= 0 ;
15636 PyObject
* obj2
= 0 ;
15637 char * kwnames
[] = {
15638 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15643 if (!SWIG_IsOK(res1
)) {
15644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15646 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15647 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15648 if (!SWIG_IsOK(ecode2
)) {
15649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15651 arg2
= static_cast< int >(val2
);
15652 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15653 if (!SWIG_IsOK(ecode3
)) {
15654 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15656 arg3
= static_cast< int >(val3
);
15658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15659 (arg1
)->SetRange(arg2
,arg3
);
15660 wxPyEndAllowThreads(__tstate
);
15661 if (PyErr_Occurred()) SWIG_fail
;
15663 resultobj
= SWIG_Py_Void();
15670 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15671 PyObject
*resultobj
= 0;
15672 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15676 PyObject
*swig_obj
[1] ;
15678 if (!args
) SWIG_fail
;
15679 swig_obj
[0] = args
;
15680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15681 if (!SWIG_IsOK(res1
)) {
15682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15684 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15687 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15688 wxPyEndAllowThreads(__tstate
);
15689 if (PyErr_Occurred()) SWIG_fail
;
15691 resultobj
= SWIG_From_int(static_cast< int >(result
));
15698 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15699 PyObject
*resultobj
= 0;
15700 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15704 PyObject
*swig_obj
[1] ;
15706 if (!args
) SWIG_fail
;
15707 swig_obj
[0] = args
;
15708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15709 if (!SWIG_IsOK(res1
)) {
15710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15712 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15715 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15716 wxPyEndAllowThreads(__tstate
);
15717 if (PyErr_Occurred()) SWIG_fail
;
15719 resultobj
= SWIG_From_int(static_cast< int >(result
));
15726 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15727 PyObject
*resultobj
= 0;
15728 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15737 PyObject
* obj0
= 0 ;
15738 PyObject
* obj1
= 0 ;
15739 PyObject
* obj2
= 0 ;
15740 char * kwnames
[] = {
15741 (char *) "self",(char *) "from",(char *) "to", NULL
15744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15746 if (!SWIG_IsOK(res1
)) {
15747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15749 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15750 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15751 if (!SWIG_IsOK(ecode2
)) {
15752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15754 arg2
= static_cast< long >(val2
);
15755 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15756 if (!SWIG_IsOK(ecode3
)) {
15757 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15759 arg3
= static_cast< long >(val3
);
15761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15762 (arg1
)->SetSelection(arg2
,arg3
);
15763 wxPyEndAllowThreads(__tstate
);
15764 if (PyErr_Occurred()) SWIG_fail
;
15766 resultobj
= SWIG_Py_Void();
15773 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15774 PyObject
*resultobj
= 0;
15775 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15776 SwigValueWrapper
<wxVisualAttributes
> result
;
15779 PyObject
* obj0
= 0 ;
15780 char * kwnames
[] = {
15781 (char *) "variant", NULL
15784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15786 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15787 if (!SWIG_IsOK(ecode1
)) {
15788 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15790 arg1
= static_cast< wxWindowVariant
>(val1
);
15793 if (!wxPyCheckForApp()) SWIG_fail
;
15794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15795 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15796 wxPyEndAllowThreads(__tstate
);
15797 if (PyErr_Occurred()) SWIG_fail
;
15799 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15806 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15808 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15809 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15810 return SWIG_Py_Void();
15813 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15814 return SWIG_Python_InitShadowInstance(args
);
15817 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15818 PyObject
*resultobj
= 0;
15819 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15820 int arg2
= (int) 0 ;
15821 wxSpinEvent
*result
= 0 ;
15826 PyObject
* obj0
= 0 ;
15827 PyObject
* obj1
= 0 ;
15828 char * kwnames
[] = {
15829 (char *) "commandType",(char *) "winid", NULL
15832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15834 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15835 if (!SWIG_IsOK(ecode1
)) {
15836 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15838 arg1
= static_cast< wxEventType
>(val1
);
15841 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15842 if (!SWIG_IsOK(ecode2
)) {
15843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15845 arg2
= static_cast< int >(val2
);
15848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15849 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15850 wxPyEndAllowThreads(__tstate
);
15851 if (PyErr_Occurred()) SWIG_fail
;
15853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15860 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15861 PyObject
*resultobj
= 0;
15862 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15866 PyObject
*swig_obj
[1] ;
15868 if (!args
) SWIG_fail
;
15869 swig_obj
[0] = args
;
15870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15871 if (!SWIG_IsOK(res1
)) {
15872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15874 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15877 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15878 wxPyEndAllowThreads(__tstate
);
15879 if (PyErr_Occurred()) SWIG_fail
;
15881 resultobj
= SWIG_From_int(static_cast< int >(result
));
15888 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15889 PyObject
*resultobj
= 0;
15890 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15896 PyObject
* obj0
= 0 ;
15897 PyObject
* obj1
= 0 ;
15898 char * kwnames
[] = {
15899 (char *) "self",(char *) "pos", NULL
15902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15904 if (!SWIG_IsOK(res1
)) {
15905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15907 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15909 if (!SWIG_IsOK(ecode2
)) {
15910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15912 arg2
= static_cast< int >(val2
);
15914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15915 (arg1
)->SetPosition(arg2
);
15916 wxPyEndAllowThreads(__tstate
);
15917 if (PyErr_Occurred()) SWIG_fail
;
15919 resultobj
= SWIG_Py_Void();
15926 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15928 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15929 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15930 return SWIG_Py_Void();
15933 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15934 return SWIG_Python_InitShadowInstance(args
);
15937 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15938 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
15943 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
15944 PyObject
*pyobj
= 0;
15948 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15950 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15957 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
15958 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
15963 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
15964 PyObject
*pyobj
= 0;
15968 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15970 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15977 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15978 PyObject
*resultobj
= 0;
15979 wxWindow
*arg1
= (wxWindow
*) 0 ;
15980 int arg2
= (int) -1 ;
15981 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15982 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15983 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15984 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15985 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15986 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15987 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
15988 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
15989 int arg7
= (int) 0 ;
15990 long arg8
= (long) wxRA_HORIZONTAL
;
15991 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
15992 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
15993 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
15994 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15995 wxRadioBox
*result
= 0 ;
16000 bool temp3
= false ;
16003 bool temp6
= false ;
16010 bool temp10
= false ;
16011 PyObject
* obj0
= 0 ;
16012 PyObject
* obj1
= 0 ;
16013 PyObject
* obj2
= 0 ;
16014 PyObject
* obj3
= 0 ;
16015 PyObject
* obj4
= 0 ;
16016 PyObject
* obj5
= 0 ;
16017 PyObject
* obj6
= 0 ;
16018 PyObject
* obj7
= 0 ;
16019 PyObject
* obj8
= 0 ;
16020 PyObject
* obj9
= 0 ;
16021 char * kwnames
[] = {
16022 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
16026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16027 if (!SWIG_IsOK(res1
)) {
16028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16030 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16033 if (!SWIG_IsOK(ecode2
)) {
16034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16036 arg2
= static_cast< int >(val2
);
16040 arg3
= wxString_in_helper(obj2
);
16041 if (arg3
== NULL
) SWIG_fail
;
16048 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16054 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16059 if (! PySequence_Check(obj5
)) {
16060 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16063 arg6
= new wxArrayString
;
16065 int i
, len
=PySequence_Length(obj5
);
16066 for (i
=0; i
<len
; i
++) {
16067 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16068 wxString
* s
= wxString_in_helper(item
);
16069 if (PyErr_Occurred()) SWIG_fail
;
16077 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16078 if (!SWIG_IsOK(ecode7
)) {
16079 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16081 arg7
= static_cast< int >(val7
);
16084 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16085 if (!SWIG_IsOK(ecode8
)) {
16086 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16088 arg8
= static_cast< long >(val8
);
16091 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16092 if (!SWIG_IsOK(res9
)) {
16093 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16096 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16098 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16102 arg10
= wxString_in_helper(obj9
);
16103 if (arg10
== NULL
) SWIG_fail
;
16108 if (!wxPyCheckForApp()) SWIG_fail
;
16109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16110 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
);
16111 wxPyEndAllowThreads(__tstate
);
16112 if (PyErr_Occurred()) SWIG_fail
;
16114 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16120 if (temp6
) delete arg6
;
16133 if (temp6
) delete arg6
;
16143 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16144 PyObject
*resultobj
= 0;
16145 wxRadioBox
*result
= 0 ;
16147 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16149 if (!wxPyCheckForApp()) SWIG_fail
;
16150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16151 result
= (wxRadioBox
*)new wxRadioBox();
16152 wxPyEndAllowThreads(__tstate
);
16153 if (PyErr_Occurred()) SWIG_fail
;
16155 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16162 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16163 PyObject
*resultobj
= 0;
16164 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16165 wxWindow
*arg2
= (wxWindow
*) 0 ;
16166 int arg3
= (int) -1 ;
16167 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16168 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16169 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16170 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16171 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16172 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16173 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16174 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16175 int arg8
= (int) 0 ;
16176 long arg9
= (long) wxRA_HORIZONTAL
;
16177 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16178 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16179 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16180 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16188 bool temp4
= false ;
16191 bool temp7
= false ;
16198 bool temp11
= false ;
16199 PyObject
* obj0
= 0 ;
16200 PyObject
* obj1
= 0 ;
16201 PyObject
* obj2
= 0 ;
16202 PyObject
* obj3
= 0 ;
16203 PyObject
* obj4
= 0 ;
16204 PyObject
* obj5
= 0 ;
16205 PyObject
* obj6
= 0 ;
16206 PyObject
* obj7
= 0 ;
16207 PyObject
* obj8
= 0 ;
16208 PyObject
* obj9
= 0 ;
16209 PyObject
* obj10
= 0 ;
16210 char * kwnames
[] = {
16211 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16216 if (!SWIG_IsOK(res1
)) {
16217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16219 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16220 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16221 if (!SWIG_IsOK(res2
)) {
16222 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16224 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16226 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16227 if (!SWIG_IsOK(ecode3
)) {
16228 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16230 arg3
= static_cast< int >(val3
);
16234 arg4
= wxString_in_helper(obj3
);
16235 if (arg4
== NULL
) SWIG_fail
;
16242 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16248 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16253 if (! PySequence_Check(obj6
)) {
16254 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16257 arg7
= new wxArrayString
;
16259 int i
, len
=PySequence_Length(obj6
);
16260 for (i
=0; i
<len
; i
++) {
16261 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16262 wxString
* s
= wxString_in_helper(item
);
16263 if (PyErr_Occurred()) SWIG_fail
;
16271 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16272 if (!SWIG_IsOK(ecode8
)) {
16273 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16275 arg8
= static_cast< int >(val8
);
16278 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16279 if (!SWIG_IsOK(ecode9
)) {
16280 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16282 arg9
= static_cast< long >(val9
);
16285 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16286 if (!SWIG_IsOK(res10
)) {
16287 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16290 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16292 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16296 arg11
= wxString_in_helper(obj10
);
16297 if (arg11
== NULL
) SWIG_fail
;
16302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16303 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
);
16304 wxPyEndAllowThreads(__tstate
);
16305 if (PyErr_Occurred()) SWIG_fail
;
16308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16315 if (temp7
) delete arg7
;
16328 if (temp7
) delete arg7
;
16338 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16339 PyObject
*resultobj
= 0;
16340 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16346 PyObject
* obj0
= 0 ;
16347 PyObject
* obj1
= 0 ;
16348 char * kwnames
[] = {
16349 (char *) "self",(char *) "n", NULL
16352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16354 if (!SWIG_IsOK(res1
)) {
16355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16357 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16359 if (!SWIG_IsOK(ecode2
)) {
16360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16362 arg2
= static_cast< int >(val2
);
16364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16365 (arg1
)->SetSelection(arg2
);
16366 wxPyEndAllowThreads(__tstate
);
16367 if (PyErr_Occurred()) SWIG_fail
;
16369 resultobj
= SWIG_Py_Void();
16376 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16377 PyObject
*resultobj
= 0;
16378 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16382 PyObject
*swig_obj
[1] ;
16384 if (!args
) SWIG_fail
;
16385 swig_obj
[0] = args
;
16386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16387 if (!SWIG_IsOK(res1
)) {
16388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16390 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16393 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16394 wxPyEndAllowThreads(__tstate
);
16395 if (PyErr_Occurred()) SWIG_fail
;
16397 resultobj
= SWIG_From_int(static_cast< int >(result
));
16404 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16405 PyObject
*resultobj
= 0;
16406 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16410 PyObject
*swig_obj
[1] ;
16412 if (!args
) SWIG_fail
;
16413 swig_obj
[0] = args
;
16414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16415 if (!SWIG_IsOK(res1
)) {
16416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16418 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16421 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16422 wxPyEndAllowThreads(__tstate
);
16423 if (PyErr_Occurred()) SWIG_fail
;
16427 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16429 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16438 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16439 PyObject
*resultobj
= 0;
16440 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16441 wxString
*arg2
= 0 ;
16445 bool temp2
= false ;
16446 PyObject
* obj0
= 0 ;
16447 PyObject
* obj1
= 0 ;
16448 char * kwnames
[] = {
16449 (char *) "self",(char *) "s", NULL
16452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16454 if (!SWIG_IsOK(res1
)) {
16455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16457 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16459 arg2
= wxString_in_helper(obj1
);
16460 if (arg2
== NULL
) SWIG_fail
;
16464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16465 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16466 wxPyEndAllowThreads(__tstate
);
16467 if (PyErr_Occurred()) SWIG_fail
;
16470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16486 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16487 PyObject
*resultobj
= 0;
16488 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16492 PyObject
*swig_obj
[1] ;
16494 if (!args
) SWIG_fail
;
16495 swig_obj
[0] = args
;
16496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16497 if (!SWIG_IsOK(res1
)) {
16498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16500 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16503 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16504 wxPyEndAllowThreads(__tstate
);
16505 if (PyErr_Occurred()) SWIG_fail
;
16507 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16514 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16515 PyObject
*resultobj
= 0;
16516 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16517 wxString
*arg2
= 0 ;
16521 bool temp2
= false ;
16522 PyObject
* obj0
= 0 ;
16523 PyObject
* obj1
= 0 ;
16524 char * kwnames
[] = {
16525 (char *) "self",(char *) "s", NULL
16528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16530 if (!SWIG_IsOK(res1
)) {
16531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16533 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16535 arg2
= wxString_in_helper(obj1
);
16536 if (arg2
== NULL
) SWIG_fail
;
16540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16541 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16542 wxPyEndAllowThreads(__tstate
);
16543 if (PyErr_Occurred()) SWIG_fail
;
16545 resultobj
= SWIG_From_int(static_cast< int >(result
));
16560 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16561 PyObject
*resultobj
= 0;
16562 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16569 PyObject
* obj0
= 0 ;
16570 PyObject
* obj1
= 0 ;
16571 char * kwnames
[] = {
16572 (char *) "self",(char *) "n", NULL
16575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16577 if (!SWIG_IsOK(res1
)) {
16578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16580 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16581 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16582 if (!SWIG_IsOK(ecode2
)) {
16583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16585 arg2
= static_cast< int >(val2
);
16587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16588 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16589 wxPyEndAllowThreads(__tstate
);
16590 if (PyErr_Occurred()) SWIG_fail
;
16594 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16596 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16605 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16606 PyObject
*resultobj
= 0;
16607 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16609 wxString
*arg3
= 0 ;
16614 bool temp3
= false ;
16615 PyObject
* obj0
= 0 ;
16616 PyObject
* obj1
= 0 ;
16617 PyObject
* obj2
= 0 ;
16618 char * kwnames
[] = {
16619 (char *) "self",(char *) "n",(char *) "label", NULL
16622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16624 if (!SWIG_IsOK(res1
)) {
16625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16627 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16628 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16629 if (!SWIG_IsOK(ecode2
)) {
16630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16632 arg2
= static_cast< int >(val2
);
16634 arg3
= wxString_in_helper(obj2
);
16635 if (arg3
== NULL
) SWIG_fail
;
16639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16640 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16641 wxPyEndAllowThreads(__tstate
);
16642 if (PyErr_Occurred()) SWIG_fail
;
16644 resultobj
= SWIG_Py_Void();
16659 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16660 PyObject
*resultobj
= 0;
16661 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16662 unsigned int arg2
;
16663 bool arg3
= (bool) true ;
16666 unsigned int val2
;
16670 PyObject
* obj0
= 0 ;
16671 PyObject
* obj1
= 0 ;
16672 PyObject
* obj2
= 0 ;
16673 char * kwnames
[] = {
16674 (char *) "self",(char *) "n",(char *) "enable", NULL
16677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16679 if (!SWIG_IsOK(res1
)) {
16680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16682 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16683 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16684 if (!SWIG_IsOK(ecode2
)) {
16685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16687 arg2
= static_cast< unsigned int >(val2
);
16689 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16690 if (!SWIG_IsOK(ecode3
)) {
16691 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16693 arg3
= static_cast< bool >(val3
);
16696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16697 (arg1
)->Enable(arg2
,arg3
);
16698 wxPyEndAllowThreads(__tstate
);
16699 if (PyErr_Occurred()) SWIG_fail
;
16701 resultobj
= SWIG_Py_Void();
16708 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16709 PyObject
*resultobj
= 0;
16710 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16711 unsigned int arg2
;
16712 bool arg3
= (bool) true ;
16715 unsigned int val2
;
16719 PyObject
* obj0
= 0 ;
16720 PyObject
* obj1
= 0 ;
16721 PyObject
* obj2
= 0 ;
16722 char * kwnames
[] = {
16723 (char *) "self",(char *) "n",(char *) "show", NULL
16726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16728 if (!SWIG_IsOK(res1
)) {
16729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16731 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16732 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16733 if (!SWIG_IsOK(ecode2
)) {
16734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16736 arg2
= static_cast< unsigned int >(val2
);
16738 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16739 if (!SWIG_IsOK(ecode3
)) {
16740 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16742 arg3
= static_cast< bool >(val3
);
16745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16746 (arg1
)->Show(arg2
,arg3
);
16747 wxPyEndAllowThreads(__tstate
);
16748 if (PyErr_Occurred()) SWIG_fail
;
16750 resultobj
= SWIG_Py_Void();
16757 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16758 PyObject
*resultobj
= 0;
16759 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16760 unsigned int arg2
;
16764 unsigned int val2
;
16766 PyObject
* obj0
= 0 ;
16767 PyObject
* obj1
= 0 ;
16768 char * kwnames
[] = {
16769 (char *) "self",(char *) "n", NULL
16772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16774 if (!SWIG_IsOK(res1
)) {
16775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16777 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16778 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16779 if (!SWIG_IsOK(ecode2
)) {
16780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16782 arg2
= static_cast< unsigned int >(val2
);
16784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16785 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16786 wxPyEndAllowThreads(__tstate
);
16787 if (PyErr_Occurred()) SWIG_fail
;
16790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16798 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16799 PyObject
*resultobj
= 0;
16800 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16801 unsigned int arg2
;
16805 unsigned int val2
;
16807 PyObject
* obj0
= 0 ;
16808 PyObject
* obj1
= 0 ;
16809 char * kwnames
[] = {
16810 (char *) "self",(char *) "n", NULL
16813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16815 if (!SWIG_IsOK(res1
)) {
16816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16818 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16819 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16820 if (!SWIG_IsOK(ecode2
)) {
16821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16823 arg2
= static_cast< unsigned int >(val2
);
16825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16826 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16827 wxPyEndAllowThreads(__tstate
);
16828 if (PyErr_Occurred()) SWIG_fail
;
16831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16839 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16840 PyObject
*resultobj
= 0;
16841 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16842 unsigned int result
;
16845 PyObject
*swig_obj
[1] ;
16847 if (!args
) SWIG_fail
;
16848 swig_obj
[0] = args
;
16849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16850 if (!SWIG_IsOK(res1
)) {
16851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16853 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16856 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16857 wxPyEndAllowThreads(__tstate
);
16858 if (PyErr_Occurred()) SWIG_fail
;
16860 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16867 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16868 PyObject
*resultobj
= 0;
16869 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16870 unsigned int result
;
16873 PyObject
*swig_obj
[1] ;
16875 if (!args
) SWIG_fail
;
16876 swig_obj
[0] = args
;
16877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16878 if (!SWIG_IsOK(res1
)) {
16879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16881 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16884 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16885 wxPyEndAllowThreads(__tstate
);
16886 if (PyErr_Occurred()) SWIG_fail
;
16888 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16895 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16896 PyObject
*resultobj
= 0;
16897 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16910 PyObject
* obj0
= 0 ;
16911 PyObject
* obj1
= 0 ;
16912 PyObject
* obj2
= 0 ;
16913 PyObject
* obj3
= 0 ;
16914 char * kwnames
[] = {
16915 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16920 if (!SWIG_IsOK(res1
)) {
16921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16923 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16924 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16925 if (!SWIG_IsOK(ecode2
)) {
16926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16928 arg2
= static_cast< int >(val2
);
16929 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16930 if (!SWIG_IsOK(ecode3
)) {
16931 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16933 arg3
= static_cast< wxDirection
>(val3
);
16934 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16935 if (!SWIG_IsOK(ecode4
)) {
16936 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16938 arg4
= static_cast< long >(val4
);
16940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16941 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
16942 wxPyEndAllowThreads(__tstate
);
16943 if (PyErr_Occurred()) SWIG_fail
;
16945 resultobj
= SWIG_From_int(static_cast< int >(result
));
16952 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16953 PyObject
*resultobj
= 0;
16954 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16955 unsigned int arg2
;
16956 wxString
*arg3
= 0 ;
16959 unsigned int val2
;
16961 bool temp3
= false ;
16962 PyObject
* obj0
= 0 ;
16963 PyObject
* obj1
= 0 ;
16964 PyObject
* obj2
= 0 ;
16965 char * kwnames
[] = {
16966 (char *) "self",(char *) "item",(char *) "text", NULL
16969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16971 if (!SWIG_IsOK(res1
)) {
16972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16974 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16975 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16976 if (!SWIG_IsOK(ecode2
)) {
16977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16979 arg2
= static_cast< unsigned int >(val2
);
16981 arg3
= wxString_in_helper(obj2
);
16982 if (arg3
== NULL
) SWIG_fail
;
16986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16987 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
16988 wxPyEndAllowThreads(__tstate
);
16989 if (PyErr_Occurred()) SWIG_fail
;
16991 resultobj
= SWIG_Py_Void();
17006 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17007 PyObject
*resultobj
= 0;
17008 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17009 unsigned int arg2
;
17010 wxToolTip
*result
= 0 ;
17013 unsigned int val2
;
17015 PyObject
* obj0
= 0 ;
17016 PyObject
* obj1
= 0 ;
17017 char * kwnames
[] = {
17018 (char *) "self",(char *) "item", NULL
17021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17023 if (!SWIG_IsOK(res1
)) {
17024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17026 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17027 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17028 if (!SWIG_IsOK(ecode2
)) {
17029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17031 arg2
= static_cast< unsigned int >(val2
);
17033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17034 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
17035 wxPyEndAllowThreads(__tstate
);
17036 if (PyErr_Occurred()) SWIG_fail
;
17039 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17047 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17048 PyObject
*resultobj
= 0;
17049 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17050 unsigned int arg2
;
17051 wxString
*arg3
= 0 ;
17054 unsigned int val2
;
17056 bool temp3
= false ;
17057 PyObject
* obj0
= 0 ;
17058 PyObject
* obj1
= 0 ;
17059 PyObject
* obj2
= 0 ;
17060 char * kwnames
[] = {
17061 (char *) "self",(char *) "n",(char *) "helpText", NULL
17064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17066 if (!SWIG_IsOK(res1
)) {
17067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17069 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17070 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17071 if (!SWIG_IsOK(ecode2
)) {
17072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17074 arg2
= static_cast< unsigned int >(val2
);
17076 arg3
= wxString_in_helper(obj2
);
17077 if (arg3
== NULL
) SWIG_fail
;
17081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17082 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
17083 wxPyEndAllowThreads(__tstate
);
17084 if (PyErr_Occurred()) SWIG_fail
;
17086 resultobj
= SWIG_Py_Void();
17101 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17102 PyObject
*resultobj
= 0;
17103 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17104 unsigned int arg2
;
17108 unsigned int val2
;
17110 PyObject
* obj0
= 0 ;
17111 PyObject
* obj1
= 0 ;
17112 char * kwnames
[] = {
17113 (char *) "self",(char *) "n", NULL
17116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17118 if (!SWIG_IsOK(res1
)) {
17119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17121 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17122 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17123 if (!SWIG_IsOK(ecode2
)) {
17124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17126 arg2
= static_cast< unsigned int >(val2
);
17128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17129 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17130 wxPyEndAllowThreads(__tstate
);
17131 if (PyErr_Occurred()) SWIG_fail
;
17135 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17137 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17146 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17147 PyObject
*resultobj
= 0;
17148 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17149 SwigValueWrapper
<wxVisualAttributes
> result
;
17152 PyObject
* obj0
= 0 ;
17153 char * kwnames
[] = {
17154 (char *) "variant", NULL
17157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17159 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17160 if (!SWIG_IsOK(ecode1
)) {
17161 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17163 arg1
= static_cast< wxWindowVariant
>(val1
);
17166 if (!wxPyCheckForApp()) SWIG_fail
;
17167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17168 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17169 wxPyEndAllowThreads(__tstate
);
17170 if (PyErr_Occurred()) SWIG_fail
;
17172 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17179 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17182 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17183 return SWIG_Py_Void();
17186 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17187 return SWIG_Python_InitShadowInstance(args
);
17190 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17191 PyObject
*resultobj
= 0;
17192 wxWindow
*arg1
= (wxWindow
*) 0 ;
17193 int arg2
= (int) -1 ;
17194 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17195 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17196 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17197 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17198 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17199 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17200 long arg6
= (long) 0 ;
17201 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17202 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17203 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17204 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17205 wxRadioButton
*result
= 0 ;
17210 bool temp3
= false ;
17217 bool temp8
= false ;
17218 PyObject
* obj0
= 0 ;
17219 PyObject
* obj1
= 0 ;
17220 PyObject
* obj2
= 0 ;
17221 PyObject
* obj3
= 0 ;
17222 PyObject
* obj4
= 0 ;
17223 PyObject
* obj5
= 0 ;
17224 PyObject
* obj6
= 0 ;
17225 PyObject
* obj7
= 0 ;
17226 char * kwnames
[] = {
17227 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17232 if (!SWIG_IsOK(res1
)) {
17233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17235 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17237 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17238 if (!SWIG_IsOK(ecode2
)) {
17239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17241 arg2
= static_cast< int >(val2
);
17245 arg3
= wxString_in_helper(obj2
);
17246 if (arg3
== NULL
) SWIG_fail
;
17253 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17259 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17263 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17264 if (!SWIG_IsOK(ecode6
)) {
17265 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17267 arg6
= static_cast< long >(val6
);
17270 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17271 if (!SWIG_IsOK(res7
)) {
17272 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17275 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17277 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17281 arg8
= wxString_in_helper(obj7
);
17282 if (arg8
== NULL
) SWIG_fail
;
17287 if (!wxPyCheckForApp()) SWIG_fail
;
17288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17289 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17290 wxPyEndAllowThreads(__tstate
);
17291 if (PyErr_Occurred()) SWIG_fail
;
17293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17316 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17317 PyObject
*resultobj
= 0;
17318 wxRadioButton
*result
= 0 ;
17320 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17322 if (!wxPyCheckForApp()) SWIG_fail
;
17323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17324 result
= (wxRadioButton
*)new wxRadioButton();
17325 wxPyEndAllowThreads(__tstate
);
17326 if (PyErr_Occurred()) SWIG_fail
;
17328 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17335 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17336 PyObject
*resultobj
= 0;
17337 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17338 wxWindow
*arg2
= (wxWindow
*) 0 ;
17339 int arg3
= (int) -1 ;
17340 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17341 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17342 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17343 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17344 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17345 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17346 long arg7
= (long) 0 ;
17347 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17348 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17349 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17350 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17358 bool temp4
= false ;
17365 bool temp9
= false ;
17366 PyObject
* obj0
= 0 ;
17367 PyObject
* obj1
= 0 ;
17368 PyObject
* obj2
= 0 ;
17369 PyObject
* obj3
= 0 ;
17370 PyObject
* obj4
= 0 ;
17371 PyObject
* obj5
= 0 ;
17372 PyObject
* obj6
= 0 ;
17373 PyObject
* obj7
= 0 ;
17374 PyObject
* obj8
= 0 ;
17375 char * kwnames
[] = {
17376 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17381 if (!SWIG_IsOK(res1
)) {
17382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17384 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17385 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17386 if (!SWIG_IsOK(res2
)) {
17387 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17389 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17391 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17392 if (!SWIG_IsOK(ecode3
)) {
17393 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17395 arg3
= static_cast< int >(val3
);
17399 arg4
= wxString_in_helper(obj3
);
17400 if (arg4
== NULL
) SWIG_fail
;
17407 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17413 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17417 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17418 if (!SWIG_IsOK(ecode7
)) {
17419 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17421 arg7
= static_cast< long >(val7
);
17424 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17425 if (!SWIG_IsOK(res8
)) {
17426 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17429 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17431 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17435 arg9
= wxString_in_helper(obj8
);
17436 if (arg9
== NULL
) SWIG_fail
;
17441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17442 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17443 wxPyEndAllowThreads(__tstate
);
17444 if (PyErr_Occurred()) SWIG_fail
;
17447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17471 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17472 PyObject
*resultobj
= 0;
17473 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17477 PyObject
*swig_obj
[1] ;
17479 if (!args
) SWIG_fail
;
17480 swig_obj
[0] = args
;
17481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17482 if (!SWIG_IsOK(res1
)) {
17483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17485 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17488 result
= (bool)(arg1
)->GetValue();
17489 wxPyEndAllowThreads(__tstate
);
17490 if (PyErr_Occurred()) SWIG_fail
;
17493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17501 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17502 PyObject
*resultobj
= 0;
17503 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17509 PyObject
* obj0
= 0 ;
17510 PyObject
* obj1
= 0 ;
17511 char * kwnames
[] = {
17512 (char *) "self",(char *) "value", NULL
17515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17517 if (!SWIG_IsOK(res1
)) {
17518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17520 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17521 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17522 if (!SWIG_IsOK(ecode2
)) {
17523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17525 arg2
= static_cast< bool >(val2
);
17527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17528 (arg1
)->SetValue(arg2
);
17529 wxPyEndAllowThreads(__tstate
);
17530 if (PyErr_Occurred()) SWIG_fail
;
17532 resultobj
= SWIG_Py_Void();
17539 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17540 PyObject
*resultobj
= 0;
17541 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17542 SwigValueWrapper
<wxVisualAttributes
> result
;
17545 PyObject
* obj0
= 0 ;
17546 char * kwnames
[] = {
17547 (char *) "variant", NULL
17550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17552 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17553 if (!SWIG_IsOK(ecode1
)) {
17554 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17556 arg1
= static_cast< wxWindowVariant
>(val1
);
17559 if (!wxPyCheckForApp()) SWIG_fail
;
17560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17561 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17562 wxPyEndAllowThreads(__tstate
);
17563 if (PyErr_Occurred()) SWIG_fail
;
17565 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17572 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17574 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17575 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17576 return SWIG_Py_Void();
17579 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17580 return SWIG_Python_InitShadowInstance(args
);
17583 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17584 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17589 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17590 PyObject
*pyobj
= 0;
17594 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17596 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17603 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17604 PyObject
*resultobj
= 0;
17605 wxWindow
*arg1
= (wxWindow
*) 0 ;
17606 int arg2
= (int) -1 ;
17607 int arg3
= (int) 0 ;
17608 int arg4
= (int) 0 ;
17609 int arg5
= (int) 100 ;
17610 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17611 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17612 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17613 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17614 long arg8
= (long) wxSL_HORIZONTAL
;
17615 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17616 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17617 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17618 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17619 wxSlider
*result
= 0 ;
17636 bool temp10
= false ;
17637 PyObject
* obj0
= 0 ;
17638 PyObject
* obj1
= 0 ;
17639 PyObject
* obj2
= 0 ;
17640 PyObject
* obj3
= 0 ;
17641 PyObject
* obj4
= 0 ;
17642 PyObject
* obj5
= 0 ;
17643 PyObject
* obj6
= 0 ;
17644 PyObject
* obj7
= 0 ;
17645 PyObject
* obj8
= 0 ;
17646 PyObject
* obj9
= 0 ;
17647 char * kwnames
[] = {
17648 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17653 if (!SWIG_IsOK(res1
)) {
17654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17656 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17658 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17659 if (!SWIG_IsOK(ecode2
)) {
17660 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17662 arg2
= static_cast< int >(val2
);
17665 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17666 if (!SWIG_IsOK(ecode3
)) {
17667 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17669 arg3
= static_cast< int >(val3
);
17672 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17673 if (!SWIG_IsOK(ecode4
)) {
17674 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17676 arg4
= static_cast< int >(val4
);
17679 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17680 if (!SWIG_IsOK(ecode5
)) {
17681 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17683 arg5
= static_cast< int >(val5
);
17688 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17694 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17698 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17699 if (!SWIG_IsOK(ecode8
)) {
17700 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17702 arg8
= static_cast< long >(val8
);
17705 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17706 if (!SWIG_IsOK(res9
)) {
17707 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17710 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17712 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17716 arg10
= wxString_in_helper(obj9
);
17717 if (arg10
== NULL
) SWIG_fail
;
17722 if (!wxPyCheckForApp()) SWIG_fail
;
17723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17724 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17725 wxPyEndAllowThreads(__tstate
);
17726 if (PyErr_Occurred()) SWIG_fail
;
17728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17743 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17744 PyObject
*resultobj
= 0;
17745 wxSlider
*result
= 0 ;
17747 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17749 if (!wxPyCheckForApp()) SWIG_fail
;
17750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17751 result
= (wxSlider
*)new wxSlider();
17752 wxPyEndAllowThreads(__tstate
);
17753 if (PyErr_Occurred()) SWIG_fail
;
17755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17762 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17763 PyObject
*resultobj
= 0;
17764 wxSlider
*arg1
= (wxSlider
*) 0 ;
17765 wxWindow
*arg2
= (wxWindow
*) 0 ;
17766 int arg3
= (int) -1 ;
17767 int arg4
= (int) 0 ;
17768 int arg5
= (int) 0 ;
17769 int arg6
= (int) 100 ;
17770 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17771 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17772 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17773 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17774 long arg9
= (long) wxSL_HORIZONTAL
;
17775 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17776 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17777 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17778 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17798 bool temp11
= false ;
17799 PyObject
* obj0
= 0 ;
17800 PyObject
* obj1
= 0 ;
17801 PyObject
* obj2
= 0 ;
17802 PyObject
* obj3
= 0 ;
17803 PyObject
* obj4
= 0 ;
17804 PyObject
* obj5
= 0 ;
17805 PyObject
* obj6
= 0 ;
17806 PyObject
* obj7
= 0 ;
17807 PyObject
* obj8
= 0 ;
17808 PyObject
* obj9
= 0 ;
17809 PyObject
* obj10
= 0 ;
17810 char * kwnames
[] = {
17811 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17816 if (!SWIG_IsOK(res1
)) {
17817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17819 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17820 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17821 if (!SWIG_IsOK(res2
)) {
17822 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17824 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17826 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17827 if (!SWIG_IsOK(ecode3
)) {
17828 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17830 arg3
= static_cast< int >(val3
);
17833 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17834 if (!SWIG_IsOK(ecode4
)) {
17835 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17837 arg4
= static_cast< int >(val4
);
17840 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17841 if (!SWIG_IsOK(ecode5
)) {
17842 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17844 arg5
= static_cast< int >(val5
);
17847 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17848 if (!SWIG_IsOK(ecode6
)) {
17849 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17851 arg6
= static_cast< int >(val6
);
17856 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17862 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17866 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17867 if (!SWIG_IsOK(ecode9
)) {
17868 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17870 arg9
= static_cast< long >(val9
);
17873 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17874 if (!SWIG_IsOK(res10
)) {
17875 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17878 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17880 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17884 arg11
= wxString_in_helper(obj10
);
17885 if (arg11
== NULL
) SWIG_fail
;
17890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17891 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17892 wxPyEndAllowThreads(__tstate
);
17893 if (PyErr_Occurred()) SWIG_fail
;
17896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17912 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17913 PyObject
*resultobj
= 0;
17914 wxSlider
*arg1
= (wxSlider
*) 0 ;
17918 PyObject
*swig_obj
[1] ;
17920 if (!args
) SWIG_fail
;
17921 swig_obj
[0] = args
;
17922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17923 if (!SWIG_IsOK(res1
)) {
17924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17926 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17929 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17930 wxPyEndAllowThreads(__tstate
);
17931 if (PyErr_Occurred()) SWIG_fail
;
17933 resultobj
= SWIG_From_int(static_cast< int >(result
));
17940 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17941 PyObject
*resultobj
= 0;
17942 wxSlider
*arg1
= (wxSlider
*) 0 ;
17948 PyObject
* obj0
= 0 ;
17949 PyObject
* obj1
= 0 ;
17950 char * kwnames
[] = {
17951 (char *) "self",(char *) "value", NULL
17954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17956 if (!SWIG_IsOK(res1
)) {
17957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17959 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17960 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17961 if (!SWIG_IsOK(ecode2
)) {
17962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17964 arg2
= static_cast< int >(val2
);
17966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17967 (arg1
)->SetValue(arg2
);
17968 wxPyEndAllowThreads(__tstate
);
17969 if (PyErr_Occurred()) SWIG_fail
;
17971 resultobj
= SWIG_Py_Void();
17978 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17979 PyObject
*resultobj
= 0;
17980 wxSlider
*arg1
= (wxSlider
*) 0 ;
17989 PyObject
* obj0
= 0 ;
17990 PyObject
* obj1
= 0 ;
17991 PyObject
* obj2
= 0 ;
17992 char * kwnames
[] = {
17993 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
17996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17998 if (!SWIG_IsOK(res1
)) {
17999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18001 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18002 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18003 if (!SWIG_IsOK(ecode2
)) {
18004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18006 arg2
= static_cast< int >(val2
);
18007 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18008 if (!SWIG_IsOK(ecode3
)) {
18009 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18011 arg3
= static_cast< int >(val3
);
18013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18014 (arg1
)->SetRange(arg2
,arg3
);
18015 wxPyEndAllowThreads(__tstate
);
18016 if (PyErr_Occurred()) SWIG_fail
;
18018 resultobj
= SWIG_Py_Void();
18025 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18026 PyObject
*resultobj
= 0;
18027 wxSlider
*arg1
= (wxSlider
*) 0 ;
18031 PyObject
*swig_obj
[1] ;
18033 if (!args
) SWIG_fail
;
18034 swig_obj
[0] = args
;
18035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18036 if (!SWIG_IsOK(res1
)) {
18037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18039 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18042 result
= (int)((wxSlider
const *)arg1
)->GetMin();
18043 wxPyEndAllowThreads(__tstate
);
18044 if (PyErr_Occurred()) SWIG_fail
;
18046 resultobj
= SWIG_From_int(static_cast< int >(result
));
18053 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18054 PyObject
*resultobj
= 0;
18055 wxSlider
*arg1
= (wxSlider
*) 0 ;
18059 PyObject
*swig_obj
[1] ;
18061 if (!args
) SWIG_fail
;
18062 swig_obj
[0] = args
;
18063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18064 if (!SWIG_IsOK(res1
)) {
18065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18067 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18070 result
= (int)((wxSlider
const *)arg1
)->GetMax();
18071 wxPyEndAllowThreads(__tstate
);
18072 if (PyErr_Occurred()) SWIG_fail
;
18074 resultobj
= SWIG_From_int(static_cast< int >(result
));
18081 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18082 PyObject
*resultobj
= 0;
18083 wxSlider
*arg1
= (wxSlider
*) 0 ;
18089 PyObject
* obj0
= 0 ;
18090 PyObject
* obj1
= 0 ;
18091 char * kwnames
[] = {
18092 (char *) "self",(char *) "minValue", NULL
18095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18097 if (!SWIG_IsOK(res1
)) {
18098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18100 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18101 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18102 if (!SWIG_IsOK(ecode2
)) {
18103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18105 arg2
= static_cast< int >(val2
);
18107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18108 (arg1
)->SetMin(arg2
);
18109 wxPyEndAllowThreads(__tstate
);
18110 if (PyErr_Occurred()) SWIG_fail
;
18112 resultobj
= SWIG_Py_Void();
18119 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18120 PyObject
*resultobj
= 0;
18121 wxSlider
*arg1
= (wxSlider
*) 0 ;
18127 PyObject
* obj0
= 0 ;
18128 PyObject
* obj1
= 0 ;
18129 char * kwnames
[] = {
18130 (char *) "self",(char *) "maxValue", NULL
18133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18135 if (!SWIG_IsOK(res1
)) {
18136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18138 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18140 if (!SWIG_IsOK(ecode2
)) {
18141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18143 arg2
= static_cast< int >(val2
);
18145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18146 (arg1
)->SetMax(arg2
);
18147 wxPyEndAllowThreads(__tstate
);
18148 if (PyErr_Occurred()) SWIG_fail
;
18150 resultobj
= SWIG_Py_Void();
18157 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18158 PyObject
*resultobj
= 0;
18159 wxSlider
*arg1
= (wxSlider
*) 0 ;
18165 PyObject
* obj0
= 0 ;
18166 PyObject
* obj1
= 0 ;
18167 char * kwnames
[] = {
18168 (char *) "self",(char *) "lineSize", NULL
18171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18173 if (!SWIG_IsOK(res1
)) {
18174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18176 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18177 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18178 if (!SWIG_IsOK(ecode2
)) {
18179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18181 arg2
= static_cast< int >(val2
);
18183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18184 (arg1
)->SetLineSize(arg2
);
18185 wxPyEndAllowThreads(__tstate
);
18186 if (PyErr_Occurred()) SWIG_fail
;
18188 resultobj
= SWIG_Py_Void();
18195 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18196 PyObject
*resultobj
= 0;
18197 wxSlider
*arg1
= (wxSlider
*) 0 ;
18203 PyObject
* obj0
= 0 ;
18204 PyObject
* obj1
= 0 ;
18205 char * kwnames
[] = {
18206 (char *) "self",(char *) "pageSize", NULL
18209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18211 if (!SWIG_IsOK(res1
)) {
18212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18214 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18216 if (!SWIG_IsOK(ecode2
)) {
18217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18219 arg2
= static_cast< int >(val2
);
18221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18222 (arg1
)->SetPageSize(arg2
);
18223 wxPyEndAllowThreads(__tstate
);
18224 if (PyErr_Occurred()) SWIG_fail
;
18226 resultobj
= SWIG_Py_Void();
18233 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18234 PyObject
*resultobj
= 0;
18235 wxSlider
*arg1
= (wxSlider
*) 0 ;
18239 PyObject
*swig_obj
[1] ;
18241 if (!args
) SWIG_fail
;
18242 swig_obj
[0] = args
;
18243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18244 if (!SWIG_IsOK(res1
)) {
18245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18247 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18250 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18251 wxPyEndAllowThreads(__tstate
);
18252 if (PyErr_Occurred()) SWIG_fail
;
18254 resultobj
= SWIG_From_int(static_cast< int >(result
));
18261 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18262 PyObject
*resultobj
= 0;
18263 wxSlider
*arg1
= (wxSlider
*) 0 ;
18267 PyObject
*swig_obj
[1] ;
18269 if (!args
) SWIG_fail
;
18270 swig_obj
[0] = args
;
18271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18272 if (!SWIG_IsOK(res1
)) {
18273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18275 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18278 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18279 wxPyEndAllowThreads(__tstate
);
18280 if (PyErr_Occurred()) SWIG_fail
;
18282 resultobj
= SWIG_From_int(static_cast< int >(result
));
18289 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18290 PyObject
*resultobj
= 0;
18291 wxSlider
*arg1
= (wxSlider
*) 0 ;
18297 PyObject
* obj0
= 0 ;
18298 PyObject
* obj1
= 0 ;
18299 char * kwnames
[] = {
18300 (char *) "self",(char *) "lenPixels", NULL
18303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18305 if (!SWIG_IsOK(res1
)) {
18306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18308 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18309 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18310 if (!SWIG_IsOK(ecode2
)) {
18311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18313 arg2
= static_cast< int >(val2
);
18315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18316 (arg1
)->SetThumbLength(arg2
);
18317 wxPyEndAllowThreads(__tstate
);
18318 if (PyErr_Occurred()) SWIG_fail
;
18320 resultobj
= SWIG_Py_Void();
18327 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18328 PyObject
*resultobj
= 0;
18329 wxSlider
*arg1
= (wxSlider
*) 0 ;
18333 PyObject
*swig_obj
[1] ;
18335 if (!args
) SWIG_fail
;
18336 swig_obj
[0] = args
;
18337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18338 if (!SWIG_IsOK(res1
)) {
18339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18341 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18344 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18345 wxPyEndAllowThreads(__tstate
);
18346 if (PyErr_Occurred()) SWIG_fail
;
18348 resultobj
= SWIG_From_int(static_cast< int >(result
));
18355 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18356 PyObject
*resultobj
= 0;
18357 wxSlider
*arg1
= (wxSlider
*) 0 ;
18359 int arg3
= (int) 1 ;
18366 PyObject
* obj0
= 0 ;
18367 PyObject
* obj1
= 0 ;
18368 PyObject
* obj2
= 0 ;
18369 char * kwnames
[] = {
18370 (char *) "self",(char *) "n",(char *) "pos", NULL
18373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18375 if (!SWIG_IsOK(res1
)) {
18376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18378 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18379 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18380 if (!SWIG_IsOK(ecode2
)) {
18381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18383 arg2
= static_cast< int >(val2
);
18385 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18386 if (!SWIG_IsOK(ecode3
)) {
18387 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18389 arg3
= static_cast< int >(val3
);
18392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18393 (arg1
)->SetTickFreq(arg2
,arg3
);
18394 wxPyEndAllowThreads(__tstate
);
18395 if (PyErr_Occurred()) SWIG_fail
;
18397 resultobj
= SWIG_Py_Void();
18404 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18405 PyObject
*resultobj
= 0;
18406 wxSlider
*arg1
= (wxSlider
*) 0 ;
18410 PyObject
*swig_obj
[1] ;
18412 if (!args
) SWIG_fail
;
18413 swig_obj
[0] = args
;
18414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18415 if (!SWIG_IsOK(res1
)) {
18416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18418 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18421 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18422 wxPyEndAllowThreads(__tstate
);
18423 if (PyErr_Occurred()) SWIG_fail
;
18425 resultobj
= SWIG_From_int(static_cast< int >(result
));
18432 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18433 PyObject
*resultobj
= 0;
18434 wxSlider
*arg1
= (wxSlider
*) 0 ;
18437 PyObject
*swig_obj
[1] ;
18439 if (!args
) SWIG_fail
;
18440 swig_obj
[0] = args
;
18441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18442 if (!SWIG_IsOK(res1
)) {
18443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18445 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18448 (arg1
)->ClearTicks();
18449 wxPyEndAllowThreads(__tstate
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18452 resultobj
= SWIG_Py_Void();
18459 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18460 PyObject
*resultobj
= 0;
18461 wxSlider
*arg1
= (wxSlider
*) 0 ;
18467 PyObject
* obj0
= 0 ;
18468 PyObject
* obj1
= 0 ;
18469 char * kwnames
[] = {
18470 (char *) "self",(char *) "tickPos", NULL
18473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18475 if (!SWIG_IsOK(res1
)) {
18476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18478 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18479 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18480 if (!SWIG_IsOK(ecode2
)) {
18481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18483 arg2
= static_cast< int >(val2
);
18485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18486 (arg1
)->SetTick(arg2
);
18487 wxPyEndAllowThreads(__tstate
);
18488 if (PyErr_Occurred()) SWIG_fail
;
18490 resultobj
= SWIG_Py_Void();
18497 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18498 PyObject
*resultobj
= 0;
18499 wxSlider
*arg1
= (wxSlider
*) 0 ;
18502 PyObject
*swig_obj
[1] ;
18504 if (!args
) SWIG_fail
;
18505 swig_obj
[0] = args
;
18506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18507 if (!SWIG_IsOK(res1
)) {
18508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18510 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18513 (arg1
)->ClearSel();
18514 wxPyEndAllowThreads(__tstate
);
18515 if (PyErr_Occurred()) SWIG_fail
;
18517 resultobj
= SWIG_Py_Void();
18524 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18525 PyObject
*resultobj
= 0;
18526 wxSlider
*arg1
= (wxSlider
*) 0 ;
18530 PyObject
*swig_obj
[1] ;
18532 if (!args
) SWIG_fail
;
18533 swig_obj
[0] = args
;
18534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18535 if (!SWIG_IsOK(res1
)) {
18536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18538 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18541 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18542 wxPyEndAllowThreads(__tstate
);
18543 if (PyErr_Occurred()) SWIG_fail
;
18545 resultobj
= SWIG_From_int(static_cast< int >(result
));
18552 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18553 PyObject
*resultobj
= 0;
18554 wxSlider
*arg1
= (wxSlider
*) 0 ;
18558 PyObject
*swig_obj
[1] ;
18560 if (!args
) SWIG_fail
;
18561 swig_obj
[0] = args
;
18562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18563 if (!SWIG_IsOK(res1
)) {
18564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18566 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18569 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18570 wxPyEndAllowThreads(__tstate
);
18571 if (PyErr_Occurred()) SWIG_fail
;
18573 resultobj
= SWIG_From_int(static_cast< int >(result
));
18580 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18581 PyObject
*resultobj
= 0;
18582 wxSlider
*arg1
= (wxSlider
*) 0 ;
18591 PyObject
* obj0
= 0 ;
18592 PyObject
* obj1
= 0 ;
18593 PyObject
* obj2
= 0 ;
18594 char * kwnames
[] = {
18595 (char *) "self",(char *) "min",(char *) "max", NULL
18598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18600 if (!SWIG_IsOK(res1
)) {
18601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18603 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18604 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18605 if (!SWIG_IsOK(ecode2
)) {
18606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18608 arg2
= static_cast< int >(val2
);
18609 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18610 if (!SWIG_IsOK(ecode3
)) {
18611 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18613 arg3
= static_cast< int >(val3
);
18615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18616 (arg1
)->SetSelection(arg2
,arg3
);
18617 wxPyEndAllowThreads(__tstate
);
18618 if (PyErr_Occurred()) SWIG_fail
;
18620 resultobj
= SWIG_Py_Void();
18627 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18628 PyObject
*resultobj
= 0;
18629 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18630 SwigValueWrapper
<wxVisualAttributes
> result
;
18633 PyObject
* obj0
= 0 ;
18634 char * kwnames
[] = {
18635 (char *) "variant", NULL
18638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18640 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18641 if (!SWIG_IsOK(ecode1
)) {
18642 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18644 arg1
= static_cast< wxWindowVariant
>(val1
);
18647 if (!wxPyCheckForApp()) SWIG_fail
;
18648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18649 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18650 wxPyEndAllowThreads(__tstate
);
18651 if (PyErr_Occurred()) SWIG_fail
;
18653 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18660 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18662 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18663 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18664 return SWIG_Py_Void();
18667 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18668 return SWIG_Python_InitShadowInstance(args
);
18671 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18672 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18677 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18678 PyObject
*pyobj
= 0;
18682 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18684 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18691 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18692 PyObject
*resultobj
= 0;
18693 wxWindow
*arg1
= (wxWindow
*) 0 ;
18694 int arg2
= (int) -1 ;
18695 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18696 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18697 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18698 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18699 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18700 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18701 long arg6
= (long) 0 ;
18702 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18703 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18704 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18705 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18706 wxToggleButton
*result
= 0 ;
18711 bool temp3
= false ;
18718 bool temp8
= false ;
18719 PyObject
* obj0
= 0 ;
18720 PyObject
* obj1
= 0 ;
18721 PyObject
* obj2
= 0 ;
18722 PyObject
* obj3
= 0 ;
18723 PyObject
* obj4
= 0 ;
18724 PyObject
* obj5
= 0 ;
18725 PyObject
* obj6
= 0 ;
18726 PyObject
* obj7
= 0 ;
18727 char * kwnames
[] = {
18728 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18733 if (!SWIG_IsOK(res1
)) {
18734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18736 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18739 if (!SWIG_IsOK(ecode2
)) {
18740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18742 arg2
= static_cast< int >(val2
);
18746 arg3
= wxString_in_helper(obj2
);
18747 if (arg3
== NULL
) SWIG_fail
;
18754 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18760 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18764 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18765 if (!SWIG_IsOK(ecode6
)) {
18766 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18768 arg6
= static_cast< long >(val6
);
18771 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18772 if (!SWIG_IsOK(res7
)) {
18773 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18776 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18778 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18782 arg8
= wxString_in_helper(obj7
);
18783 if (arg8
== NULL
) SWIG_fail
;
18788 if (!wxPyCheckForApp()) SWIG_fail
;
18789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18790 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18791 wxPyEndAllowThreads(__tstate
);
18792 if (PyErr_Occurred()) SWIG_fail
;
18794 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18817 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18818 PyObject
*resultobj
= 0;
18819 wxToggleButton
*result
= 0 ;
18821 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18823 if (!wxPyCheckForApp()) SWIG_fail
;
18824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18825 result
= (wxToggleButton
*)new wxToggleButton();
18826 wxPyEndAllowThreads(__tstate
);
18827 if (PyErr_Occurred()) SWIG_fail
;
18829 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18836 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18837 PyObject
*resultobj
= 0;
18838 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18839 wxWindow
*arg2
= (wxWindow
*) 0 ;
18840 int arg3
= (int) -1 ;
18841 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18842 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18843 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18844 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18845 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18846 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18847 long arg7
= (long) 0 ;
18848 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18849 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18850 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18851 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18859 bool temp4
= false ;
18866 bool temp9
= false ;
18867 PyObject
* obj0
= 0 ;
18868 PyObject
* obj1
= 0 ;
18869 PyObject
* obj2
= 0 ;
18870 PyObject
* obj3
= 0 ;
18871 PyObject
* obj4
= 0 ;
18872 PyObject
* obj5
= 0 ;
18873 PyObject
* obj6
= 0 ;
18874 PyObject
* obj7
= 0 ;
18875 PyObject
* obj8
= 0 ;
18876 char * kwnames
[] = {
18877 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18882 if (!SWIG_IsOK(res1
)) {
18883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18885 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18886 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18887 if (!SWIG_IsOK(res2
)) {
18888 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18890 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18892 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18893 if (!SWIG_IsOK(ecode3
)) {
18894 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18896 arg3
= static_cast< int >(val3
);
18900 arg4
= wxString_in_helper(obj3
);
18901 if (arg4
== NULL
) SWIG_fail
;
18908 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18914 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18918 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18919 if (!SWIG_IsOK(ecode7
)) {
18920 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18922 arg7
= static_cast< long >(val7
);
18925 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18926 if (!SWIG_IsOK(res8
)) {
18927 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18930 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18932 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18936 arg9
= wxString_in_helper(obj8
);
18937 if (arg9
== NULL
) SWIG_fail
;
18942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18943 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18944 wxPyEndAllowThreads(__tstate
);
18945 if (PyErr_Occurred()) SWIG_fail
;
18948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18972 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18973 PyObject
*resultobj
= 0;
18974 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18980 PyObject
* obj0
= 0 ;
18981 PyObject
* obj1
= 0 ;
18982 char * kwnames
[] = {
18983 (char *) "self",(char *) "value", NULL
18986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18988 if (!SWIG_IsOK(res1
)) {
18989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18991 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18992 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18993 if (!SWIG_IsOK(ecode2
)) {
18994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
18996 arg2
= static_cast< bool >(val2
);
18998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18999 (arg1
)->SetValue(arg2
);
19000 wxPyEndAllowThreads(__tstate
);
19001 if (PyErr_Occurred()) SWIG_fail
;
19003 resultobj
= SWIG_Py_Void();
19010 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19011 PyObject
*resultobj
= 0;
19012 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19016 PyObject
*swig_obj
[1] ;
19018 if (!args
) SWIG_fail
;
19019 swig_obj
[0] = args
;
19020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19021 if (!SWIG_IsOK(res1
)) {
19022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19024 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19027 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
19028 wxPyEndAllowThreads(__tstate
);
19029 if (PyErr_Occurred()) SWIG_fail
;
19032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19040 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19041 PyObject
*resultobj
= 0;
19042 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19043 SwigValueWrapper
<wxVisualAttributes
> result
;
19046 PyObject
* obj0
= 0 ;
19047 char * kwnames
[] = {
19048 (char *) "variant", NULL
19051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19053 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19054 if (!SWIG_IsOK(ecode1
)) {
19055 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19057 arg1
= static_cast< wxWindowVariant
>(val1
);
19060 if (!wxPyCheckForApp()) SWIG_fail
;
19061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19062 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
19063 wxPyEndAllowThreads(__tstate
);
19064 if (PyErr_Occurred()) SWIG_fail
;
19066 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19073 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19075 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19076 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
19077 return SWIG_Py_Void();
19080 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19081 return SWIG_Python_InitShadowInstance(args
);
19084 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
19085 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
19090 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
19091 PyObject
*pyobj
= 0;
19095 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19097 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19104 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19105 PyObject
*resultobj
= 0;
19106 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19110 PyObject
*swig_obj
[1] ;
19112 if (!args
) SWIG_fail
;
19113 swig_obj
[0] = args
;
19114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19115 if (!SWIG_IsOK(res1
)) {
19116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19118 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19121 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19122 wxPyEndAllowThreads(__tstate
);
19123 if (PyErr_Occurred()) SWIG_fail
;
19125 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19132 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19133 PyObject
*resultobj
= 0;
19134 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19136 wxWindow
*result
= 0 ;
19141 PyObject
* obj0
= 0 ;
19142 PyObject
* obj1
= 0 ;
19143 char * kwnames
[] = {
19144 (char *) "self",(char *) "n", NULL
19147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19149 if (!SWIG_IsOK(res1
)) {
19150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19152 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19153 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19154 if (!SWIG_IsOK(ecode2
)) {
19155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19157 arg2
= static_cast< size_t >(val2
);
19159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19160 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19161 wxPyEndAllowThreads(__tstate
);
19162 if (PyErr_Occurred()) SWIG_fail
;
19165 resultobj
= wxPyMake_wxObject(result
, 0);
19173 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19174 PyObject
*resultobj
= 0;
19175 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19176 wxWindow
*result
= 0 ;
19179 PyObject
*swig_obj
[1] ;
19181 if (!args
) SWIG_fail
;
19182 swig_obj
[0] = args
;
19183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19184 if (!SWIG_IsOK(res1
)) {
19185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19187 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19190 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19191 wxPyEndAllowThreads(__tstate
);
19192 if (PyErr_Occurred()) SWIG_fail
;
19195 resultobj
= wxPyMake_wxObject(result
, 0);
19203 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19204 PyObject
*resultobj
= 0;
19205 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19209 PyObject
*swig_obj
[1] ;
19211 if (!args
) SWIG_fail
;
19212 swig_obj
[0] = args
;
19213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19214 if (!SWIG_IsOK(res1
)) {
19215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19217 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19220 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19221 wxPyEndAllowThreads(__tstate
);
19222 if (PyErr_Occurred()) SWIG_fail
;
19224 resultobj
= SWIG_From_int(static_cast< int >(result
));
19231 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19232 PyObject
*resultobj
= 0;
19233 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19235 wxString
*arg3
= 0 ;
19241 bool temp3
= false ;
19242 PyObject
* obj0
= 0 ;
19243 PyObject
* obj1
= 0 ;
19244 PyObject
* obj2
= 0 ;
19245 char * kwnames
[] = {
19246 (char *) "self",(char *) "n",(char *) "strText", NULL
19249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19251 if (!SWIG_IsOK(res1
)) {
19252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19254 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19255 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19256 if (!SWIG_IsOK(ecode2
)) {
19257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19259 arg2
= static_cast< size_t >(val2
);
19261 arg3
= wxString_in_helper(obj2
);
19262 if (arg3
== NULL
) SWIG_fail
;
19266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19267 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19268 wxPyEndAllowThreads(__tstate
);
19269 if (PyErr_Occurred()) SWIG_fail
;
19272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19288 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19289 PyObject
*resultobj
= 0;
19290 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19297 PyObject
* obj0
= 0 ;
19298 PyObject
* obj1
= 0 ;
19299 char * kwnames
[] = {
19300 (char *) "self",(char *) "n", NULL
19303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19305 if (!SWIG_IsOK(res1
)) {
19306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19308 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19309 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19310 if (!SWIG_IsOK(ecode2
)) {
19311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19313 arg2
= static_cast< size_t >(val2
);
19315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19316 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19317 wxPyEndAllowThreads(__tstate
);
19318 if (PyErr_Occurred()) SWIG_fail
;
19322 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19324 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19333 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19334 PyObject
*resultobj
= 0;
19335 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19336 wxImageList
*arg2
= (wxImageList
*) 0 ;
19341 PyObject
* obj0
= 0 ;
19342 PyObject
* obj1
= 0 ;
19343 char * kwnames
[] = {
19344 (char *) "self",(char *) "imageList", NULL
19347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19349 if (!SWIG_IsOK(res1
)) {
19350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19352 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19353 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19354 if (!SWIG_IsOK(res2
)) {
19355 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19357 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19360 (arg1
)->SetImageList(arg2
);
19361 wxPyEndAllowThreads(__tstate
);
19362 if (PyErr_Occurred()) SWIG_fail
;
19364 resultobj
= SWIG_Py_Void();
19371 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19372 PyObject
*resultobj
= 0;
19373 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19374 wxImageList
*arg2
= (wxImageList
*) 0 ;
19378 PyObject
* obj0
= 0 ;
19379 PyObject
* obj1
= 0 ;
19380 char * kwnames
[] = {
19381 (char *) "self",(char *) "imageList", NULL
19384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19386 if (!SWIG_IsOK(res1
)) {
19387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19389 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19390 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19391 if (!SWIG_IsOK(res2
)) {
19392 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19396 (arg1
)->AssignImageList(arg2
);
19397 wxPyEndAllowThreads(__tstate
);
19398 if (PyErr_Occurred()) SWIG_fail
;
19400 resultobj
= SWIG_Py_Void();
19407 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19408 PyObject
*resultobj
= 0;
19409 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19410 wxImageList
*result
= 0 ;
19413 PyObject
*swig_obj
[1] ;
19415 if (!args
) SWIG_fail
;
19416 swig_obj
[0] = args
;
19417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19418 if (!SWIG_IsOK(res1
)) {
19419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19421 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19424 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19425 wxPyEndAllowThreads(__tstate
);
19426 if (PyErr_Occurred()) SWIG_fail
;
19429 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19437 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19438 PyObject
*resultobj
= 0;
19439 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19446 PyObject
* obj0
= 0 ;
19447 PyObject
* obj1
= 0 ;
19448 char * kwnames
[] = {
19449 (char *) "self",(char *) "n", NULL
19452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19454 if (!SWIG_IsOK(res1
)) {
19455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19457 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19458 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19459 if (!SWIG_IsOK(ecode2
)) {
19460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19462 arg2
= static_cast< size_t >(val2
);
19464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19465 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19466 wxPyEndAllowThreads(__tstate
);
19467 if (PyErr_Occurred()) SWIG_fail
;
19469 resultobj
= SWIG_From_int(static_cast< int >(result
));
19476 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19477 PyObject
*resultobj
= 0;
19478 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19488 PyObject
* obj0
= 0 ;
19489 PyObject
* obj1
= 0 ;
19490 PyObject
* obj2
= 0 ;
19491 char * kwnames
[] = {
19492 (char *) "self",(char *) "n",(char *) "imageId", NULL
19495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19497 if (!SWIG_IsOK(res1
)) {
19498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19500 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19501 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19502 if (!SWIG_IsOK(ecode2
)) {
19503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19505 arg2
= static_cast< size_t >(val2
);
19506 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19507 if (!SWIG_IsOK(ecode3
)) {
19508 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19510 arg3
= static_cast< int >(val3
);
19512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19513 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19514 wxPyEndAllowThreads(__tstate
);
19515 if (PyErr_Occurred()) SWIG_fail
;
19518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19526 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19527 PyObject
*resultobj
= 0;
19528 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19533 PyObject
* obj0
= 0 ;
19534 PyObject
* obj1
= 0 ;
19535 char * kwnames
[] = {
19536 (char *) "self",(char *) "size", NULL
19539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19541 if (!SWIG_IsOK(res1
)) {
19542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19544 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19547 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19551 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19552 wxPyEndAllowThreads(__tstate
);
19553 if (PyErr_Occurred()) SWIG_fail
;
19555 resultobj
= SWIG_Py_Void();
19562 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19563 PyObject
*resultobj
= 0;
19564 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19570 PyObject
* obj0
= 0 ;
19571 PyObject
* obj1
= 0 ;
19572 char * kwnames
[] = {
19573 (char *) "self",(char *) "sizePage", NULL
19576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19578 if (!SWIG_IsOK(res1
)) {
19579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19581 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19584 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19588 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19589 wxPyEndAllowThreads(__tstate
);
19590 if (PyErr_Occurred()) SWIG_fail
;
19592 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19599 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19600 PyObject
*resultobj
= 0;
19601 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19602 unsigned int result
;
19605 PyObject
*swig_obj
[1] ;
19607 if (!args
) SWIG_fail
;
19608 swig_obj
[0] = args
;
19609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19610 if (!SWIG_IsOK(res1
)) {
19611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19613 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19616 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19617 wxPyEndAllowThreads(__tstate
);
19618 if (PyErr_Occurred()) SWIG_fail
;
19620 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19627 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19628 PyObject
*resultobj
= 0;
19629 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19630 unsigned int arg2
;
19633 unsigned int val2
;
19635 PyObject
* obj0
= 0 ;
19636 PyObject
* obj1
= 0 ;
19637 char * kwnames
[] = {
19638 (char *) "self",(char *) "internalBorder", NULL
19641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19643 if (!SWIG_IsOK(res1
)) {
19644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19646 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19647 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19648 if (!SWIG_IsOK(ecode2
)) {
19649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19651 arg2
= static_cast< unsigned int >(val2
);
19653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19654 (arg1
)->SetInternalBorder(arg2
);
19655 wxPyEndAllowThreads(__tstate
);
19656 if (PyErr_Occurred()) SWIG_fail
;
19658 resultobj
= SWIG_Py_Void();
19665 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19666 PyObject
*resultobj
= 0;
19667 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19671 PyObject
*swig_obj
[1] ;
19673 if (!args
) SWIG_fail
;
19674 swig_obj
[0] = args
;
19675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19676 if (!SWIG_IsOK(res1
)) {
19677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19679 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19682 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19683 wxPyEndAllowThreads(__tstate
);
19684 if (PyErr_Occurred()) SWIG_fail
;
19687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19695 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19696 PyObject
*resultobj
= 0;
19697 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19703 PyObject
* obj0
= 0 ;
19704 PyObject
* obj1
= 0 ;
19705 char * kwnames
[] = {
19706 (char *) "self",(char *) "margin", NULL
19709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19711 if (!SWIG_IsOK(res1
)) {
19712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19714 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19715 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19716 if (!SWIG_IsOK(ecode2
)) {
19717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19719 arg2
= static_cast< int >(val2
);
19721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19722 (arg1
)->SetControlMargin(arg2
);
19723 wxPyEndAllowThreads(__tstate
);
19724 if (PyErr_Occurred()) SWIG_fail
;
19726 resultobj
= SWIG_Py_Void();
19733 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19734 PyObject
*resultobj
= 0;
19735 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19739 PyObject
*swig_obj
[1] ;
19741 if (!args
) SWIG_fail
;
19742 swig_obj
[0] = args
;
19743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19744 if (!SWIG_IsOK(res1
)) {
19745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19747 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19750 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19751 wxPyEndAllowThreads(__tstate
);
19752 if (PyErr_Occurred()) SWIG_fail
;
19754 resultobj
= SWIG_From_int(static_cast< int >(result
));
19761 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19762 PyObject
*resultobj
= 0;
19763 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19769 PyObject
* obj0
= 0 ;
19770 PyObject
* obj1
= 0 ;
19771 char * kwnames
[] = {
19772 (char *) "self",(char *) "fit", NULL
19775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19777 if (!SWIG_IsOK(res1
)) {
19778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19780 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19781 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19782 if (!SWIG_IsOK(ecode2
)) {
19783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19785 arg2
= static_cast< bool >(val2
);
19787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19788 (arg1
)->SetFitToCurrentPage(arg2
);
19789 wxPyEndAllowThreads(__tstate
);
19790 if (PyErr_Occurred()) SWIG_fail
;
19792 resultobj
= SWIG_Py_Void();
19799 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19800 PyObject
*resultobj
= 0;
19801 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19805 PyObject
*swig_obj
[1] ;
19807 if (!args
) SWIG_fail
;
19808 swig_obj
[0] = args
;
19809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19810 if (!SWIG_IsOK(res1
)) {
19811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19813 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19816 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19817 wxPyEndAllowThreads(__tstate
);
19818 if (PyErr_Occurred()) SWIG_fail
;
19821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19829 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19830 PyObject
*resultobj
= 0;
19831 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19832 wxSizer
*result
= 0 ;
19835 PyObject
*swig_obj
[1] ;
19837 if (!args
) SWIG_fail
;
19838 swig_obj
[0] = args
;
19839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19840 if (!SWIG_IsOK(res1
)) {
19841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19843 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19846 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19847 wxPyEndAllowThreads(__tstate
);
19848 if (PyErr_Occurred()) SWIG_fail
;
19851 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19859 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19860 PyObject
*resultobj
= 0;
19861 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19868 PyObject
* obj0
= 0 ;
19869 PyObject
* obj1
= 0 ;
19870 char * kwnames
[] = {
19871 (char *) "self",(char *) "n", NULL
19874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19876 if (!SWIG_IsOK(res1
)) {
19877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19879 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19880 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19881 if (!SWIG_IsOK(ecode2
)) {
19882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19884 arg2
= static_cast< size_t >(val2
);
19886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19887 result
= (bool)(arg1
)->DeletePage(arg2
);
19888 wxPyEndAllowThreads(__tstate
);
19889 if (PyErr_Occurred()) SWIG_fail
;
19892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19900 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19901 PyObject
*resultobj
= 0;
19902 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19909 PyObject
* obj0
= 0 ;
19910 PyObject
* obj1
= 0 ;
19911 char * kwnames
[] = {
19912 (char *) "self",(char *) "n", NULL
19915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19917 if (!SWIG_IsOK(res1
)) {
19918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19920 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19921 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19922 if (!SWIG_IsOK(ecode2
)) {
19923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19925 arg2
= static_cast< size_t >(val2
);
19927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19928 result
= (bool)(arg1
)->RemovePage(arg2
);
19929 wxPyEndAllowThreads(__tstate
);
19930 if (PyErr_Occurred()) SWIG_fail
;
19933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19941 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19942 PyObject
*resultobj
= 0;
19943 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19947 PyObject
*swig_obj
[1] ;
19949 if (!args
) SWIG_fail
;
19950 swig_obj
[0] = args
;
19951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19952 if (!SWIG_IsOK(res1
)) {
19953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19955 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19958 result
= (bool)(arg1
)->DeleteAllPages();
19959 wxPyEndAllowThreads(__tstate
);
19960 if (PyErr_Occurred()) SWIG_fail
;
19963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19971 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19972 PyObject
*resultobj
= 0;
19973 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19974 wxWindow
*arg2
= (wxWindow
*) 0 ;
19975 wxString
*arg3
= 0 ;
19976 bool arg4
= (bool) false ;
19977 int arg5
= (int) -1 ;
19983 bool temp3
= false ;
19988 PyObject
* obj0
= 0 ;
19989 PyObject
* obj1
= 0 ;
19990 PyObject
* obj2
= 0 ;
19991 PyObject
* obj3
= 0 ;
19992 PyObject
* obj4
= 0 ;
19993 char * kwnames
[] = {
19994 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19999 if (!SWIG_IsOK(res1
)) {
20000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20002 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20003 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20004 if (!SWIG_IsOK(res2
)) {
20005 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20007 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20009 arg3
= wxString_in_helper(obj2
);
20010 if (arg3
== NULL
) SWIG_fail
;
20014 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20015 if (!SWIG_IsOK(ecode4
)) {
20016 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20018 arg4
= static_cast< bool >(val4
);
20021 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20022 if (!SWIG_IsOK(ecode5
)) {
20023 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20025 arg5
= static_cast< int >(val5
);
20028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20029 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
20030 wxPyEndAllowThreads(__tstate
);
20031 if (PyErr_Occurred()) SWIG_fail
;
20034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20050 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20051 PyObject
*resultobj
= 0;
20052 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20054 wxWindow
*arg3
= (wxWindow
*) 0 ;
20055 wxString
*arg4
= 0 ;
20056 bool arg5
= (bool) false ;
20057 int arg6
= (int) -1 ;
20065 bool temp4
= false ;
20070 PyObject
* obj0
= 0 ;
20071 PyObject
* obj1
= 0 ;
20072 PyObject
* obj2
= 0 ;
20073 PyObject
* obj3
= 0 ;
20074 PyObject
* obj4
= 0 ;
20075 PyObject
* obj5
= 0 ;
20076 char * kwnames
[] = {
20077 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20082 if (!SWIG_IsOK(res1
)) {
20083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20085 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20086 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20087 if (!SWIG_IsOK(ecode2
)) {
20088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20090 arg2
= static_cast< size_t >(val2
);
20091 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20092 if (!SWIG_IsOK(res3
)) {
20093 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20095 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
20097 arg4
= wxString_in_helper(obj3
);
20098 if (arg4
== NULL
) SWIG_fail
;
20102 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20103 if (!SWIG_IsOK(ecode5
)) {
20104 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20106 arg5
= static_cast< bool >(val5
);
20109 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20110 if (!SWIG_IsOK(ecode6
)) {
20111 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20113 arg6
= static_cast< int >(val6
);
20116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20117 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20118 wxPyEndAllowThreads(__tstate
);
20119 if (PyErr_Occurred()) SWIG_fail
;
20122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20138 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20139 PyObject
*resultobj
= 0;
20140 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20147 PyObject
* obj0
= 0 ;
20148 PyObject
* obj1
= 0 ;
20149 char * kwnames
[] = {
20150 (char *) "self",(char *) "n", NULL
20153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20155 if (!SWIG_IsOK(res1
)) {
20156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20158 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20159 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20160 if (!SWIG_IsOK(ecode2
)) {
20161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20163 arg2
= static_cast< size_t >(val2
);
20165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20166 result
= (int)(arg1
)->SetSelection(arg2
);
20167 wxPyEndAllowThreads(__tstate
);
20168 if (PyErr_Occurred()) SWIG_fail
;
20170 resultobj
= SWIG_From_int(static_cast< int >(result
));
20177 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20178 PyObject
*resultobj
= 0;
20179 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20180 bool arg2
= (bool) true ;
20185 PyObject
* obj0
= 0 ;
20186 PyObject
* obj1
= 0 ;
20187 char * kwnames
[] = {
20188 (char *) "self",(char *) "forward", NULL
20191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20193 if (!SWIG_IsOK(res1
)) {
20194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20196 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20198 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20199 if (!SWIG_IsOK(ecode2
)) {
20200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20202 arg2
= static_cast< bool >(val2
);
20205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20206 (arg1
)->AdvanceSelection(arg2
);
20207 wxPyEndAllowThreads(__tstate
);
20208 if (PyErr_Occurred()) SWIG_fail
;
20210 resultobj
= SWIG_Py_Void();
20217 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20218 PyObject
*resultobj
= 0;
20219 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20220 wxPoint
*arg2
= 0 ;
20221 long *arg3
= (long *) 0 ;
20227 int res3
= SWIG_TMPOBJ
;
20228 PyObject
* obj0
= 0 ;
20229 PyObject
* obj1
= 0 ;
20230 char * kwnames
[] = {
20231 (char *) "self",(char *) "pt", NULL
20235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20237 if (!SWIG_IsOK(res1
)) {
20238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20240 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20243 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20247 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20248 wxPyEndAllowThreads(__tstate
);
20249 if (PyErr_Occurred()) SWIG_fail
;
20251 resultobj
= SWIG_From_int(static_cast< int >(result
));
20252 if (SWIG_IsTmpObj(res3
)) {
20253 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20255 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20256 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20264 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20265 PyObject
*resultobj
= 0;
20266 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20267 SwigValueWrapper
<wxVisualAttributes
> result
;
20270 PyObject
* obj0
= 0 ;
20271 char * kwnames
[] = {
20272 (char *) "variant", NULL
20275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20277 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20278 if (!SWIG_IsOK(ecode1
)) {
20279 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20281 arg1
= static_cast< wxWindowVariant
>(val1
);
20284 if (!wxPyCheckForApp()) SWIG_fail
;
20285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20286 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20287 wxPyEndAllowThreads(__tstate
);
20288 if (PyErr_Occurred()) SWIG_fail
;
20290 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20297 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20299 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20300 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20301 return SWIG_Py_Void();
20304 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20305 PyObject
*resultobj
= 0;
20306 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20307 int arg2
= (int) 0 ;
20308 int arg3
= (int) -1 ;
20309 int arg4
= (int) -1 ;
20310 wxBookCtrlBaseEvent
*result
= 0 ;
20319 PyObject
* obj0
= 0 ;
20320 PyObject
* obj1
= 0 ;
20321 PyObject
* obj2
= 0 ;
20322 PyObject
* obj3
= 0 ;
20323 char * kwnames
[] = {
20324 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20329 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20330 if (!SWIG_IsOK(ecode1
)) {
20331 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20333 arg1
= static_cast< wxEventType
>(val1
);
20336 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20337 if (!SWIG_IsOK(ecode2
)) {
20338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20340 arg2
= static_cast< int >(val2
);
20343 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20344 if (!SWIG_IsOK(ecode3
)) {
20345 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20347 arg3
= static_cast< int >(val3
);
20350 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20351 if (!SWIG_IsOK(ecode4
)) {
20352 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20354 arg4
= static_cast< int >(val4
);
20357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20358 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20359 wxPyEndAllowThreads(__tstate
);
20360 if (PyErr_Occurred()) SWIG_fail
;
20362 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20369 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20370 PyObject
*resultobj
= 0;
20371 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20375 PyObject
*swig_obj
[1] ;
20377 if (!args
) SWIG_fail
;
20378 swig_obj
[0] = args
;
20379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20380 if (!SWIG_IsOK(res1
)) {
20381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20383 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20386 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20387 wxPyEndAllowThreads(__tstate
);
20388 if (PyErr_Occurred()) SWIG_fail
;
20390 resultobj
= SWIG_From_int(static_cast< int >(result
));
20397 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20398 PyObject
*resultobj
= 0;
20399 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20405 PyObject
* obj0
= 0 ;
20406 PyObject
* obj1
= 0 ;
20407 char * kwnames
[] = {
20408 (char *) "self",(char *) "nSel", NULL
20411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20413 if (!SWIG_IsOK(res1
)) {
20414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20416 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20417 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20418 if (!SWIG_IsOK(ecode2
)) {
20419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20421 arg2
= static_cast< int >(val2
);
20423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20424 (arg1
)->SetSelection(arg2
);
20425 wxPyEndAllowThreads(__tstate
);
20426 if (PyErr_Occurred()) SWIG_fail
;
20428 resultobj
= SWIG_Py_Void();
20435 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20436 PyObject
*resultobj
= 0;
20437 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20441 PyObject
*swig_obj
[1] ;
20443 if (!args
) SWIG_fail
;
20444 swig_obj
[0] = args
;
20445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20446 if (!SWIG_IsOK(res1
)) {
20447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20449 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20452 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20453 wxPyEndAllowThreads(__tstate
);
20454 if (PyErr_Occurred()) SWIG_fail
;
20456 resultobj
= SWIG_From_int(static_cast< int >(result
));
20463 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20464 PyObject
*resultobj
= 0;
20465 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20471 PyObject
* obj0
= 0 ;
20472 PyObject
* obj1
= 0 ;
20473 char * kwnames
[] = {
20474 (char *) "self",(char *) "nOldSel", NULL
20477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20479 if (!SWIG_IsOK(res1
)) {
20480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20482 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20483 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20484 if (!SWIG_IsOK(ecode2
)) {
20485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20487 arg2
= static_cast< int >(val2
);
20489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20490 (arg1
)->SetOldSelection(arg2
);
20491 wxPyEndAllowThreads(__tstate
);
20492 if (PyErr_Occurred()) SWIG_fail
;
20494 resultobj
= SWIG_Py_Void();
20501 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20503 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20504 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20505 return SWIG_Py_Void();
20508 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20509 return SWIG_Python_InitShadowInstance(args
);
20512 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20513 PyObject
*resultobj
= 0;
20514 wxWindow
*arg1
= (wxWindow
*) 0 ;
20515 int arg2
= (int) -1 ;
20516 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20517 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20518 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20519 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20520 long arg5
= (long) 0 ;
20521 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20522 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20523 wxNotebook
*result
= 0 ;
20532 bool temp6
= false ;
20533 PyObject
* obj0
= 0 ;
20534 PyObject
* obj1
= 0 ;
20535 PyObject
* obj2
= 0 ;
20536 PyObject
* obj3
= 0 ;
20537 PyObject
* obj4
= 0 ;
20538 PyObject
* obj5
= 0 ;
20539 char * kwnames
[] = {
20540 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20545 if (!SWIG_IsOK(res1
)) {
20546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20548 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20551 if (!SWIG_IsOK(ecode2
)) {
20552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20554 arg2
= static_cast< int >(val2
);
20559 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20565 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20569 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20570 if (!SWIG_IsOK(ecode5
)) {
20571 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20573 arg5
= static_cast< long >(val5
);
20577 arg6
= wxString_in_helper(obj5
);
20578 if (arg6
== NULL
) SWIG_fail
;
20583 if (!wxPyCheckForApp()) SWIG_fail
;
20584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20585 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20586 wxPyEndAllowThreads(__tstate
);
20587 if (PyErr_Occurred()) SWIG_fail
;
20589 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20604 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20605 PyObject
*resultobj
= 0;
20606 wxNotebook
*result
= 0 ;
20608 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20610 if (!wxPyCheckForApp()) SWIG_fail
;
20611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20612 result
= (wxNotebook
*)new wxNotebook();
20613 wxPyEndAllowThreads(__tstate
);
20614 if (PyErr_Occurred()) SWIG_fail
;
20616 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20623 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20624 PyObject
*resultobj
= 0;
20625 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20626 wxWindow
*arg2
= (wxWindow
*) 0 ;
20627 int arg3
= (int) -1 ;
20628 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20629 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20630 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20631 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20632 long arg6
= (long) 0 ;
20633 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20634 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20646 bool temp7
= false ;
20647 PyObject
* obj0
= 0 ;
20648 PyObject
* obj1
= 0 ;
20649 PyObject
* obj2
= 0 ;
20650 PyObject
* obj3
= 0 ;
20651 PyObject
* obj4
= 0 ;
20652 PyObject
* obj5
= 0 ;
20653 PyObject
* obj6
= 0 ;
20654 char * kwnames
[] = {
20655 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20660 if (!SWIG_IsOK(res1
)) {
20661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20663 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20664 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20665 if (!SWIG_IsOK(res2
)) {
20666 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20668 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20670 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20671 if (!SWIG_IsOK(ecode3
)) {
20672 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20674 arg3
= static_cast< int >(val3
);
20679 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20685 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20689 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20690 if (!SWIG_IsOK(ecode6
)) {
20691 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20693 arg6
= static_cast< long >(val6
);
20697 arg7
= wxString_in_helper(obj6
);
20698 if (arg7
== NULL
) SWIG_fail
;
20703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20704 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20705 wxPyEndAllowThreads(__tstate
);
20706 if (PyErr_Occurred()) SWIG_fail
;
20709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20725 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20726 PyObject
*resultobj
= 0;
20727 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20731 PyObject
*swig_obj
[1] ;
20733 if (!args
) SWIG_fail
;
20734 swig_obj
[0] = args
;
20735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20736 if (!SWIG_IsOK(res1
)) {
20737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20739 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20742 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20743 wxPyEndAllowThreads(__tstate
);
20744 if (PyErr_Occurred()) SWIG_fail
;
20746 resultobj
= SWIG_From_int(static_cast< int >(result
));
20753 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20754 PyObject
*resultobj
= 0;
20755 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20760 PyObject
* obj0
= 0 ;
20761 PyObject
* obj1
= 0 ;
20762 char * kwnames
[] = {
20763 (char *) "self",(char *) "padding", NULL
20766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20768 if (!SWIG_IsOK(res1
)) {
20769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20771 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20774 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20778 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20779 wxPyEndAllowThreads(__tstate
);
20780 if (PyErr_Occurred()) SWIG_fail
;
20782 resultobj
= SWIG_Py_Void();
20789 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20790 PyObject
*resultobj
= 0;
20791 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20796 PyObject
* obj0
= 0 ;
20797 PyObject
* obj1
= 0 ;
20798 char * kwnames
[] = {
20799 (char *) "self",(char *) "sz", NULL
20802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20804 if (!SWIG_IsOK(res1
)) {
20805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20807 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20810 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20814 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20815 wxPyEndAllowThreads(__tstate
);
20816 if (PyErr_Occurred()) SWIG_fail
;
20818 resultobj
= SWIG_Py_Void();
20825 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20826 PyObject
*resultobj
= 0;
20827 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20831 PyObject
*swig_obj
[1] ;
20833 if (!args
) SWIG_fail
;
20834 swig_obj
[0] = args
;
20835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20836 if (!SWIG_IsOK(res1
)) {
20837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20839 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20842 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20843 wxPyEndAllowThreads(__tstate
);
20844 if (PyErr_Occurred()) SWIG_fail
;
20846 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20853 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20854 PyObject
*resultobj
= 0;
20855 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20856 SwigValueWrapper
<wxVisualAttributes
> result
;
20859 PyObject
* obj0
= 0 ;
20860 char * kwnames
[] = {
20861 (char *) "variant", NULL
20864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20866 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20867 if (!SWIG_IsOK(ecode1
)) {
20868 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20870 arg1
= static_cast< wxWindowVariant
>(val1
);
20873 if (!wxPyCheckForApp()) SWIG_fail
;
20874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20875 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20876 wxPyEndAllowThreads(__tstate
);
20877 if (PyErr_Occurred()) SWIG_fail
;
20879 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20886 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20888 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20889 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
20890 return SWIG_Py_Void();
20893 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20894 return SWIG_Python_InitShadowInstance(args
);
20897 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20898 PyObject
*resultobj
= 0;
20899 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20900 int arg2
= (int) 0 ;
20901 int arg3
= (int) -1 ;
20902 int arg4
= (int) -1 ;
20903 wxNotebookEvent
*result
= 0 ;
20912 PyObject
* obj0
= 0 ;
20913 PyObject
* obj1
= 0 ;
20914 PyObject
* obj2
= 0 ;
20915 PyObject
* obj3
= 0 ;
20916 char * kwnames
[] = {
20917 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20922 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20923 if (!SWIG_IsOK(ecode1
)) {
20924 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20926 arg1
= static_cast< wxEventType
>(val1
);
20929 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20930 if (!SWIG_IsOK(ecode2
)) {
20931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
20933 arg2
= static_cast< int >(val2
);
20936 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20937 if (!SWIG_IsOK(ecode3
)) {
20938 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
20940 arg3
= static_cast< int >(val3
);
20943 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20944 if (!SWIG_IsOK(ecode4
)) {
20945 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
20947 arg4
= static_cast< int >(val4
);
20950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20951 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
20952 wxPyEndAllowThreads(__tstate
);
20953 if (PyErr_Occurred()) SWIG_fail
;
20955 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
20962 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20964 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20965 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
20966 return SWIG_Py_Void();
20969 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20970 return SWIG_Python_InitShadowInstance(args
);
20973 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20974 PyObject
*resultobj
= 0;
20975 wxWindow
*arg1
= (wxWindow
*) 0 ;
20976 int arg2
= (int) -1 ;
20977 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20978 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20979 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20980 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20981 long arg5
= (long) 0 ;
20982 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20983 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20984 wxListbook
*result
= 0 ;
20993 bool temp6
= false ;
20994 PyObject
* obj0
= 0 ;
20995 PyObject
* obj1
= 0 ;
20996 PyObject
* obj2
= 0 ;
20997 PyObject
* obj3
= 0 ;
20998 PyObject
* obj4
= 0 ;
20999 PyObject
* obj5
= 0 ;
21000 char * kwnames
[] = {
21001 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21006 if (!SWIG_IsOK(res1
)) {
21007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21009 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21011 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21012 if (!SWIG_IsOK(ecode2
)) {
21013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21015 arg2
= static_cast< int >(val2
);
21020 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21026 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21030 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21031 if (!SWIG_IsOK(ecode5
)) {
21032 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21034 arg5
= static_cast< long >(val5
);
21038 arg6
= wxString_in_helper(obj5
);
21039 if (arg6
== NULL
) SWIG_fail
;
21044 if (!wxPyCheckForApp()) SWIG_fail
;
21045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21046 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21047 wxPyEndAllowThreads(__tstate
);
21048 if (PyErr_Occurred()) SWIG_fail
;
21050 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
21065 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21066 PyObject
*resultobj
= 0;
21067 wxListbook
*result
= 0 ;
21069 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
21071 if (!wxPyCheckForApp()) SWIG_fail
;
21072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21073 result
= (wxListbook
*)new wxListbook();
21074 wxPyEndAllowThreads(__tstate
);
21075 if (PyErr_Occurred()) SWIG_fail
;
21077 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
21084 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21085 PyObject
*resultobj
= 0;
21086 wxListbook
*arg1
= (wxListbook
*) 0 ;
21087 wxWindow
*arg2
= (wxWindow
*) 0 ;
21088 int arg3
= (int) -1 ;
21089 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21090 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21091 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21092 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21093 long arg6
= (long) 0 ;
21094 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21095 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21107 bool temp7
= false ;
21108 PyObject
* obj0
= 0 ;
21109 PyObject
* obj1
= 0 ;
21110 PyObject
* obj2
= 0 ;
21111 PyObject
* obj3
= 0 ;
21112 PyObject
* obj4
= 0 ;
21113 PyObject
* obj5
= 0 ;
21114 PyObject
* obj6
= 0 ;
21115 char * kwnames
[] = {
21116 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21121 if (!SWIG_IsOK(res1
)) {
21122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21124 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21125 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21126 if (!SWIG_IsOK(res2
)) {
21127 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21129 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21131 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21132 if (!SWIG_IsOK(ecode3
)) {
21133 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21135 arg3
= static_cast< int >(val3
);
21140 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21146 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21150 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21151 if (!SWIG_IsOK(ecode6
)) {
21152 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21154 arg6
= static_cast< long >(val6
);
21158 arg7
= wxString_in_helper(obj6
);
21159 if (arg7
== NULL
) SWIG_fail
;
21164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21165 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21166 wxPyEndAllowThreads(__tstate
);
21167 if (PyErr_Occurred()) SWIG_fail
;
21170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21186 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21187 PyObject
*resultobj
= 0;
21188 wxListbook
*arg1
= (wxListbook
*) 0 ;
21189 wxListView
*result
= 0 ;
21192 PyObject
*swig_obj
[1] ;
21194 if (!args
) SWIG_fail
;
21195 swig_obj
[0] = args
;
21196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21197 if (!SWIG_IsOK(res1
)) {
21198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21200 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21203 result
= (wxListView
*)(arg1
)->GetListView();
21204 wxPyEndAllowThreads(__tstate
);
21205 if (PyErr_Occurred()) SWIG_fail
;
21207 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21214 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21216 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21217 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21218 return SWIG_Py_Void();
21221 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21222 return SWIG_Python_InitShadowInstance(args
);
21225 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21226 PyObject
*resultobj
= 0;
21227 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21228 int arg2
= (int) 0 ;
21229 int arg3
= (int) -1 ;
21230 int arg4
= (int) -1 ;
21231 wxListbookEvent
*result
= 0 ;
21240 PyObject
* obj0
= 0 ;
21241 PyObject
* obj1
= 0 ;
21242 PyObject
* obj2
= 0 ;
21243 PyObject
* obj3
= 0 ;
21244 char * kwnames
[] = {
21245 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21250 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21251 if (!SWIG_IsOK(ecode1
)) {
21252 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21254 arg1
= static_cast< wxEventType
>(val1
);
21257 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21258 if (!SWIG_IsOK(ecode2
)) {
21259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21261 arg2
= static_cast< int >(val2
);
21264 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21265 if (!SWIG_IsOK(ecode3
)) {
21266 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21268 arg3
= static_cast< int >(val3
);
21271 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21272 if (!SWIG_IsOK(ecode4
)) {
21273 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21275 arg4
= static_cast< int >(val4
);
21278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21279 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21280 wxPyEndAllowThreads(__tstate
);
21281 if (PyErr_Occurred()) SWIG_fail
;
21283 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21290 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21292 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21293 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21294 return SWIG_Py_Void();
21297 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21298 return SWIG_Python_InitShadowInstance(args
);
21301 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21302 PyObject
*resultobj
= 0;
21303 wxWindow
*arg1
= (wxWindow
*) 0 ;
21305 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21306 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21307 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21308 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21309 long arg5
= (long) 0 ;
21310 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21311 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21312 wxChoicebook
*result
= 0 ;
21321 bool temp6
= false ;
21322 PyObject
* obj0
= 0 ;
21323 PyObject
* obj1
= 0 ;
21324 PyObject
* obj2
= 0 ;
21325 PyObject
* obj3
= 0 ;
21326 PyObject
* obj4
= 0 ;
21327 PyObject
* obj5
= 0 ;
21328 char * kwnames
[] = {
21329 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21334 if (!SWIG_IsOK(res1
)) {
21335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21337 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21339 if (!SWIG_IsOK(ecode2
)) {
21340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21342 arg2
= static_cast< int >(val2
);
21346 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21352 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21356 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21357 if (!SWIG_IsOK(ecode5
)) {
21358 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21360 arg5
= static_cast< long >(val5
);
21364 arg6
= wxString_in_helper(obj5
);
21365 if (arg6
== NULL
) SWIG_fail
;
21370 if (!wxPyCheckForApp()) SWIG_fail
;
21371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21372 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21373 wxPyEndAllowThreads(__tstate
);
21374 if (PyErr_Occurred()) SWIG_fail
;
21376 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21391 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21392 PyObject
*resultobj
= 0;
21393 wxChoicebook
*result
= 0 ;
21395 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21397 if (!wxPyCheckForApp()) SWIG_fail
;
21398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21399 result
= (wxChoicebook
*)new wxChoicebook();
21400 wxPyEndAllowThreads(__tstate
);
21401 if (PyErr_Occurred()) SWIG_fail
;
21403 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21410 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21411 PyObject
*resultobj
= 0;
21412 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21413 wxWindow
*arg2
= (wxWindow
*) 0 ;
21415 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21416 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21417 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21418 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21419 long arg6
= (long) 0 ;
21420 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21421 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21433 bool temp7
= false ;
21434 PyObject
* obj0
= 0 ;
21435 PyObject
* obj1
= 0 ;
21436 PyObject
* obj2
= 0 ;
21437 PyObject
* obj3
= 0 ;
21438 PyObject
* obj4
= 0 ;
21439 PyObject
* obj5
= 0 ;
21440 PyObject
* obj6
= 0 ;
21441 char * kwnames
[] = {
21442 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21447 if (!SWIG_IsOK(res1
)) {
21448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21450 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21451 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21452 if (!SWIG_IsOK(res2
)) {
21453 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21455 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21456 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21457 if (!SWIG_IsOK(ecode3
)) {
21458 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21460 arg3
= static_cast< int >(val3
);
21464 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21470 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21474 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21475 if (!SWIG_IsOK(ecode6
)) {
21476 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21478 arg6
= static_cast< long >(val6
);
21482 arg7
= wxString_in_helper(obj6
);
21483 if (arg7
== NULL
) SWIG_fail
;
21488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21489 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21490 wxPyEndAllowThreads(__tstate
);
21491 if (PyErr_Occurred()) SWIG_fail
;
21494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21510 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21511 PyObject
*resultobj
= 0;
21512 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21513 wxChoice
*result
= 0 ;
21516 PyObject
*swig_obj
[1] ;
21518 if (!args
) SWIG_fail
;
21519 swig_obj
[0] = args
;
21520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21521 if (!SWIG_IsOK(res1
)) {
21522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21524 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21527 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21528 wxPyEndAllowThreads(__tstate
);
21529 if (PyErr_Occurred()) SWIG_fail
;
21531 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21538 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21540 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21541 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21542 return SWIG_Py_Void();
21545 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21546 return SWIG_Python_InitShadowInstance(args
);
21549 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21550 PyObject
*resultobj
= 0;
21551 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21552 int arg2
= (int) 0 ;
21553 int arg3
= (int) -1 ;
21554 int arg4
= (int) -1 ;
21555 wxChoicebookEvent
*result
= 0 ;
21564 PyObject
* obj0
= 0 ;
21565 PyObject
* obj1
= 0 ;
21566 PyObject
* obj2
= 0 ;
21567 PyObject
* obj3
= 0 ;
21568 char * kwnames
[] = {
21569 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21574 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21575 if (!SWIG_IsOK(ecode1
)) {
21576 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21578 arg1
= static_cast< wxEventType
>(val1
);
21581 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21582 if (!SWIG_IsOK(ecode2
)) {
21583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21585 arg2
= static_cast< int >(val2
);
21588 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21589 if (!SWIG_IsOK(ecode3
)) {
21590 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21592 arg3
= static_cast< int >(val3
);
21595 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21596 if (!SWIG_IsOK(ecode4
)) {
21597 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21599 arg4
= static_cast< int >(val4
);
21602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21603 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21604 wxPyEndAllowThreads(__tstate
);
21605 if (PyErr_Occurred()) SWIG_fail
;
21607 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21614 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21616 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21617 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21618 return SWIG_Py_Void();
21621 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21622 return SWIG_Python_InitShadowInstance(args
);
21625 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21626 PyObject
*resultobj
= 0;
21627 wxWindow
*arg1
= (wxWindow
*) 0 ;
21629 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21630 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21631 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21632 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21633 long arg5
= (long) wxBK_DEFAULT
;
21634 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21635 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21636 wxTreebook
*result
= 0 ;
21645 bool temp6
= false ;
21646 PyObject
* obj0
= 0 ;
21647 PyObject
* obj1
= 0 ;
21648 PyObject
* obj2
= 0 ;
21649 PyObject
* obj3
= 0 ;
21650 PyObject
* obj4
= 0 ;
21651 PyObject
* obj5
= 0 ;
21652 char * kwnames
[] = {
21653 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21658 if (!SWIG_IsOK(res1
)) {
21659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21661 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21663 if (!SWIG_IsOK(ecode2
)) {
21664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21666 arg2
= static_cast< int >(val2
);
21670 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21676 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21680 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21681 if (!SWIG_IsOK(ecode5
)) {
21682 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21684 arg5
= static_cast< long >(val5
);
21688 arg6
= wxString_in_helper(obj5
);
21689 if (arg6
== NULL
) SWIG_fail
;
21694 if (!wxPyCheckForApp()) SWIG_fail
;
21695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21696 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21697 wxPyEndAllowThreads(__tstate
);
21698 if (PyErr_Occurred()) SWIG_fail
;
21700 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21715 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21716 PyObject
*resultobj
= 0;
21717 wxTreebook
*result
= 0 ;
21719 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21721 if (!wxPyCheckForApp()) SWIG_fail
;
21722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21723 result
= (wxTreebook
*)new wxTreebook();
21724 wxPyEndAllowThreads(__tstate
);
21725 if (PyErr_Occurred()) SWIG_fail
;
21727 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21734 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21735 PyObject
*resultobj
= 0;
21736 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21737 wxWindow
*arg2
= (wxWindow
*) 0 ;
21739 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21740 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21741 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21742 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21743 long arg6
= (long) wxBK_DEFAULT
;
21744 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21745 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21757 bool temp7
= false ;
21758 PyObject
* obj0
= 0 ;
21759 PyObject
* obj1
= 0 ;
21760 PyObject
* obj2
= 0 ;
21761 PyObject
* obj3
= 0 ;
21762 PyObject
* obj4
= 0 ;
21763 PyObject
* obj5
= 0 ;
21764 PyObject
* obj6
= 0 ;
21765 char * kwnames
[] = {
21766 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21771 if (!SWIG_IsOK(res1
)) {
21772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21774 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21775 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21776 if (!SWIG_IsOK(res2
)) {
21777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21779 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21780 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21781 if (!SWIG_IsOK(ecode3
)) {
21782 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21784 arg3
= static_cast< int >(val3
);
21788 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21794 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21798 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21799 if (!SWIG_IsOK(ecode6
)) {
21800 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21802 arg6
= static_cast< long >(val6
);
21806 arg7
= wxString_in_helper(obj6
);
21807 if (arg7
== NULL
) SWIG_fail
;
21812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21813 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21814 wxPyEndAllowThreads(__tstate
);
21815 if (PyErr_Occurred()) SWIG_fail
;
21818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21834 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21835 PyObject
*resultobj
= 0;
21836 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21838 wxWindow
*arg3
= (wxWindow
*) 0 ;
21839 wxString
*arg4
= 0 ;
21840 bool arg5
= (bool) false ;
21841 int arg6
= (int) wxNOT_FOUND
;
21849 bool temp4
= false ;
21854 PyObject
* obj0
= 0 ;
21855 PyObject
* obj1
= 0 ;
21856 PyObject
* obj2
= 0 ;
21857 PyObject
* obj3
= 0 ;
21858 PyObject
* obj4
= 0 ;
21859 PyObject
* obj5
= 0 ;
21860 char * kwnames
[] = {
21861 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21866 if (!SWIG_IsOK(res1
)) {
21867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21869 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21870 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21871 if (!SWIG_IsOK(ecode2
)) {
21872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
21874 arg2
= static_cast< size_t >(val2
);
21875 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21876 if (!SWIG_IsOK(res3
)) {
21877 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
21879 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
21881 arg4
= wxString_in_helper(obj3
);
21882 if (arg4
== NULL
) SWIG_fail
;
21886 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
21887 if (!SWIG_IsOK(ecode5
)) {
21888 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
21890 arg5
= static_cast< bool >(val5
);
21893 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21894 if (!SWIG_IsOK(ecode6
)) {
21895 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
21897 arg6
= static_cast< int >(val6
);
21900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21901 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
21902 wxPyEndAllowThreads(__tstate
);
21903 if (PyErr_Occurred()) SWIG_fail
;
21906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21922 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21923 PyObject
*resultobj
= 0;
21924 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21925 wxWindow
*arg2
= (wxWindow
*) 0 ;
21926 wxString
*arg3
= 0 ;
21927 bool arg4
= (bool) false ;
21928 int arg5
= (int) wxNOT_FOUND
;
21934 bool temp3
= false ;
21939 PyObject
* obj0
= 0 ;
21940 PyObject
* obj1
= 0 ;
21941 PyObject
* obj2
= 0 ;
21942 PyObject
* obj3
= 0 ;
21943 PyObject
* obj4
= 0 ;
21944 char * kwnames
[] = {
21945 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21950 if (!SWIG_IsOK(res1
)) {
21951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21953 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21954 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21955 if (!SWIG_IsOK(res2
)) {
21956 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
21958 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21960 arg3
= wxString_in_helper(obj2
);
21961 if (arg3
== NULL
) SWIG_fail
;
21965 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
21966 if (!SWIG_IsOK(ecode4
)) {
21967 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
21969 arg4
= static_cast< bool >(val4
);
21972 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21973 if (!SWIG_IsOK(ecode5
)) {
21974 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
21976 arg5
= static_cast< int >(val5
);
21979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21980 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21981 wxPyEndAllowThreads(__tstate
);
21982 if (PyErr_Occurred()) SWIG_fail
;
21985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22001 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22002 PyObject
*resultobj
= 0;
22003 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22010 PyObject
* obj0
= 0 ;
22011 PyObject
* obj1
= 0 ;
22012 char * kwnames
[] = {
22013 (char *) "self",(char *) "pos", NULL
22016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22018 if (!SWIG_IsOK(res1
)) {
22019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22021 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22022 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22023 if (!SWIG_IsOK(ecode2
)) {
22024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22026 arg2
= static_cast< size_t >(val2
);
22028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22029 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
22030 wxPyEndAllowThreads(__tstate
);
22031 if (PyErr_Occurred()) SWIG_fail
;
22034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22042 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22043 PyObject
*resultobj
= 0;
22044 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22046 bool arg3
= (bool) true ;
22054 PyObject
* obj0
= 0 ;
22055 PyObject
* obj1
= 0 ;
22056 PyObject
* obj2
= 0 ;
22057 char * kwnames
[] = {
22058 (char *) "self",(char *) "pos",(char *) "expand", NULL
22061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22063 if (!SWIG_IsOK(res1
)) {
22064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22066 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22067 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22068 if (!SWIG_IsOK(ecode2
)) {
22069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22071 arg2
= static_cast< size_t >(val2
);
22073 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22074 if (!SWIG_IsOK(ecode3
)) {
22075 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22077 arg3
= static_cast< bool >(val3
);
22080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22081 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
22082 wxPyEndAllowThreads(__tstate
);
22083 if (PyErr_Occurred()) SWIG_fail
;
22086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22094 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22095 PyObject
*resultobj
= 0;
22096 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22103 PyObject
* obj0
= 0 ;
22104 PyObject
* obj1
= 0 ;
22105 char * kwnames
[] = {
22106 (char *) "self",(char *) "pos", NULL
22109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22111 if (!SWIG_IsOK(res1
)) {
22112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22114 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22115 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22116 if (!SWIG_IsOK(ecode2
)) {
22117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22119 arg2
= static_cast< size_t >(val2
);
22121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22122 result
= (bool)(arg1
)->CollapseNode(arg2
);
22123 wxPyEndAllowThreads(__tstate
);
22124 if (PyErr_Occurred()) SWIG_fail
;
22127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22135 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22136 PyObject
*resultobj
= 0;
22137 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22144 PyObject
* obj0
= 0 ;
22145 PyObject
* obj1
= 0 ;
22146 char * kwnames
[] = {
22147 (char *) "self",(char *) "pos", NULL
22150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22152 if (!SWIG_IsOK(res1
)) {
22153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22155 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22156 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22157 if (!SWIG_IsOK(ecode2
)) {
22158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22160 arg2
= static_cast< size_t >(val2
);
22162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22163 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22164 wxPyEndAllowThreads(__tstate
);
22165 if (PyErr_Occurred()) SWIG_fail
;
22167 resultobj
= SWIG_From_int(static_cast< int >(result
));
22174 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22175 PyObject
*resultobj
= 0;
22176 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22177 wxPyTreeCtrl
*result
= 0 ;
22180 PyObject
*swig_obj
[1] ;
22182 if (!args
) SWIG_fail
;
22183 swig_obj
[0] = args
;
22184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22185 if (!SWIG_IsOK(res1
)) {
22186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22188 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22191 result
= (wxPyTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22192 wxPyEndAllowThreads(__tstate
);
22193 if (PyErr_Occurred()) SWIG_fail
;
22196 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22204 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22206 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22207 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22208 return SWIG_Py_Void();
22211 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22212 return SWIG_Python_InitShadowInstance(args
);
22215 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22216 PyObject
*resultobj
= 0;
22217 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22218 int arg2
= (int) 0 ;
22219 int arg3
= (int) wxNOT_FOUND
;
22220 int arg4
= (int) wxNOT_FOUND
;
22221 wxTreebookEvent
*result
= 0 ;
22230 PyObject
* obj0
= 0 ;
22231 PyObject
* obj1
= 0 ;
22232 PyObject
* obj2
= 0 ;
22233 PyObject
* obj3
= 0 ;
22234 char * kwnames
[] = {
22235 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22240 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22241 if (!SWIG_IsOK(ecode1
)) {
22242 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22244 arg1
= static_cast< wxEventType
>(val1
);
22247 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22248 if (!SWIG_IsOK(ecode2
)) {
22249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22251 arg2
= static_cast< int >(val2
);
22254 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22255 if (!SWIG_IsOK(ecode3
)) {
22256 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22258 arg3
= static_cast< int >(val3
);
22261 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22262 if (!SWIG_IsOK(ecode4
)) {
22263 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22265 arg4
= static_cast< int >(val4
);
22268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22269 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22270 wxPyEndAllowThreads(__tstate
);
22271 if (PyErr_Occurred()) SWIG_fail
;
22273 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22280 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22282 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22283 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22284 return SWIG_Py_Void();
22287 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22288 return SWIG_Python_InitShadowInstance(args
);
22291 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22292 PyObject
*resultobj
= 0;
22293 wxWindow
*arg1
= (wxWindow
*) 0 ;
22295 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22296 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22297 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22298 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22299 long arg5
= (long) wxBK_DEFAULT
;
22300 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22301 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22302 wxToolbook
*result
= 0 ;
22311 bool temp6
= false ;
22312 PyObject
* obj0
= 0 ;
22313 PyObject
* obj1
= 0 ;
22314 PyObject
* obj2
= 0 ;
22315 PyObject
* obj3
= 0 ;
22316 PyObject
* obj4
= 0 ;
22317 PyObject
* obj5
= 0 ;
22318 char * kwnames
[] = {
22319 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22324 if (!SWIG_IsOK(res1
)) {
22325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22327 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22328 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22329 if (!SWIG_IsOK(ecode2
)) {
22330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22332 arg2
= static_cast< int >(val2
);
22336 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22342 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22346 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22347 if (!SWIG_IsOK(ecode5
)) {
22348 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22350 arg5
= static_cast< long >(val5
);
22354 arg6
= wxString_in_helper(obj5
);
22355 if (arg6
== NULL
) SWIG_fail
;
22360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22361 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22362 wxPyEndAllowThreads(__tstate
);
22363 if (PyErr_Occurred()) SWIG_fail
;
22365 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22380 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22381 PyObject
*resultobj
= 0;
22382 wxToolbook
*result
= 0 ;
22384 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22387 result
= (wxToolbook
*)new wxToolbook();
22388 wxPyEndAllowThreads(__tstate
);
22389 if (PyErr_Occurred()) SWIG_fail
;
22391 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22398 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22399 PyObject
*resultobj
= 0;
22400 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22401 wxWindow
*arg2
= (wxWindow
*) 0 ;
22403 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22404 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22405 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22406 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22407 long arg6
= (long) 0 ;
22408 wxString
const &arg7_defvalue
= wxEmptyString
;
22409 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22421 bool temp7
= false ;
22422 PyObject
* obj0
= 0 ;
22423 PyObject
* obj1
= 0 ;
22424 PyObject
* obj2
= 0 ;
22425 PyObject
* obj3
= 0 ;
22426 PyObject
* obj4
= 0 ;
22427 PyObject
* obj5
= 0 ;
22428 PyObject
* obj6
= 0 ;
22429 char * kwnames
[] = {
22430 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22435 if (!SWIG_IsOK(res1
)) {
22436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22438 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22439 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22440 if (!SWIG_IsOK(res2
)) {
22441 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22443 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22444 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22445 if (!SWIG_IsOK(ecode3
)) {
22446 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22448 arg3
= static_cast< int >(val3
);
22452 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22458 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22462 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22463 if (!SWIG_IsOK(ecode6
)) {
22464 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22466 arg6
= static_cast< long >(val6
);
22470 arg7
= wxString_in_helper(obj6
);
22471 if (arg7
== NULL
) SWIG_fail
;
22476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22477 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22478 wxPyEndAllowThreads(__tstate
);
22479 if (PyErr_Occurred()) SWIG_fail
;
22482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22498 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22499 PyObject
*resultobj
= 0;
22500 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22501 wxToolBarBase
*result
= 0 ;
22504 PyObject
*swig_obj
[1] ;
22506 if (!args
) SWIG_fail
;
22507 swig_obj
[0] = args
;
22508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22509 if (!SWIG_IsOK(res1
)) {
22510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22512 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22515 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22516 wxPyEndAllowThreads(__tstate
);
22517 if (PyErr_Occurred()) SWIG_fail
;
22520 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22528 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22529 PyObject
*resultobj
= 0;
22530 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22533 PyObject
*swig_obj
[1] ;
22535 if (!args
) SWIG_fail
;
22536 swig_obj
[0] = args
;
22537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22538 if (!SWIG_IsOK(res1
)) {
22539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22541 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22545 wxPyEndAllowThreads(__tstate
);
22546 if (PyErr_Occurred()) SWIG_fail
;
22548 resultobj
= SWIG_Py_Void();
22555 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22557 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22558 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22559 return SWIG_Py_Void();
22562 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22563 return SWIG_Python_InitShadowInstance(args
);
22566 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22567 PyObject
*resultobj
= 0;
22568 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22569 int arg2
= (int) 0 ;
22570 int arg3
= (int) wxNOT_FOUND
;
22571 int arg4
= (int) wxNOT_FOUND
;
22572 wxToolbookEvent
*result
= 0 ;
22581 PyObject
* obj0
= 0 ;
22582 PyObject
* obj1
= 0 ;
22583 PyObject
* obj2
= 0 ;
22584 PyObject
* obj3
= 0 ;
22585 char * kwnames
[] = {
22586 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22591 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22592 if (!SWIG_IsOK(ecode1
)) {
22593 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22595 arg1
= static_cast< wxEventType
>(val1
);
22598 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22599 if (!SWIG_IsOK(ecode2
)) {
22600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22602 arg2
= static_cast< int >(val2
);
22605 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22606 if (!SWIG_IsOK(ecode3
)) {
22607 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22609 arg3
= static_cast< int >(val3
);
22612 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22613 if (!SWIG_IsOK(ecode4
)) {
22614 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22616 arg4
= static_cast< int >(val4
);
22619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22620 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22621 wxPyEndAllowThreads(__tstate
);
22622 if (PyErr_Occurred()) SWIG_fail
;
22624 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22631 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22633 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22634 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22635 return SWIG_Py_Void();
22638 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22639 return SWIG_Python_InitShadowInstance(args
);
22642 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22643 PyObject
*resultobj
= 0;
22644 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 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_wxToolBarToolBase
, 0 | 0 );
22653 if (!SWIG_IsOK(res1
)) {
22654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22656 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22659 result
= (int)(arg1
)->GetId();
22660 wxPyEndAllowThreads(__tstate
);
22661 if (PyErr_Occurred()) SWIG_fail
;
22663 resultobj
= SWIG_From_int(static_cast< int >(result
));
22670 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22671 PyObject
*resultobj
= 0;
22672 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22673 wxControl
*result
= 0 ;
22676 PyObject
*swig_obj
[1] ;
22678 if (!args
) SWIG_fail
;
22679 swig_obj
[0] = args
;
22680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22681 if (!SWIG_IsOK(res1
)) {
22682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22684 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22687 result
= (wxControl
*)(arg1
)->GetControl();
22688 wxPyEndAllowThreads(__tstate
);
22689 if (PyErr_Occurred()) SWIG_fail
;
22692 resultobj
= wxPyMake_wxObject(result
, 0);
22700 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22701 PyObject
*resultobj
= 0;
22702 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22703 wxToolBarBase
*result
= 0 ;
22706 PyObject
*swig_obj
[1] ;
22708 if (!args
) SWIG_fail
;
22709 swig_obj
[0] = args
;
22710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22711 if (!SWIG_IsOK(res1
)) {
22712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22714 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22717 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22718 wxPyEndAllowThreads(__tstate
);
22719 if (PyErr_Occurred()) SWIG_fail
;
22722 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22730 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22731 PyObject
*resultobj
= 0;
22732 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22736 PyObject
*swig_obj
[1] ;
22738 if (!args
) SWIG_fail
;
22739 swig_obj
[0] = args
;
22740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22741 if (!SWIG_IsOK(res1
)) {
22742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22744 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22747 result
= (int)(arg1
)->IsButton();
22748 wxPyEndAllowThreads(__tstate
);
22749 if (PyErr_Occurred()) SWIG_fail
;
22751 resultobj
= SWIG_From_int(static_cast< int >(result
));
22758 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22759 PyObject
*resultobj
= 0;
22760 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22764 PyObject
*swig_obj
[1] ;
22766 if (!args
) SWIG_fail
;
22767 swig_obj
[0] = args
;
22768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22769 if (!SWIG_IsOK(res1
)) {
22770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22772 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22775 result
= (int)(arg1
)->IsControl();
22776 wxPyEndAllowThreads(__tstate
);
22777 if (PyErr_Occurred()) SWIG_fail
;
22779 resultobj
= SWIG_From_int(static_cast< int >(result
));
22786 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(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_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22800 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22803 result
= (int)(arg1
)->IsSeparator();
22804 wxPyEndAllowThreads(__tstate
);
22805 if (PyErr_Occurred()) SWIG_fail
;
22807 resultobj
= SWIG_From_int(static_cast< int >(result
));
22814 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22815 PyObject
*resultobj
= 0;
22816 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 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_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22828 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22831 result
= (int)(arg1
)->GetStyle();
22832 wxPyEndAllowThreads(__tstate
);
22833 if (PyErr_Occurred()) SWIG_fail
;
22835 resultobj
= SWIG_From_int(static_cast< int >(result
));
22842 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22843 PyObject
*resultobj
= 0;
22844 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22848 PyObject
*swig_obj
[1] ;
22850 if (!args
) SWIG_fail
;
22851 swig_obj
[0] = args
;
22852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22853 if (!SWIG_IsOK(res1
)) {
22854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22856 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22859 result
= (wxItemKind
)(arg1
)->GetKind();
22860 wxPyEndAllowThreads(__tstate
);
22861 if (PyErr_Occurred()) SWIG_fail
;
22863 resultobj
= SWIG_From_int(static_cast< int >(result
));
22870 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22871 PyObject
*resultobj
= 0;
22872 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22876 PyObject
*swig_obj
[1] ;
22878 if (!args
) SWIG_fail
;
22879 swig_obj
[0] = args
;
22880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22881 if (!SWIG_IsOK(res1
)) {
22882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22884 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22887 result
= (bool)(arg1
)->IsEnabled();
22888 wxPyEndAllowThreads(__tstate
);
22889 if (PyErr_Occurred()) SWIG_fail
;
22892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22900 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22901 PyObject
*resultobj
= 0;
22902 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22906 PyObject
*swig_obj
[1] ;
22908 if (!args
) SWIG_fail
;
22909 swig_obj
[0] = args
;
22910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22911 if (!SWIG_IsOK(res1
)) {
22912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22914 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22917 result
= (bool)(arg1
)->IsToggled();
22918 wxPyEndAllowThreads(__tstate
);
22919 if (PyErr_Occurred()) SWIG_fail
;
22922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22930 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(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_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22944 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22947 result
= (bool)(arg1
)->CanBeToggled();
22948 wxPyEndAllowThreads(__tstate
);
22949 if (PyErr_Occurred()) SWIG_fail
;
22952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22960 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22961 PyObject
*resultobj
= 0;
22962 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22963 wxBitmap
*result
= 0 ;
22966 PyObject
*swig_obj
[1] ;
22968 if (!args
) SWIG_fail
;
22969 swig_obj
[0] = args
;
22970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22971 if (!SWIG_IsOK(res1
)) {
22972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22974 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22978 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
22979 result
= (wxBitmap
*) &_result_ref
;
22981 wxPyEndAllowThreads(__tstate
);
22982 if (PyErr_Occurred()) SWIG_fail
;
22985 wxBitmap
* resultptr
= new wxBitmap(*result
);
22986 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22994 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22995 PyObject
*resultobj
= 0;
22996 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22997 wxBitmap
*result
= 0 ;
23000 PyObject
*swig_obj
[1] ;
23002 if (!args
) SWIG_fail
;
23003 swig_obj
[0] = args
;
23004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23005 if (!SWIG_IsOK(res1
)) {
23006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23008 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23012 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
23013 result
= (wxBitmap
*) &_result_ref
;
23015 wxPyEndAllowThreads(__tstate
);
23016 if (PyErr_Occurred()) SWIG_fail
;
23019 wxBitmap
* resultptr
= new wxBitmap(*result
);
23020 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23028 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23029 PyObject
*resultobj
= 0;
23030 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23034 PyObject
*swig_obj
[1] ;
23036 if (!args
) SWIG_fail
;
23037 swig_obj
[0] = args
;
23038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23039 if (!SWIG_IsOK(res1
)) {
23040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23042 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23045 result
= (arg1
)->GetBitmap();
23046 wxPyEndAllowThreads(__tstate
);
23047 if (PyErr_Occurred()) SWIG_fail
;
23049 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
23056 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23057 PyObject
*resultobj
= 0;
23058 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23062 PyObject
*swig_obj
[1] ;
23064 if (!args
) SWIG_fail
;
23065 swig_obj
[0] = args
;
23066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23067 if (!SWIG_IsOK(res1
)) {
23068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23070 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23073 result
= (arg1
)->GetLabel();
23074 wxPyEndAllowThreads(__tstate
);
23075 if (PyErr_Occurred()) SWIG_fail
;
23079 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23081 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23090 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23091 PyObject
*resultobj
= 0;
23092 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23096 PyObject
*swig_obj
[1] ;
23098 if (!args
) SWIG_fail
;
23099 swig_obj
[0] = args
;
23100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23101 if (!SWIG_IsOK(res1
)) {
23102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23104 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23107 result
= (arg1
)->GetShortHelp();
23108 wxPyEndAllowThreads(__tstate
);
23109 if (PyErr_Occurred()) SWIG_fail
;
23113 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23115 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23124 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23125 PyObject
*resultobj
= 0;
23126 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23130 PyObject
*swig_obj
[1] ;
23132 if (!args
) SWIG_fail
;
23133 swig_obj
[0] = args
;
23134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23135 if (!SWIG_IsOK(res1
)) {
23136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23138 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23141 result
= (arg1
)->GetLongHelp();
23142 wxPyEndAllowThreads(__tstate
);
23143 if (PyErr_Occurred()) SWIG_fail
;
23147 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23149 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23158 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23159 PyObject
*resultobj
= 0;
23160 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23167 PyObject
* obj0
= 0 ;
23168 PyObject
* obj1
= 0 ;
23169 char * kwnames
[] = {
23170 (char *) "self",(char *) "enable", NULL
23173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23175 if (!SWIG_IsOK(res1
)) {
23176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23178 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23179 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23180 if (!SWIG_IsOK(ecode2
)) {
23181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23183 arg2
= static_cast< bool >(val2
);
23185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23186 result
= (bool)(arg1
)->Enable(arg2
);
23187 wxPyEndAllowThreads(__tstate
);
23188 if (PyErr_Occurred()) SWIG_fail
;
23191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23199 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23200 PyObject
*resultobj
= 0;
23201 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23204 PyObject
*swig_obj
[1] ;
23206 if (!args
) SWIG_fail
;
23207 swig_obj
[0] = args
;
23208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23209 if (!SWIG_IsOK(res1
)) {
23210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23212 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23216 wxPyEndAllowThreads(__tstate
);
23217 if (PyErr_Occurred()) SWIG_fail
;
23219 resultobj
= SWIG_Py_Void();
23226 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23227 PyObject
*resultobj
= 0;
23228 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23235 PyObject
* obj0
= 0 ;
23236 PyObject
* obj1
= 0 ;
23237 char * kwnames
[] = {
23238 (char *) "self",(char *) "toggle", NULL
23241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23243 if (!SWIG_IsOK(res1
)) {
23244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23246 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23247 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23248 if (!SWIG_IsOK(ecode2
)) {
23249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23251 arg2
= static_cast< bool >(val2
);
23253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23254 result
= (bool)(arg1
)->SetToggle(arg2
);
23255 wxPyEndAllowThreads(__tstate
);
23256 if (PyErr_Occurred()) SWIG_fail
;
23259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23267 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23268 PyObject
*resultobj
= 0;
23269 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23270 wxString
*arg2
= 0 ;
23274 bool temp2
= false ;
23275 PyObject
* obj0
= 0 ;
23276 PyObject
* obj1
= 0 ;
23277 char * kwnames
[] = {
23278 (char *) "self",(char *) "help", NULL
23281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23283 if (!SWIG_IsOK(res1
)) {
23284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23286 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23288 arg2
= wxString_in_helper(obj1
);
23289 if (arg2
== NULL
) SWIG_fail
;
23293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23294 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23295 wxPyEndAllowThreads(__tstate
);
23296 if (PyErr_Occurred()) SWIG_fail
;
23299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23315 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23316 PyObject
*resultobj
= 0;
23317 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23318 wxString
*arg2
= 0 ;
23322 bool temp2
= false ;
23323 PyObject
* obj0
= 0 ;
23324 PyObject
* obj1
= 0 ;
23325 char * kwnames
[] = {
23326 (char *) "self",(char *) "help", NULL
23329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23331 if (!SWIG_IsOK(res1
)) {
23332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23334 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23336 arg2
= wxString_in_helper(obj1
);
23337 if (arg2
== NULL
) SWIG_fail
;
23341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23342 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23343 wxPyEndAllowThreads(__tstate
);
23344 if (PyErr_Occurred()) SWIG_fail
;
23347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23363 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23364 PyObject
*resultobj
= 0;
23365 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23366 wxBitmap
*arg2
= 0 ;
23371 PyObject
* obj0
= 0 ;
23372 PyObject
* obj1
= 0 ;
23373 char * kwnames
[] = {
23374 (char *) "self",(char *) "bmp", NULL
23377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23379 if (!SWIG_IsOK(res1
)) {
23380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23382 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23383 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23384 if (!SWIG_IsOK(res2
)) {
23385 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23388 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23390 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23393 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23394 wxPyEndAllowThreads(__tstate
);
23395 if (PyErr_Occurred()) SWIG_fail
;
23397 resultobj
= SWIG_Py_Void();
23404 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23405 PyObject
*resultobj
= 0;
23406 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23407 wxBitmap
*arg2
= 0 ;
23412 PyObject
* obj0
= 0 ;
23413 PyObject
* obj1
= 0 ;
23414 char * kwnames
[] = {
23415 (char *) "self",(char *) "bmp", NULL
23418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23420 if (!SWIG_IsOK(res1
)) {
23421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23423 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23424 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23425 if (!SWIG_IsOK(res2
)) {
23426 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23429 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23431 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23434 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23435 wxPyEndAllowThreads(__tstate
);
23436 if (PyErr_Occurred()) SWIG_fail
;
23438 resultobj
= SWIG_Py_Void();
23445 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23446 PyObject
*resultobj
= 0;
23447 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23448 wxString
*arg2
= 0 ;
23451 bool temp2
= false ;
23452 PyObject
* obj0
= 0 ;
23453 PyObject
* obj1
= 0 ;
23454 char * kwnames
[] = {
23455 (char *) "self",(char *) "label", NULL
23458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23460 if (!SWIG_IsOK(res1
)) {
23461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23463 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23465 arg2
= wxString_in_helper(obj1
);
23466 if (arg2
== NULL
) SWIG_fail
;
23470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23471 (arg1
)->SetLabel((wxString
const &)*arg2
);
23472 wxPyEndAllowThreads(__tstate
);
23473 if (PyErr_Occurred()) SWIG_fail
;
23475 resultobj
= SWIG_Py_Void();
23490 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23491 PyObject
*resultobj
= 0;
23492 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23495 PyObject
*swig_obj
[1] ;
23497 if (!args
) SWIG_fail
;
23498 swig_obj
[0] = args
;
23499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23500 if (!SWIG_IsOK(res1
)) {
23501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23503 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23507 wxPyEndAllowThreads(__tstate
);
23508 if (PyErr_Occurred()) SWIG_fail
;
23510 resultobj
= SWIG_Py_Void();
23517 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23518 PyObject
*resultobj
= 0;
23519 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23520 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23525 PyObject
* obj0
= 0 ;
23526 PyObject
* obj1
= 0 ;
23527 char * kwnames
[] = {
23528 (char *) "self",(char *) "tbar", NULL
23531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23533 if (!SWIG_IsOK(res1
)) {
23534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23536 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23537 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23538 if (!SWIG_IsOK(res2
)) {
23539 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23541 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23544 (arg1
)->Attach(arg2
);
23545 wxPyEndAllowThreads(__tstate
);
23546 if (PyErr_Occurred()) SWIG_fail
;
23548 resultobj
= SWIG_Py_Void();
23555 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23556 PyObject
*resultobj
= 0;
23557 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23558 PyObject
*result
= 0 ;
23561 PyObject
*swig_obj
[1] ;
23563 if (!args
) SWIG_fail
;
23564 swig_obj
[0] = args
;
23565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23566 if (!SWIG_IsOK(res1
)) {
23567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23569 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23572 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23573 wxPyEndAllowThreads(__tstate
);
23574 if (PyErr_Occurred()) SWIG_fail
;
23576 resultobj
= result
;
23583 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23584 PyObject
*resultobj
= 0;
23585 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23586 PyObject
*arg2
= (PyObject
*) 0 ;
23589 PyObject
* obj0
= 0 ;
23590 PyObject
* obj1
= 0 ;
23591 char * kwnames
[] = {
23592 (char *) "self",(char *) "clientData", NULL
23595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23597 if (!SWIG_IsOK(res1
)) {
23598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23600 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23604 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23605 wxPyEndAllowThreads(__tstate
);
23606 if (PyErr_Occurred()) SWIG_fail
;
23608 resultobj
= SWIG_Py_Void();
23615 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23617 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23618 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23619 return SWIG_Py_Void();
23622 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23623 PyObject
*resultobj
= 0;
23624 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23626 wxString
*arg3
= 0 ;
23627 wxBitmap
*arg4
= 0 ;
23628 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23629 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23630 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23631 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23632 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23633 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23634 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23635 PyObject
*arg9
= (PyObject
*) NULL
;
23636 wxToolBarToolBase
*result
= 0 ;
23641 bool temp3
= false ;
23648 bool temp7
= false ;
23649 bool temp8
= false ;
23650 PyObject
* obj0
= 0 ;
23651 PyObject
* obj1
= 0 ;
23652 PyObject
* obj2
= 0 ;
23653 PyObject
* obj3
= 0 ;
23654 PyObject
* obj4
= 0 ;
23655 PyObject
* obj5
= 0 ;
23656 PyObject
* obj6
= 0 ;
23657 PyObject
* obj7
= 0 ;
23658 PyObject
* obj8
= 0 ;
23659 char * kwnames
[] = {
23660 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23665 if (!SWIG_IsOK(res1
)) {
23666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23668 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23669 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23670 if (!SWIG_IsOK(ecode2
)) {
23671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23673 arg2
= static_cast< int >(val2
);
23675 arg3
= wxString_in_helper(obj2
);
23676 if (arg3
== NULL
) SWIG_fail
;
23679 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23680 if (!SWIG_IsOK(res4
)) {
23681 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23684 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23686 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23688 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23689 if (!SWIG_IsOK(res5
)) {
23690 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23693 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23695 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23698 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23699 if (!SWIG_IsOK(ecode6
)) {
23700 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23702 arg6
= static_cast< wxItemKind
>(val6
);
23706 arg7
= wxString_in_helper(obj6
);
23707 if (arg7
== NULL
) SWIG_fail
;
23713 arg8
= wxString_in_helper(obj7
);
23714 if (arg8
== NULL
) SWIG_fail
;
23722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23723 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23724 wxPyEndAllowThreads(__tstate
);
23725 if (PyErr_Occurred()) SWIG_fail
;
23728 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23760 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23761 PyObject
*resultobj
= 0;
23762 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23765 wxString
*arg4
= 0 ;
23766 wxBitmap
*arg5
= 0 ;
23767 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23768 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23769 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23770 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23771 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23772 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23773 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23774 PyObject
*arg10
= (PyObject
*) NULL
;
23775 wxToolBarToolBase
*result
= 0 ;
23782 bool temp4
= false ;
23789 bool temp8
= false ;
23790 bool temp9
= false ;
23791 PyObject
* obj0
= 0 ;
23792 PyObject
* obj1
= 0 ;
23793 PyObject
* obj2
= 0 ;
23794 PyObject
* obj3
= 0 ;
23795 PyObject
* obj4
= 0 ;
23796 PyObject
* obj5
= 0 ;
23797 PyObject
* obj6
= 0 ;
23798 PyObject
* obj7
= 0 ;
23799 PyObject
* obj8
= 0 ;
23800 PyObject
* obj9
= 0 ;
23801 char * kwnames
[] = {
23802 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23807 if (!SWIG_IsOK(res1
)) {
23808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23810 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23811 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23812 if (!SWIG_IsOK(ecode2
)) {
23813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23815 arg2
= static_cast< size_t >(val2
);
23816 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23817 if (!SWIG_IsOK(ecode3
)) {
23818 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23820 arg3
= static_cast< int >(val3
);
23822 arg4
= wxString_in_helper(obj3
);
23823 if (arg4
== NULL
) SWIG_fail
;
23826 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23827 if (!SWIG_IsOK(res5
)) {
23828 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23831 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23833 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23835 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23836 if (!SWIG_IsOK(res6
)) {
23837 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23842 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
23845 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23846 if (!SWIG_IsOK(ecode7
)) {
23847 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23849 arg7
= static_cast< wxItemKind
>(val7
);
23853 arg8
= wxString_in_helper(obj7
);
23854 if (arg8
== NULL
) SWIG_fail
;
23860 arg9
= wxString_in_helper(obj8
);
23861 if (arg9
== NULL
) SWIG_fail
;
23869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23870 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
23871 wxPyEndAllowThreads(__tstate
);
23872 if (PyErr_Occurred()) SWIG_fail
;
23875 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23907 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23908 PyObject
*resultobj
= 0;
23909 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23910 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
23911 wxToolBarToolBase
*result
= 0 ;
23916 PyObject
* obj0
= 0 ;
23917 PyObject
* obj1
= 0 ;
23918 char * kwnames
[] = {
23919 (char *) "self",(char *) "tool", NULL
23922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23924 if (!SWIG_IsOK(res1
)) {
23925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23927 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23928 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23929 if (!SWIG_IsOK(res2
)) {
23930 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
23932 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
23934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23935 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
23936 wxPyEndAllowThreads(__tstate
);
23937 if (PyErr_Occurred()) SWIG_fail
;
23940 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23948 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23949 PyObject
*resultobj
= 0;
23950 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23952 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
23953 wxToolBarToolBase
*result
= 0 ;
23960 PyObject
* obj0
= 0 ;
23961 PyObject
* obj1
= 0 ;
23962 PyObject
* obj2
= 0 ;
23963 char * kwnames
[] = {
23964 (char *) "self",(char *) "pos",(char *) "tool", NULL
23967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23969 if (!SWIG_IsOK(res1
)) {
23970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23972 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23973 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23974 if (!SWIG_IsOK(ecode2
)) {
23975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
23977 arg2
= static_cast< size_t >(val2
);
23978 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23979 if (!SWIG_IsOK(res3
)) {
23980 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
23982 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
23984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23985 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
23986 wxPyEndAllowThreads(__tstate
);
23987 if (PyErr_Occurred()) SWIG_fail
;
23990 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23998 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23999 PyObject
*resultobj
= 0;
24000 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24001 wxControl
*arg2
= (wxControl
*) 0 ;
24002 wxToolBarToolBase
*result
= 0 ;
24007 PyObject
* obj0
= 0 ;
24008 PyObject
* obj1
= 0 ;
24009 char * kwnames
[] = {
24010 (char *) "self",(char *) "control", NULL
24013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24015 if (!SWIG_IsOK(res1
)) {
24016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24018 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24019 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
24020 if (!SWIG_IsOK(res2
)) {
24021 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24023 arg2
= reinterpret_cast< wxControl
* >(argp2
);
24025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24026 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
24027 wxPyEndAllowThreads(__tstate
);
24028 if (PyErr_Occurred()) SWIG_fail
;
24031 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24039 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24040 PyObject
*resultobj
= 0;
24041 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24043 wxControl
*arg3
= (wxControl
*) 0 ;
24044 wxToolBarToolBase
*result
= 0 ;
24051 PyObject
* obj0
= 0 ;
24052 PyObject
* obj1
= 0 ;
24053 PyObject
* obj2
= 0 ;
24054 char * kwnames
[] = {
24055 (char *) "self",(char *) "pos",(char *) "control", NULL
24058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24060 if (!SWIG_IsOK(res1
)) {
24061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24063 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24064 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24065 if (!SWIG_IsOK(ecode2
)) {
24066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24068 arg2
= static_cast< size_t >(val2
);
24069 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
24070 if (!SWIG_IsOK(res3
)) {
24071 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24073 arg3
= reinterpret_cast< wxControl
* >(argp3
);
24075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24076 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
24077 wxPyEndAllowThreads(__tstate
);
24078 if (PyErr_Occurred()) SWIG_fail
;
24081 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24089 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24090 PyObject
*resultobj
= 0;
24091 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24093 wxControl
*result
= 0 ;
24098 PyObject
* obj0
= 0 ;
24099 PyObject
* obj1
= 0 ;
24100 char * kwnames
[] = {
24101 (char *) "self",(char *) "id", NULL
24104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24106 if (!SWIG_IsOK(res1
)) {
24107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24109 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24110 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24111 if (!SWIG_IsOK(ecode2
)) {
24112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24114 arg2
= static_cast< int >(val2
);
24116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24117 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24118 wxPyEndAllowThreads(__tstate
);
24119 if (PyErr_Occurred()) SWIG_fail
;
24122 resultobj
= wxPyMake_wxObject(result
, 0);
24130 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24131 PyObject
*resultobj
= 0;
24132 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24133 wxToolBarToolBase
*result
= 0 ;
24136 PyObject
*swig_obj
[1] ;
24138 if (!args
) SWIG_fail
;
24139 swig_obj
[0] = args
;
24140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24141 if (!SWIG_IsOK(res1
)) {
24142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24144 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24147 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24148 wxPyEndAllowThreads(__tstate
);
24149 if (PyErr_Occurred()) SWIG_fail
;
24152 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24160 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24161 PyObject
*resultobj
= 0;
24162 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24164 wxToolBarToolBase
*result
= 0 ;
24169 PyObject
* obj0
= 0 ;
24170 PyObject
* obj1
= 0 ;
24171 char * kwnames
[] = {
24172 (char *) "self",(char *) "pos", NULL
24175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24177 if (!SWIG_IsOK(res1
)) {
24178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24180 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24181 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24182 if (!SWIG_IsOK(ecode2
)) {
24183 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24185 arg2
= static_cast< size_t >(val2
);
24187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24188 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24189 wxPyEndAllowThreads(__tstate
);
24190 if (PyErr_Occurred()) SWIG_fail
;
24193 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24201 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24202 PyObject
*resultobj
= 0;
24203 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24205 wxToolBarToolBase
*result
= 0 ;
24210 PyObject
* obj0
= 0 ;
24211 PyObject
* obj1
= 0 ;
24212 char * kwnames
[] = {
24213 (char *) "self",(char *) "id", NULL
24216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24218 if (!SWIG_IsOK(res1
)) {
24219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24221 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24222 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24223 if (!SWIG_IsOK(ecode2
)) {
24224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24226 arg2
= static_cast< int >(val2
);
24228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24229 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24230 wxPyEndAllowThreads(__tstate
);
24231 if (PyErr_Occurred()) SWIG_fail
;
24234 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24242 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24243 PyObject
*resultobj
= 0;
24244 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24251 PyObject
* obj0
= 0 ;
24252 PyObject
* obj1
= 0 ;
24253 char * kwnames
[] = {
24254 (char *) "self",(char *) "pos", NULL
24257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24259 if (!SWIG_IsOK(res1
)) {
24260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24262 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24263 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24264 if (!SWIG_IsOK(ecode2
)) {
24265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24267 arg2
= static_cast< size_t >(val2
);
24269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24270 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24271 wxPyEndAllowThreads(__tstate
);
24272 if (PyErr_Occurred()) SWIG_fail
;
24275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24283 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24284 PyObject
*resultobj
= 0;
24285 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24292 PyObject
* obj0
= 0 ;
24293 PyObject
* obj1
= 0 ;
24294 char * kwnames
[] = {
24295 (char *) "self",(char *) "id", NULL
24298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24300 if (!SWIG_IsOK(res1
)) {
24301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24303 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24304 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24305 if (!SWIG_IsOK(ecode2
)) {
24306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24308 arg2
= static_cast< int >(val2
);
24310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24311 result
= (bool)(arg1
)->DeleteTool(arg2
);
24312 wxPyEndAllowThreads(__tstate
);
24313 if (PyErr_Occurred()) SWIG_fail
;
24316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24324 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24325 PyObject
*resultobj
= 0;
24326 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24329 PyObject
*swig_obj
[1] ;
24331 if (!args
) SWIG_fail
;
24332 swig_obj
[0] = args
;
24333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24334 if (!SWIG_IsOK(res1
)) {
24335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24337 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24340 (arg1
)->ClearTools();
24341 wxPyEndAllowThreads(__tstate
);
24342 if (PyErr_Occurred()) SWIG_fail
;
24344 resultobj
= SWIG_Py_Void();
24351 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24352 PyObject
*resultobj
= 0;
24353 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24357 PyObject
*swig_obj
[1] ;
24359 if (!args
) SWIG_fail
;
24360 swig_obj
[0] = args
;
24361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24362 if (!SWIG_IsOK(res1
)) {
24363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24365 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24368 result
= (bool)(arg1
)->Realize();
24369 wxPyEndAllowThreads(__tstate
);
24370 if (PyErr_Occurred()) SWIG_fail
;
24373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24381 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24382 PyObject
*resultobj
= 0;
24383 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24392 PyObject
* obj0
= 0 ;
24393 PyObject
* obj1
= 0 ;
24394 PyObject
* obj2
= 0 ;
24395 char * kwnames
[] = {
24396 (char *) "self",(char *) "id",(char *) "enable", NULL
24399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24401 if (!SWIG_IsOK(res1
)) {
24402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24404 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24405 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24406 if (!SWIG_IsOK(ecode2
)) {
24407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24409 arg2
= static_cast< int >(val2
);
24410 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24411 if (!SWIG_IsOK(ecode3
)) {
24412 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24414 arg3
= static_cast< bool >(val3
);
24416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24417 (arg1
)->EnableTool(arg2
,arg3
);
24418 wxPyEndAllowThreads(__tstate
);
24419 if (PyErr_Occurred()) SWIG_fail
;
24421 resultobj
= SWIG_Py_Void();
24428 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24429 PyObject
*resultobj
= 0;
24430 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24439 PyObject
* obj0
= 0 ;
24440 PyObject
* obj1
= 0 ;
24441 PyObject
* obj2
= 0 ;
24442 char * kwnames
[] = {
24443 (char *) "self",(char *) "id",(char *) "toggle", NULL
24446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24448 if (!SWIG_IsOK(res1
)) {
24449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24451 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24452 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24453 if (!SWIG_IsOK(ecode2
)) {
24454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24456 arg2
= static_cast< int >(val2
);
24457 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24458 if (!SWIG_IsOK(ecode3
)) {
24459 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24461 arg3
= static_cast< bool >(val3
);
24463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24464 (arg1
)->ToggleTool(arg2
,arg3
);
24465 wxPyEndAllowThreads(__tstate
);
24466 if (PyErr_Occurred()) SWIG_fail
;
24468 resultobj
= SWIG_Py_Void();
24475 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24476 PyObject
*resultobj
= 0;
24477 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24486 PyObject
* obj0
= 0 ;
24487 PyObject
* obj1
= 0 ;
24488 PyObject
* obj2
= 0 ;
24489 char * kwnames
[] = {
24490 (char *) "self",(char *) "id",(char *) "toggle", NULL
24493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24495 if (!SWIG_IsOK(res1
)) {
24496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24498 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24500 if (!SWIG_IsOK(ecode2
)) {
24501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24503 arg2
= static_cast< int >(val2
);
24504 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24505 if (!SWIG_IsOK(ecode3
)) {
24506 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24508 arg3
= static_cast< bool >(val3
);
24510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24511 (arg1
)->SetToggle(arg2
,arg3
);
24512 wxPyEndAllowThreads(__tstate
);
24513 if (PyErr_Occurred()) SWIG_fail
;
24515 resultobj
= SWIG_Py_Void();
24522 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24523 PyObject
*resultobj
= 0;
24524 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24526 PyObject
*result
= 0 ;
24531 PyObject
* obj0
= 0 ;
24532 PyObject
* obj1
= 0 ;
24533 char * kwnames
[] = {
24534 (char *) "self",(char *) "id", NULL
24537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24539 if (!SWIG_IsOK(res1
)) {
24540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24542 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24543 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24544 if (!SWIG_IsOK(ecode2
)) {
24545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24547 arg2
= static_cast< int >(val2
);
24549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24550 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24551 wxPyEndAllowThreads(__tstate
);
24552 if (PyErr_Occurred()) SWIG_fail
;
24554 resultobj
= result
;
24561 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24562 PyObject
*resultobj
= 0;
24563 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24565 PyObject
*arg3
= (PyObject
*) 0 ;
24570 PyObject
* obj0
= 0 ;
24571 PyObject
* obj1
= 0 ;
24572 PyObject
* obj2
= 0 ;
24573 char * kwnames
[] = {
24574 (char *) "self",(char *) "id",(char *) "clientData", NULL
24577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24579 if (!SWIG_IsOK(res1
)) {
24580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24582 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24583 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24584 if (!SWIG_IsOK(ecode2
)) {
24585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24587 arg2
= static_cast< int >(val2
);
24590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24591 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24592 wxPyEndAllowThreads(__tstate
);
24593 if (PyErr_Occurred()) SWIG_fail
;
24595 resultobj
= SWIG_Py_Void();
24602 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24603 PyObject
*resultobj
= 0;
24604 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24611 PyObject
* obj0
= 0 ;
24612 PyObject
* obj1
= 0 ;
24613 char * kwnames
[] = {
24614 (char *) "self",(char *) "id", NULL
24617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24619 if (!SWIG_IsOK(res1
)) {
24620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24622 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24624 if (!SWIG_IsOK(ecode2
)) {
24625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24627 arg2
= static_cast< int >(val2
);
24629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24630 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24631 wxPyEndAllowThreads(__tstate
);
24632 if (PyErr_Occurred()) SWIG_fail
;
24634 resultobj
= SWIG_From_int(static_cast< int >(result
));
24641 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24642 PyObject
*resultobj
= 0;
24643 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24650 PyObject
* obj0
= 0 ;
24651 PyObject
* obj1
= 0 ;
24652 char * kwnames
[] = {
24653 (char *) "self",(char *) "id", NULL
24656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24658 if (!SWIG_IsOK(res1
)) {
24659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24661 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24663 if (!SWIG_IsOK(ecode2
)) {
24664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24666 arg2
= static_cast< int >(val2
);
24668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24669 result
= (bool)(arg1
)->GetToolState(arg2
);
24670 wxPyEndAllowThreads(__tstate
);
24671 if (PyErr_Occurred()) SWIG_fail
;
24674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24682 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24683 PyObject
*resultobj
= 0;
24684 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24691 PyObject
* obj0
= 0 ;
24692 PyObject
* obj1
= 0 ;
24693 char * kwnames
[] = {
24694 (char *) "self",(char *) "id", NULL
24697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24699 if (!SWIG_IsOK(res1
)) {
24700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24702 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24703 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24704 if (!SWIG_IsOK(ecode2
)) {
24705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24707 arg2
= static_cast< int >(val2
);
24709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24710 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24711 wxPyEndAllowThreads(__tstate
);
24712 if (PyErr_Occurred()) SWIG_fail
;
24715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24723 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24724 PyObject
*resultobj
= 0;
24725 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24727 wxString
*arg3
= 0 ;
24732 bool temp3
= false ;
24733 PyObject
* obj0
= 0 ;
24734 PyObject
* obj1
= 0 ;
24735 PyObject
* obj2
= 0 ;
24736 char * kwnames
[] = {
24737 (char *) "self",(char *) "id",(char *) "helpString", NULL
24740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24742 if (!SWIG_IsOK(res1
)) {
24743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24745 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24746 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24747 if (!SWIG_IsOK(ecode2
)) {
24748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24750 arg2
= static_cast< int >(val2
);
24752 arg3
= wxString_in_helper(obj2
);
24753 if (arg3
== NULL
) SWIG_fail
;
24757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24758 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24759 wxPyEndAllowThreads(__tstate
);
24760 if (PyErr_Occurred()) SWIG_fail
;
24762 resultobj
= SWIG_Py_Void();
24777 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24778 PyObject
*resultobj
= 0;
24779 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24786 PyObject
* obj0
= 0 ;
24787 PyObject
* obj1
= 0 ;
24788 char * kwnames
[] = {
24789 (char *) "self",(char *) "id", NULL
24792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24794 if (!SWIG_IsOK(res1
)) {
24795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24797 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24798 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24799 if (!SWIG_IsOK(ecode2
)) {
24800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24802 arg2
= static_cast< int >(val2
);
24804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24805 result
= (arg1
)->GetToolShortHelp(arg2
);
24806 wxPyEndAllowThreads(__tstate
);
24807 if (PyErr_Occurred()) SWIG_fail
;
24811 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24813 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24822 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24823 PyObject
*resultobj
= 0;
24824 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24826 wxString
*arg3
= 0 ;
24831 bool temp3
= false ;
24832 PyObject
* obj0
= 0 ;
24833 PyObject
* obj1
= 0 ;
24834 PyObject
* obj2
= 0 ;
24835 char * kwnames
[] = {
24836 (char *) "self",(char *) "id",(char *) "helpString", NULL
24839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24841 if (!SWIG_IsOK(res1
)) {
24842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24844 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24846 if (!SWIG_IsOK(ecode2
)) {
24847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24849 arg2
= static_cast< int >(val2
);
24851 arg3
= wxString_in_helper(obj2
);
24852 if (arg3
== NULL
) SWIG_fail
;
24856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24857 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
24858 wxPyEndAllowThreads(__tstate
);
24859 if (PyErr_Occurred()) SWIG_fail
;
24861 resultobj
= SWIG_Py_Void();
24876 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24877 PyObject
*resultobj
= 0;
24878 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24885 PyObject
* obj0
= 0 ;
24886 PyObject
* obj1
= 0 ;
24887 char * kwnames
[] = {
24888 (char *) "self",(char *) "id", NULL
24891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24893 if (!SWIG_IsOK(res1
)) {
24894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24896 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24897 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24898 if (!SWIG_IsOK(ecode2
)) {
24899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24901 arg2
= static_cast< int >(val2
);
24903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24904 result
= (arg1
)->GetToolLongHelp(arg2
);
24905 wxPyEndAllowThreads(__tstate
);
24906 if (PyErr_Occurred()) SWIG_fail
;
24910 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24912 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24921 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24922 PyObject
*resultobj
= 0;
24923 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24932 PyObject
* obj0
= 0 ;
24933 PyObject
* obj1
= 0 ;
24934 PyObject
* obj2
= 0 ;
24935 char * kwnames
[] = {
24936 (char *) "self",(char *) "x",(char *) "y", NULL
24939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24941 if (!SWIG_IsOK(res1
)) {
24942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24944 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24945 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24946 if (!SWIG_IsOK(ecode2
)) {
24947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
24949 arg2
= static_cast< int >(val2
);
24950 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24951 if (!SWIG_IsOK(ecode3
)) {
24952 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
24954 arg3
= static_cast< int >(val3
);
24956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24957 (arg1
)->SetMargins(arg2
,arg3
);
24958 wxPyEndAllowThreads(__tstate
);
24959 if (PyErr_Occurred()) SWIG_fail
;
24961 resultobj
= SWIG_Py_Void();
24968 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24969 PyObject
*resultobj
= 0;
24970 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24975 PyObject
* obj0
= 0 ;
24976 PyObject
* obj1
= 0 ;
24977 char * kwnames
[] = {
24978 (char *) "self",(char *) "size", NULL
24981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24983 if (!SWIG_IsOK(res1
)) {
24984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24986 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24989 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24993 (arg1
)->SetMargins((wxSize
const &)*arg2
);
24994 wxPyEndAllowThreads(__tstate
);
24995 if (PyErr_Occurred()) SWIG_fail
;
24997 resultobj
= SWIG_Py_Void();
25004 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25005 PyObject
*resultobj
= 0;
25006 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25012 PyObject
* obj0
= 0 ;
25013 PyObject
* obj1
= 0 ;
25014 char * kwnames
[] = {
25015 (char *) "self",(char *) "packing", NULL
25018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25020 if (!SWIG_IsOK(res1
)) {
25021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25023 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25024 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25025 if (!SWIG_IsOK(ecode2
)) {
25026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25028 arg2
= static_cast< int >(val2
);
25030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25031 (arg1
)->SetToolPacking(arg2
);
25032 wxPyEndAllowThreads(__tstate
);
25033 if (PyErr_Occurred()) SWIG_fail
;
25035 resultobj
= SWIG_Py_Void();
25042 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25043 PyObject
*resultobj
= 0;
25044 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25050 PyObject
* obj0
= 0 ;
25051 PyObject
* obj1
= 0 ;
25052 char * kwnames
[] = {
25053 (char *) "self",(char *) "separation", NULL
25056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25058 if (!SWIG_IsOK(res1
)) {
25059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25061 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25062 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25063 if (!SWIG_IsOK(ecode2
)) {
25064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25066 arg2
= static_cast< int >(val2
);
25068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25069 (arg1
)->SetToolSeparation(arg2
);
25070 wxPyEndAllowThreads(__tstate
);
25071 if (PyErr_Occurred()) SWIG_fail
;
25073 resultobj
= SWIG_Py_Void();
25080 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25081 PyObject
*resultobj
= 0;
25082 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25086 PyObject
*swig_obj
[1] ;
25088 if (!args
) SWIG_fail
;
25089 swig_obj
[0] = args
;
25090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25091 if (!SWIG_IsOK(res1
)) {
25092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25094 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25097 result
= (arg1
)->GetToolMargins();
25098 wxPyEndAllowThreads(__tstate
);
25099 if (PyErr_Occurred()) SWIG_fail
;
25101 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25108 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25109 PyObject
*resultobj
= 0;
25110 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25114 PyObject
*swig_obj
[1] ;
25116 if (!args
) SWIG_fail
;
25117 swig_obj
[0] = args
;
25118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25119 if (!SWIG_IsOK(res1
)) {
25120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25122 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25125 result
= (arg1
)->GetMargins();
25126 wxPyEndAllowThreads(__tstate
);
25127 if (PyErr_Occurred()) SWIG_fail
;
25129 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25136 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25137 PyObject
*resultobj
= 0;
25138 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25142 PyObject
*swig_obj
[1] ;
25144 if (!args
) SWIG_fail
;
25145 swig_obj
[0] = args
;
25146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25147 if (!SWIG_IsOK(res1
)) {
25148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25150 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25153 result
= (int)(arg1
)->GetToolPacking();
25154 wxPyEndAllowThreads(__tstate
);
25155 if (PyErr_Occurred()) SWIG_fail
;
25157 resultobj
= SWIG_From_int(static_cast< int >(result
));
25164 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25165 PyObject
*resultobj
= 0;
25166 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25170 PyObject
*swig_obj
[1] ;
25172 if (!args
) SWIG_fail
;
25173 swig_obj
[0] = args
;
25174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25175 if (!SWIG_IsOK(res1
)) {
25176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25178 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25181 result
= (int)(arg1
)->GetToolSeparation();
25182 wxPyEndAllowThreads(__tstate
);
25183 if (PyErr_Occurred()) SWIG_fail
;
25185 resultobj
= SWIG_From_int(static_cast< int >(result
));
25192 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25193 PyObject
*resultobj
= 0;
25194 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25200 PyObject
* obj0
= 0 ;
25201 PyObject
* obj1
= 0 ;
25202 char * kwnames
[] = {
25203 (char *) "self",(char *) "nRows", NULL
25206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25208 if (!SWIG_IsOK(res1
)) {
25209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25211 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25212 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25213 if (!SWIG_IsOK(ecode2
)) {
25214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25216 arg2
= static_cast< int >(val2
);
25218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25219 (arg1
)->SetRows(arg2
);
25220 wxPyEndAllowThreads(__tstate
);
25221 if (PyErr_Occurred()) SWIG_fail
;
25223 resultobj
= SWIG_Py_Void();
25230 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25231 PyObject
*resultobj
= 0;
25232 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25241 PyObject
* obj0
= 0 ;
25242 PyObject
* obj1
= 0 ;
25243 PyObject
* obj2
= 0 ;
25244 char * kwnames
[] = {
25245 (char *) "self",(char *) "rows",(char *) "cols", NULL
25248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25250 if (!SWIG_IsOK(res1
)) {
25251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25253 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25254 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25255 if (!SWIG_IsOK(ecode2
)) {
25256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25258 arg2
= static_cast< int >(val2
);
25259 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25260 if (!SWIG_IsOK(ecode3
)) {
25261 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25263 arg3
= static_cast< int >(val3
);
25265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25266 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25267 wxPyEndAllowThreads(__tstate
);
25268 if (PyErr_Occurred()) SWIG_fail
;
25270 resultobj
= SWIG_Py_Void();
25277 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25278 PyObject
*resultobj
= 0;
25279 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25283 PyObject
*swig_obj
[1] ;
25285 if (!args
) SWIG_fail
;
25286 swig_obj
[0] = args
;
25287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25288 if (!SWIG_IsOK(res1
)) {
25289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25291 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25294 result
= (int)(arg1
)->GetMaxRows();
25295 wxPyEndAllowThreads(__tstate
);
25296 if (PyErr_Occurred()) SWIG_fail
;
25298 resultobj
= SWIG_From_int(static_cast< int >(result
));
25305 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25306 PyObject
*resultobj
= 0;
25307 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25311 PyObject
*swig_obj
[1] ;
25313 if (!args
) SWIG_fail
;
25314 swig_obj
[0] = args
;
25315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25316 if (!SWIG_IsOK(res1
)) {
25317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25319 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25322 result
= (int)(arg1
)->GetMaxCols();
25323 wxPyEndAllowThreads(__tstate
);
25324 if (PyErr_Occurred()) SWIG_fail
;
25326 resultobj
= SWIG_From_int(static_cast< int >(result
));
25333 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25334 PyObject
*resultobj
= 0;
25335 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25340 PyObject
* obj0
= 0 ;
25341 PyObject
* obj1
= 0 ;
25342 char * kwnames
[] = {
25343 (char *) "self",(char *) "size", NULL
25346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25348 if (!SWIG_IsOK(res1
)) {
25349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25351 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25354 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25358 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25359 wxPyEndAllowThreads(__tstate
);
25360 if (PyErr_Occurred()) SWIG_fail
;
25362 resultobj
= SWIG_Py_Void();
25369 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25370 PyObject
*resultobj
= 0;
25371 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25375 PyObject
*swig_obj
[1] ;
25377 if (!args
) SWIG_fail
;
25378 swig_obj
[0] = args
;
25379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25380 if (!SWIG_IsOK(res1
)) {
25381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25383 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25386 result
= (arg1
)->GetToolBitmapSize();
25387 wxPyEndAllowThreads(__tstate
);
25388 if (PyErr_Occurred()) SWIG_fail
;
25390 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25397 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25398 PyObject
*resultobj
= 0;
25399 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25403 PyObject
*swig_obj
[1] ;
25405 if (!args
) SWIG_fail
;
25406 swig_obj
[0] = args
;
25407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25408 if (!SWIG_IsOK(res1
)) {
25409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25411 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25414 result
= (arg1
)->GetToolSize();
25415 wxPyEndAllowThreads(__tstate
);
25416 if (PyErr_Occurred()) SWIG_fail
;
25418 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25425 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25426 PyObject
*resultobj
= 0;
25427 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25430 wxToolBarToolBase
*result
= 0 ;
25437 PyObject
* obj0
= 0 ;
25438 PyObject
* obj1
= 0 ;
25439 PyObject
* obj2
= 0 ;
25440 char * kwnames
[] = {
25441 (char *) "self",(char *) "x",(char *) "y", NULL
25444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25446 if (!SWIG_IsOK(res1
)) {
25447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25449 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25450 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25451 if (!SWIG_IsOK(ecode2
)) {
25452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25454 arg2
= static_cast< int >(val2
);
25455 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25456 if (!SWIG_IsOK(ecode3
)) {
25457 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25459 arg3
= static_cast< int >(val3
);
25461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25462 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25463 wxPyEndAllowThreads(__tstate
);
25464 if (PyErr_Occurred()) SWIG_fail
;
25467 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25475 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25476 PyObject
*resultobj
= 0;
25477 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25479 wxToolBarToolBase
*result
= 0 ;
25484 PyObject
* obj0
= 0 ;
25485 PyObject
* obj1
= 0 ;
25486 char * kwnames
[] = {
25487 (char *) "self",(char *) "toolid", NULL
25490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",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_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25495 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25496 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25497 if (!SWIG_IsOK(ecode2
)) {
25498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25500 arg2
= static_cast< int >(val2
);
25502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25503 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25504 wxPyEndAllowThreads(__tstate
);
25505 if (PyErr_Occurred()) SWIG_fail
;
25508 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25516 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25517 PyObject
*resultobj
= 0;
25518 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25522 PyObject
*swig_obj
[1] ;
25524 if (!args
) SWIG_fail
;
25525 swig_obj
[0] = args
;
25526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25527 if (!SWIG_IsOK(res1
)) {
25528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25530 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25533 result
= (bool)(arg1
)->IsVertical();
25534 wxPyEndAllowThreads(__tstate
);
25535 if (PyErr_Occurred()) SWIG_fail
;
25538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25546 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25547 PyObject
*resultobj
= 0;
25548 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25552 PyObject
*swig_obj
[1] ;
25554 if (!args
) SWIG_fail
;
25555 swig_obj
[0] = args
;
25556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25557 if (!SWIG_IsOK(res1
)) {
25558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25560 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25563 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25564 wxPyEndAllowThreads(__tstate
);
25565 if (PyErr_Occurred()) SWIG_fail
;
25567 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25574 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25576 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25577 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25578 return SWIG_Py_Void();
25581 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25582 PyObject
*resultobj
= 0;
25583 wxWindow
*arg1
= (wxWindow
*) 0 ;
25584 int arg2
= (int) -1 ;
25585 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25586 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25587 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25588 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25589 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25590 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25591 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25592 wxToolBar
*result
= 0 ;
25601 bool temp6
= false ;
25602 PyObject
* obj0
= 0 ;
25603 PyObject
* obj1
= 0 ;
25604 PyObject
* obj2
= 0 ;
25605 PyObject
* obj3
= 0 ;
25606 PyObject
* obj4
= 0 ;
25607 PyObject
* obj5
= 0 ;
25608 char * kwnames
[] = {
25609 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25614 if (!SWIG_IsOK(res1
)) {
25615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25617 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25619 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25620 if (!SWIG_IsOK(ecode2
)) {
25621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25623 arg2
= static_cast< int >(val2
);
25628 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25634 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25638 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25639 if (!SWIG_IsOK(ecode5
)) {
25640 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25642 arg5
= static_cast< long >(val5
);
25646 arg6
= wxString_in_helper(obj5
);
25647 if (arg6
== NULL
) SWIG_fail
;
25652 if (!wxPyCheckForApp()) SWIG_fail
;
25653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25654 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25655 wxPyEndAllowThreads(__tstate
);
25656 if (PyErr_Occurred()) SWIG_fail
;
25658 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25673 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25674 PyObject
*resultobj
= 0;
25675 wxToolBar
*result
= 0 ;
25677 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25679 if (!wxPyCheckForApp()) SWIG_fail
;
25680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25681 result
= (wxToolBar
*)new wxToolBar();
25682 wxPyEndAllowThreads(__tstate
);
25683 if (PyErr_Occurred()) SWIG_fail
;
25685 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25692 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25693 PyObject
*resultobj
= 0;
25694 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25695 wxWindow
*arg2
= (wxWindow
*) 0 ;
25696 int arg3
= (int) -1 ;
25697 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25698 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25699 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25700 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25701 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25702 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25703 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25715 bool temp7
= false ;
25716 PyObject
* obj0
= 0 ;
25717 PyObject
* obj1
= 0 ;
25718 PyObject
* obj2
= 0 ;
25719 PyObject
* obj3
= 0 ;
25720 PyObject
* obj4
= 0 ;
25721 PyObject
* obj5
= 0 ;
25722 PyObject
* obj6
= 0 ;
25723 char * kwnames
[] = {
25724 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25729 if (!SWIG_IsOK(res1
)) {
25730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25732 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25733 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25734 if (!SWIG_IsOK(res2
)) {
25735 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25737 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25739 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25740 if (!SWIG_IsOK(ecode3
)) {
25741 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25743 arg3
= static_cast< int >(val3
);
25748 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25754 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25758 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25759 if (!SWIG_IsOK(ecode6
)) {
25760 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25762 arg6
= static_cast< long >(val6
);
25766 arg7
= wxString_in_helper(obj6
);
25767 if (arg7
== NULL
) SWIG_fail
;
25772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25773 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25774 wxPyEndAllowThreads(__tstate
);
25775 if (PyErr_Occurred()) SWIG_fail
;
25778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25794 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25795 PyObject
*resultobj
= 0;
25796 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25797 SwigValueWrapper
<wxVisualAttributes
> result
;
25800 PyObject
* obj0
= 0 ;
25801 char * kwnames
[] = {
25802 (char *) "variant", NULL
25805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25807 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25808 if (!SWIG_IsOK(ecode1
)) {
25809 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25811 arg1
= static_cast< wxWindowVariant
>(val1
);
25814 if (!wxPyCheckForApp()) SWIG_fail
;
25815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25816 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
25817 wxPyEndAllowThreads(__tstate
);
25818 if (PyErr_Occurred()) SWIG_fail
;
25820 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25827 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25829 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25830 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
25831 return SWIG_Py_Void();
25834 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25835 return SWIG_Python_InitShadowInstance(args
);
25838 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
25839 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
25844 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
25845 PyObject
*pyobj
= 0;
25849 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25851 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25858 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25859 PyObject
*resultobj
= 0;
25860 wxColour
const &arg1_defvalue
= wxNullColour
;
25861 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
25862 wxColour
const &arg2_defvalue
= wxNullColour
;
25863 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
25864 wxFont
const &arg3_defvalue
= wxNullFont
;
25865 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
25866 wxListItemAttr
*result
= 0 ;
25871 PyObject
* obj0
= 0 ;
25872 PyObject
* obj1
= 0 ;
25873 PyObject
* obj2
= 0 ;
25874 char * kwnames
[] = {
25875 (char *) "colText",(char *) "colBack",(char *) "font", NULL
25878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25882 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
25888 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25892 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
25893 if (!SWIG_IsOK(res3
)) {
25894 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25897 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25899 arg3
= reinterpret_cast< wxFont
* >(argp3
);
25902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25903 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
25904 wxPyEndAllowThreads(__tstate
);
25905 if (PyErr_Occurred()) SWIG_fail
;
25907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
25914 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25915 PyObject
*resultobj
= 0;
25916 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25919 PyObject
*swig_obj
[1] ;
25921 if (!args
) SWIG_fail
;
25922 swig_obj
[0] = args
;
25923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
25924 if (!SWIG_IsOK(res1
)) {
25925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25927 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25932 wxPyEndAllowThreads(__tstate
);
25933 if (PyErr_Occurred()) SWIG_fail
;
25935 resultobj
= SWIG_Py_Void();
25942 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25943 PyObject
*resultobj
= 0;
25944 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25945 wxColour
*arg2
= 0 ;
25949 PyObject
* obj0
= 0 ;
25950 PyObject
* obj1
= 0 ;
25951 char * kwnames
[] = {
25952 (char *) "self",(char *) "colText", NULL
25955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25957 if (!SWIG_IsOK(res1
)) {
25958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25960 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25963 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25967 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25968 wxPyEndAllowThreads(__tstate
);
25969 if (PyErr_Occurred()) SWIG_fail
;
25971 resultobj
= SWIG_Py_Void();
25978 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25979 PyObject
*resultobj
= 0;
25980 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25981 wxColour
*arg2
= 0 ;
25985 PyObject
* obj0
= 0 ;
25986 PyObject
* obj1
= 0 ;
25987 char * kwnames
[] = {
25988 (char *) "self",(char *) "colBack", NULL
25991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25993 if (!SWIG_IsOK(res1
)) {
25994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25996 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25999 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26003 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26004 wxPyEndAllowThreads(__tstate
);
26005 if (PyErr_Occurred()) SWIG_fail
;
26007 resultobj
= SWIG_Py_Void();
26014 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26015 PyObject
*resultobj
= 0;
26016 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26022 PyObject
* obj0
= 0 ;
26023 PyObject
* obj1
= 0 ;
26024 char * kwnames
[] = {
26025 (char *) "self",(char *) "font", NULL
26028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26030 if (!SWIG_IsOK(res1
)) {
26031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26033 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26034 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26035 if (!SWIG_IsOK(res2
)) {
26036 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26039 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26041 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26044 (arg1
)->SetFont((wxFont
const &)*arg2
);
26045 wxPyEndAllowThreads(__tstate
);
26046 if (PyErr_Occurred()) SWIG_fail
;
26048 resultobj
= SWIG_Py_Void();
26055 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26056 PyObject
*resultobj
= 0;
26057 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26061 PyObject
*swig_obj
[1] ;
26063 if (!args
) SWIG_fail
;
26064 swig_obj
[0] = args
;
26065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26066 if (!SWIG_IsOK(res1
)) {
26067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26069 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26072 result
= (bool)(arg1
)->HasTextColour();
26073 wxPyEndAllowThreads(__tstate
);
26074 if (PyErr_Occurred()) SWIG_fail
;
26077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26085 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26086 PyObject
*resultobj
= 0;
26087 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26091 PyObject
*swig_obj
[1] ;
26093 if (!args
) SWIG_fail
;
26094 swig_obj
[0] = args
;
26095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26096 if (!SWIG_IsOK(res1
)) {
26097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26099 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26102 result
= (bool)(arg1
)->HasBackgroundColour();
26103 wxPyEndAllowThreads(__tstate
);
26104 if (PyErr_Occurred()) SWIG_fail
;
26107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26115 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26116 PyObject
*resultobj
= 0;
26117 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26121 PyObject
*swig_obj
[1] ;
26123 if (!args
) SWIG_fail
;
26124 swig_obj
[0] = args
;
26125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26126 if (!SWIG_IsOK(res1
)) {
26127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26129 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26132 result
= (bool)(arg1
)->HasFont();
26133 wxPyEndAllowThreads(__tstate
);
26134 if (PyErr_Occurred()) SWIG_fail
;
26137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26145 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26146 PyObject
*resultobj
= 0;
26147 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26151 PyObject
*swig_obj
[1] ;
26153 if (!args
) SWIG_fail
;
26154 swig_obj
[0] = args
;
26155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26156 if (!SWIG_IsOK(res1
)) {
26157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26159 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26162 result
= (arg1
)->GetTextColour();
26163 wxPyEndAllowThreads(__tstate
);
26164 if (PyErr_Occurred()) SWIG_fail
;
26166 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26173 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26174 PyObject
*resultobj
= 0;
26175 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26179 PyObject
*swig_obj
[1] ;
26181 if (!args
) SWIG_fail
;
26182 swig_obj
[0] = args
;
26183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26184 if (!SWIG_IsOK(res1
)) {
26185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26187 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26190 result
= (arg1
)->GetBackgroundColour();
26191 wxPyEndAllowThreads(__tstate
);
26192 if (PyErr_Occurred()) SWIG_fail
;
26194 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26201 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26202 PyObject
*resultobj
= 0;
26203 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26207 PyObject
*swig_obj
[1] ;
26209 if (!args
) SWIG_fail
;
26210 swig_obj
[0] = args
;
26211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26212 if (!SWIG_IsOK(res1
)) {
26213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26215 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26218 result
= (arg1
)->GetFont();
26219 wxPyEndAllowThreads(__tstate
);
26220 if (PyErr_Occurred()) SWIG_fail
;
26222 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26229 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26230 PyObject
*resultobj
= 0;
26231 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26232 wxListItemAttr
*arg2
= 0 ;
26237 PyObject
* obj0
= 0 ;
26238 PyObject
* obj1
= 0 ;
26239 char * kwnames
[] = {
26240 (char *) "self",(char *) "source", NULL
26243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26245 if (!SWIG_IsOK(res1
)) {
26246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26248 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26249 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26250 if (!SWIG_IsOK(res2
)) {
26251 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26254 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26256 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26259 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26260 wxPyEndAllowThreads(__tstate
);
26261 if (PyErr_Occurred()) SWIG_fail
;
26263 resultobj
= SWIG_Py_Void();
26270 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26271 PyObject
*resultobj
= 0;
26272 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26275 PyObject
*swig_obj
[1] ;
26277 if (!args
) SWIG_fail
;
26278 swig_obj
[0] = args
;
26279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26280 if (!SWIG_IsOK(res1
)) {
26281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26283 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26286 wxListItemAttr_Destroy(arg1
);
26287 wxPyEndAllowThreads(__tstate
);
26288 if (PyErr_Occurred()) SWIG_fail
;
26290 resultobj
= SWIG_Py_Void();
26297 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26299 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26300 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26301 return SWIG_Py_Void();
26304 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26305 return SWIG_Python_InitShadowInstance(args
);
26308 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26309 PyObject
*resultobj
= 0;
26310 wxListItem
*result
= 0 ;
26312 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26315 result
= (wxListItem
*)new wxListItem();
26316 wxPyEndAllowThreads(__tstate
);
26317 if (PyErr_Occurred()) SWIG_fail
;
26320 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
26328 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26329 PyObject
*resultobj
= 0;
26330 wxListItem
*arg1
= (wxListItem
*) 0 ;
26333 PyObject
*swig_obj
[1] ;
26335 if (!args
) SWIG_fail
;
26336 swig_obj
[0] = args
;
26337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26338 if (!SWIG_IsOK(res1
)) {
26339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26341 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26346 wxPyEndAllowThreads(__tstate
);
26347 if (PyErr_Occurred()) SWIG_fail
;
26349 resultobj
= SWIG_Py_Void();
26356 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26357 PyObject
*resultobj
= 0;
26358 wxListItem
*arg1
= (wxListItem
*) 0 ;
26361 PyObject
*swig_obj
[1] ;
26363 if (!args
) SWIG_fail
;
26364 swig_obj
[0] = args
;
26365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26366 if (!SWIG_IsOK(res1
)) {
26367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26369 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26373 wxPyEndAllowThreads(__tstate
);
26374 if (PyErr_Occurred()) SWIG_fail
;
26376 resultobj
= SWIG_Py_Void();
26383 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26384 PyObject
*resultobj
= 0;
26385 wxListItem
*arg1
= (wxListItem
*) 0 ;
26388 PyObject
*swig_obj
[1] ;
26390 if (!args
) SWIG_fail
;
26391 swig_obj
[0] = args
;
26392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26393 if (!SWIG_IsOK(res1
)) {
26394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26396 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26399 (arg1
)->ClearAttributes();
26400 wxPyEndAllowThreads(__tstate
);
26401 if (PyErr_Occurred()) SWIG_fail
;
26403 resultobj
= SWIG_Py_Void();
26410 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26411 PyObject
*resultobj
= 0;
26412 wxListItem
*arg1
= (wxListItem
*) 0 ;
26418 PyObject
* obj0
= 0 ;
26419 PyObject
* obj1
= 0 ;
26420 char * kwnames
[] = {
26421 (char *) "self",(char *) "mask", NULL
26424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26426 if (!SWIG_IsOK(res1
)) {
26427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26429 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26430 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26431 if (!SWIG_IsOK(ecode2
)) {
26432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26434 arg2
= static_cast< long >(val2
);
26436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26437 (arg1
)->SetMask(arg2
);
26438 wxPyEndAllowThreads(__tstate
);
26439 if (PyErr_Occurred()) SWIG_fail
;
26441 resultobj
= SWIG_Py_Void();
26448 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26449 PyObject
*resultobj
= 0;
26450 wxListItem
*arg1
= (wxListItem
*) 0 ;
26456 PyObject
* obj0
= 0 ;
26457 PyObject
* obj1
= 0 ;
26458 char * kwnames
[] = {
26459 (char *) "self",(char *) "id", NULL
26462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26464 if (!SWIG_IsOK(res1
)) {
26465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26467 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26468 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26469 if (!SWIG_IsOK(ecode2
)) {
26470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26472 arg2
= static_cast< long >(val2
);
26474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26475 (arg1
)->SetId(arg2
);
26476 wxPyEndAllowThreads(__tstate
);
26477 if (PyErr_Occurred()) SWIG_fail
;
26479 resultobj
= SWIG_Py_Void();
26486 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26487 PyObject
*resultobj
= 0;
26488 wxListItem
*arg1
= (wxListItem
*) 0 ;
26494 PyObject
* obj0
= 0 ;
26495 PyObject
* obj1
= 0 ;
26496 char * kwnames
[] = {
26497 (char *) "self",(char *) "col", NULL
26500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26502 if (!SWIG_IsOK(res1
)) {
26503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26505 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26507 if (!SWIG_IsOK(ecode2
)) {
26508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26510 arg2
= static_cast< int >(val2
);
26512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26513 (arg1
)->SetColumn(arg2
);
26514 wxPyEndAllowThreads(__tstate
);
26515 if (PyErr_Occurred()) SWIG_fail
;
26517 resultobj
= SWIG_Py_Void();
26524 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26525 PyObject
*resultobj
= 0;
26526 wxListItem
*arg1
= (wxListItem
*) 0 ;
26532 PyObject
* obj0
= 0 ;
26533 PyObject
* obj1
= 0 ;
26534 char * kwnames
[] = {
26535 (char *) "self",(char *) "state", NULL
26538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26540 if (!SWIG_IsOK(res1
)) {
26541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26543 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26544 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26545 if (!SWIG_IsOK(ecode2
)) {
26546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26548 arg2
= static_cast< long >(val2
);
26550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26551 (arg1
)->SetState(arg2
);
26552 wxPyEndAllowThreads(__tstate
);
26553 if (PyErr_Occurred()) SWIG_fail
;
26555 resultobj
= SWIG_Py_Void();
26562 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26563 PyObject
*resultobj
= 0;
26564 wxListItem
*arg1
= (wxListItem
*) 0 ;
26570 PyObject
* obj0
= 0 ;
26571 PyObject
* obj1
= 0 ;
26572 char * kwnames
[] = {
26573 (char *) "self",(char *) "stateMask", NULL
26576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26578 if (!SWIG_IsOK(res1
)) {
26579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26581 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26582 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26583 if (!SWIG_IsOK(ecode2
)) {
26584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26586 arg2
= static_cast< long >(val2
);
26588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26589 (arg1
)->SetStateMask(arg2
);
26590 wxPyEndAllowThreads(__tstate
);
26591 if (PyErr_Occurred()) SWIG_fail
;
26593 resultobj
= SWIG_Py_Void();
26600 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26601 PyObject
*resultobj
= 0;
26602 wxListItem
*arg1
= (wxListItem
*) 0 ;
26603 wxString
*arg2
= 0 ;
26606 bool temp2
= false ;
26607 PyObject
* obj0
= 0 ;
26608 PyObject
* obj1
= 0 ;
26609 char * kwnames
[] = {
26610 (char *) "self",(char *) "text", NULL
26613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26615 if (!SWIG_IsOK(res1
)) {
26616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26618 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26620 arg2
= wxString_in_helper(obj1
);
26621 if (arg2
== NULL
) SWIG_fail
;
26625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26626 (arg1
)->SetText((wxString
const &)*arg2
);
26627 wxPyEndAllowThreads(__tstate
);
26628 if (PyErr_Occurred()) SWIG_fail
;
26630 resultobj
= SWIG_Py_Void();
26645 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26646 PyObject
*resultobj
= 0;
26647 wxListItem
*arg1
= (wxListItem
*) 0 ;
26653 PyObject
* obj0
= 0 ;
26654 PyObject
* obj1
= 0 ;
26655 char * kwnames
[] = {
26656 (char *) "self",(char *) "image", NULL
26659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26661 if (!SWIG_IsOK(res1
)) {
26662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26664 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26665 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26666 if (!SWIG_IsOK(ecode2
)) {
26667 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26669 arg2
= static_cast< int >(val2
);
26671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26672 (arg1
)->SetImage(arg2
);
26673 wxPyEndAllowThreads(__tstate
);
26674 if (PyErr_Occurred()) SWIG_fail
;
26676 resultobj
= SWIG_Py_Void();
26683 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26684 PyObject
*resultobj
= 0;
26685 wxListItem
*arg1
= (wxListItem
*) 0 ;
26691 PyObject
* obj0
= 0 ;
26692 PyObject
* obj1
= 0 ;
26693 char * kwnames
[] = {
26694 (char *) "self",(char *) "data", NULL
26697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26699 if (!SWIG_IsOK(res1
)) {
26700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26702 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26703 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26704 if (!SWIG_IsOK(ecode2
)) {
26705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26707 arg2
= static_cast< long >(val2
);
26709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26710 (arg1
)->SetData(arg2
);
26711 wxPyEndAllowThreads(__tstate
);
26712 if (PyErr_Occurred()) SWIG_fail
;
26714 resultobj
= SWIG_Py_Void();
26721 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26722 PyObject
*resultobj
= 0;
26723 wxListItem
*arg1
= (wxListItem
*) 0 ;
26729 PyObject
* obj0
= 0 ;
26730 PyObject
* obj1
= 0 ;
26731 char * kwnames
[] = {
26732 (char *) "self",(char *) "width", NULL
26735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26737 if (!SWIG_IsOK(res1
)) {
26738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26740 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26741 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26742 if (!SWIG_IsOK(ecode2
)) {
26743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26745 arg2
= static_cast< int >(val2
);
26747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26748 (arg1
)->SetWidth(arg2
);
26749 wxPyEndAllowThreads(__tstate
);
26750 if (PyErr_Occurred()) SWIG_fail
;
26752 resultobj
= SWIG_Py_Void();
26759 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26760 PyObject
*resultobj
= 0;
26761 wxListItem
*arg1
= (wxListItem
*) 0 ;
26762 wxListColumnFormat arg2
;
26767 PyObject
* obj0
= 0 ;
26768 PyObject
* obj1
= 0 ;
26769 char * kwnames
[] = {
26770 (char *) "self",(char *) "align", NULL
26773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26775 if (!SWIG_IsOK(res1
)) {
26776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26778 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26779 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26780 if (!SWIG_IsOK(ecode2
)) {
26781 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26783 arg2
= static_cast< wxListColumnFormat
>(val2
);
26785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26786 (arg1
)->SetAlign(arg2
);
26787 wxPyEndAllowThreads(__tstate
);
26788 if (PyErr_Occurred()) SWIG_fail
;
26790 resultobj
= SWIG_Py_Void();
26797 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26798 PyObject
*resultobj
= 0;
26799 wxListItem
*arg1
= (wxListItem
*) 0 ;
26800 wxColour
*arg2
= 0 ;
26804 PyObject
* obj0
= 0 ;
26805 PyObject
* obj1
= 0 ;
26806 char * kwnames
[] = {
26807 (char *) "self",(char *) "colText", NULL
26810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26812 if (!SWIG_IsOK(res1
)) {
26813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26815 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26818 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26822 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26823 wxPyEndAllowThreads(__tstate
);
26824 if (PyErr_Occurred()) SWIG_fail
;
26826 resultobj
= SWIG_Py_Void();
26833 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26834 PyObject
*resultobj
= 0;
26835 wxListItem
*arg1
= (wxListItem
*) 0 ;
26836 wxColour
*arg2
= 0 ;
26840 PyObject
* obj0
= 0 ;
26841 PyObject
* obj1
= 0 ;
26842 char * kwnames
[] = {
26843 (char *) "self",(char *) "colBack", NULL
26846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26848 if (!SWIG_IsOK(res1
)) {
26849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26851 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26854 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26858 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26859 wxPyEndAllowThreads(__tstate
);
26860 if (PyErr_Occurred()) SWIG_fail
;
26862 resultobj
= SWIG_Py_Void();
26869 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26870 PyObject
*resultobj
= 0;
26871 wxListItem
*arg1
= (wxListItem
*) 0 ;
26877 PyObject
* obj0
= 0 ;
26878 PyObject
* obj1
= 0 ;
26879 char * kwnames
[] = {
26880 (char *) "self",(char *) "font", NULL
26883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26885 if (!SWIG_IsOK(res1
)) {
26886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
26888 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26889 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26890 if (!SWIG_IsOK(res2
)) {
26891 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26894 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26896 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26899 (arg1
)->SetFont((wxFont
const &)*arg2
);
26900 wxPyEndAllowThreads(__tstate
);
26901 if (PyErr_Occurred()) SWIG_fail
;
26903 resultobj
= SWIG_Py_Void();
26910 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26911 PyObject
*resultobj
= 0;
26912 wxListItem
*arg1
= (wxListItem
*) 0 ;
26916 PyObject
*swig_obj
[1] ;
26918 if (!args
) SWIG_fail
;
26919 swig_obj
[0] = args
;
26920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26921 if (!SWIG_IsOK(res1
)) {
26922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26924 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26927 result
= (long)(arg1
)->GetMask();
26928 wxPyEndAllowThreads(__tstate
);
26929 if (PyErr_Occurred()) SWIG_fail
;
26931 resultobj
= SWIG_From_long(static_cast< long >(result
));
26938 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26939 PyObject
*resultobj
= 0;
26940 wxListItem
*arg1
= (wxListItem
*) 0 ;
26944 PyObject
*swig_obj
[1] ;
26946 if (!args
) SWIG_fail
;
26947 swig_obj
[0] = args
;
26948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26949 if (!SWIG_IsOK(res1
)) {
26950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26952 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26955 result
= (long)(arg1
)->GetId();
26956 wxPyEndAllowThreads(__tstate
);
26957 if (PyErr_Occurred()) SWIG_fail
;
26959 resultobj
= SWIG_From_long(static_cast< long >(result
));
26966 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26967 PyObject
*resultobj
= 0;
26968 wxListItem
*arg1
= (wxListItem
*) 0 ;
26972 PyObject
*swig_obj
[1] ;
26974 if (!args
) SWIG_fail
;
26975 swig_obj
[0] = args
;
26976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26977 if (!SWIG_IsOK(res1
)) {
26978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26980 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26983 result
= (int)(arg1
)->GetColumn();
26984 wxPyEndAllowThreads(__tstate
);
26985 if (PyErr_Occurred()) SWIG_fail
;
26987 resultobj
= SWIG_From_int(static_cast< int >(result
));
26994 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26995 PyObject
*resultobj
= 0;
26996 wxListItem
*arg1
= (wxListItem
*) 0 ;
27000 PyObject
*swig_obj
[1] ;
27002 if (!args
) SWIG_fail
;
27003 swig_obj
[0] = args
;
27004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27005 if (!SWIG_IsOK(res1
)) {
27006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27008 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27011 result
= (long)(arg1
)->GetState();
27012 wxPyEndAllowThreads(__tstate
);
27013 if (PyErr_Occurred()) SWIG_fail
;
27015 resultobj
= SWIG_From_long(static_cast< long >(result
));
27022 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27023 PyObject
*resultobj
= 0;
27024 wxListItem
*arg1
= (wxListItem
*) 0 ;
27025 wxString
*result
= 0 ;
27028 PyObject
*swig_obj
[1] ;
27030 if (!args
) SWIG_fail
;
27031 swig_obj
[0] = args
;
27032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27033 if (!SWIG_IsOK(res1
)) {
27034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27036 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27040 wxString
const &_result_ref
= (arg1
)->GetText();
27041 result
= (wxString
*) &_result_ref
;
27043 wxPyEndAllowThreads(__tstate
);
27044 if (PyErr_Occurred()) SWIG_fail
;
27048 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27050 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27059 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27060 PyObject
*resultobj
= 0;
27061 wxListItem
*arg1
= (wxListItem
*) 0 ;
27065 PyObject
*swig_obj
[1] ;
27067 if (!args
) SWIG_fail
;
27068 swig_obj
[0] = args
;
27069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27070 if (!SWIG_IsOK(res1
)) {
27071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27073 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27076 result
= (int)(arg1
)->GetImage();
27077 wxPyEndAllowThreads(__tstate
);
27078 if (PyErr_Occurred()) SWIG_fail
;
27080 resultobj
= SWIG_From_int(static_cast< int >(result
));
27087 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27088 PyObject
*resultobj
= 0;
27089 wxListItem
*arg1
= (wxListItem
*) 0 ;
27093 PyObject
*swig_obj
[1] ;
27095 if (!args
) SWIG_fail
;
27096 swig_obj
[0] = args
;
27097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27098 if (!SWIG_IsOK(res1
)) {
27099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27101 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27104 result
= (long)(arg1
)->GetData();
27105 wxPyEndAllowThreads(__tstate
);
27106 if (PyErr_Occurred()) SWIG_fail
;
27108 resultobj
= SWIG_From_long(static_cast< long >(result
));
27115 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27116 PyObject
*resultobj
= 0;
27117 wxListItem
*arg1
= (wxListItem
*) 0 ;
27121 PyObject
*swig_obj
[1] ;
27123 if (!args
) SWIG_fail
;
27124 swig_obj
[0] = args
;
27125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27126 if (!SWIG_IsOK(res1
)) {
27127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27129 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27132 result
= (int)(arg1
)->GetWidth();
27133 wxPyEndAllowThreads(__tstate
);
27134 if (PyErr_Occurred()) SWIG_fail
;
27136 resultobj
= SWIG_From_int(static_cast< int >(result
));
27143 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27144 PyObject
*resultobj
= 0;
27145 wxListItem
*arg1
= (wxListItem
*) 0 ;
27146 wxListColumnFormat result
;
27149 PyObject
*swig_obj
[1] ;
27151 if (!args
) SWIG_fail
;
27152 swig_obj
[0] = args
;
27153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27154 if (!SWIG_IsOK(res1
)) {
27155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27157 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27160 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27161 wxPyEndAllowThreads(__tstate
);
27162 if (PyErr_Occurred()) SWIG_fail
;
27164 resultobj
= SWIG_From_int(static_cast< int >(result
));
27171 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27172 PyObject
*resultobj
= 0;
27173 wxListItem
*arg1
= (wxListItem
*) 0 ;
27174 wxListItemAttr
*result
= 0 ;
27177 PyObject
*swig_obj
[1] ;
27179 if (!args
) SWIG_fail
;
27180 swig_obj
[0] = args
;
27181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27182 if (!SWIG_IsOK(res1
)) {
27183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27185 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27188 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27189 wxPyEndAllowThreads(__tstate
);
27190 if (PyErr_Occurred()) SWIG_fail
;
27192 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27199 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27200 PyObject
*resultobj
= 0;
27201 wxListItem
*arg1
= (wxListItem
*) 0 ;
27205 PyObject
*swig_obj
[1] ;
27207 if (!args
) SWIG_fail
;
27208 swig_obj
[0] = args
;
27209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27210 if (!SWIG_IsOK(res1
)) {
27211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27213 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27216 result
= (bool)(arg1
)->HasAttributes();
27217 wxPyEndAllowThreads(__tstate
);
27218 if (PyErr_Occurred()) SWIG_fail
;
27221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27229 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(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_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27243 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27246 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27247 wxPyEndAllowThreads(__tstate
);
27248 if (PyErr_Occurred()) SWIG_fail
;
27250 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27257 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(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_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27271 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27274 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27275 wxPyEndAllowThreads(__tstate
);
27276 if (PyErr_Occurred()) SWIG_fail
;
27278 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27285 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27286 PyObject
*resultobj
= 0;
27287 wxListItem
*arg1
= (wxListItem
*) 0 ;
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_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27299 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27302 result
= ((wxListItem
const *)arg1
)->GetFont();
27303 wxPyEndAllowThreads(__tstate
);
27304 if (PyErr_Occurred()) SWIG_fail
;
27306 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27313 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27314 PyObject
*resultobj
= 0;
27315 wxListItem
*arg1
= (wxListItem
*) 0 ;
27321 PyObject
*swig_obj
[2] ;
27323 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27325 if (!SWIG_IsOK(res1
)) {
27326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27328 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27329 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27330 if (!SWIG_IsOK(ecode2
)) {
27331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27333 arg2
= static_cast< long >(val2
);
27334 if (arg1
) (arg1
)->m_mask
= arg2
;
27336 resultobj
= SWIG_Py_Void();
27343 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27344 PyObject
*resultobj
= 0;
27345 wxListItem
*arg1
= (wxListItem
*) 0 ;
27349 PyObject
*swig_obj
[1] ;
27351 if (!args
) SWIG_fail
;
27352 swig_obj
[0] = args
;
27353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27354 if (!SWIG_IsOK(res1
)) {
27355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27357 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27358 result
= (long) ((arg1
)->m_mask
);
27359 resultobj
= SWIG_From_long(static_cast< long >(result
));
27366 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27367 PyObject
*resultobj
= 0;
27368 wxListItem
*arg1
= (wxListItem
*) 0 ;
27374 PyObject
*swig_obj
[2] ;
27376 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27378 if (!SWIG_IsOK(res1
)) {
27379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27381 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27382 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27383 if (!SWIG_IsOK(ecode2
)) {
27384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27386 arg2
= static_cast< long >(val2
);
27387 if (arg1
) (arg1
)->m_itemId
= arg2
;
27389 resultobj
= SWIG_Py_Void();
27396 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27397 PyObject
*resultobj
= 0;
27398 wxListItem
*arg1
= (wxListItem
*) 0 ;
27402 PyObject
*swig_obj
[1] ;
27404 if (!args
) SWIG_fail
;
27405 swig_obj
[0] = args
;
27406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27407 if (!SWIG_IsOK(res1
)) {
27408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27410 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27411 result
= (long) ((arg1
)->m_itemId
);
27412 resultobj
= SWIG_From_long(static_cast< long >(result
));
27419 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27420 PyObject
*resultobj
= 0;
27421 wxListItem
*arg1
= (wxListItem
*) 0 ;
27427 PyObject
*swig_obj
[2] ;
27429 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27431 if (!SWIG_IsOK(res1
)) {
27432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27434 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27435 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27436 if (!SWIG_IsOK(ecode2
)) {
27437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27439 arg2
= static_cast< int >(val2
);
27440 if (arg1
) (arg1
)->m_col
= arg2
;
27442 resultobj
= SWIG_Py_Void();
27449 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27450 PyObject
*resultobj
= 0;
27451 wxListItem
*arg1
= (wxListItem
*) 0 ;
27455 PyObject
*swig_obj
[1] ;
27457 if (!args
) SWIG_fail
;
27458 swig_obj
[0] = args
;
27459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27460 if (!SWIG_IsOK(res1
)) {
27461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27463 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27464 result
= (int) ((arg1
)->m_col
);
27465 resultobj
= SWIG_From_int(static_cast< int >(result
));
27472 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27473 PyObject
*resultobj
= 0;
27474 wxListItem
*arg1
= (wxListItem
*) 0 ;
27480 PyObject
*swig_obj
[2] ;
27482 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27484 if (!SWIG_IsOK(res1
)) {
27485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27487 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27488 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27489 if (!SWIG_IsOK(ecode2
)) {
27490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27492 arg2
= static_cast< long >(val2
);
27493 if (arg1
) (arg1
)->m_state
= arg2
;
27495 resultobj
= SWIG_Py_Void();
27502 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27503 PyObject
*resultobj
= 0;
27504 wxListItem
*arg1
= (wxListItem
*) 0 ;
27508 PyObject
*swig_obj
[1] ;
27510 if (!args
) SWIG_fail
;
27511 swig_obj
[0] = args
;
27512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27513 if (!SWIG_IsOK(res1
)) {
27514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27516 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27517 result
= (long) ((arg1
)->m_state
);
27518 resultobj
= SWIG_From_long(static_cast< long >(result
));
27525 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27526 PyObject
*resultobj
= 0;
27527 wxListItem
*arg1
= (wxListItem
*) 0 ;
27533 PyObject
*swig_obj
[2] ;
27535 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27537 if (!SWIG_IsOK(res1
)) {
27538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27540 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27541 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27542 if (!SWIG_IsOK(ecode2
)) {
27543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27545 arg2
= static_cast< long >(val2
);
27546 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27548 resultobj
= SWIG_Py_Void();
27555 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27556 PyObject
*resultobj
= 0;
27557 wxListItem
*arg1
= (wxListItem
*) 0 ;
27561 PyObject
*swig_obj
[1] ;
27563 if (!args
) SWIG_fail
;
27564 swig_obj
[0] = args
;
27565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27566 if (!SWIG_IsOK(res1
)) {
27567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27569 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27570 result
= (long) ((arg1
)->m_stateMask
);
27571 resultobj
= SWIG_From_long(static_cast< long >(result
));
27578 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27579 PyObject
*resultobj
= 0;
27580 wxListItem
*arg1
= (wxListItem
*) 0 ;
27581 wxString
*arg2
= (wxString
*) 0 ;
27584 bool temp2
= false ;
27585 PyObject
*swig_obj
[2] ;
27587 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27589 if (!SWIG_IsOK(res1
)) {
27590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27592 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27594 arg2
= wxString_in_helper(swig_obj
[1]);
27595 if (arg2
== NULL
) SWIG_fail
;
27598 if (arg1
) (arg1
)->m_text
= *arg2
;
27600 resultobj
= SWIG_Py_Void();
27615 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27616 PyObject
*resultobj
= 0;
27617 wxListItem
*arg1
= (wxListItem
*) 0 ;
27618 wxString
*result
= 0 ;
27621 PyObject
*swig_obj
[1] ;
27623 if (!args
) SWIG_fail
;
27624 swig_obj
[0] = args
;
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_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27629 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27630 result
= (wxString
*)& ((arg1
)->m_text
);
27633 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27635 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27644 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27645 PyObject
*resultobj
= 0;
27646 wxListItem
*arg1
= (wxListItem
*) 0 ;
27652 PyObject
*swig_obj
[2] ;
27654 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27656 if (!SWIG_IsOK(res1
)) {
27657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27659 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27660 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27661 if (!SWIG_IsOK(ecode2
)) {
27662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27664 arg2
= static_cast< int >(val2
);
27665 if (arg1
) (arg1
)->m_image
= arg2
;
27667 resultobj
= SWIG_Py_Void();
27674 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27675 PyObject
*resultobj
= 0;
27676 wxListItem
*arg1
= (wxListItem
*) 0 ;
27680 PyObject
*swig_obj
[1] ;
27682 if (!args
) SWIG_fail
;
27683 swig_obj
[0] = args
;
27684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27685 if (!SWIG_IsOK(res1
)) {
27686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27688 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27689 result
= (int) ((arg1
)->m_image
);
27690 resultobj
= SWIG_From_int(static_cast< int >(result
));
27697 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27698 PyObject
*resultobj
= 0;
27699 wxListItem
*arg1
= (wxListItem
*) 0 ;
27705 PyObject
*swig_obj
[2] ;
27707 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27709 if (!SWIG_IsOK(res1
)) {
27710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27712 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27713 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27714 if (!SWIG_IsOK(ecode2
)) {
27715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27717 arg2
= static_cast< long >(val2
);
27718 if (arg1
) (arg1
)->m_data
= arg2
;
27720 resultobj
= SWIG_Py_Void();
27727 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27728 PyObject
*resultobj
= 0;
27729 wxListItem
*arg1
= (wxListItem
*) 0 ;
27733 PyObject
*swig_obj
[1] ;
27735 if (!args
) SWIG_fail
;
27736 swig_obj
[0] = args
;
27737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27738 if (!SWIG_IsOK(res1
)) {
27739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27741 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27742 result
= (long) ((arg1
)->m_data
);
27743 resultobj
= SWIG_From_long(static_cast< long >(result
));
27750 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27751 PyObject
*resultobj
= 0;
27752 wxListItem
*arg1
= (wxListItem
*) 0 ;
27758 PyObject
*swig_obj
[2] ;
27760 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27762 if (!SWIG_IsOK(res1
)) {
27763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27765 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27766 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27767 if (!SWIG_IsOK(ecode2
)) {
27768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27770 arg2
= static_cast< int >(val2
);
27771 if (arg1
) (arg1
)->m_format
= arg2
;
27773 resultobj
= SWIG_Py_Void();
27780 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27781 PyObject
*resultobj
= 0;
27782 wxListItem
*arg1
= (wxListItem
*) 0 ;
27786 PyObject
*swig_obj
[1] ;
27788 if (!args
) SWIG_fail
;
27789 swig_obj
[0] = args
;
27790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27791 if (!SWIG_IsOK(res1
)) {
27792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27794 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27795 result
= (int) ((arg1
)->m_format
);
27796 resultobj
= SWIG_From_int(static_cast< int >(result
));
27803 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27804 PyObject
*resultobj
= 0;
27805 wxListItem
*arg1
= (wxListItem
*) 0 ;
27811 PyObject
*swig_obj
[2] ;
27813 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27815 if (!SWIG_IsOK(res1
)) {
27816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27818 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27819 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27820 if (!SWIG_IsOK(ecode2
)) {
27821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27823 arg2
= static_cast< int >(val2
);
27824 if (arg1
) (arg1
)->m_width
= arg2
;
27826 resultobj
= SWIG_Py_Void();
27833 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27834 PyObject
*resultobj
= 0;
27835 wxListItem
*arg1
= (wxListItem
*) 0 ;
27839 PyObject
*swig_obj
[1] ;
27841 if (!args
) SWIG_fail
;
27842 swig_obj
[0] = args
;
27843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27844 if (!SWIG_IsOK(res1
)) {
27845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27847 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27848 result
= (int) ((arg1
)->m_width
);
27849 resultobj
= SWIG_From_int(static_cast< int >(result
));
27856 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27858 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27859 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
27860 return SWIG_Py_Void();
27863 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27864 return SWIG_Python_InitShadowInstance(args
);
27867 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27868 PyObject
*resultobj
= 0;
27869 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27870 int arg2
= (int) 0 ;
27871 wxListEvent
*result
= 0 ;
27876 PyObject
* obj0
= 0 ;
27877 PyObject
* obj1
= 0 ;
27878 char * kwnames
[] = {
27879 (char *) "commandType",(char *) "id", NULL
27882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27884 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27885 if (!SWIG_IsOK(ecode1
)) {
27886 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27888 arg1
= static_cast< wxEventType
>(val1
);
27891 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27892 if (!SWIG_IsOK(ecode2
)) {
27893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
27895 arg2
= static_cast< int >(val2
);
27898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27899 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
27900 wxPyEndAllowThreads(__tstate
);
27901 if (PyErr_Occurred()) SWIG_fail
;
27903 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
27910 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27911 PyObject
*resultobj
= 0;
27912 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27918 PyObject
*swig_obj
[2] ;
27920 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
27921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27922 if (!SWIG_IsOK(res1
)) {
27923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27925 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27926 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27927 if (!SWIG_IsOK(ecode2
)) {
27928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
27930 arg2
= static_cast< int >(val2
);
27931 if (arg1
) (arg1
)->m_code
= arg2
;
27933 resultobj
= SWIG_Py_Void();
27940 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27941 PyObject
*resultobj
= 0;
27942 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27946 PyObject
*swig_obj
[1] ;
27948 if (!args
) SWIG_fail
;
27949 swig_obj
[0] = args
;
27950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27951 if (!SWIG_IsOK(res1
)) {
27952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27954 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27955 result
= (int) ((arg1
)->m_code
);
27956 resultobj
= SWIG_From_int(static_cast< int >(result
));
27963 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27964 PyObject
*resultobj
= 0;
27965 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27971 PyObject
*swig_obj
[2] ;
27973 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27975 if (!SWIG_IsOK(res1
)) {
27976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27978 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27979 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27980 if (!SWIG_IsOK(ecode2
)) {
27981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
27983 arg2
= static_cast< long >(val2
);
27984 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
27986 resultobj
= SWIG_Py_Void();
27993 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27994 PyObject
*resultobj
= 0;
27995 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27999 PyObject
*swig_obj
[1] ;
28001 if (!args
) SWIG_fail
;
28002 swig_obj
[0] = args
;
28003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28004 if (!SWIG_IsOK(res1
)) {
28005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28007 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28008 result
= (long) ((arg1
)->m_oldItemIndex
);
28009 resultobj
= SWIG_From_long(static_cast< long >(result
));
28016 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28017 PyObject
*resultobj
= 0;
28018 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28024 PyObject
*swig_obj
[2] ;
28026 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28028 if (!SWIG_IsOK(res1
)) {
28029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28031 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28032 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28033 if (!SWIG_IsOK(ecode2
)) {
28034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28036 arg2
= static_cast< long >(val2
);
28037 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
28039 resultobj
= SWIG_Py_Void();
28046 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28047 PyObject
*resultobj
= 0;
28048 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28052 PyObject
*swig_obj
[1] ;
28054 if (!args
) SWIG_fail
;
28055 swig_obj
[0] = args
;
28056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28057 if (!SWIG_IsOK(res1
)) {
28058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28060 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28061 result
= (long) ((arg1
)->m_itemIndex
);
28062 resultobj
= SWIG_From_long(static_cast< long >(result
));
28069 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28070 PyObject
*resultobj
= 0;
28071 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28077 PyObject
*swig_obj
[2] ;
28079 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28081 if (!SWIG_IsOK(res1
)) {
28082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28084 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28085 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28086 if (!SWIG_IsOK(ecode2
)) {
28087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28089 arg2
= static_cast< int >(val2
);
28090 if (arg1
) (arg1
)->m_col
= arg2
;
28092 resultobj
= SWIG_Py_Void();
28099 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28100 PyObject
*resultobj
= 0;
28101 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28105 PyObject
*swig_obj
[1] ;
28107 if (!args
) SWIG_fail
;
28108 swig_obj
[0] = args
;
28109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28110 if (!SWIG_IsOK(res1
)) {
28111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28113 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28114 result
= (int) ((arg1
)->m_col
);
28115 resultobj
= SWIG_From_int(static_cast< int >(result
));
28122 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28123 PyObject
*resultobj
= 0;
28124 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28125 wxPoint
*arg2
= (wxPoint
*) 0 ;
28130 PyObject
*swig_obj
[2] ;
28132 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28134 if (!SWIG_IsOK(res1
)) {
28135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28137 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28138 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28139 if (!SWIG_IsOK(res2
)) {
28140 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28142 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28143 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28145 resultobj
= SWIG_Py_Void();
28152 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28153 PyObject
*resultobj
= 0;
28154 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28155 wxPoint
*result
= 0 ;
28158 PyObject
*swig_obj
[1] ;
28160 if (!args
) SWIG_fail
;
28161 swig_obj
[0] = args
;
28162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28163 if (!SWIG_IsOK(res1
)) {
28164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28166 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28167 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28168 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28175 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28176 PyObject
*resultobj
= 0;
28177 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28178 wxListItem
*result
= 0 ;
28181 PyObject
*swig_obj
[1] ;
28183 if (!args
) SWIG_fail
;
28184 swig_obj
[0] = args
;
28185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28186 if (!SWIG_IsOK(res1
)) {
28187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28189 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28190 result
= (wxListItem
*)& ((arg1
)->m_item
);
28192 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28200 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28201 PyObject
*resultobj
= 0;
28202 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28206 PyObject
*swig_obj
[1] ;
28208 if (!args
) SWIG_fail
;
28209 swig_obj
[0] = args
;
28210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28211 if (!SWIG_IsOK(res1
)) {
28212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28214 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28217 result
= (int)(arg1
)->GetKeyCode();
28218 wxPyEndAllowThreads(__tstate
);
28219 if (PyErr_Occurred()) SWIG_fail
;
28221 resultobj
= SWIG_From_int(static_cast< int >(result
));
28228 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28229 PyObject
*resultobj
= 0;
28230 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28234 PyObject
*swig_obj
[1] ;
28236 if (!args
) SWIG_fail
;
28237 swig_obj
[0] = args
;
28238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28239 if (!SWIG_IsOK(res1
)) {
28240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28242 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28245 result
= (long)(arg1
)->GetIndex();
28246 wxPyEndAllowThreads(__tstate
);
28247 if (PyErr_Occurred()) SWIG_fail
;
28249 resultobj
= SWIG_From_long(static_cast< long >(result
));
28256 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28257 PyObject
*resultobj
= 0;
28258 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28262 PyObject
*swig_obj
[1] ;
28264 if (!args
) SWIG_fail
;
28265 swig_obj
[0] = args
;
28266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28267 if (!SWIG_IsOK(res1
)) {
28268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28270 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28273 result
= (int)(arg1
)->GetColumn();
28274 wxPyEndAllowThreads(__tstate
);
28275 if (PyErr_Occurred()) SWIG_fail
;
28277 resultobj
= SWIG_From_int(static_cast< int >(result
));
28284 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28285 PyObject
*resultobj
= 0;
28286 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28290 PyObject
*swig_obj
[1] ;
28292 if (!args
) SWIG_fail
;
28293 swig_obj
[0] = args
;
28294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28295 if (!SWIG_IsOK(res1
)) {
28296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28298 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28301 result
= (arg1
)->GetPoint();
28302 wxPyEndAllowThreads(__tstate
);
28303 if (PyErr_Occurred()) SWIG_fail
;
28305 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28312 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28313 PyObject
*resultobj
= 0;
28314 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28315 wxString
*result
= 0 ;
28318 PyObject
*swig_obj
[1] ;
28320 if (!args
) SWIG_fail
;
28321 swig_obj
[0] = args
;
28322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28323 if (!SWIG_IsOK(res1
)) {
28324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28326 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28330 wxString
const &_result_ref
= (arg1
)->GetLabel();
28331 result
= (wxString
*) &_result_ref
;
28333 wxPyEndAllowThreads(__tstate
);
28334 if (PyErr_Occurred()) SWIG_fail
;
28338 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28340 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28349 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28350 PyObject
*resultobj
= 0;
28351 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28352 wxString
*result
= 0 ;
28355 PyObject
*swig_obj
[1] ;
28357 if (!args
) SWIG_fail
;
28358 swig_obj
[0] = args
;
28359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28360 if (!SWIG_IsOK(res1
)) {
28361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28363 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28367 wxString
const &_result_ref
= (arg1
)->GetText();
28368 result
= (wxString
*) &_result_ref
;
28370 wxPyEndAllowThreads(__tstate
);
28371 if (PyErr_Occurred()) SWIG_fail
;
28375 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28377 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28386 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28387 PyObject
*resultobj
= 0;
28388 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28392 PyObject
*swig_obj
[1] ;
28394 if (!args
) SWIG_fail
;
28395 swig_obj
[0] = args
;
28396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28397 if (!SWIG_IsOK(res1
)) {
28398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28400 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28403 result
= (int)(arg1
)->GetImage();
28404 wxPyEndAllowThreads(__tstate
);
28405 if (PyErr_Occurred()) SWIG_fail
;
28407 resultobj
= SWIG_From_int(static_cast< int >(result
));
28414 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28415 PyObject
*resultobj
= 0;
28416 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28420 PyObject
*swig_obj
[1] ;
28422 if (!args
) SWIG_fail
;
28423 swig_obj
[0] = args
;
28424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28425 if (!SWIG_IsOK(res1
)) {
28426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28428 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28431 result
= (long)(arg1
)->GetData();
28432 wxPyEndAllowThreads(__tstate
);
28433 if (PyErr_Occurred()) SWIG_fail
;
28435 resultobj
= SWIG_From_long(static_cast< long >(result
));
28442 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28443 PyObject
*resultobj
= 0;
28444 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28448 PyObject
*swig_obj
[1] ;
28450 if (!args
) SWIG_fail
;
28451 swig_obj
[0] = args
;
28452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28453 if (!SWIG_IsOK(res1
)) {
28454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28456 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28459 result
= (long)(arg1
)->GetMask();
28460 wxPyEndAllowThreads(__tstate
);
28461 if (PyErr_Occurred()) SWIG_fail
;
28463 resultobj
= SWIG_From_long(static_cast< long >(result
));
28470 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28471 PyObject
*resultobj
= 0;
28472 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28473 wxListItem
*result
= 0 ;
28476 PyObject
*swig_obj
[1] ;
28478 if (!args
) SWIG_fail
;
28479 swig_obj
[0] = args
;
28480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28481 if (!SWIG_IsOK(res1
)) {
28482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28484 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28488 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28489 result
= (wxListItem
*) &_result_ref
;
28491 wxPyEndAllowThreads(__tstate
);
28492 if (PyErr_Occurred()) SWIG_fail
;
28494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28501 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28502 PyObject
*resultobj
= 0;
28503 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28507 PyObject
*swig_obj
[1] ;
28509 if (!args
) SWIG_fail
;
28510 swig_obj
[0] = args
;
28511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28512 if (!SWIG_IsOK(res1
)) {
28513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28515 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28518 result
= (long)(arg1
)->GetCacheFrom();
28519 wxPyEndAllowThreads(__tstate
);
28520 if (PyErr_Occurred()) SWIG_fail
;
28522 resultobj
= SWIG_From_long(static_cast< long >(result
));
28529 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28530 PyObject
*resultobj
= 0;
28531 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28535 PyObject
*swig_obj
[1] ;
28537 if (!args
) SWIG_fail
;
28538 swig_obj
[0] = args
;
28539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28540 if (!SWIG_IsOK(res1
)) {
28541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28543 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28546 result
= (long)(arg1
)->GetCacheTo();
28547 wxPyEndAllowThreads(__tstate
);
28548 if (PyErr_Occurred()) SWIG_fail
;
28550 resultobj
= SWIG_From_long(static_cast< long >(result
));
28557 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28558 PyObject
*resultobj
= 0;
28559 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28563 PyObject
*swig_obj
[1] ;
28565 if (!args
) SWIG_fail
;
28566 swig_obj
[0] = args
;
28567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28568 if (!SWIG_IsOK(res1
)) {
28569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28571 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28574 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28575 wxPyEndAllowThreads(__tstate
);
28576 if (PyErr_Occurred()) SWIG_fail
;
28579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28587 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28588 PyObject
*resultobj
= 0;
28589 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28595 PyObject
* obj0
= 0 ;
28596 PyObject
* obj1
= 0 ;
28597 char * kwnames
[] = {
28598 (char *) "self",(char *) "editCancelled", NULL
28601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28603 if (!SWIG_IsOK(res1
)) {
28604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28606 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28607 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28608 if (!SWIG_IsOK(ecode2
)) {
28609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28611 arg2
= static_cast< bool >(val2
);
28613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28614 (arg1
)->SetEditCanceled(arg2
);
28615 wxPyEndAllowThreads(__tstate
);
28616 if (PyErr_Occurred()) SWIG_fail
;
28618 resultobj
= SWIG_Py_Void();
28625 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28627 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28628 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28629 return SWIG_Py_Void();
28632 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28633 return SWIG_Python_InitShadowInstance(args
);
28636 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28637 PyObject
*resultobj
= 0;
28638 wxWindow
*arg1
= (wxWindow
*) 0 ;
28639 int arg2
= (int) -1 ;
28640 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28641 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28642 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28643 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28644 long arg5
= (long) wxLC_ICON
;
28645 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28646 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28647 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28648 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28649 wxPyListCtrl
*result
= 0 ;
28660 bool temp7
= false ;
28661 PyObject
* obj0
= 0 ;
28662 PyObject
* obj1
= 0 ;
28663 PyObject
* obj2
= 0 ;
28664 PyObject
* obj3
= 0 ;
28665 PyObject
* obj4
= 0 ;
28666 PyObject
* obj5
= 0 ;
28667 PyObject
* obj6
= 0 ;
28668 char * kwnames
[] = {
28669 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28674 if (!SWIG_IsOK(res1
)) {
28675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28677 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28679 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28680 if (!SWIG_IsOK(ecode2
)) {
28681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28683 arg2
= static_cast< int >(val2
);
28688 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28694 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28698 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28699 if (!SWIG_IsOK(ecode5
)) {
28700 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28702 arg5
= static_cast< long >(val5
);
28705 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28706 if (!SWIG_IsOK(res6
)) {
28707 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28710 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28712 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28716 arg7
= wxString_in_helper(obj6
);
28717 if (arg7
== NULL
) SWIG_fail
;
28722 if (!wxPyCheckForApp()) SWIG_fail
;
28723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28724 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28725 wxPyEndAllowThreads(__tstate
);
28726 if (PyErr_Occurred()) SWIG_fail
;
28728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28743 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28744 PyObject
*resultobj
= 0;
28745 wxPyListCtrl
*result
= 0 ;
28747 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28749 if (!wxPyCheckForApp()) SWIG_fail
;
28750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28751 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28752 wxPyEndAllowThreads(__tstate
);
28753 if (PyErr_Occurred()) SWIG_fail
;
28755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28762 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28763 PyObject
*resultobj
= 0;
28764 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28765 wxWindow
*arg2
= (wxWindow
*) 0 ;
28766 int arg3
= (int) -1 ;
28767 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28768 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28769 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28770 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28771 long arg6
= (long) wxLC_ICON
;
28772 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28773 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28774 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28775 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28789 bool temp8
= false ;
28790 PyObject
* obj0
= 0 ;
28791 PyObject
* obj1
= 0 ;
28792 PyObject
* obj2
= 0 ;
28793 PyObject
* obj3
= 0 ;
28794 PyObject
* obj4
= 0 ;
28795 PyObject
* obj5
= 0 ;
28796 PyObject
* obj6
= 0 ;
28797 PyObject
* obj7
= 0 ;
28798 char * kwnames
[] = {
28799 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28804 if (!SWIG_IsOK(res1
)) {
28805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28807 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28808 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28809 if (!SWIG_IsOK(res2
)) {
28810 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28812 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28814 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28815 if (!SWIG_IsOK(ecode3
)) {
28816 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28818 arg3
= static_cast< int >(val3
);
28823 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28829 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28833 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28834 if (!SWIG_IsOK(ecode6
)) {
28835 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28837 arg6
= static_cast< long >(val6
);
28840 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
28841 if (!SWIG_IsOK(res7
)) {
28842 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28845 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28847 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
28851 arg8
= wxString_in_helper(obj7
);
28852 if (arg8
== NULL
) SWIG_fail
;
28857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28858 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28859 wxPyEndAllowThreads(__tstate
);
28860 if (PyErr_Occurred()) SWIG_fail
;
28863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28879 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28880 PyObject
*resultobj
= 0;
28881 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28882 PyObject
*arg2
= (PyObject
*) 0 ;
28883 PyObject
*arg3
= (PyObject
*) 0 ;
28886 PyObject
* obj0
= 0 ;
28887 PyObject
* obj1
= 0 ;
28888 PyObject
* obj2
= 0 ;
28889 char * kwnames
[] = {
28890 (char *) "self",(char *) "self",(char *) "_class", NULL
28893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28895 if (!SWIG_IsOK(res1
)) {
28896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28898 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28903 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28904 wxPyEndAllowThreads(__tstate
);
28905 if (PyErr_Occurred()) SWIG_fail
;
28907 resultobj
= SWIG_Py_Void();
28914 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28915 PyObject
*resultobj
= 0;
28916 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28918 wxListItem
*result
= 0 ;
28923 PyObject
* obj0
= 0 ;
28924 PyObject
* obj1
= 0 ;
28925 char * kwnames
[] = {
28926 (char *) "self",(char *) "col", NULL
28929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28931 if (!SWIG_IsOK(res1
)) {
28932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28934 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28935 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28936 if (!SWIG_IsOK(ecode2
)) {
28937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
28939 arg2
= static_cast< int >(val2
);
28941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28942 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
28943 wxPyEndAllowThreads(__tstate
);
28944 if (PyErr_Occurred()) SWIG_fail
;
28947 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28955 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28956 PyObject
*resultobj
= 0;
28957 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28959 wxListItem
*arg3
= 0 ;
28967 PyObject
* obj0
= 0 ;
28968 PyObject
* obj1
= 0 ;
28969 PyObject
* obj2
= 0 ;
28970 char * kwnames
[] = {
28971 (char *) "self",(char *) "col",(char *) "item", NULL
28974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28976 if (!SWIG_IsOK(res1
)) {
28977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28979 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28980 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28981 if (!SWIG_IsOK(ecode2
)) {
28982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
28984 arg2
= static_cast< int >(val2
);
28985 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
28986 if (!SWIG_IsOK(res3
)) {
28987 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28990 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28992 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
28994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28995 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
28996 wxPyEndAllowThreads(__tstate
);
28997 if (PyErr_Occurred()) SWIG_fail
;
29000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29008 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29009 PyObject
*resultobj
= 0;
29010 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29017 PyObject
* obj0
= 0 ;
29018 PyObject
* obj1
= 0 ;
29019 char * kwnames
[] = {
29020 (char *) "self",(char *) "col", NULL
29023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29025 if (!SWIG_IsOK(res1
)) {
29026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29028 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29029 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29030 if (!SWIG_IsOK(ecode2
)) {
29031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29033 arg2
= static_cast< int >(val2
);
29035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29036 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
29037 wxPyEndAllowThreads(__tstate
);
29038 if (PyErr_Occurred()) SWIG_fail
;
29040 resultobj
= SWIG_From_int(static_cast< int >(result
));
29047 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29048 PyObject
*resultobj
= 0;
29049 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29059 PyObject
* obj0
= 0 ;
29060 PyObject
* obj1
= 0 ;
29061 PyObject
* obj2
= 0 ;
29062 char * kwnames
[] = {
29063 (char *) "self",(char *) "col",(char *) "width", NULL
29066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29068 if (!SWIG_IsOK(res1
)) {
29069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29071 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29073 if (!SWIG_IsOK(ecode2
)) {
29074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29076 arg2
= static_cast< int >(val2
);
29077 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29078 if (!SWIG_IsOK(ecode3
)) {
29079 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29081 arg3
= static_cast< int >(val3
);
29083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29084 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
29085 wxPyEndAllowThreads(__tstate
);
29086 if (PyErr_Occurred()) SWIG_fail
;
29089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29097 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29098 PyObject
*resultobj
= 0;
29099 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29103 PyObject
*swig_obj
[1] ;
29105 if (!args
) SWIG_fail
;
29106 swig_obj
[0] = args
;
29107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29108 if (!SWIG_IsOK(res1
)) {
29109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29111 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29114 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29115 wxPyEndAllowThreads(__tstate
);
29116 if (PyErr_Occurred()) SWIG_fail
;
29118 resultobj
= SWIG_From_int(static_cast< int >(result
));
29125 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29126 PyObject
*resultobj
= 0;
29127 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29131 PyObject
*swig_obj
[1] ;
29133 if (!args
) SWIG_fail
;
29134 swig_obj
[0] = args
;
29135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29136 if (!SWIG_IsOK(res1
)) {
29137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29139 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29142 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29143 wxPyEndAllowThreads(__tstate
);
29144 if (PyErr_Occurred()) SWIG_fail
;
29146 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29153 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29154 PyObject
*resultobj
= 0;
29155 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29156 wxTextCtrl
*result
= 0 ;
29159 PyObject
*swig_obj
[1] ;
29161 if (!args
) SWIG_fail
;
29162 swig_obj
[0] = args
;
29163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29164 if (!SWIG_IsOK(res1
)) {
29165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29167 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29170 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29171 wxPyEndAllowThreads(__tstate
);
29172 if (PyErr_Occurred()) SWIG_fail
;
29175 resultobj
= wxPyMake_wxObject(result
, 0);
29183 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29184 PyObject
*resultobj
= 0;
29185 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29187 int arg3
= (int) 0 ;
29188 wxListItem
*result
= 0 ;
29195 PyObject
* obj0
= 0 ;
29196 PyObject
* obj1
= 0 ;
29197 PyObject
* obj2
= 0 ;
29198 char * kwnames
[] = {
29199 (char *) "self",(char *) "itemId",(char *) "col", NULL
29202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29204 if (!SWIG_IsOK(res1
)) {
29205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29207 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29208 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29209 if (!SWIG_IsOK(ecode2
)) {
29210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29212 arg2
= static_cast< long >(val2
);
29214 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29215 if (!SWIG_IsOK(ecode3
)) {
29216 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29218 arg3
= static_cast< int >(val3
);
29221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29222 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29223 wxPyEndAllowThreads(__tstate
);
29224 if (PyErr_Occurred()) SWIG_fail
;
29227 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29235 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29236 PyObject
*resultobj
= 0;
29237 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29238 wxListItem
*arg2
= 0 ;
29244 PyObject
* obj0
= 0 ;
29245 PyObject
* obj1
= 0 ;
29246 char * kwnames
[] = {
29247 (char *) "self",(char *) "info", NULL
29250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29252 if (!SWIG_IsOK(res1
)) {
29253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29255 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29256 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29257 if (!SWIG_IsOK(res2
)) {
29258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29261 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29263 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29266 result
= (bool)(arg1
)->SetItem(*arg2
);
29267 wxPyEndAllowThreads(__tstate
);
29268 if (PyErr_Occurred()) SWIG_fail
;
29271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29279 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29280 PyObject
*resultobj
= 0;
29281 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29284 wxString
*arg4
= 0 ;
29285 int arg5
= (int) -1 ;
29293 bool temp4
= false ;
29296 PyObject
* obj0
= 0 ;
29297 PyObject
* obj1
= 0 ;
29298 PyObject
* obj2
= 0 ;
29299 PyObject
* obj3
= 0 ;
29300 PyObject
* obj4
= 0 ;
29301 char * kwnames
[] = {
29302 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29307 if (!SWIG_IsOK(res1
)) {
29308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29310 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29311 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29312 if (!SWIG_IsOK(ecode2
)) {
29313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29315 arg2
= static_cast< long >(val2
);
29316 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29317 if (!SWIG_IsOK(ecode3
)) {
29318 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29320 arg3
= static_cast< int >(val3
);
29322 arg4
= wxString_in_helper(obj3
);
29323 if (arg4
== NULL
) SWIG_fail
;
29327 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29328 if (!SWIG_IsOK(ecode5
)) {
29329 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29331 arg5
= static_cast< int >(val5
);
29334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29335 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29336 wxPyEndAllowThreads(__tstate
);
29337 if (PyErr_Occurred()) SWIG_fail
;
29339 resultobj
= SWIG_From_long(static_cast< long >(result
));
29354 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29355 PyObject
*resultobj
= 0;
29356 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29366 PyObject
* obj0
= 0 ;
29367 PyObject
* obj1
= 0 ;
29368 PyObject
* obj2
= 0 ;
29369 char * kwnames
[] = {
29370 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29375 if (!SWIG_IsOK(res1
)) {
29376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29378 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29379 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29380 if (!SWIG_IsOK(ecode2
)) {
29381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29383 arg2
= static_cast< long >(val2
);
29384 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29385 if (!SWIG_IsOK(ecode3
)) {
29386 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29388 arg3
= static_cast< long >(val3
);
29390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29391 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29392 wxPyEndAllowThreads(__tstate
);
29393 if (PyErr_Occurred()) SWIG_fail
;
29395 resultobj
= SWIG_From_int(static_cast< int >(result
));
29402 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29403 PyObject
*resultobj
= 0;
29404 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29417 PyObject
* obj0
= 0 ;
29418 PyObject
* obj1
= 0 ;
29419 PyObject
* obj2
= 0 ;
29420 PyObject
* obj3
= 0 ;
29421 char * kwnames
[] = {
29422 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29427 if (!SWIG_IsOK(res1
)) {
29428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29430 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29431 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29432 if (!SWIG_IsOK(ecode2
)) {
29433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29435 arg2
= static_cast< long >(val2
);
29436 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29437 if (!SWIG_IsOK(ecode3
)) {
29438 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29440 arg3
= static_cast< long >(val3
);
29441 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29442 if (!SWIG_IsOK(ecode4
)) {
29443 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29445 arg4
= static_cast< long >(val4
);
29447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29448 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29449 wxPyEndAllowThreads(__tstate
);
29450 if (PyErr_Occurred()) SWIG_fail
;
29453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29461 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29462 PyObject
*resultobj
= 0;
29463 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29466 int arg4
= (int) -1 ;
29476 PyObject
* obj0
= 0 ;
29477 PyObject
* obj1
= 0 ;
29478 PyObject
* obj2
= 0 ;
29479 PyObject
* obj3
= 0 ;
29480 char * kwnames
[] = {
29481 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29486 if (!SWIG_IsOK(res1
)) {
29487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29489 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29490 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29491 if (!SWIG_IsOK(ecode2
)) {
29492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29494 arg2
= static_cast< long >(val2
);
29495 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29496 if (!SWIG_IsOK(ecode3
)) {
29497 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29499 arg3
= static_cast< int >(val3
);
29501 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29502 if (!SWIG_IsOK(ecode4
)) {
29503 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29505 arg4
= static_cast< int >(val4
);
29508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29509 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29510 wxPyEndAllowThreads(__tstate
);
29511 if (PyErr_Occurred()) SWIG_fail
;
29514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29522 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29523 PyObject
*resultobj
= 0;
29524 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29537 PyObject
* obj0
= 0 ;
29538 PyObject
* obj1
= 0 ;
29539 PyObject
* obj2
= 0 ;
29540 PyObject
* obj3
= 0 ;
29541 char * kwnames
[] = {
29542 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29547 if (!SWIG_IsOK(res1
)) {
29548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29550 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29551 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29552 if (!SWIG_IsOK(ecode2
)) {
29553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29555 arg2
= static_cast< long >(val2
);
29556 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29557 if (!SWIG_IsOK(ecode3
)) {
29558 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29560 arg3
= static_cast< long >(val3
);
29561 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29562 if (!SWIG_IsOK(ecode4
)) {
29563 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29565 arg4
= static_cast< int >(val4
);
29567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29568 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29569 wxPyEndAllowThreads(__tstate
);
29570 if (PyErr_Occurred()) SWIG_fail
;
29573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29581 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29582 PyObject
*resultobj
= 0;
29583 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29590 PyObject
* obj0
= 0 ;
29591 PyObject
* obj1
= 0 ;
29592 char * kwnames
[] = {
29593 (char *) "self",(char *) "item", NULL
29596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29598 if (!SWIG_IsOK(res1
)) {
29599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29601 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29602 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29603 if (!SWIG_IsOK(ecode2
)) {
29604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29606 arg2
= static_cast< long >(val2
);
29608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29609 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29610 wxPyEndAllowThreads(__tstate
);
29611 if (PyErr_Occurred()) SWIG_fail
;
29615 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29617 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29626 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29627 PyObject
*resultobj
= 0;
29628 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29630 wxString
*arg3
= 0 ;
29635 bool temp3
= false ;
29636 PyObject
* obj0
= 0 ;
29637 PyObject
* obj1
= 0 ;
29638 PyObject
* obj2
= 0 ;
29639 char * kwnames
[] = {
29640 (char *) "self",(char *) "item",(char *) "str", NULL
29643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29645 if (!SWIG_IsOK(res1
)) {
29646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29648 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29649 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29650 if (!SWIG_IsOK(ecode2
)) {
29651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29653 arg2
= static_cast< long >(val2
);
29655 arg3
= wxString_in_helper(obj2
);
29656 if (arg3
== NULL
) SWIG_fail
;
29660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29661 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29662 wxPyEndAllowThreads(__tstate
);
29663 if (PyErr_Occurred()) SWIG_fail
;
29665 resultobj
= SWIG_Py_Void();
29680 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29681 PyObject
*resultobj
= 0;
29682 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29689 PyObject
* obj0
= 0 ;
29690 PyObject
* obj1
= 0 ;
29691 char * kwnames
[] = {
29692 (char *) "self",(char *) "item", NULL
29695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29697 if (!SWIG_IsOK(res1
)) {
29698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29700 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29701 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29702 if (!SWIG_IsOK(ecode2
)) {
29703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29705 arg2
= static_cast< long >(val2
);
29707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29708 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29709 wxPyEndAllowThreads(__tstate
);
29710 if (PyErr_Occurred()) SWIG_fail
;
29712 resultobj
= SWIG_From_long(static_cast< long >(result
));
29719 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29720 PyObject
*resultobj
= 0;
29721 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29731 PyObject
* obj0
= 0 ;
29732 PyObject
* obj1
= 0 ;
29733 PyObject
* obj2
= 0 ;
29734 char * kwnames
[] = {
29735 (char *) "self",(char *) "item",(char *) "data", NULL
29738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) 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_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
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_SetItemData" "', expected argument " "2"" of type '" "long""'");
29748 arg2
= static_cast< long >(val2
);
29749 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29750 if (!SWIG_IsOK(ecode3
)) {
29751 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29753 arg3
= static_cast< long >(val3
);
29755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29756 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29757 wxPyEndAllowThreads(__tstate
);
29758 if (PyErr_Occurred()) SWIG_fail
;
29761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29769 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29770 PyObject
*resultobj
= 0;
29771 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29778 PyObject
* obj0
= 0 ;
29779 PyObject
* obj1
= 0 ;
29780 char * kwnames
[] = {
29781 (char *) "self",(char *) "item", NULL
29784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29786 if (!SWIG_IsOK(res1
)) {
29787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29789 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29790 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29791 if (!SWIG_IsOK(ecode2
)) {
29792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29794 arg2
= static_cast< long >(val2
);
29796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29797 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29798 wxPyEndAllowThreads(__tstate
);
29799 if (PyErr_Occurred()) SWIG_fail
;
29801 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29808 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29809 PyObject
*resultobj
= 0;
29810 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29812 int arg3
= (int) wxLIST_RECT_BOUNDS
;
29820 PyObject
* obj0
= 0 ;
29821 PyObject
* obj1
= 0 ;
29822 PyObject
* obj2
= 0 ;
29823 char * kwnames
[] = {
29824 (char *) "self",(char *) "item",(char *) "code", NULL
29827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29829 if (!SWIG_IsOK(res1
)) {
29830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29832 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29833 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29834 if (!SWIG_IsOK(ecode2
)) {
29835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29837 arg2
= static_cast< long >(val2
);
29839 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29840 if (!SWIG_IsOK(ecode3
)) {
29841 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29843 arg3
= static_cast< int >(val3
);
29846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29847 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
29848 wxPyEndAllowThreads(__tstate
);
29849 if (PyErr_Occurred()) SWIG_fail
;
29851 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29858 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29859 PyObject
*resultobj
= 0;
29860 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29862 wxPoint
*arg3
= 0 ;
29869 PyObject
* obj0
= 0 ;
29870 PyObject
* obj1
= 0 ;
29871 PyObject
* obj2
= 0 ;
29872 char * kwnames
[] = {
29873 (char *) "self",(char *) "item",(char *) "pos", NULL
29876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29878 if (!SWIG_IsOK(res1
)) {
29879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29881 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29882 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29883 if (!SWIG_IsOK(ecode2
)) {
29884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
29886 arg2
= static_cast< long >(val2
);
29889 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29893 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
29894 wxPyEndAllowThreads(__tstate
);
29895 if (PyErr_Occurred()) SWIG_fail
;
29898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29906 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29907 PyObject
*resultobj
= 0;
29908 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29912 PyObject
*swig_obj
[1] ;
29914 if (!args
) SWIG_fail
;
29915 swig_obj
[0] = args
;
29916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29917 if (!SWIG_IsOK(res1
)) {
29918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29920 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29923 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
29924 wxPyEndAllowThreads(__tstate
);
29925 if (PyErr_Occurred()) SWIG_fail
;
29927 resultobj
= SWIG_From_int(static_cast< int >(result
));
29934 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29935 PyObject
*resultobj
= 0;
29936 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29940 PyObject
*swig_obj
[1] ;
29942 if (!args
) SWIG_fail
;
29943 swig_obj
[0] = args
;
29944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29945 if (!SWIG_IsOK(res1
)) {
29946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29948 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29951 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
29952 wxPyEndAllowThreads(__tstate
);
29953 if (PyErr_Occurred()) SWIG_fail
;
29955 resultobj
= SWIG_From_int(static_cast< int >(result
));
29962 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29963 PyObject
*resultobj
= 0;
29964 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29968 PyObject
*swig_obj
[1] ;
29970 if (!args
) SWIG_fail
;
29971 swig_obj
[0] = args
;
29972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29973 if (!SWIG_IsOK(res1
)) {
29974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29976 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29979 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
29980 wxPyEndAllowThreads(__tstate
);
29981 if (PyErr_Occurred()) SWIG_fail
;
29983 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
29990 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29991 PyObject
*resultobj
= 0;
29992 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29996 PyObject
*swig_obj
[1] ;
29998 if (!args
) SWIG_fail
;
29999 swig_obj
[0] = args
;
30000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30001 if (!SWIG_IsOK(res1
)) {
30002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30004 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30007 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
30008 wxPyEndAllowThreads(__tstate
);
30009 if (PyErr_Occurred()) SWIG_fail
;
30011 resultobj
= SWIG_From_int(static_cast< int >(result
));
30018 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30019 PyObject
*resultobj
= 0;
30020 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30024 PyObject
*swig_obj
[1] ;
30026 if (!args
) SWIG_fail
;
30027 swig_obj
[0] = args
;
30028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30029 if (!SWIG_IsOK(res1
)) {
30030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30032 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30035 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
30036 wxPyEndAllowThreads(__tstate
);
30037 if (PyErr_Occurred()) SWIG_fail
;
30039 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30046 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30047 PyObject
*resultobj
= 0;
30048 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30049 wxColour
*arg2
= 0 ;
30053 PyObject
* obj0
= 0 ;
30054 PyObject
* obj1
= 0 ;
30055 char * kwnames
[] = {
30056 (char *) "self",(char *) "col", NULL
30059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30061 if (!SWIG_IsOK(res1
)) {
30062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30064 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30067 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30071 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30072 wxPyEndAllowThreads(__tstate
);
30073 if (PyErr_Occurred()) SWIG_fail
;
30075 resultobj
= SWIG_Py_Void();
30082 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30083 PyObject
*resultobj
= 0;
30084 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30088 PyObject
*swig_obj
[1] ;
30090 if (!args
) SWIG_fail
;
30091 swig_obj
[0] = args
;
30092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30093 if (!SWIG_IsOK(res1
)) {
30094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30096 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30099 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30100 wxPyEndAllowThreads(__tstate
);
30101 if (PyErr_Occurred()) SWIG_fail
;
30103 resultobj
= SWIG_From_long(static_cast< long >(result
));
30110 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30111 PyObject
*resultobj
= 0;
30112 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30114 bool arg3
= (bool) true ;
30121 PyObject
* obj0
= 0 ;
30122 PyObject
* obj1
= 0 ;
30123 PyObject
* obj2
= 0 ;
30124 char * kwnames
[] = {
30125 (char *) "self",(char *) "style",(char *) "add", NULL
30128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30130 if (!SWIG_IsOK(res1
)) {
30131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30133 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30134 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30135 if (!SWIG_IsOK(ecode2
)) {
30136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30138 arg2
= static_cast< long >(val2
);
30140 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30141 if (!SWIG_IsOK(ecode3
)) {
30142 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30144 arg3
= static_cast< bool >(val3
);
30147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30148 (arg1
)->SetSingleStyle(arg2
,arg3
);
30149 wxPyEndAllowThreads(__tstate
);
30150 if (PyErr_Occurred()) SWIG_fail
;
30152 resultobj
= SWIG_Py_Void();
30159 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30160 PyObject
*resultobj
= 0;
30161 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30163 int arg3
= (int) wxLIST_NEXT_ALL
;
30164 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30174 PyObject
* obj0
= 0 ;
30175 PyObject
* obj1
= 0 ;
30176 PyObject
* obj2
= 0 ;
30177 PyObject
* obj3
= 0 ;
30178 char * kwnames
[] = {
30179 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30184 if (!SWIG_IsOK(res1
)) {
30185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30187 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30188 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30189 if (!SWIG_IsOK(ecode2
)) {
30190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30192 arg2
= static_cast< long >(val2
);
30194 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30195 if (!SWIG_IsOK(ecode3
)) {
30196 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30198 arg3
= static_cast< int >(val3
);
30201 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30202 if (!SWIG_IsOK(ecode4
)) {
30203 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30205 arg4
= static_cast< int >(val4
);
30208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30209 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30210 wxPyEndAllowThreads(__tstate
);
30211 if (PyErr_Occurred()) SWIG_fail
;
30213 resultobj
= SWIG_From_long(static_cast< long >(result
));
30220 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30221 PyObject
*resultobj
= 0;
30222 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30224 wxImageList
*result
= 0 ;
30229 PyObject
* obj0
= 0 ;
30230 PyObject
* obj1
= 0 ;
30231 char * kwnames
[] = {
30232 (char *) "self",(char *) "which", NULL
30235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30237 if (!SWIG_IsOK(res1
)) {
30238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30240 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30241 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30242 if (!SWIG_IsOK(ecode2
)) {
30243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30245 arg2
= static_cast< int >(val2
);
30247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30248 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30249 wxPyEndAllowThreads(__tstate
);
30250 if (PyErr_Occurred()) SWIG_fail
;
30253 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30261 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30262 PyObject
*resultobj
= 0;
30263 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30264 wxImageList
*arg2
= (wxImageList
*) 0 ;
30272 PyObject
* obj0
= 0 ;
30273 PyObject
* obj1
= 0 ;
30274 PyObject
* obj2
= 0 ;
30275 char * kwnames
[] = {
30276 (char *) "self",(char *) "imageList",(char *) "which", NULL
30279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30281 if (!SWIG_IsOK(res1
)) {
30282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30284 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30285 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30286 if (!SWIG_IsOK(res2
)) {
30287 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30289 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30290 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30291 if (!SWIG_IsOK(ecode3
)) {
30292 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30294 arg3
= static_cast< int >(val3
);
30296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30297 (arg1
)->SetImageList(arg2
,arg3
);
30298 wxPyEndAllowThreads(__tstate
);
30299 if (PyErr_Occurred()) SWIG_fail
;
30301 resultobj
= SWIG_Py_Void();
30308 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30309 PyObject
*resultobj
= 0;
30310 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30311 wxImageList
*arg2
= (wxImageList
*) 0 ;
30318 PyObject
* obj0
= 0 ;
30319 PyObject
* obj1
= 0 ;
30320 PyObject
* obj2
= 0 ;
30321 char * kwnames
[] = {
30322 (char *) "self",(char *) "imageList",(char *) "which", NULL
30325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30327 if (!SWIG_IsOK(res1
)) {
30328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30330 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30331 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30332 if (!SWIG_IsOK(res2
)) {
30333 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30335 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30336 if (!SWIG_IsOK(ecode3
)) {
30337 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30339 arg3
= static_cast< int >(val3
);
30341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30342 (arg1
)->AssignImageList(arg2
,arg3
);
30343 wxPyEndAllowThreads(__tstate
);
30344 if (PyErr_Occurred()) SWIG_fail
;
30346 resultobj
= SWIG_Py_Void();
30353 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30354 PyObject
*resultobj
= 0;
30355 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30359 PyObject
*swig_obj
[1] ;
30361 if (!args
) SWIG_fail
;
30362 swig_obj
[0] = args
;
30363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30364 if (!SWIG_IsOK(res1
)) {
30365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30367 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30370 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30371 wxPyEndAllowThreads(__tstate
);
30372 if (PyErr_Occurred()) SWIG_fail
;
30375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30383 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30384 PyObject
*resultobj
= 0;
30385 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30389 PyObject
*swig_obj
[1] ;
30391 if (!args
) SWIG_fail
;
30392 swig_obj
[0] = args
;
30393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30394 if (!SWIG_IsOK(res1
)) {
30395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30397 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30400 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30401 wxPyEndAllowThreads(__tstate
);
30402 if (PyErr_Occurred()) SWIG_fail
;
30405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30413 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30414 PyObject
*resultobj
= 0;
30415 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30421 PyObject
* obj0
= 0 ;
30422 PyObject
* obj1
= 0 ;
30423 char * kwnames
[] = {
30424 (char *) "self",(char *) "item", NULL
30427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30429 if (!SWIG_IsOK(res1
)) {
30430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30432 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30433 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30434 if (!SWIG_IsOK(ecode2
)) {
30435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30437 arg2
= static_cast< long >(val2
);
30439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30440 (arg1
)->RefreshItem(arg2
);
30441 wxPyEndAllowThreads(__tstate
);
30442 if (PyErr_Occurred()) SWIG_fail
;
30444 resultobj
= SWIG_Py_Void();
30451 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30452 PyObject
*resultobj
= 0;
30453 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30462 PyObject
* obj0
= 0 ;
30463 PyObject
* obj1
= 0 ;
30464 PyObject
* obj2
= 0 ;
30465 char * kwnames
[] = {
30466 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30471 if (!SWIG_IsOK(res1
)) {
30472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30474 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30475 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30476 if (!SWIG_IsOK(ecode2
)) {
30477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30479 arg2
= static_cast< long >(val2
);
30480 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30481 if (!SWIG_IsOK(ecode3
)) {
30482 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30484 arg3
= static_cast< long >(val3
);
30486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30487 (arg1
)->RefreshItems(arg2
,arg3
);
30488 wxPyEndAllowThreads(__tstate
);
30489 if (PyErr_Occurred()) SWIG_fail
;
30491 resultobj
= SWIG_Py_Void();
30498 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30499 PyObject
*resultobj
= 0;
30500 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30501 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30507 PyObject
* obj0
= 0 ;
30508 PyObject
* obj1
= 0 ;
30509 char * kwnames
[] = {
30510 (char *) "self",(char *) "flag", NULL
30513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30515 if (!SWIG_IsOK(res1
)) {
30516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30518 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30521 if (!SWIG_IsOK(ecode2
)) {
30522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30524 arg2
= static_cast< int >(val2
);
30527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30528 result
= (bool)(arg1
)->Arrange(arg2
);
30529 wxPyEndAllowThreads(__tstate
);
30530 if (PyErr_Occurred()) SWIG_fail
;
30533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30541 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30542 PyObject
*resultobj
= 0;
30543 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30550 PyObject
* obj0
= 0 ;
30551 PyObject
* obj1
= 0 ;
30552 char * kwnames
[] = {
30553 (char *) "self",(char *) "item", NULL
30556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30558 if (!SWIG_IsOK(res1
)) {
30559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30561 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30562 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30563 if (!SWIG_IsOK(ecode2
)) {
30564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30566 arg2
= static_cast< long >(val2
);
30568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30569 result
= (bool)(arg1
)->DeleteItem(arg2
);
30570 wxPyEndAllowThreads(__tstate
);
30571 if (PyErr_Occurred()) SWIG_fail
;
30574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30582 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30583 PyObject
*resultobj
= 0;
30584 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30588 PyObject
*swig_obj
[1] ;
30590 if (!args
) SWIG_fail
;
30591 swig_obj
[0] = args
;
30592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30593 if (!SWIG_IsOK(res1
)) {
30594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30596 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30599 result
= (bool)(arg1
)->DeleteAllItems();
30600 wxPyEndAllowThreads(__tstate
);
30601 if (PyErr_Occurred()) SWIG_fail
;
30604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30612 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30613 PyObject
*resultobj
= 0;
30614 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30621 PyObject
* obj0
= 0 ;
30622 PyObject
* obj1
= 0 ;
30623 char * kwnames
[] = {
30624 (char *) "self",(char *) "col", NULL
30627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30629 if (!SWIG_IsOK(res1
)) {
30630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30632 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30633 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30634 if (!SWIG_IsOK(ecode2
)) {
30635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30637 arg2
= static_cast< int >(val2
);
30639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30640 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30641 wxPyEndAllowThreads(__tstate
);
30642 if (PyErr_Occurred()) SWIG_fail
;
30645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30653 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30654 PyObject
*resultobj
= 0;
30655 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30659 PyObject
*swig_obj
[1] ;
30661 if (!args
) SWIG_fail
;
30662 swig_obj
[0] = args
;
30663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30664 if (!SWIG_IsOK(res1
)) {
30665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30667 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30670 result
= (bool)(arg1
)->DeleteAllColumns();
30671 wxPyEndAllowThreads(__tstate
);
30672 if (PyErr_Occurred()) SWIG_fail
;
30675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30683 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30684 PyObject
*resultobj
= 0;
30685 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30688 PyObject
*swig_obj
[1] ;
30690 if (!args
) SWIG_fail
;
30691 swig_obj
[0] = args
;
30692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30693 if (!SWIG_IsOK(res1
)) {
30694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30696 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30699 (arg1
)->ClearAll();
30700 wxPyEndAllowThreads(__tstate
);
30701 if (PyErr_Occurred()) SWIG_fail
;
30703 resultobj
= SWIG_Py_Void();
30710 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30711 PyObject
*resultobj
= 0;
30712 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30714 wxTextCtrl
*result
= 0 ;
30719 PyObject
* obj0
= 0 ;
30720 PyObject
* obj1
= 0 ;
30721 char * kwnames
[] = {
30722 (char *) "self",(char *) "item", NULL
30725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30727 if (!SWIG_IsOK(res1
)) {
30728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30730 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30731 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30732 if (!SWIG_IsOK(ecode2
)) {
30733 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30735 arg2
= static_cast< long >(val2
);
30737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30738 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
30739 wxPyEndAllowThreads(__tstate
);
30740 if (PyErr_Occurred()) SWIG_fail
;
30743 resultobj
= wxPyMake_wxObject(result
, 0);
30751 SWIGINTERN PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30752 PyObject
*resultobj
= 0;
30753 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30760 PyObject
* obj0
= 0 ;
30761 PyObject
* obj1
= 0 ;
30762 char * kwnames
[] = {
30763 (char *) "self",(char *) "cancel", NULL
30766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30768 if (!SWIG_IsOK(res1
)) {
30769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30771 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30772 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30773 if (!SWIG_IsOK(ecode2
)) {
30774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "2"" of type '" "bool""'");
30776 arg2
= static_cast< bool >(val2
);
30778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30779 result
= (bool)(arg1
)->EndEditLabel(arg2
);
30780 wxPyEndAllowThreads(__tstate
);
30781 if (PyErr_Occurred()) SWIG_fail
;
30784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30792 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30793 PyObject
*resultobj
= 0;
30794 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30801 PyObject
* obj0
= 0 ;
30802 PyObject
* obj1
= 0 ;
30803 char * kwnames
[] = {
30804 (char *) "self",(char *) "item", NULL
30807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30809 if (!SWIG_IsOK(res1
)) {
30810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30812 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30813 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30814 if (!SWIG_IsOK(ecode2
)) {
30815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30817 arg2
= static_cast< long >(val2
);
30819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30820 result
= (bool)(arg1
)->EnsureVisible(arg2
);
30821 wxPyEndAllowThreads(__tstate
);
30822 if (PyErr_Occurred()) SWIG_fail
;
30825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30833 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30834 PyObject
*resultobj
= 0;
30835 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30837 wxString
*arg3
= 0 ;
30838 bool arg4
= (bool) false ;
30844 bool temp3
= false ;
30847 PyObject
* obj0
= 0 ;
30848 PyObject
* obj1
= 0 ;
30849 PyObject
* obj2
= 0 ;
30850 PyObject
* obj3
= 0 ;
30851 char * kwnames
[] = {
30852 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30857 if (!SWIG_IsOK(res1
)) {
30858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30860 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30861 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30862 if (!SWIG_IsOK(ecode2
)) {
30863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30865 arg2
= static_cast< long >(val2
);
30867 arg3
= wxString_in_helper(obj2
);
30868 if (arg3
== NULL
) SWIG_fail
;
30872 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30873 if (!SWIG_IsOK(ecode4
)) {
30874 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
30876 arg4
= static_cast< bool >(val4
);
30879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30880 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
30881 wxPyEndAllowThreads(__tstate
);
30882 if (PyErr_Occurred()) SWIG_fail
;
30884 resultobj
= SWIG_From_long(static_cast< long >(result
));
30899 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30900 PyObject
*resultobj
= 0;
30901 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30911 PyObject
* obj0
= 0 ;
30912 PyObject
* obj1
= 0 ;
30913 PyObject
* obj2
= 0 ;
30914 char * kwnames
[] = {
30915 (char *) "self",(char *) "start",(char *) "data", NULL
30918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30920 if (!SWIG_IsOK(res1
)) {
30921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30923 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30924 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30925 if (!SWIG_IsOK(ecode2
)) {
30926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
30928 arg2
= static_cast< long >(val2
);
30929 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30930 if (!SWIG_IsOK(ecode3
)) {
30931 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
30933 arg3
= static_cast< long >(val3
);
30935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30936 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
30937 wxPyEndAllowThreads(__tstate
);
30938 if (PyErr_Occurred()) SWIG_fail
;
30940 resultobj
= SWIG_From_long(static_cast< long >(result
));
30947 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30948 PyObject
*resultobj
= 0;
30949 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30951 wxPoint
*arg3
= 0 ;
30961 PyObject
* obj0
= 0 ;
30962 PyObject
* obj1
= 0 ;
30963 PyObject
* obj2
= 0 ;
30964 PyObject
* obj3
= 0 ;
30965 char * kwnames
[] = {
30966 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
30969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30971 if (!SWIG_IsOK(res1
)) {
30972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30974 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30975 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30976 if (!SWIG_IsOK(ecode2
)) {
30977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
30979 arg2
= static_cast< long >(val2
);
30982 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30984 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30985 if (!SWIG_IsOK(ecode4
)) {
30986 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
30988 arg4
= static_cast< int >(val4
);
30990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30991 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
30992 wxPyEndAllowThreads(__tstate
);
30993 if (PyErr_Occurred()) SWIG_fail
;
30995 resultobj
= SWIG_From_long(static_cast< long >(result
));
31002 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31003 PyObject
*resultobj
= 0;
31004 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31005 wxPoint
*arg2
= 0 ;
31012 int res3
= SWIG_TMPOBJ
;
31013 PyObject
* obj0
= 0 ;
31014 PyObject
* obj1
= 0 ;
31015 char * kwnames
[] = {
31016 (char *) "self",(char *) "point", NULL
31020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31022 if (!SWIG_IsOK(res1
)) {
31023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31025 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31028 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31032 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31033 wxPyEndAllowThreads(__tstate
);
31034 if (PyErr_Occurred()) SWIG_fail
;
31036 resultobj
= SWIG_From_long(static_cast< long >(result
));
31037 if (SWIG_IsTmpObj(res3
)) {
31038 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31040 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31041 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31049 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31050 PyObject
*resultobj
= 0;
31051 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31052 wxPoint
*arg2
= 0 ;
31054 long *arg4
= (long *) 0 ;
31060 int res3
= SWIG_TMPOBJ
;
31062 int res4
= SWIG_TMPOBJ
;
31063 PyObject
* obj0
= 0 ;
31064 PyObject
* obj1
= 0 ;
31065 char * kwnames
[] = {
31066 (char *) "self",(char *) "point", NULL
31071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31073 if (!SWIG_IsOK(res1
)) {
31074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31076 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31079 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31083 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
31084 wxPyEndAllowThreads(__tstate
);
31085 if (PyErr_Occurred()) SWIG_fail
;
31087 resultobj
= SWIG_From_long(static_cast< long >(result
));
31088 if (SWIG_IsTmpObj(res3
)) {
31089 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31091 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31092 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31094 if (SWIG_IsTmpObj(res4
)) {
31095 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31097 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31098 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31106 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31107 PyObject
*resultobj
= 0;
31108 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31109 wxListItem
*arg2
= 0 ;
31115 PyObject
* obj0
= 0 ;
31116 PyObject
* obj1
= 0 ;
31117 char * kwnames
[] = {
31118 (char *) "self",(char *) "info", NULL
31121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31123 if (!SWIG_IsOK(res1
)) {
31124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31126 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31127 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31128 if (!SWIG_IsOK(res2
)) {
31129 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31132 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31134 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31137 result
= (long)(arg1
)->InsertItem(*arg2
);
31138 wxPyEndAllowThreads(__tstate
);
31139 if (PyErr_Occurred()) SWIG_fail
;
31141 resultobj
= SWIG_From_long(static_cast< long >(result
));
31148 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31149 PyObject
*resultobj
= 0;
31150 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31152 wxString
*arg3
= 0 ;
31153 int arg4
= (int) -1 ;
31159 bool temp3
= false ;
31162 PyObject
* obj0
= 0 ;
31163 PyObject
* obj1
= 0 ;
31164 PyObject
* obj2
= 0 ;
31165 PyObject
* obj3
= 0 ;
31166 char * kwnames
[] = {
31167 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31172 if (!SWIG_IsOK(res1
)) {
31173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31175 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31176 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31177 if (!SWIG_IsOK(ecode2
)) {
31178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31180 arg2
= static_cast< long >(val2
);
31182 arg3
= wxString_in_helper(obj2
);
31183 if (arg3
== NULL
) SWIG_fail
;
31187 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31188 if (!SWIG_IsOK(ecode4
)) {
31189 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31191 arg4
= static_cast< int >(val4
);
31194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31195 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31196 wxPyEndAllowThreads(__tstate
);
31197 if (PyErr_Occurred()) SWIG_fail
;
31199 resultobj
= SWIG_From_long(static_cast< long >(result
));
31214 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31215 PyObject
*resultobj
= 0;
31216 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31226 PyObject
* obj0
= 0 ;
31227 PyObject
* obj1
= 0 ;
31228 PyObject
* obj2
= 0 ;
31229 char * kwnames
[] = {
31230 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31235 if (!SWIG_IsOK(res1
)) {
31236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31238 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31239 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31240 if (!SWIG_IsOK(ecode2
)) {
31241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31243 arg2
= static_cast< long >(val2
);
31244 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31245 if (!SWIG_IsOK(ecode3
)) {
31246 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31248 arg3
= static_cast< int >(val3
);
31250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31251 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31252 wxPyEndAllowThreads(__tstate
);
31253 if (PyErr_Occurred()) SWIG_fail
;
31255 resultobj
= SWIG_From_long(static_cast< long >(result
));
31262 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31263 PyObject
*resultobj
= 0;
31264 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31266 wxString
*arg3
= 0 ;
31273 bool temp3
= false ;
31276 PyObject
* obj0
= 0 ;
31277 PyObject
* obj1
= 0 ;
31278 PyObject
* obj2
= 0 ;
31279 PyObject
* obj3
= 0 ;
31280 char * kwnames
[] = {
31281 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31286 if (!SWIG_IsOK(res1
)) {
31287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31289 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31290 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31291 if (!SWIG_IsOK(ecode2
)) {
31292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31294 arg2
= static_cast< long >(val2
);
31296 arg3
= wxString_in_helper(obj2
);
31297 if (arg3
== NULL
) SWIG_fail
;
31300 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31301 if (!SWIG_IsOK(ecode4
)) {
31302 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31304 arg4
= static_cast< int >(val4
);
31306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31307 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31308 wxPyEndAllowThreads(__tstate
);
31309 if (PyErr_Occurred()) SWIG_fail
;
31311 resultobj
= SWIG_From_long(static_cast< long >(result
));
31326 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31327 PyObject
*resultobj
= 0;
31328 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31330 wxListItem
*arg3
= 0 ;
31338 PyObject
* obj0
= 0 ;
31339 PyObject
* obj1
= 0 ;
31340 PyObject
* obj2
= 0 ;
31341 char * kwnames
[] = {
31342 (char *) "self",(char *) "col",(char *) "info", NULL
31345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31347 if (!SWIG_IsOK(res1
)) {
31348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31350 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31351 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31352 if (!SWIG_IsOK(ecode2
)) {
31353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31355 arg2
= static_cast< long >(val2
);
31356 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31357 if (!SWIG_IsOK(res3
)) {
31358 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31361 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31363 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31366 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31367 wxPyEndAllowThreads(__tstate
);
31368 if (PyErr_Occurred()) SWIG_fail
;
31370 resultobj
= SWIG_From_long(static_cast< long >(result
));
31377 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31378 PyObject
*resultobj
= 0;
31379 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31381 wxString
*arg3
= 0 ;
31382 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31383 int arg5
= (int) -1 ;
31389 bool temp3
= false ;
31394 PyObject
* obj0
= 0 ;
31395 PyObject
* obj1
= 0 ;
31396 PyObject
* obj2
= 0 ;
31397 PyObject
* obj3
= 0 ;
31398 PyObject
* obj4
= 0 ;
31399 char * kwnames
[] = {
31400 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31405 if (!SWIG_IsOK(res1
)) {
31406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31408 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31409 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31410 if (!SWIG_IsOK(ecode2
)) {
31411 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31413 arg2
= static_cast< long >(val2
);
31415 arg3
= wxString_in_helper(obj2
);
31416 if (arg3
== NULL
) SWIG_fail
;
31420 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31421 if (!SWIG_IsOK(ecode4
)) {
31422 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31424 arg4
= static_cast< int >(val4
);
31427 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31428 if (!SWIG_IsOK(ecode5
)) {
31429 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31431 arg5
= static_cast< int >(val5
);
31434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31435 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31436 wxPyEndAllowThreads(__tstate
);
31437 if (PyErr_Occurred()) SWIG_fail
;
31439 resultobj
= SWIG_From_long(static_cast< long >(result
));
31454 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31455 PyObject
*resultobj
= 0;
31456 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31462 PyObject
* obj0
= 0 ;
31463 PyObject
* obj1
= 0 ;
31464 char * kwnames
[] = {
31465 (char *) "self",(char *) "count", NULL
31468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31470 if (!SWIG_IsOK(res1
)) {
31471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31473 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31474 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31475 if (!SWIG_IsOK(ecode2
)) {
31476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31478 arg2
= static_cast< long >(val2
);
31480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31481 (arg1
)->SetItemCount(arg2
);
31482 wxPyEndAllowThreads(__tstate
);
31483 if (PyErr_Occurred()) SWIG_fail
;
31485 resultobj
= SWIG_Py_Void();
31492 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31493 PyObject
*resultobj
= 0;
31494 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31504 PyObject
* obj0
= 0 ;
31505 PyObject
* obj1
= 0 ;
31506 PyObject
* obj2
= 0 ;
31507 char * kwnames
[] = {
31508 (char *) "self",(char *) "dx",(char *) "dy", NULL
31511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31513 if (!SWIG_IsOK(res1
)) {
31514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31516 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31518 if (!SWIG_IsOK(ecode2
)) {
31519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31521 arg2
= static_cast< int >(val2
);
31522 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31523 if (!SWIG_IsOK(ecode3
)) {
31524 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31526 arg3
= static_cast< int >(val3
);
31528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31529 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31530 wxPyEndAllowThreads(__tstate
);
31531 if (PyErr_Occurred()) SWIG_fail
;
31534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31542 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31543 PyObject
*resultobj
= 0;
31544 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31546 wxColour
*arg3
= 0 ;
31552 PyObject
* obj0
= 0 ;
31553 PyObject
* obj1
= 0 ;
31554 PyObject
* obj2
= 0 ;
31555 char * kwnames
[] = {
31556 (char *) "self",(char *) "item",(char *) "col", NULL
31559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31561 if (!SWIG_IsOK(res1
)) {
31562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31564 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31565 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31566 if (!SWIG_IsOK(ecode2
)) {
31567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31569 arg2
= static_cast< long >(val2
);
31572 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31576 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31577 wxPyEndAllowThreads(__tstate
);
31578 if (PyErr_Occurred()) SWIG_fail
;
31580 resultobj
= SWIG_Py_Void();
31587 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31588 PyObject
*resultobj
= 0;
31589 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31596 PyObject
* obj0
= 0 ;
31597 PyObject
* obj1
= 0 ;
31598 char * kwnames
[] = {
31599 (char *) "self",(char *) "item", NULL
31602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31604 if (!SWIG_IsOK(res1
)) {
31605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31607 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31608 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31609 if (!SWIG_IsOK(ecode2
)) {
31610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31612 arg2
= static_cast< long >(val2
);
31614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31615 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31616 wxPyEndAllowThreads(__tstate
);
31617 if (PyErr_Occurred()) SWIG_fail
;
31619 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31626 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31627 PyObject
*resultobj
= 0;
31628 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31630 wxColour
*arg3
= 0 ;
31636 PyObject
* obj0
= 0 ;
31637 PyObject
* obj1
= 0 ;
31638 PyObject
* obj2
= 0 ;
31639 char * kwnames
[] = {
31640 (char *) "self",(char *) "item",(char *) "col", NULL
31643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31645 if (!SWIG_IsOK(res1
)) {
31646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31648 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31649 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31650 if (!SWIG_IsOK(ecode2
)) {
31651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31653 arg2
= static_cast< long >(val2
);
31656 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31660 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31661 wxPyEndAllowThreads(__tstate
);
31662 if (PyErr_Occurred()) SWIG_fail
;
31664 resultobj
= SWIG_Py_Void();
31671 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31672 PyObject
*resultobj
= 0;
31673 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31680 PyObject
* obj0
= 0 ;
31681 PyObject
* obj1
= 0 ;
31682 char * kwnames
[] = {
31683 (char *) "self",(char *) "item", NULL
31686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31688 if (!SWIG_IsOK(res1
)) {
31689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31691 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31692 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31693 if (!SWIG_IsOK(ecode2
)) {
31694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31696 arg2
= static_cast< long >(val2
);
31698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31699 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31700 wxPyEndAllowThreads(__tstate
);
31701 if (PyErr_Occurred()) SWIG_fail
;
31703 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31710 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31711 PyObject
*resultobj
= 0;
31712 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31721 PyObject
* obj0
= 0 ;
31722 PyObject
* obj1
= 0 ;
31723 PyObject
* obj2
= 0 ;
31724 char * kwnames
[] = {
31725 (char *) "self",(char *) "item",(char *) "f", NULL
31728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31730 if (!SWIG_IsOK(res1
)) {
31731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31733 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31734 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31735 if (!SWIG_IsOK(ecode2
)) {
31736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31738 arg2
= static_cast< long >(val2
);
31739 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31740 if (!SWIG_IsOK(res3
)) {
31741 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31744 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31746 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31749 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31750 wxPyEndAllowThreads(__tstate
);
31751 if (PyErr_Occurred()) SWIG_fail
;
31753 resultobj
= SWIG_Py_Void();
31760 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31761 PyObject
*resultobj
= 0;
31762 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31769 PyObject
* obj0
= 0 ;
31770 PyObject
* obj1
= 0 ;
31771 char * kwnames
[] = {
31772 (char *) "self",(char *) "item", NULL
31775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31777 if (!SWIG_IsOK(res1
)) {
31778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31780 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31781 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31782 if (!SWIG_IsOK(ecode2
)) {
31783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31785 arg2
= static_cast< long >(val2
);
31787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31788 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31789 wxPyEndAllowThreads(__tstate
);
31790 if (PyErr_Occurred()) SWIG_fail
;
31792 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31799 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31800 PyObject
*resultobj
= 0;
31801 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31802 PyObject
*arg2
= (PyObject
*) 0 ;
31806 PyObject
* obj0
= 0 ;
31807 PyObject
* obj1
= 0 ;
31808 char * kwnames
[] = {
31809 (char *) "self",(char *) "func", NULL
31812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31814 if (!SWIG_IsOK(res1
)) {
31815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31817 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31821 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
31822 wxPyEndAllowThreads(__tstate
);
31823 if (PyErr_Occurred()) SWIG_fail
;
31826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31834 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31835 PyObject
*resultobj
= 0;
31836 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31837 wxWindow
*result
= 0 ;
31840 PyObject
*swig_obj
[1] ;
31842 if (!args
) SWIG_fail
;
31843 swig_obj
[0] = args
;
31844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31845 if (!SWIG_IsOK(res1
)) {
31846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31848 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31851 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
31852 wxPyEndAllowThreads(__tstate
);
31853 if (PyErr_Occurred()) SWIG_fail
;
31856 resultobj
= wxPyMake_wxObject(result
, 0);
31864 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31865 PyObject
*resultobj
= 0;
31866 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31867 SwigValueWrapper
<wxVisualAttributes
> result
;
31870 PyObject
* obj0
= 0 ;
31871 char * kwnames
[] = {
31872 (char *) "variant", NULL
31875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
31877 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31878 if (!SWIG_IsOK(ecode1
)) {
31879 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
31881 arg1
= static_cast< wxWindowVariant
>(val1
);
31884 if (!wxPyCheckForApp()) SWIG_fail
;
31885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31886 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
31887 wxPyEndAllowThreads(__tstate
);
31888 if (PyErr_Occurred()) SWIG_fail
;
31890 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
31897 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31899 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31900 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
31901 return SWIG_Py_Void();
31904 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31905 return SWIG_Python_InitShadowInstance(args
);
31908 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31909 PyObject
*resultobj
= 0;
31910 wxWindow
*arg1
= (wxWindow
*) 0 ;
31911 int arg2
= (int) -1 ;
31912 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31913 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31914 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31915 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31916 long arg5
= (long) wxLC_REPORT
;
31917 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31918 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31919 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
31920 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31921 wxListView
*result
= 0 ;
31932 bool temp7
= false ;
31933 PyObject
* obj0
= 0 ;
31934 PyObject
* obj1
= 0 ;
31935 PyObject
* obj2
= 0 ;
31936 PyObject
* obj3
= 0 ;
31937 PyObject
* obj4
= 0 ;
31938 PyObject
* obj5
= 0 ;
31939 PyObject
* obj6
= 0 ;
31940 char * kwnames
[] = {
31941 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31946 if (!SWIG_IsOK(res1
)) {
31947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
31949 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31951 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31952 if (!SWIG_IsOK(ecode2
)) {
31953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
31955 arg2
= static_cast< int >(val2
);
31960 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31966 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31970 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
31971 if (!SWIG_IsOK(ecode5
)) {
31972 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
31974 arg5
= static_cast< long >(val5
);
31977 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
31978 if (!SWIG_IsOK(res6
)) {
31979 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31982 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31984 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
31988 arg7
= wxString_in_helper(obj6
);
31989 if (arg7
== NULL
) SWIG_fail
;
31994 if (!wxPyCheckForApp()) SWIG_fail
;
31995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31996 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31997 wxPyEndAllowThreads(__tstate
);
31998 if (PyErr_Occurred()) SWIG_fail
;
32000 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
32015 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32016 PyObject
*resultobj
= 0;
32017 wxListView
*result
= 0 ;
32019 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
32021 if (!wxPyCheckForApp()) SWIG_fail
;
32022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32023 result
= (wxListView
*)new wxListView();
32024 wxPyEndAllowThreads(__tstate
);
32025 if (PyErr_Occurred()) SWIG_fail
;
32027 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
32034 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32035 PyObject
*resultobj
= 0;
32036 wxListView
*arg1
= (wxListView
*) 0 ;
32037 wxWindow
*arg2
= (wxWindow
*) 0 ;
32038 int arg3
= (int) -1 ;
32039 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32040 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32041 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32042 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32043 long arg6
= (long) wxLC_REPORT
;
32044 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32045 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32046 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
32047 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32061 bool temp8
= false ;
32062 PyObject
* obj0
= 0 ;
32063 PyObject
* obj1
= 0 ;
32064 PyObject
* obj2
= 0 ;
32065 PyObject
* obj3
= 0 ;
32066 PyObject
* obj4
= 0 ;
32067 PyObject
* obj5
= 0 ;
32068 PyObject
* obj6
= 0 ;
32069 PyObject
* obj7
= 0 ;
32070 char * kwnames
[] = {
32071 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32076 if (!SWIG_IsOK(res1
)) {
32077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32079 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32080 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32081 if (!SWIG_IsOK(res2
)) {
32082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32084 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32086 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32087 if (!SWIG_IsOK(ecode3
)) {
32088 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32090 arg3
= static_cast< int >(val3
);
32095 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32101 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32105 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32106 if (!SWIG_IsOK(ecode6
)) {
32107 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32109 arg6
= static_cast< long >(val6
);
32112 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32113 if (!SWIG_IsOK(res7
)) {
32114 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32117 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32119 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32123 arg8
= wxString_in_helper(obj7
);
32124 if (arg8
== NULL
) SWIG_fail
;
32129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32130 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32131 wxPyEndAllowThreads(__tstate
);
32132 if (PyErr_Occurred()) SWIG_fail
;
32135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32151 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32152 PyObject
*resultobj
= 0;
32153 wxListView
*arg1
= (wxListView
*) 0 ;
32155 bool arg3
= (bool) true ;
32162 PyObject
* obj0
= 0 ;
32163 PyObject
* obj1
= 0 ;
32164 PyObject
* obj2
= 0 ;
32165 char * kwnames
[] = {
32166 (char *) "self",(char *) "n",(char *) "on", NULL
32169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32171 if (!SWIG_IsOK(res1
)) {
32172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32174 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32175 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32176 if (!SWIG_IsOK(ecode2
)) {
32177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32179 arg2
= static_cast< long >(val2
);
32181 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32182 if (!SWIG_IsOK(ecode3
)) {
32183 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32185 arg3
= static_cast< bool >(val3
);
32188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32189 (arg1
)->Select(arg2
,arg3
);
32190 wxPyEndAllowThreads(__tstate
);
32191 if (PyErr_Occurred()) SWIG_fail
;
32193 resultobj
= SWIG_Py_Void();
32200 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32201 PyObject
*resultobj
= 0;
32202 wxListView
*arg1
= (wxListView
*) 0 ;
32208 PyObject
* obj0
= 0 ;
32209 PyObject
* obj1
= 0 ;
32210 char * kwnames
[] = {
32211 (char *) "self",(char *) "index", NULL
32214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32216 if (!SWIG_IsOK(res1
)) {
32217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32219 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32220 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32221 if (!SWIG_IsOK(ecode2
)) {
32222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32224 arg2
= static_cast< long >(val2
);
32226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32227 (arg1
)->Focus(arg2
);
32228 wxPyEndAllowThreads(__tstate
);
32229 if (PyErr_Occurred()) SWIG_fail
;
32231 resultobj
= SWIG_Py_Void();
32238 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32239 PyObject
*resultobj
= 0;
32240 wxListView
*arg1
= (wxListView
*) 0 ;
32244 PyObject
*swig_obj
[1] ;
32246 if (!args
) SWIG_fail
;
32247 swig_obj
[0] = args
;
32248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32249 if (!SWIG_IsOK(res1
)) {
32250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32252 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32255 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32256 wxPyEndAllowThreads(__tstate
);
32257 if (PyErr_Occurred()) SWIG_fail
;
32259 resultobj
= SWIG_From_long(static_cast< long >(result
));
32266 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32267 PyObject
*resultobj
= 0;
32268 wxListView
*arg1
= (wxListView
*) 0 ;
32275 PyObject
* obj0
= 0 ;
32276 PyObject
* obj1
= 0 ;
32277 char * kwnames
[] = {
32278 (char *) "self",(char *) "item", NULL
32281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32283 if (!SWIG_IsOK(res1
)) {
32284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32286 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32287 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32288 if (!SWIG_IsOK(ecode2
)) {
32289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32291 arg2
= static_cast< long >(val2
);
32293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32294 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32295 wxPyEndAllowThreads(__tstate
);
32296 if (PyErr_Occurred()) SWIG_fail
;
32298 resultobj
= SWIG_From_long(static_cast< long >(result
));
32305 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32306 PyObject
*resultobj
= 0;
32307 wxListView
*arg1
= (wxListView
*) 0 ;
32311 PyObject
*swig_obj
[1] ;
32313 if (!args
) SWIG_fail
;
32314 swig_obj
[0] = args
;
32315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32316 if (!SWIG_IsOK(res1
)) {
32317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32319 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32322 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32323 wxPyEndAllowThreads(__tstate
);
32324 if (PyErr_Occurred()) SWIG_fail
;
32326 resultobj
= SWIG_From_long(static_cast< long >(result
));
32333 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32334 PyObject
*resultobj
= 0;
32335 wxListView
*arg1
= (wxListView
*) 0 ;
32342 PyObject
* obj0
= 0 ;
32343 PyObject
* obj1
= 0 ;
32344 char * kwnames
[] = {
32345 (char *) "self",(char *) "index", NULL
32348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32350 if (!SWIG_IsOK(res1
)) {
32351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32353 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32354 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32355 if (!SWIG_IsOK(ecode2
)) {
32356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32358 arg2
= static_cast< long >(val2
);
32360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32361 result
= (bool)(arg1
)->IsSelected(arg2
);
32362 wxPyEndAllowThreads(__tstate
);
32363 if (PyErr_Occurred()) SWIG_fail
;
32366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32374 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32375 PyObject
*resultobj
= 0;
32376 wxListView
*arg1
= (wxListView
*) 0 ;
32385 PyObject
* obj0
= 0 ;
32386 PyObject
* obj1
= 0 ;
32387 PyObject
* obj2
= 0 ;
32388 char * kwnames
[] = {
32389 (char *) "self",(char *) "col",(char *) "image", NULL
32392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32394 if (!SWIG_IsOK(res1
)) {
32395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32397 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32398 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32399 if (!SWIG_IsOK(ecode2
)) {
32400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32402 arg2
= static_cast< int >(val2
);
32403 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32404 if (!SWIG_IsOK(ecode3
)) {
32405 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32407 arg3
= static_cast< int >(val3
);
32409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32410 (arg1
)->SetColumnImage(arg2
,arg3
);
32411 wxPyEndAllowThreads(__tstate
);
32412 if (PyErr_Occurred()) SWIG_fail
;
32414 resultobj
= SWIG_Py_Void();
32421 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32422 PyObject
*resultobj
= 0;
32423 wxListView
*arg1
= (wxListView
*) 0 ;
32429 PyObject
* obj0
= 0 ;
32430 PyObject
* obj1
= 0 ;
32431 char * kwnames
[] = {
32432 (char *) "self",(char *) "col", NULL
32435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32437 if (!SWIG_IsOK(res1
)) {
32438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32440 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32442 if (!SWIG_IsOK(ecode2
)) {
32443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32445 arg2
= static_cast< int >(val2
);
32447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32448 (arg1
)->ClearColumnImage(arg2
);
32449 wxPyEndAllowThreads(__tstate
);
32450 if (PyErr_Occurred()) SWIG_fail
;
32452 resultobj
= SWIG_Py_Void();
32459 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32461 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32462 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32463 return SWIG_Py_Void();
32466 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32467 return SWIG_Python_InitShadowInstance(args
);
32470 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32471 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32476 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32477 PyObject
*pyobj
= 0;
32481 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32483 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32490 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32491 PyObject
*resultobj
= 0;
32492 wxTreeItemId
*result
= 0 ;
32494 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32497 result
= (wxTreeItemId
*)new wxTreeItemId();
32498 wxPyEndAllowThreads(__tstate
);
32499 if (PyErr_Occurred()) SWIG_fail
;
32501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32508 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32509 PyObject
*resultobj
= 0;
32510 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32513 PyObject
*swig_obj
[1] ;
32515 if (!args
) SWIG_fail
;
32516 swig_obj
[0] = args
;
32517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32518 if (!SWIG_IsOK(res1
)) {
32519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32521 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32526 wxPyEndAllowThreads(__tstate
);
32527 if (PyErr_Occurred()) SWIG_fail
;
32529 resultobj
= SWIG_Py_Void();
32536 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32537 PyObject
*resultobj
= 0;
32538 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32542 PyObject
*swig_obj
[1] ;
32544 if (!args
) SWIG_fail
;
32545 swig_obj
[0] = args
;
32546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32547 if (!SWIG_IsOK(res1
)) {
32548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32550 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32553 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32554 wxPyEndAllowThreads(__tstate
);
32555 if (PyErr_Occurred()) SWIG_fail
;
32558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32566 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32567 PyObject
*resultobj
= 0;
32568 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32569 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32575 PyObject
* obj0
= 0 ;
32576 PyObject
* obj1
= 0 ;
32577 char * kwnames
[] = {
32578 (char *) "self",(char *) "other", NULL
32581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32583 if (!SWIG_IsOK(res1
)) {
32584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32586 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32587 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32588 if (!SWIG_IsOK(res2
)) {
32589 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32591 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32594 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32595 wxPyEndAllowThreads(__tstate
);
32596 if (PyErr_Occurred()) SWIG_fail
;
32599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32607 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32608 PyObject
*resultobj
= 0;
32609 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32610 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32616 PyObject
* obj0
= 0 ;
32617 PyObject
* obj1
= 0 ;
32618 char * kwnames
[] = {
32619 (char *) "self",(char *) "other", NULL
32622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32624 if (!SWIG_IsOK(res1
)) {
32625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32627 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32628 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32629 if (!SWIG_IsOK(res2
)) {
32630 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32632 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32635 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32636 wxPyEndAllowThreads(__tstate
);
32637 if (PyErr_Occurred()) SWIG_fail
;
32640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32648 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32649 PyObject
*resultobj
= 0;
32650 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32651 void *arg2
= (void *) 0 ;
32655 PyObject
*swig_obj
[2] ;
32657 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32659 if (!SWIG_IsOK(res1
)) {
32660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32662 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32663 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32664 if (!SWIG_IsOK(res2
)) {
32665 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32667 if (arg1
) (arg1
)->m_pItem
= arg2
;
32669 resultobj
= SWIG_Py_Void();
32676 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32677 PyObject
*resultobj
= 0;
32678 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32682 PyObject
*swig_obj
[1] ;
32684 if (!args
) SWIG_fail
;
32685 swig_obj
[0] = args
;
32686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32687 if (!SWIG_IsOK(res1
)) {
32688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32690 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32691 result
= (void *) ((arg1
)->m_pItem
);
32692 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32699 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32701 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32702 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32703 return SWIG_Py_Void();
32706 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32707 return SWIG_Python_InitShadowInstance(args
);
32710 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32711 PyObject
*resultobj
= 0;
32712 PyObject
*arg1
= (PyObject
*) NULL
;
32713 wxPyTreeItemData
*result
= 0 ;
32714 PyObject
* obj0
= 0 ;
32715 char * kwnames
[] = {
32716 (char *) "obj", NULL
32719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32725 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32726 wxPyEndAllowThreads(__tstate
);
32727 if (PyErr_Occurred()) SWIG_fail
;
32729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32736 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32737 PyObject
*resultobj
= 0;
32738 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32741 PyObject
*swig_obj
[1] ;
32743 if (!args
) SWIG_fail
;
32744 swig_obj
[0] = args
;
32745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32746 if (!SWIG_IsOK(res1
)) {
32747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32749 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32754 wxPyEndAllowThreads(__tstate
);
32755 if (PyErr_Occurred()) SWIG_fail
;
32757 resultobj
= SWIG_Py_Void();
32764 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32765 PyObject
*resultobj
= 0;
32766 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32767 PyObject
*result
= 0 ;
32770 PyObject
*swig_obj
[1] ;
32772 if (!args
) SWIG_fail
;
32773 swig_obj
[0] = args
;
32774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32775 if (!SWIG_IsOK(res1
)) {
32776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32778 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32781 result
= (PyObject
*)(arg1
)->GetData();
32782 wxPyEndAllowThreads(__tstate
);
32783 if (PyErr_Occurred()) SWIG_fail
;
32785 resultobj
= result
;
32792 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32793 PyObject
*resultobj
= 0;
32794 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32795 PyObject
*arg2
= (PyObject
*) 0 ;
32798 PyObject
* obj0
= 0 ;
32799 PyObject
* obj1
= 0 ;
32800 char * kwnames
[] = {
32801 (char *) "self",(char *) "obj", NULL
32804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32806 if (!SWIG_IsOK(res1
)) {
32807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32809 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32813 (arg1
)->SetData(arg2
);
32814 wxPyEndAllowThreads(__tstate
);
32815 if (PyErr_Occurred()) SWIG_fail
;
32817 resultobj
= SWIG_Py_Void();
32824 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32825 PyObject
*resultobj
= 0;
32826 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32827 wxTreeItemId
*result
= 0 ;
32830 PyObject
*swig_obj
[1] ;
32832 if (!args
) SWIG_fail
;
32833 swig_obj
[0] = args
;
32834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32835 if (!SWIG_IsOK(res1
)) {
32836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32838 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32842 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
32843 result
= (wxTreeItemId
*) &_result_ref
;
32845 wxPyEndAllowThreads(__tstate
);
32846 if (PyErr_Occurred()) SWIG_fail
;
32848 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32855 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32856 PyObject
*resultobj
= 0;
32857 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32858 wxTreeItemId
*arg2
= 0 ;
32863 PyObject
* obj0
= 0 ;
32864 PyObject
* obj1
= 0 ;
32865 char * kwnames
[] = {
32866 (char *) "self",(char *) "id", NULL
32869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32871 if (!SWIG_IsOK(res1
)) {
32872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32874 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32875 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32876 if (!SWIG_IsOK(res2
)) {
32877 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32882 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32885 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
32886 wxPyEndAllowThreads(__tstate
);
32887 if (PyErr_Occurred()) SWIG_fail
;
32889 resultobj
= SWIG_Py_Void();
32896 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32897 PyObject
*resultobj
= 0;
32898 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32901 PyObject
*swig_obj
[1] ;
32903 if (!args
) SWIG_fail
;
32904 swig_obj
[0] = args
;
32905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32906 if (!SWIG_IsOK(res1
)) {
32907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32909 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32912 wxPyTreeItemData_Destroy(arg1
);
32913 wxPyEndAllowThreads(__tstate
);
32914 if (PyErr_Occurred()) SWIG_fail
;
32916 resultobj
= SWIG_Py_Void();
32923 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32925 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32926 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
32927 return SWIG_Py_Void();
32930 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32931 return SWIG_Python_InitShadowInstance(args
);
32934 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
32937 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32938 if (!SWIG_IsOK(res
)) {
32939 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
32942 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
32944 wxTreeItemId
* temp
;
32945 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
32946 wxNullTreeItemId
= *temp
;
32947 if (SWIG_IsNewObj(res
)) delete temp
;
32956 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
32957 PyObject
*pyobj
= 0;
32959 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
32964 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32965 PyObject
*resultobj
= 0;
32966 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32967 int arg2
= (int) 0 ;
32968 wxTreeEvent
*result
= 0 ;
32974 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
32976 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
32977 if (!SWIG_IsOK(ecode1
)) {
32978 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32980 arg1
= static_cast< wxEventType
>(val1
);
32983 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
32984 if (!SWIG_IsOK(ecode2
)) {
32985 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
32987 arg2
= static_cast< int >(val2
);
32990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32991 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
32992 wxPyEndAllowThreads(__tstate
);
32993 if (PyErr_Occurred()) SWIG_fail
;
32995 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33002 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33003 PyObject
*resultobj
= 0;
33005 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
33006 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
33007 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
33008 wxTreeEvent
*result
= 0 ;
33016 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33017 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33018 if (!SWIG_IsOK(ecode1
)) {
33019 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33021 arg1
= static_cast< wxEventType
>(val1
);
33022 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33023 if (!SWIG_IsOK(res2
)) {
33024 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33026 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
33028 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
33029 if (!SWIG_IsOK(res3
)) {
33030 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33033 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33035 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
33038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33039 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
33040 wxPyEndAllowThreads(__tstate
);
33041 if (PyErr_Occurred()) SWIG_fail
;
33043 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33050 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
33054 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
33056 if ((argc
>= 0) && (argc
<= 2)) {
33061 int res
= SWIG_AsVal_int(argv
[1], NULL
);
33062 _v
= SWIG_CheckState(res
);
33065 if (!_v
) goto check_1
;
33067 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
33071 if ((argc
>= 2) && (argc
<= 3)) {
33072 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
33076 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
33081 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33082 PyObject
*resultobj
= 0;
33083 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33084 wxTreeItemId result
;
33087 PyObject
*swig_obj
[1] ;
33089 if (!args
) SWIG_fail
;
33090 swig_obj
[0] = args
;
33091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33092 if (!SWIG_IsOK(res1
)) {
33093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33095 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33098 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
33099 wxPyEndAllowThreads(__tstate
);
33100 if (PyErr_Occurred()) SWIG_fail
;
33102 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33109 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33110 PyObject
*resultobj
= 0;
33111 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33112 wxTreeItemId
*arg2
= 0 ;
33117 PyObject
* obj0
= 0 ;
33118 PyObject
* obj1
= 0 ;
33119 char * kwnames
[] = {
33120 (char *) "self",(char *) "item", NULL
33123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33125 if (!SWIG_IsOK(res1
)) {
33126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33128 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33129 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33130 if (!SWIG_IsOK(res2
)) {
33131 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33134 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33136 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33139 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33140 wxPyEndAllowThreads(__tstate
);
33141 if (PyErr_Occurred()) SWIG_fail
;
33143 resultobj
= SWIG_Py_Void();
33150 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33151 PyObject
*resultobj
= 0;
33152 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33153 wxTreeItemId result
;
33156 PyObject
*swig_obj
[1] ;
33158 if (!args
) SWIG_fail
;
33159 swig_obj
[0] = args
;
33160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33161 if (!SWIG_IsOK(res1
)) {
33162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33164 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33167 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33168 wxPyEndAllowThreads(__tstate
);
33169 if (PyErr_Occurred()) SWIG_fail
;
33171 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33178 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33179 PyObject
*resultobj
= 0;
33180 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33181 wxTreeItemId
*arg2
= 0 ;
33186 PyObject
* obj0
= 0 ;
33187 PyObject
* obj1
= 0 ;
33188 char * kwnames
[] = {
33189 (char *) "self",(char *) "item", NULL
33192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33194 if (!SWIG_IsOK(res1
)) {
33195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33197 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33198 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33199 if (!SWIG_IsOK(res2
)) {
33200 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33203 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33205 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33208 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33209 wxPyEndAllowThreads(__tstate
);
33210 if (PyErr_Occurred()) SWIG_fail
;
33212 resultobj
= SWIG_Py_Void();
33219 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33220 PyObject
*resultobj
= 0;
33221 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33225 PyObject
*swig_obj
[1] ;
33227 if (!args
) SWIG_fail
;
33228 swig_obj
[0] = args
;
33229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33230 if (!SWIG_IsOK(res1
)) {
33231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33233 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33236 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33237 wxPyEndAllowThreads(__tstate
);
33238 if (PyErr_Occurred()) SWIG_fail
;
33240 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33247 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33248 PyObject
*resultobj
= 0;
33249 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33250 wxPoint
*arg2
= 0 ;
33254 PyObject
* obj0
= 0 ;
33255 PyObject
* obj1
= 0 ;
33256 char * kwnames
[] = {
33257 (char *) "self",(char *) "pt", NULL
33260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33262 if (!SWIG_IsOK(res1
)) {
33263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33265 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33268 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33272 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33273 wxPyEndAllowThreads(__tstate
);
33274 if (PyErr_Occurred()) SWIG_fail
;
33276 resultobj
= SWIG_Py_Void();
33283 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33284 PyObject
*resultobj
= 0;
33285 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33286 wxKeyEvent
*result
= 0 ;
33289 PyObject
*swig_obj
[1] ;
33291 if (!args
) SWIG_fail
;
33292 swig_obj
[0] = args
;
33293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33294 if (!SWIG_IsOK(res1
)) {
33295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33297 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33301 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33302 result
= (wxKeyEvent
*) &_result_ref
;
33304 wxPyEndAllowThreads(__tstate
);
33305 if (PyErr_Occurred()) SWIG_fail
;
33307 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33314 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33315 PyObject
*resultobj
= 0;
33316 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33320 PyObject
*swig_obj
[1] ;
33322 if (!args
) SWIG_fail
;
33323 swig_obj
[0] = args
;
33324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33325 if (!SWIG_IsOK(res1
)) {
33326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33328 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33331 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33332 wxPyEndAllowThreads(__tstate
);
33333 if (PyErr_Occurred()) SWIG_fail
;
33335 resultobj
= SWIG_From_int(static_cast< int >(result
));
33342 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33343 PyObject
*resultobj
= 0;
33344 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33345 wxKeyEvent
*arg2
= 0 ;
33350 PyObject
* obj0
= 0 ;
33351 PyObject
* obj1
= 0 ;
33352 char * kwnames
[] = {
33353 (char *) "self",(char *) "evt", NULL
33356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33358 if (!SWIG_IsOK(res1
)) {
33359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33361 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33362 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33363 if (!SWIG_IsOK(res2
)) {
33364 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33367 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33369 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33372 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33373 wxPyEndAllowThreads(__tstate
);
33374 if (PyErr_Occurred()) SWIG_fail
;
33376 resultobj
= SWIG_Py_Void();
33383 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33384 PyObject
*resultobj
= 0;
33385 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33386 wxString
*result
= 0 ;
33389 PyObject
*swig_obj
[1] ;
33391 if (!args
) SWIG_fail
;
33392 swig_obj
[0] = args
;
33393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33394 if (!SWIG_IsOK(res1
)) {
33395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33397 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33401 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33402 result
= (wxString
*) &_result_ref
;
33404 wxPyEndAllowThreads(__tstate
);
33405 if (PyErr_Occurred()) SWIG_fail
;
33409 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33411 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33420 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33421 PyObject
*resultobj
= 0;
33422 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33423 wxString
*arg2
= 0 ;
33426 bool temp2
= false ;
33427 PyObject
* obj0
= 0 ;
33428 PyObject
* obj1
= 0 ;
33429 char * kwnames
[] = {
33430 (char *) "self",(char *) "label", NULL
33433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33435 if (!SWIG_IsOK(res1
)) {
33436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33438 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33440 arg2
= wxString_in_helper(obj1
);
33441 if (arg2
== NULL
) SWIG_fail
;
33445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33446 (arg1
)->SetLabel((wxString
const &)*arg2
);
33447 wxPyEndAllowThreads(__tstate
);
33448 if (PyErr_Occurred()) SWIG_fail
;
33450 resultobj
= SWIG_Py_Void();
33465 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33466 PyObject
*resultobj
= 0;
33467 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33471 PyObject
*swig_obj
[1] ;
33473 if (!args
) SWIG_fail
;
33474 swig_obj
[0] = args
;
33475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33476 if (!SWIG_IsOK(res1
)) {
33477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33479 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33482 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33483 wxPyEndAllowThreads(__tstate
);
33484 if (PyErr_Occurred()) SWIG_fail
;
33487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33495 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33496 PyObject
*resultobj
= 0;
33497 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33503 PyObject
* obj0
= 0 ;
33504 PyObject
* obj1
= 0 ;
33505 char * kwnames
[] = {
33506 (char *) "self",(char *) "editCancelled", NULL
33509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33511 if (!SWIG_IsOK(res1
)) {
33512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33514 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33515 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33516 if (!SWIG_IsOK(ecode2
)) {
33517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33519 arg2
= static_cast< bool >(val2
);
33521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33522 (arg1
)->SetEditCanceled(arg2
);
33523 wxPyEndAllowThreads(__tstate
);
33524 if (PyErr_Occurred()) SWIG_fail
;
33526 resultobj
= SWIG_Py_Void();
33533 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33534 PyObject
*resultobj
= 0;
33535 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33536 wxString
*arg2
= 0 ;
33539 bool temp2
= false ;
33540 PyObject
* obj0
= 0 ;
33541 PyObject
* obj1
= 0 ;
33542 char * kwnames
[] = {
33543 (char *) "self",(char *) "toolTip", NULL
33546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33548 if (!SWIG_IsOK(res1
)) {
33549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33551 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33553 arg2
= wxString_in_helper(obj1
);
33554 if (arg2
== NULL
) SWIG_fail
;
33558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33559 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33560 wxPyEndAllowThreads(__tstate
);
33561 if (PyErr_Occurred()) SWIG_fail
;
33563 resultobj
= SWIG_Py_Void();
33578 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33579 PyObject
*resultobj
= 0;
33580 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33584 PyObject
*swig_obj
[1] ;
33586 if (!args
) SWIG_fail
;
33587 swig_obj
[0] = args
;
33588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33589 if (!SWIG_IsOK(res1
)) {
33590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33592 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33595 result
= (arg1
)->GetToolTip();
33596 wxPyEndAllowThreads(__tstate
);
33597 if (PyErr_Occurred()) SWIG_fail
;
33601 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33603 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33612 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33614 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33615 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33616 return SWIG_Py_Void();
33619 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33620 return SWIG_Python_InitShadowInstance(args
);
33623 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33624 PyObject
*resultobj
= 0;
33625 wxWindow
*arg1
= (wxWindow
*) 0 ;
33626 int arg2
= (int) -1 ;
33627 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33628 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33629 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33630 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33631 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33632 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33633 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33634 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33635 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33636 wxPyTreeCtrl
*result
= 0 ;
33647 bool temp7
= false ;
33648 PyObject
* obj0
= 0 ;
33649 PyObject
* obj1
= 0 ;
33650 PyObject
* obj2
= 0 ;
33651 PyObject
* obj3
= 0 ;
33652 PyObject
* obj4
= 0 ;
33653 PyObject
* obj5
= 0 ;
33654 PyObject
* obj6
= 0 ;
33655 char * kwnames
[] = {
33656 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33661 if (!SWIG_IsOK(res1
)) {
33662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33664 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33666 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33667 if (!SWIG_IsOK(ecode2
)) {
33668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33670 arg2
= static_cast< int >(val2
);
33675 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33681 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33685 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33686 if (!SWIG_IsOK(ecode5
)) {
33687 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33689 arg5
= static_cast< long >(val5
);
33692 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33693 if (!SWIG_IsOK(res6
)) {
33694 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33697 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33699 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33703 arg7
= wxString_in_helper(obj6
);
33704 if (arg7
== NULL
) SWIG_fail
;
33709 if (!wxPyCheckForApp()) SWIG_fail
;
33710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33711 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33712 wxPyEndAllowThreads(__tstate
);
33713 if (PyErr_Occurred()) SWIG_fail
;
33715 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33730 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33731 PyObject
*resultobj
= 0;
33732 wxPyTreeCtrl
*result
= 0 ;
33734 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33736 if (!wxPyCheckForApp()) SWIG_fail
;
33737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33738 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33739 wxPyEndAllowThreads(__tstate
);
33740 if (PyErr_Occurred()) SWIG_fail
;
33742 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33749 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33750 PyObject
*resultobj
= 0;
33751 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33752 wxWindow
*arg2
= (wxWindow
*) 0 ;
33753 int arg3
= (int) -1 ;
33754 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33755 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33756 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33757 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33758 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33759 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33760 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33761 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33762 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33776 bool temp8
= false ;
33777 PyObject
* obj0
= 0 ;
33778 PyObject
* obj1
= 0 ;
33779 PyObject
* obj2
= 0 ;
33780 PyObject
* obj3
= 0 ;
33781 PyObject
* obj4
= 0 ;
33782 PyObject
* obj5
= 0 ;
33783 PyObject
* obj6
= 0 ;
33784 PyObject
* obj7
= 0 ;
33785 char * kwnames
[] = {
33786 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33791 if (!SWIG_IsOK(res1
)) {
33792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33794 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33795 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33796 if (!SWIG_IsOK(res2
)) {
33797 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33799 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33801 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33802 if (!SWIG_IsOK(ecode3
)) {
33803 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33805 arg3
= static_cast< int >(val3
);
33810 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33816 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33820 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33821 if (!SWIG_IsOK(ecode6
)) {
33822 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33824 arg6
= static_cast< long >(val6
);
33827 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
33828 if (!SWIG_IsOK(res7
)) {
33829 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33832 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33834 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
33838 arg8
= wxString_in_helper(obj7
);
33839 if (arg8
== NULL
) SWIG_fail
;
33844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33845 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33846 wxPyEndAllowThreads(__tstate
);
33847 if (PyErr_Occurred()) SWIG_fail
;
33850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33866 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33867 PyObject
*resultobj
= 0;
33868 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33869 PyObject
*arg2
= (PyObject
*) 0 ;
33870 PyObject
*arg3
= (PyObject
*) 0 ;
33873 PyObject
* obj0
= 0 ;
33874 PyObject
* obj1
= 0 ;
33875 PyObject
* obj2
= 0 ;
33876 char * kwnames
[] = {
33877 (char *) "self",(char *) "self",(char *) "_class", NULL
33880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33882 if (!SWIG_IsOK(res1
)) {
33883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33885 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33890 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33891 wxPyEndAllowThreads(__tstate
);
33892 if (PyErr_Occurred()) SWIG_fail
;
33894 resultobj
= SWIG_Py_Void();
33901 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33902 PyObject
*resultobj
= 0;
33903 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33904 unsigned int result
;
33907 PyObject
*swig_obj
[1] ;
33909 if (!args
) SWIG_fail
;
33910 swig_obj
[0] = args
;
33911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33912 if (!SWIG_IsOK(res1
)) {
33913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33915 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33918 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
33919 wxPyEndAllowThreads(__tstate
);
33920 if (PyErr_Occurred()) SWIG_fail
;
33922 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33929 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33930 PyObject
*resultobj
= 0;
33931 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33932 unsigned int result
;
33935 PyObject
*swig_obj
[1] ;
33937 if (!args
) SWIG_fail
;
33938 swig_obj
[0] = args
;
33939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33940 if (!SWIG_IsOK(res1
)) {
33941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33943 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33946 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
33947 wxPyEndAllowThreads(__tstate
);
33948 if (PyErr_Occurred()) SWIG_fail
;
33950 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33957 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33958 PyObject
*resultobj
= 0;
33959 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33960 unsigned int arg2
;
33963 unsigned int val2
;
33965 PyObject
* obj0
= 0 ;
33966 PyObject
* obj1
= 0 ;
33967 char * kwnames
[] = {
33968 (char *) "self",(char *) "indent", NULL
33971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33973 if (!SWIG_IsOK(res1
)) {
33974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33976 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33977 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33978 if (!SWIG_IsOK(ecode2
)) {
33979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
33981 arg2
= static_cast< unsigned int >(val2
);
33983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33984 (arg1
)->SetIndent(arg2
);
33985 wxPyEndAllowThreads(__tstate
);
33986 if (PyErr_Occurred()) SWIG_fail
;
33988 resultobj
= SWIG_Py_Void();
33995 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33996 PyObject
*resultobj
= 0;
33997 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33998 unsigned int result
;
34001 PyObject
*swig_obj
[1] ;
34003 if (!args
) SWIG_fail
;
34004 swig_obj
[0] = args
;
34005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34006 if (!SWIG_IsOK(res1
)) {
34007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34009 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34012 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
34013 wxPyEndAllowThreads(__tstate
);
34014 if (PyErr_Occurred()) SWIG_fail
;
34016 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34023 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34024 PyObject
*resultobj
= 0;
34025 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34026 unsigned int arg2
;
34029 unsigned int val2
;
34031 PyObject
* obj0
= 0 ;
34032 PyObject
* obj1
= 0 ;
34033 char * kwnames
[] = {
34034 (char *) "self",(char *) "spacing", NULL
34037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34039 if (!SWIG_IsOK(res1
)) {
34040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34042 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34043 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34044 if (!SWIG_IsOK(ecode2
)) {
34045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34047 arg2
= static_cast< unsigned int >(val2
);
34049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34050 (arg1
)->SetSpacing(arg2
);
34051 wxPyEndAllowThreads(__tstate
);
34052 if (PyErr_Occurred()) SWIG_fail
;
34054 resultobj
= SWIG_Py_Void();
34061 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34062 PyObject
*resultobj
= 0;
34063 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34064 wxImageList
*result
= 0 ;
34067 PyObject
*swig_obj
[1] ;
34069 if (!args
) SWIG_fail
;
34070 swig_obj
[0] = args
;
34071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34072 if (!SWIG_IsOK(res1
)) {
34073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34075 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34078 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
34079 wxPyEndAllowThreads(__tstate
);
34080 if (PyErr_Occurred()) SWIG_fail
;
34083 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34091 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34092 PyObject
*resultobj
= 0;
34093 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34094 wxImageList
*result
= 0 ;
34097 PyObject
*swig_obj
[1] ;
34099 if (!args
) SWIG_fail
;
34100 swig_obj
[0] = args
;
34101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34102 if (!SWIG_IsOK(res1
)) {
34103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34105 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34108 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
34109 wxPyEndAllowThreads(__tstate
);
34110 if (PyErr_Occurred()) SWIG_fail
;
34113 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34121 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34122 PyObject
*resultobj
= 0;
34123 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34124 wxImageList
*arg2
= (wxImageList
*) 0 ;
34129 PyObject
* obj0
= 0 ;
34130 PyObject
* obj1
= 0 ;
34131 char * kwnames
[] = {
34132 (char *) "self",(char *) "imageList", NULL
34135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34137 if (!SWIG_IsOK(res1
)) {
34138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34140 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34141 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34142 if (!SWIG_IsOK(res2
)) {
34143 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34145 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34148 (arg1
)->SetImageList(arg2
);
34149 wxPyEndAllowThreads(__tstate
);
34150 if (PyErr_Occurred()) SWIG_fail
;
34152 resultobj
= SWIG_Py_Void();
34159 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34160 PyObject
*resultobj
= 0;
34161 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34162 wxImageList
*arg2
= (wxImageList
*) 0 ;
34167 PyObject
* obj0
= 0 ;
34168 PyObject
* obj1
= 0 ;
34169 char * kwnames
[] = {
34170 (char *) "self",(char *) "imageList", NULL
34173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34175 if (!SWIG_IsOK(res1
)) {
34176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34178 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34179 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34180 if (!SWIG_IsOK(res2
)) {
34181 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34183 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34186 (arg1
)->SetStateImageList(arg2
);
34187 wxPyEndAllowThreads(__tstate
);
34188 if (PyErr_Occurred()) SWIG_fail
;
34190 resultobj
= SWIG_Py_Void();
34197 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34198 PyObject
*resultobj
= 0;
34199 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34200 wxImageList
*arg2
= (wxImageList
*) 0 ;
34204 PyObject
* obj0
= 0 ;
34205 PyObject
* obj1
= 0 ;
34206 char * kwnames
[] = {
34207 (char *) "self",(char *) "imageList", NULL
34210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34212 if (!SWIG_IsOK(res1
)) {
34213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34215 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34216 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34217 if (!SWIG_IsOK(res2
)) {
34218 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34222 (arg1
)->AssignImageList(arg2
);
34223 wxPyEndAllowThreads(__tstate
);
34224 if (PyErr_Occurred()) SWIG_fail
;
34226 resultobj
= SWIG_Py_Void();
34233 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34234 PyObject
*resultobj
= 0;
34235 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34236 wxImageList
*arg2
= (wxImageList
*) 0 ;
34240 PyObject
* obj0
= 0 ;
34241 PyObject
* obj1
= 0 ;
34242 char * kwnames
[] = {
34243 (char *) "self",(char *) "imageList", NULL
34246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34248 if (!SWIG_IsOK(res1
)) {
34249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34251 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34252 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34253 if (!SWIG_IsOK(res2
)) {
34254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34258 (arg1
)->AssignStateImageList(arg2
);
34259 wxPyEndAllowThreads(__tstate
);
34260 if (PyErr_Occurred()) SWIG_fail
;
34262 resultobj
= SWIG_Py_Void();
34269 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34270 PyObject
*resultobj
= 0;
34271 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34272 wxTreeItemId
*arg2
= 0 ;
34278 PyObject
* obj0
= 0 ;
34279 PyObject
* obj1
= 0 ;
34280 char * kwnames
[] = {
34281 (char *) "self",(char *) "item", NULL
34284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34286 if (!SWIG_IsOK(res1
)) {
34287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34289 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34290 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34291 if (!SWIG_IsOK(res2
)) {
34292 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34295 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34297 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34300 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34301 wxPyEndAllowThreads(__tstate
);
34302 if (PyErr_Occurred()) SWIG_fail
;
34306 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34308 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34317 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34318 PyObject
*resultobj
= 0;
34319 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34320 wxTreeItemId
*arg2
= 0 ;
34321 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34329 PyObject
* obj0
= 0 ;
34330 PyObject
* obj1
= 0 ;
34331 PyObject
* obj2
= 0 ;
34332 char * kwnames
[] = {
34333 (char *) "self",(char *) "item",(char *) "which", NULL
34336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34338 if (!SWIG_IsOK(res1
)) {
34339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34341 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34342 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34343 if (!SWIG_IsOK(res2
)) {
34344 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34347 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34349 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34351 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34352 if (!SWIG_IsOK(ecode3
)) {
34353 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34355 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34359 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34360 wxPyEndAllowThreads(__tstate
);
34361 if (PyErr_Occurred()) SWIG_fail
;
34363 resultobj
= SWIG_From_int(static_cast< int >(result
));
34370 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34371 PyObject
*resultobj
= 0;
34372 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34373 wxTreeItemId
*arg2
= 0 ;
34374 wxPyTreeItemData
*result
= 0 ;
34379 PyObject
* obj0
= 0 ;
34380 PyObject
* obj1
= 0 ;
34381 char * kwnames
[] = {
34382 (char *) "self",(char *) "item", NULL
34385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34387 if (!SWIG_IsOK(res1
)) {
34388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34390 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34391 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34392 if (!SWIG_IsOK(res2
)) {
34393 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34396 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34398 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34401 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34402 wxPyEndAllowThreads(__tstate
);
34403 if (PyErr_Occurred()) SWIG_fail
;
34405 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34412 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34413 PyObject
*resultobj
= 0;
34414 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34415 wxTreeItemId
*arg2
= 0 ;
34416 PyObject
*result
= 0 ;
34421 PyObject
* obj0
= 0 ;
34422 PyObject
* obj1
= 0 ;
34423 char * kwnames
[] = {
34424 (char *) "self",(char *) "item", NULL
34427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34429 if (!SWIG_IsOK(res1
)) {
34430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34432 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34433 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34434 if (!SWIG_IsOK(res2
)) {
34435 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34438 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34440 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34443 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34444 wxPyEndAllowThreads(__tstate
);
34445 if (PyErr_Occurred()) SWIG_fail
;
34447 resultobj
= result
;
34454 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34455 PyObject
*resultobj
= 0;
34456 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34457 wxTreeItemId
*arg2
= 0 ;
34463 PyObject
* obj0
= 0 ;
34464 PyObject
* obj1
= 0 ;
34465 char * kwnames
[] = {
34466 (char *) "self",(char *) "item", NULL
34469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34471 if (!SWIG_IsOK(res1
)) {
34472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34474 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34475 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34476 if (!SWIG_IsOK(res2
)) {
34477 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34480 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34482 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34485 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34486 wxPyEndAllowThreads(__tstate
);
34487 if (PyErr_Occurred()) SWIG_fail
;
34489 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34496 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34497 PyObject
*resultobj
= 0;
34498 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34499 wxTreeItemId
*arg2
= 0 ;
34505 PyObject
* obj0
= 0 ;
34506 PyObject
* obj1
= 0 ;
34507 char * kwnames
[] = {
34508 (char *) "self",(char *) "item", NULL
34511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34513 if (!SWIG_IsOK(res1
)) {
34514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34516 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34517 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34518 if (!SWIG_IsOK(res2
)) {
34519 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34522 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34524 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34527 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34528 wxPyEndAllowThreads(__tstate
);
34529 if (PyErr_Occurred()) SWIG_fail
;
34531 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34538 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34539 PyObject
*resultobj
= 0;
34540 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34541 wxTreeItemId
*arg2
= 0 ;
34547 PyObject
* obj0
= 0 ;
34548 PyObject
* obj1
= 0 ;
34549 char * kwnames
[] = {
34550 (char *) "self",(char *) "item", NULL
34553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34555 if (!SWIG_IsOK(res1
)) {
34556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34558 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34559 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34560 if (!SWIG_IsOK(res2
)) {
34561 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34564 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34566 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34569 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34570 wxPyEndAllowThreads(__tstate
);
34571 if (PyErr_Occurred()) SWIG_fail
;
34573 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34580 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34581 PyObject
*resultobj
= 0;
34582 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34583 wxTreeItemId
*arg2
= 0 ;
34584 wxString
*arg3
= 0 ;
34589 bool temp3
= false ;
34590 PyObject
* obj0
= 0 ;
34591 PyObject
* obj1
= 0 ;
34592 PyObject
* obj2
= 0 ;
34593 char * kwnames
[] = {
34594 (char *) "self",(char *) "item",(char *) "text", NULL
34597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34599 if (!SWIG_IsOK(res1
)) {
34600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34602 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34603 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34604 if (!SWIG_IsOK(res2
)) {
34605 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34608 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34610 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34612 arg3
= wxString_in_helper(obj2
);
34613 if (arg3
== NULL
) SWIG_fail
;
34617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34618 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34619 wxPyEndAllowThreads(__tstate
);
34620 if (PyErr_Occurred()) SWIG_fail
;
34622 resultobj
= SWIG_Py_Void();
34637 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34638 PyObject
*resultobj
= 0;
34639 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34640 wxTreeItemId
*arg2
= 0 ;
34642 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34651 PyObject
* obj0
= 0 ;
34652 PyObject
* obj1
= 0 ;
34653 PyObject
* obj2
= 0 ;
34654 PyObject
* obj3
= 0 ;
34655 char * kwnames
[] = {
34656 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34661 if (!SWIG_IsOK(res1
)) {
34662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34664 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34665 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34666 if (!SWIG_IsOK(res2
)) {
34667 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34670 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34672 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34673 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34674 if (!SWIG_IsOK(ecode3
)) {
34675 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34677 arg3
= static_cast< int >(val3
);
34679 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34680 if (!SWIG_IsOK(ecode4
)) {
34681 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34683 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34687 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34688 wxPyEndAllowThreads(__tstate
);
34689 if (PyErr_Occurred()) SWIG_fail
;
34691 resultobj
= SWIG_Py_Void();
34698 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34699 PyObject
*resultobj
= 0;
34700 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34701 wxTreeItemId
*arg2
= 0 ;
34702 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34708 PyObject
* obj0
= 0 ;
34709 PyObject
* obj1
= 0 ;
34710 PyObject
* obj2
= 0 ;
34711 char * kwnames
[] = {
34712 (char *) "self",(char *) "item",(char *) "data", NULL
34715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34717 if (!SWIG_IsOK(res1
)) {
34718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34720 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34721 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34722 if (!SWIG_IsOK(res2
)) {
34723 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34726 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34728 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34729 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34730 if (!SWIG_IsOK(res3
)) {
34731 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34735 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34736 wxPyEndAllowThreads(__tstate
);
34737 if (PyErr_Occurred()) SWIG_fail
;
34739 resultobj
= SWIG_Py_Void();
34746 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34747 PyObject
*resultobj
= 0;
34748 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34749 wxTreeItemId
*arg2
= 0 ;
34750 PyObject
*arg3
= (PyObject
*) 0 ;
34755 PyObject
* obj0
= 0 ;
34756 PyObject
* obj1
= 0 ;
34757 PyObject
* obj2
= 0 ;
34758 char * kwnames
[] = {
34759 (char *) "self",(char *) "item",(char *) "obj", NULL
34762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34764 if (!SWIG_IsOK(res1
)) {
34765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34767 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34768 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34769 if (!SWIG_IsOK(res2
)) {
34770 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34773 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34775 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34779 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34780 wxPyEndAllowThreads(__tstate
);
34781 if (PyErr_Occurred()) SWIG_fail
;
34783 resultobj
= SWIG_Py_Void();
34790 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34791 PyObject
*resultobj
= 0;
34792 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34793 wxTreeItemId
*arg2
= 0 ;
34794 bool arg3
= (bool) true ;
34801 PyObject
* obj0
= 0 ;
34802 PyObject
* obj1
= 0 ;
34803 PyObject
* obj2
= 0 ;
34804 char * kwnames
[] = {
34805 (char *) "self",(char *) "item",(char *) "has", NULL
34808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34810 if (!SWIG_IsOK(res1
)) {
34811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34813 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34814 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34815 if (!SWIG_IsOK(res2
)) {
34816 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34819 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34821 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34823 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34824 if (!SWIG_IsOK(ecode3
)) {
34825 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34827 arg3
= static_cast< bool >(val3
);
34830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34831 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
34832 wxPyEndAllowThreads(__tstate
);
34833 if (PyErr_Occurred()) SWIG_fail
;
34835 resultobj
= SWIG_Py_Void();
34842 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34843 PyObject
*resultobj
= 0;
34844 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34845 wxTreeItemId
*arg2
= 0 ;
34846 bool arg3
= (bool) true ;
34853 PyObject
* obj0
= 0 ;
34854 PyObject
* obj1
= 0 ;
34855 PyObject
* obj2
= 0 ;
34856 char * kwnames
[] = {
34857 (char *) "self",(char *) "item",(char *) "bold", NULL
34860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34862 if (!SWIG_IsOK(res1
)) {
34863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34865 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34866 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34867 if (!SWIG_IsOK(res2
)) {
34868 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34871 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34873 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34875 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34876 if (!SWIG_IsOK(ecode3
)) {
34877 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
34879 arg3
= static_cast< bool >(val3
);
34882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34883 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
34884 wxPyEndAllowThreads(__tstate
);
34885 if (PyErr_Occurred()) SWIG_fail
;
34887 resultobj
= SWIG_Py_Void();
34894 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34895 PyObject
*resultobj
= 0;
34896 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34897 wxTreeItemId
*arg2
= 0 ;
34898 bool arg3
= (bool) true ;
34905 PyObject
* obj0
= 0 ;
34906 PyObject
* obj1
= 0 ;
34907 PyObject
* obj2
= 0 ;
34908 char * kwnames
[] = {
34909 (char *) "self",(char *) "item",(char *) "highlight", NULL
34912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34914 if (!SWIG_IsOK(res1
)) {
34915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34917 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34918 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34919 if (!SWIG_IsOK(res2
)) {
34920 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34923 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34925 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34927 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34928 if (!SWIG_IsOK(ecode3
)) {
34929 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
34931 arg3
= static_cast< bool >(val3
);
34934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34935 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
34936 wxPyEndAllowThreads(__tstate
);
34937 if (PyErr_Occurred()) SWIG_fail
;
34939 resultobj
= SWIG_Py_Void();
34946 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34947 PyObject
*resultobj
= 0;
34948 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34949 wxTreeItemId
*arg2
= 0 ;
34950 wxColour
*arg3
= 0 ;
34956 PyObject
* obj0
= 0 ;
34957 PyObject
* obj1
= 0 ;
34958 PyObject
* obj2
= 0 ;
34959 char * kwnames
[] = {
34960 (char *) "self",(char *) "item",(char *) "col", NULL
34963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34965 if (!SWIG_IsOK(res1
)) {
34966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34968 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34969 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34970 if (!SWIG_IsOK(res2
)) {
34971 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34974 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34976 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34979 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34983 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34984 wxPyEndAllowThreads(__tstate
);
34985 if (PyErr_Occurred()) SWIG_fail
;
34987 resultobj
= SWIG_Py_Void();
34994 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34995 PyObject
*resultobj
= 0;
34996 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34997 wxTreeItemId
*arg2
= 0 ;
34998 wxColour
*arg3
= 0 ;
35004 PyObject
* obj0
= 0 ;
35005 PyObject
* obj1
= 0 ;
35006 PyObject
* obj2
= 0 ;
35007 char * kwnames
[] = {
35008 (char *) "self",(char *) "item",(char *) "col", NULL
35011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35013 if (!SWIG_IsOK(res1
)) {
35014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35016 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35017 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35018 if (!SWIG_IsOK(res2
)) {
35019 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35022 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35024 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35027 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35031 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35032 wxPyEndAllowThreads(__tstate
);
35033 if (PyErr_Occurred()) SWIG_fail
;
35035 resultobj
= SWIG_Py_Void();
35042 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35043 PyObject
*resultobj
= 0;
35044 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35045 wxTreeItemId
*arg2
= 0 ;
35053 PyObject
* obj0
= 0 ;
35054 PyObject
* obj1
= 0 ;
35055 PyObject
* obj2
= 0 ;
35056 char * kwnames
[] = {
35057 (char *) "self",(char *) "item",(char *) "font", NULL
35060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35062 if (!SWIG_IsOK(res1
)) {
35063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35065 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35066 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35067 if (!SWIG_IsOK(res2
)) {
35068 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35071 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35073 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35074 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
35075 if (!SWIG_IsOK(res3
)) {
35076 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35079 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35081 arg3
= reinterpret_cast< wxFont
* >(argp3
);
35083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35084 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
35085 wxPyEndAllowThreads(__tstate
);
35086 if (PyErr_Occurred()) SWIG_fail
;
35088 resultobj
= SWIG_Py_Void();
35095 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35096 PyObject
*resultobj
= 0;
35097 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35098 wxTreeItemId
*arg2
= 0 ;
35104 PyObject
* obj0
= 0 ;
35105 PyObject
* obj1
= 0 ;
35106 char * kwnames
[] = {
35107 (char *) "self",(char *) "item", NULL
35110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) 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_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
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_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35121 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35123 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35126 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35127 wxPyEndAllowThreads(__tstate
);
35128 if (PyErr_Occurred()) SWIG_fail
;
35131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35139 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35140 PyObject
*resultobj
= 0;
35141 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35142 wxTreeItemId
*arg2
= 0 ;
35148 PyObject
* obj0
= 0 ;
35149 PyObject
* obj1
= 0 ;
35150 char * kwnames
[] = {
35151 (char *) "self",(char *) "item", NULL
35154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35156 if (!SWIG_IsOK(res1
)) {
35157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35159 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35160 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35161 if (!SWIG_IsOK(res2
)) {
35162 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35165 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35167 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35170 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35171 wxPyEndAllowThreads(__tstate
);
35172 if (PyErr_Occurred()) SWIG_fail
;
35175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35183 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35184 PyObject
*resultobj
= 0;
35185 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35186 wxTreeItemId
*arg2
= 0 ;
35192 PyObject
* obj0
= 0 ;
35193 PyObject
* obj1
= 0 ;
35194 char * kwnames
[] = {
35195 (char *) "self",(char *) "item", NULL
35198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35200 if (!SWIG_IsOK(res1
)) {
35201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35203 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35204 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35205 if (!SWIG_IsOK(res2
)) {
35206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35209 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35211 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35214 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35215 wxPyEndAllowThreads(__tstate
);
35216 if (PyErr_Occurred()) SWIG_fail
;
35219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35227 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35228 PyObject
*resultobj
= 0;
35229 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35230 wxTreeItemId
*arg2
= 0 ;
35236 PyObject
* obj0
= 0 ;
35237 PyObject
* obj1
= 0 ;
35238 char * kwnames
[] = {
35239 (char *) "self",(char *) "item", NULL
35242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35244 if (!SWIG_IsOK(res1
)) {
35245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35247 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35248 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35249 if (!SWIG_IsOK(res2
)) {
35250 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35253 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35255 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35258 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35259 wxPyEndAllowThreads(__tstate
);
35260 if (PyErr_Occurred()) SWIG_fail
;
35263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35271 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35272 PyObject
*resultobj
= 0;
35273 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35274 wxTreeItemId
*arg2
= 0 ;
35280 PyObject
* obj0
= 0 ;
35281 PyObject
* obj1
= 0 ;
35282 char * kwnames
[] = {
35283 (char *) "self",(char *) "item", NULL
35286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35288 if (!SWIG_IsOK(res1
)) {
35289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35291 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35292 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35293 if (!SWIG_IsOK(res2
)) {
35294 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35297 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35299 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35302 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35303 wxPyEndAllowThreads(__tstate
);
35304 if (PyErr_Occurred()) SWIG_fail
;
35307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35315 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35316 PyObject
*resultobj
= 0;
35317 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35318 wxTreeItemId
*arg2
= 0 ;
35319 bool arg3
= (bool) true ;
35327 PyObject
* obj0
= 0 ;
35328 PyObject
* obj1
= 0 ;
35329 PyObject
* obj2
= 0 ;
35330 char * kwnames
[] = {
35331 (char *) "self",(char *) "item",(char *) "recursively", NULL
35334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35336 if (!SWIG_IsOK(res1
)) {
35337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35339 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35340 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35341 if (!SWIG_IsOK(res2
)) {
35342 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35345 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35347 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35349 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35350 if (!SWIG_IsOK(ecode3
)) {
35351 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35353 arg3
= static_cast< bool >(val3
);
35356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35357 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35358 wxPyEndAllowThreads(__tstate
);
35359 if (PyErr_Occurred()) SWIG_fail
;
35361 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35368 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35369 PyObject
*resultobj
= 0;
35370 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35371 wxTreeItemId result
;
35374 PyObject
*swig_obj
[1] ;
35376 if (!args
) SWIG_fail
;
35377 swig_obj
[0] = args
;
35378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35379 if (!SWIG_IsOK(res1
)) {
35380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35382 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35385 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35386 wxPyEndAllowThreads(__tstate
);
35387 if (PyErr_Occurred()) SWIG_fail
;
35389 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35396 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35397 PyObject
*resultobj
= 0;
35398 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35399 wxTreeItemId result
;
35402 PyObject
*swig_obj
[1] ;
35404 if (!args
) SWIG_fail
;
35405 swig_obj
[0] = args
;
35406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35407 if (!SWIG_IsOK(res1
)) {
35408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35410 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35413 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35414 wxPyEndAllowThreads(__tstate
);
35415 if (PyErr_Occurred()) SWIG_fail
;
35417 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35424 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35425 PyObject
*resultobj
= 0;
35426 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35427 PyObject
*result
= 0 ;
35430 PyObject
*swig_obj
[1] ;
35432 if (!args
) SWIG_fail
;
35433 swig_obj
[0] = args
;
35434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35435 if (!SWIG_IsOK(res1
)) {
35436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35438 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35441 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35442 wxPyEndAllowThreads(__tstate
);
35443 if (PyErr_Occurred()) SWIG_fail
;
35445 resultobj
= result
;
35452 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35453 PyObject
*resultobj
= 0;
35454 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35455 wxTreeItemId
*arg2
= 0 ;
35456 wxTreeItemId result
;
35461 PyObject
* obj0
= 0 ;
35462 PyObject
* obj1
= 0 ;
35463 char * kwnames
[] = {
35464 (char *) "self",(char *) "item", NULL
35467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35469 if (!SWIG_IsOK(res1
)) {
35470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35472 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35473 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35474 if (!SWIG_IsOK(res2
)) {
35475 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35478 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35480 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35483 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35484 wxPyEndAllowThreads(__tstate
);
35485 if (PyErr_Occurred()) SWIG_fail
;
35487 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35494 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35495 PyObject
*resultobj
= 0;
35496 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35497 wxTreeItemId
*arg2
= 0 ;
35498 PyObject
*result
= 0 ;
35503 PyObject
* obj0
= 0 ;
35504 PyObject
* obj1
= 0 ;
35505 char * kwnames
[] = {
35506 (char *) "self",(char *) "item", NULL
35509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35511 if (!SWIG_IsOK(res1
)) {
35512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35514 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35515 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35516 if (!SWIG_IsOK(res2
)) {
35517 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35520 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35522 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35525 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35526 wxPyEndAllowThreads(__tstate
);
35527 if (PyErr_Occurred()) SWIG_fail
;
35529 resultobj
= result
;
35536 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35537 PyObject
*resultobj
= 0;
35538 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35539 wxTreeItemId
*arg2
= 0 ;
35540 void *arg3
= (void *) 0 ;
35541 PyObject
*result
= 0 ;
35547 PyObject
* obj0
= 0 ;
35548 PyObject
* obj1
= 0 ;
35549 PyObject
* obj2
= 0 ;
35550 char * kwnames
[] = {
35551 (char *) "self",(char *) "item",(char *) "cookie", NULL
35554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35556 if (!SWIG_IsOK(res1
)) {
35557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35559 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35560 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35561 if (!SWIG_IsOK(res2
)) {
35562 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35565 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35567 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35568 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35569 if (!SWIG_IsOK(res3
)) {
35570 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35574 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35575 wxPyEndAllowThreads(__tstate
);
35576 if (PyErr_Occurred()) SWIG_fail
;
35578 resultobj
= result
;
35585 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35586 PyObject
*resultobj
= 0;
35587 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35588 wxTreeItemId
*arg2
= 0 ;
35589 wxTreeItemId result
;
35594 PyObject
* obj0
= 0 ;
35595 PyObject
* obj1
= 0 ;
35596 char * kwnames
[] = {
35597 (char *) "self",(char *) "item", NULL
35600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35602 if (!SWIG_IsOK(res1
)) {
35603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35605 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35606 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35607 if (!SWIG_IsOK(res2
)) {
35608 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35611 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35613 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35616 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35617 wxPyEndAllowThreads(__tstate
);
35618 if (PyErr_Occurred()) SWIG_fail
;
35620 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35627 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35628 PyObject
*resultobj
= 0;
35629 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35630 wxTreeItemId
*arg2
= 0 ;
35631 wxTreeItemId result
;
35636 PyObject
* obj0
= 0 ;
35637 PyObject
* obj1
= 0 ;
35638 char * kwnames
[] = {
35639 (char *) "self",(char *) "item", NULL
35642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35644 if (!SWIG_IsOK(res1
)) {
35645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35647 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35648 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35649 if (!SWIG_IsOK(res2
)) {
35650 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35653 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35655 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35658 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35659 wxPyEndAllowThreads(__tstate
);
35660 if (PyErr_Occurred()) SWIG_fail
;
35662 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35669 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35670 PyObject
*resultobj
= 0;
35671 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35672 wxTreeItemId
*arg2
= 0 ;
35673 wxTreeItemId result
;
35678 PyObject
* obj0
= 0 ;
35679 PyObject
* obj1
= 0 ;
35680 char * kwnames
[] = {
35681 (char *) "self",(char *) "item", NULL
35684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35686 if (!SWIG_IsOK(res1
)) {
35687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35689 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35690 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35691 if (!SWIG_IsOK(res2
)) {
35692 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35695 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35697 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35700 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35701 wxPyEndAllowThreads(__tstate
);
35702 if (PyErr_Occurred()) SWIG_fail
;
35704 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35711 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35712 PyObject
*resultobj
= 0;
35713 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35714 wxTreeItemId result
;
35717 PyObject
*swig_obj
[1] ;
35719 if (!args
) SWIG_fail
;
35720 swig_obj
[0] = args
;
35721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35722 if (!SWIG_IsOK(res1
)) {
35723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35725 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35728 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35729 wxPyEndAllowThreads(__tstate
);
35730 if (PyErr_Occurred()) SWIG_fail
;
35732 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35739 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35740 PyObject
*resultobj
= 0;
35741 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35742 wxTreeItemId
*arg2
= 0 ;
35743 wxTreeItemId result
;
35748 PyObject
* obj0
= 0 ;
35749 PyObject
* obj1
= 0 ;
35750 char * kwnames
[] = {
35751 (char *) "self",(char *) "item", NULL
35754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35756 if (!SWIG_IsOK(res1
)) {
35757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35759 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35760 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35761 if (!SWIG_IsOK(res2
)) {
35762 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35765 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35767 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35770 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35771 wxPyEndAllowThreads(__tstate
);
35772 if (PyErr_Occurred()) SWIG_fail
;
35774 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35781 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35782 PyObject
*resultobj
= 0;
35783 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35784 wxTreeItemId
*arg2
= 0 ;
35785 wxTreeItemId result
;
35790 PyObject
* obj0
= 0 ;
35791 PyObject
* obj1
= 0 ;
35792 char * kwnames
[] = {
35793 (char *) "self",(char *) "item", NULL
35796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35798 if (!SWIG_IsOK(res1
)) {
35799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35801 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35802 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35803 if (!SWIG_IsOK(res2
)) {
35804 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35807 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35809 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35812 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
35813 wxPyEndAllowThreads(__tstate
);
35814 if (PyErr_Occurred()) SWIG_fail
;
35816 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35823 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35824 PyObject
*resultobj
= 0;
35825 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35826 wxString
*arg2
= 0 ;
35827 int arg3
= (int) -1 ;
35828 int arg4
= (int) -1 ;
35829 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
35830 wxTreeItemId result
;
35833 bool temp2
= false ;
35839 PyObject
* obj0
= 0 ;
35840 PyObject
* obj1
= 0 ;
35841 PyObject
* obj2
= 0 ;
35842 PyObject
* obj3
= 0 ;
35843 PyObject
* obj4
= 0 ;
35844 char * kwnames
[] = {
35845 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35850 if (!SWIG_IsOK(res1
)) {
35851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35853 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35855 arg2
= wxString_in_helper(obj1
);
35856 if (arg2
== NULL
) SWIG_fail
;
35860 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35861 if (!SWIG_IsOK(ecode3
)) {
35862 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35864 arg3
= static_cast< int >(val3
);
35867 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35868 if (!SWIG_IsOK(ecode4
)) {
35869 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
35871 arg4
= static_cast< int >(val4
);
35874 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35875 if (!SWIG_IsOK(res5
)) {
35876 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
35880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35881 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
35882 wxPyEndAllowThreads(__tstate
);
35883 if (PyErr_Occurred()) SWIG_fail
;
35885 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35900 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35901 PyObject
*resultobj
= 0;
35902 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35903 wxTreeItemId
*arg2
= 0 ;
35904 wxString
*arg3
= 0 ;
35905 int arg4
= (int) -1 ;
35906 int arg5
= (int) -1 ;
35907 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35908 wxTreeItemId result
;
35913 bool temp3
= false ;
35919 PyObject
* obj0
= 0 ;
35920 PyObject
* obj1
= 0 ;
35921 PyObject
* obj2
= 0 ;
35922 PyObject
* obj3
= 0 ;
35923 PyObject
* obj4
= 0 ;
35924 PyObject
* obj5
= 0 ;
35925 char * kwnames
[] = {
35926 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35931 if (!SWIG_IsOK(res1
)) {
35932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35934 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35935 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35936 if (!SWIG_IsOK(res2
)) {
35937 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35940 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35942 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35944 arg3
= wxString_in_helper(obj2
);
35945 if (arg3
== NULL
) SWIG_fail
;
35949 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35950 if (!SWIG_IsOK(ecode4
)) {
35951 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
35953 arg4
= static_cast< int >(val4
);
35956 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35957 if (!SWIG_IsOK(ecode5
)) {
35958 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
35960 arg5
= static_cast< int >(val5
);
35963 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35964 if (!SWIG_IsOK(res6
)) {
35965 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35970 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35971 wxPyEndAllowThreads(__tstate
);
35972 if (PyErr_Occurred()) SWIG_fail
;
35974 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35989 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35990 PyObject
*resultobj
= 0;
35991 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35992 wxTreeItemId
*arg2
= 0 ;
35993 wxTreeItemId
*arg3
= 0 ;
35994 wxString
*arg4
= 0 ;
35995 int arg5
= (int) -1 ;
35996 int arg6
= (int) -1 ;
35997 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35998 wxTreeItemId result
;
36005 bool temp4
= false ;
36011 PyObject
* obj0
= 0 ;
36012 PyObject
* obj1
= 0 ;
36013 PyObject
* obj2
= 0 ;
36014 PyObject
* obj3
= 0 ;
36015 PyObject
* obj4
= 0 ;
36016 PyObject
* obj5
= 0 ;
36017 PyObject
* obj6
= 0 ;
36018 char * kwnames
[] = {
36019 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36024 if (!SWIG_IsOK(res1
)) {
36025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36027 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36028 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36029 if (!SWIG_IsOK(res2
)) {
36030 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36033 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36035 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36036 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36037 if (!SWIG_IsOK(res3
)) {
36038 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36041 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36043 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
36045 arg4
= wxString_in_helper(obj3
);
36046 if (arg4
== NULL
) SWIG_fail
;
36050 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36051 if (!SWIG_IsOK(ecode5
)) {
36052 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36054 arg5
= static_cast< int >(val5
);
36057 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36058 if (!SWIG_IsOK(ecode6
)) {
36059 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36061 arg6
= static_cast< int >(val6
);
36064 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36065 if (!SWIG_IsOK(res7
)) {
36066 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36071 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36072 wxPyEndAllowThreads(__tstate
);
36073 if (PyErr_Occurred()) SWIG_fail
;
36075 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36090 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36091 PyObject
*resultobj
= 0;
36092 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36093 wxTreeItemId
*arg2
= 0 ;
36095 wxString
*arg4
= 0 ;
36096 int arg5
= (int) -1 ;
36097 int arg6
= (int) -1 ;
36098 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36099 wxTreeItemId result
;
36106 bool temp4
= false ;
36112 PyObject
* obj0
= 0 ;
36113 PyObject
* obj1
= 0 ;
36114 PyObject
* obj2
= 0 ;
36115 PyObject
* obj3
= 0 ;
36116 PyObject
* obj4
= 0 ;
36117 PyObject
* obj5
= 0 ;
36118 PyObject
* obj6
= 0 ;
36119 char * kwnames
[] = {
36120 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36125 if (!SWIG_IsOK(res1
)) {
36126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36128 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36129 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36130 if (!SWIG_IsOK(res2
)) {
36131 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36134 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36136 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36137 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36138 if (!SWIG_IsOK(ecode3
)) {
36139 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36141 arg3
= static_cast< size_t >(val3
);
36143 arg4
= wxString_in_helper(obj3
);
36144 if (arg4
== NULL
) SWIG_fail
;
36148 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36149 if (!SWIG_IsOK(ecode5
)) {
36150 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36152 arg5
= static_cast< int >(val5
);
36155 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36156 if (!SWIG_IsOK(ecode6
)) {
36157 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36159 arg6
= static_cast< int >(val6
);
36162 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36163 if (!SWIG_IsOK(res7
)) {
36164 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36169 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36170 wxPyEndAllowThreads(__tstate
);
36171 if (PyErr_Occurred()) SWIG_fail
;
36173 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36188 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36189 PyObject
*resultobj
= 0;
36190 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36191 wxTreeItemId
*arg2
= 0 ;
36192 wxString
*arg3
= 0 ;
36193 int arg4
= (int) -1 ;
36194 int arg5
= (int) -1 ;
36195 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36196 wxTreeItemId result
;
36201 bool temp3
= false ;
36207 PyObject
* obj0
= 0 ;
36208 PyObject
* obj1
= 0 ;
36209 PyObject
* obj2
= 0 ;
36210 PyObject
* obj3
= 0 ;
36211 PyObject
* obj4
= 0 ;
36212 PyObject
* obj5
= 0 ;
36213 char * kwnames
[] = {
36214 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36219 if (!SWIG_IsOK(res1
)) {
36220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36222 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36223 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36224 if (!SWIG_IsOK(res2
)) {
36225 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36228 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36230 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36232 arg3
= wxString_in_helper(obj2
);
36233 if (arg3
== NULL
) SWIG_fail
;
36237 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36238 if (!SWIG_IsOK(ecode4
)) {
36239 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36241 arg4
= static_cast< int >(val4
);
36244 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36245 if (!SWIG_IsOK(ecode5
)) {
36246 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36248 arg5
= static_cast< int >(val5
);
36251 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36252 if (!SWIG_IsOK(res6
)) {
36253 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36258 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36259 wxPyEndAllowThreads(__tstate
);
36260 if (PyErr_Occurred()) SWIG_fail
;
36262 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36277 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36278 PyObject
*resultobj
= 0;
36279 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36280 wxTreeItemId
*arg2
= 0 ;
36285 PyObject
* obj0
= 0 ;
36286 PyObject
* obj1
= 0 ;
36287 char * kwnames
[] = {
36288 (char *) "self",(char *) "item", NULL
36291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36293 if (!SWIG_IsOK(res1
)) {
36294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36296 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36297 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36298 if (!SWIG_IsOK(res2
)) {
36299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36302 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36304 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36307 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36308 wxPyEndAllowThreads(__tstate
);
36309 if (PyErr_Occurred()) SWIG_fail
;
36311 resultobj
= SWIG_Py_Void();
36318 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36319 PyObject
*resultobj
= 0;
36320 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36321 wxTreeItemId
*arg2
= 0 ;
36326 PyObject
* obj0
= 0 ;
36327 PyObject
* obj1
= 0 ;
36328 char * kwnames
[] = {
36329 (char *) "self",(char *) "item", NULL
36332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36334 if (!SWIG_IsOK(res1
)) {
36335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36337 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36338 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36339 if (!SWIG_IsOK(res2
)) {
36340 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36343 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36345 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36348 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36349 wxPyEndAllowThreads(__tstate
);
36350 if (PyErr_Occurred()) SWIG_fail
;
36352 resultobj
= SWIG_Py_Void();
36359 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36360 PyObject
*resultobj
= 0;
36361 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36364 PyObject
*swig_obj
[1] ;
36366 if (!args
) SWIG_fail
;
36367 swig_obj
[0] = args
;
36368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36369 if (!SWIG_IsOK(res1
)) {
36370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36372 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36375 (arg1
)->DeleteAllItems();
36376 wxPyEndAllowThreads(__tstate
);
36377 if (PyErr_Occurred()) SWIG_fail
;
36379 resultobj
= SWIG_Py_Void();
36386 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36387 PyObject
*resultobj
= 0;
36388 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36389 wxTreeItemId
*arg2
= 0 ;
36394 PyObject
* obj0
= 0 ;
36395 PyObject
* obj1
= 0 ;
36396 char * kwnames
[] = {
36397 (char *) "self",(char *) "item", NULL
36400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36402 if (!SWIG_IsOK(res1
)) {
36403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36405 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36406 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36407 if (!SWIG_IsOK(res2
)) {
36408 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36411 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36413 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36416 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36417 wxPyEndAllowThreads(__tstate
);
36418 if (PyErr_Occurred()) SWIG_fail
;
36420 resultobj
= SWIG_Py_Void();
36427 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36428 PyObject
*resultobj
= 0;
36429 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36430 wxTreeItemId
*arg2
= 0 ;
36435 PyObject
* obj0
= 0 ;
36436 PyObject
* obj1
= 0 ;
36437 char * kwnames
[] = {
36438 (char *) "self",(char *) "item", NULL
36441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36443 if (!SWIG_IsOK(res1
)) {
36444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36446 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36447 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36448 if (!SWIG_IsOK(res2
)) {
36449 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36452 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36454 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36457 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
36458 wxPyEndAllowThreads(__tstate
);
36459 if (PyErr_Occurred()) SWIG_fail
;
36461 resultobj
= SWIG_Py_Void();
36468 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36469 PyObject
*resultobj
= 0;
36470 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36473 PyObject
*swig_obj
[1] ;
36475 if (!args
) SWIG_fail
;
36476 swig_obj
[0] = args
;
36477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36478 if (!SWIG_IsOK(res1
)) {
36479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36481 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36484 (arg1
)->ExpandAll();
36485 wxPyEndAllowThreads(__tstate
);
36486 if (PyErr_Occurred()) SWIG_fail
;
36488 resultobj
= SWIG_Py_Void();
36495 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36496 PyObject
*resultobj
= 0;
36497 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36498 wxTreeItemId
*arg2
= 0 ;
36503 PyObject
* obj0
= 0 ;
36504 PyObject
* obj1
= 0 ;
36505 char * kwnames
[] = {
36506 (char *) "self",(char *) "item", NULL
36509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36511 if (!SWIG_IsOK(res1
)) {
36512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36514 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36515 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36516 if (!SWIG_IsOK(res2
)) {
36517 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36520 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36522 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36525 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36526 wxPyEndAllowThreads(__tstate
);
36527 if (PyErr_Occurred()) SWIG_fail
;
36529 resultobj
= SWIG_Py_Void();
36536 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36537 PyObject
*resultobj
= 0;
36538 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36539 wxTreeItemId
*arg2
= 0 ;
36544 PyObject
* obj0
= 0 ;
36545 PyObject
* obj1
= 0 ;
36546 char * kwnames
[] = {
36547 (char *) "self",(char *) "item", NULL
36550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36552 if (!SWIG_IsOK(res1
)) {
36553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36555 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36556 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36557 if (!SWIG_IsOK(res2
)) {
36558 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36561 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36563 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36566 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36567 wxPyEndAllowThreads(__tstate
);
36568 if (PyErr_Occurred()) SWIG_fail
;
36570 resultobj
= SWIG_Py_Void();
36577 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36578 PyObject
*resultobj
= 0;
36579 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36580 wxTreeItemId
*arg2
= 0 ;
36585 PyObject
* obj0
= 0 ;
36586 PyObject
* obj1
= 0 ;
36587 char * kwnames
[] = {
36588 (char *) "self",(char *) "item", NULL
36591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36593 if (!SWIG_IsOK(res1
)) {
36594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36596 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36597 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36598 if (!SWIG_IsOK(res2
)) {
36599 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36602 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36604 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36607 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36608 wxPyEndAllowThreads(__tstate
);
36609 if (PyErr_Occurred()) SWIG_fail
;
36611 resultobj
= SWIG_Py_Void();
36618 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36619 PyObject
*resultobj
= 0;
36620 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36623 PyObject
*swig_obj
[1] ;
36625 if (!args
) SWIG_fail
;
36626 swig_obj
[0] = args
;
36627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36628 if (!SWIG_IsOK(res1
)) {
36629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36631 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36634 (arg1
)->Unselect();
36635 wxPyEndAllowThreads(__tstate
);
36636 if (PyErr_Occurred()) SWIG_fail
;
36638 resultobj
= SWIG_Py_Void();
36645 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36646 PyObject
*resultobj
= 0;
36647 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36648 wxTreeItemId
*arg2
= 0 ;
36653 PyObject
* obj0
= 0 ;
36654 PyObject
* obj1
= 0 ;
36655 char * kwnames
[] = {
36656 (char *) "self",(char *) "item", NULL
36659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36661 if (!SWIG_IsOK(res1
)) {
36662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36664 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36665 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36666 if (!SWIG_IsOK(res2
)) {
36667 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36670 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36672 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36675 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36676 wxPyEndAllowThreads(__tstate
);
36677 if (PyErr_Occurred()) SWIG_fail
;
36679 resultobj
= SWIG_Py_Void();
36686 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36687 PyObject
*resultobj
= 0;
36688 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36691 PyObject
*swig_obj
[1] ;
36693 if (!args
) SWIG_fail
;
36694 swig_obj
[0] = args
;
36695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36696 if (!SWIG_IsOK(res1
)) {
36697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36699 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36702 (arg1
)->UnselectAll();
36703 wxPyEndAllowThreads(__tstate
);
36704 if (PyErr_Occurred()) SWIG_fail
;
36706 resultobj
= SWIG_Py_Void();
36713 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36714 PyObject
*resultobj
= 0;
36715 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36716 wxTreeItemId
*arg2
= 0 ;
36717 bool arg3
= (bool) true ;
36724 PyObject
* obj0
= 0 ;
36725 PyObject
* obj1
= 0 ;
36726 PyObject
* obj2
= 0 ;
36727 char * kwnames
[] = {
36728 (char *) "self",(char *) "item",(char *) "select", NULL
36731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36733 if (!SWIG_IsOK(res1
)) {
36734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36736 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36737 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36738 if (!SWIG_IsOK(res2
)) {
36739 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36742 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36744 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36746 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36747 if (!SWIG_IsOK(ecode3
)) {
36748 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36750 arg3
= static_cast< bool >(val3
);
36753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36754 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36755 wxPyEndAllowThreads(__tstate
);
36756 if (PyErr_Occurred()) SWIG_fail
;
36758 resultobj
= SWIG_Py_Void();
36765 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36766 PyObject
*resultobj
= 0;
36767 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36768 wxTreeItemId
*arg2
= 0 ;
36773 PyObject
* obj0
= 0 ;
36774 PyObject
* obj1
= 0 ;
36775 char * kwnames
[] = {
36776 (char *) "self",(char *) "item", NULL
36779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36781 if (!SWIG_IsOK(res1
)) {
36782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36784 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36785 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36786 if (!SWIG_IsOK(res2
)) {
36787 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36790 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36792 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36795 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36796 wxPyEndAllowThreads(__tstate
);
36797 if (PyErr_Occurred()) SWIG_fail
;
36799 resultobj
= SWIG_Py_Void();
36806 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36807 PyObject
*resultobj
= 0;
36808 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36809 wxTreeItemId
*arg2
= 0 ;
36814 PyObject
* obj0
= 0 ;
36815 PyObject
* obj1
= 0 ;
36816 char * kwnames
[] = {
36817 (char *) "self",(char *) "item", NULL
36820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36822 if (!SWIG_IsOK(res1
)) {
36823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36825 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36826 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36827 if (!SWIG_IsOK(res2
)) {
36828 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36831 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36833 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36836 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
36837 wxPyEndAllowThreads(__tstate
);
36838 if (PyErr_Occurred()) SWIG_fail
;
36840 resultobj
= SWIG_Py_Void();
36847 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36848 PyObject
*resultobj
= 0;
36849 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36850 wxTreeItemId
*arg2
= 0 ;
36855 PyObject
* obj0
= 0 ;
36856 PyObject
* obj1
= 0 ;
36857 char * kwnames
[] = {
36858 (char *) "self",(char *) "item", NULL
36861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36863 if (!SWIG_IsOK(res1
)) {
36864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36866 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36867 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36868 if (!SWIG_IsOK(res2
)) {
36869 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36872 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36874 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36877 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
36878 wxPyEndAllowThreads(__tstate
);
36879 if (PyErr_Occurred()) SWIG_fail
;
36881 resultobj
= SWIG_Py_Void();
36888 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36889 PyObject
*resultobj
= 0;
36890 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36891 wxTreeItemId
*arg2
= 0 ;
36896 PyObject
* obj0
= 0 ;
36897 PyObject
* obj1
= 0 ;
36898 char * kwnames
[] = {
36899 (char *) "self",(char *) "item", NULL
36902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36904 if (!SWIG_IsOK(res1
)) {
36905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36907 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36908 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36909 if (!SWIG_IsOK(res2
)) {
36910 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36913 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36915 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36918 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
36919 wxPyEndAllowThreads(__tstate
);
36920 if (PyErr_Occurred()) SWIG_fail
;
36922 resultobj
= SWIG_Py_Void();
36929 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36930 PyObject
*resultobj
= 0;
36931 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36932 wxTextCtrl
*result
= 0 ;
36935 PyObject
*swig_obj
[1] ;
36937 if (!args
) SWIG_fail
;
36938 swig_obj
[0] = args
;
36939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36940 if (!SWIG_IsOK(res1
)) {
36941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36943 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36946 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
36947 wxPyEndAllowThreads(__tstate
);
36948 if (PyErr_Occurred()) SWIG_fail
;
36951 resultobj
= wxPyMake_wxObject(result
, 0);
36959 SWIGINTERN PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36960 PyObject
*resultobj
= 0;
36961 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36962 wxTreeItemId
*arg2
= 0 ;
36963 bool arg3
= (bool) false ;
36970 PyObject
* obj0
= 0 ;
36971 PyObject
* obj1
= 0 ;
36972 PyObject
* obj2
= 0 ;
36973 char * kwnames
[] = {
36974 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
36977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36979 if (!SWIG_IsOK(res1
)) {
36980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36982 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36983 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36984 if (!SWIG_IsOK(res2
)) {
36985 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36988 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36990 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36992 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36993 if (!SWIG_IsOK(ecode3
)) {
36994 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "3"" of type '" "bool""'");
36996 arg3
= static_cast< bool >(val3
);
36999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37000 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
37001 wxPyEndAllowThreads(__tstate
);
37002 if (PyErr_Occurred()) SWIG_fail
;
37004 resultobj
= SWIG_Py_Void();
37011 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37012 PyObject
*resultobj
= 0;
37013 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37014 wxTreeItemId
*arg2
= 0 ;
37019 PyObject
* obj0
= 0 ;
37020 PyObject
* obj1
= 0 ;
37021 char * kwnames
[] = {
37022 (char *) "self",(char *) "item", NULL
37025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37027 if (!SWIG_IsOK(res1
)) {
37028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37030 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37031 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37032 if (!SWIG_IsOK(res2
)) {
37033 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37036 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37038 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37041 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
37042 wxPyEndAllowThreads(__tstate
);
37043 if (PyErr_Occurred()) SWIG_fail
;
37045 resultobj
= SWIG_Py_Void();
37052 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37053 PyObject
*resultobj
= 0;
37054 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37055 wxPoint
*arg2
= 0 ;
37057 wxTreeItemId result
;
37062 int res3
= SWIG_TMPOBJ
;
37063 PyObject
* obj0
= 0 ;
37064 PyObject
* obj1
= 0 ;
37065 char * kwnames
[] = {
37066 (char *) "self",(char *) "point", NULL
37070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37072 if (!SWIG_IsOK(res1
)) {
37073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37075 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37078 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37082 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
37083 wxPyEndAllowThreads(__tstate
);
37084 if (PyErr_Occurred()) SWIG_fail
;
37086 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37087 if (SWIG_IsTmpObj(res3
)) {
37088 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
37090 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37091 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
37099 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37100 PyObject
*resultobj
= 0;
37101 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37102 wxTreeItemId
*arg2
= 0 ;
37103 bool arg3
= (bool) false ;
37104 PyObject
*result
= 0 ;
37111 PyObject
* obj0
= 0 ;
37112 PyObject
* obj1
= 0 ;
37113 PyObject
* obj2
= 0 ;
37114 char * kwnames
[] = {
37115 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37120 if (!SWIG_IsOK(res1
)) {
37121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37123 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37124 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37125 if (!SWIG_IsOK(res2
)) {
37126 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37129 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37131 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37133 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37134 if (!SWIG_IsOK(ecode3
)) {
37135 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37137 arg3
= static_cast< bool >(val3
);
37140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37141 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
37142 wxPyEndAllowThreads(__tstate
);
37143 if (PyErr_Occurred()) SWIG_fail
;
37145 resultobj
= result
;
37152 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37153 PyObject
*resultobj
= 0;
37154 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37155 wxTreeItemId
*arg2
= 0 ;
37163 PyObject
* obj0
= 0 ;
37164 PyObject
* obj1
= 0 ;
37165 PyObject
* obj2
= 0 ;
37166 char * kwnames
[] = {
37167 (char *) "self",(char *) "node",(char *) "state", NULL
37170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37172 if (!SWIG_IsOK(res1
)) {
37173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37175 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37176 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37177 if (!SWIG_IsOK(res2
)) {
37178 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37181 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37183 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37184 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37185 if (!SWIG_IsOK(ecode3
)) {
37186 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetState" "', expected argument " "3"" of type '" "int""'");
37188 arg3
= static_cast< int >(val3
);
37190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37191 (arg1
)->SetState((wxTreeItemId
const &)*arg2
,arg3
);
37192 wxPyEndAllowThreads(__tstate
);
37193 if (PyErr_Occurred()) SWIG_fail
;
37195 resultobj
= SWIG_Py_Void();
37202 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37203 PyObject
*resultobj
= 0;
37204 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37205 wxTreeItemId
*arg2
= 0 ;
37211 PyObject
* obj0
= 0 ;
37212 PyObject
* obj1
= 0 ;
37213 char * kwnames
[] = {
37214 (char *) "self",(char *) "node", NULL
37217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37219 if (!SWIG_IsOK(res1
)) {
37220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37222 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37223 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37224 if (!SWIG_IsOK(res2
)) {
37225 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37228 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37230 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37233 result
= (int)(arg1
)->GetState((wxTreeItemId
const &)*arg2
);
37234 wxPyEndAllowThreads(__tstate
);
37235 if (PyErr_Occurred()) SWIG_fail
;
37237 resultobj
= SWIG_From_int(static_cast< int >(result
));
37244 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37245 PyObject
*resultobj
= 0;
37246 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37247 SwigValueWrapper
<wxVisualAttributes
> result
;
37250 PyObject
* obj0
= 0 ;
37251 char * kwnames
[] = {
37252 (char *) "variant", NULL
37255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
37257 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37258 if (!SWIG_IsOK(ecode1
)) {
37259 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37261 arg1
= static_cast< wxWindowVariant
>(val1
);
37264 if (!wxPyCheckForApp()) SWIG_fail
;
37265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37266 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37267 wxPyEndAllowThreads(__tstate
);
37268 if (PyErr_Occurred()) SWIG_fail
;
37270 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37277 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37278 PyObject
*resultobj
= 0;
37279 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37285 PyObject
* obj0
= 0 ;
37286 PyObject
* obj1
= 0 ;
37287 char * kwnames
[] = {
37288 (char *) "self",(char *) "q", NULL
37291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37293 if (!SWIG_IsOK(res1
)) {
37294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37296 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37297 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37298 if (!SWIG_IsOK(ecode2
)) {
37299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37301 arg2
= static_cast< bool >(val2
);
37303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37304 (arg1
)->SetQuickBestSize(arg2
);
37305 wxPyEndAllowThreads(__tstate
);
37306 if (PyErr_Occurred()) SWIG_fail
;
37308 resultobj
= SWIG_Py_Void();
37315 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37316 PyObject
*resultobj
= 0;
37317 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37321 PyObject
*swig_obj
[1] ;
37323 if (!args
) SWIG_fail
;
37324 swig_obj
[0] = args
;
37325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37326 if (!SWIG_IsOK(res1
)) {
37327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37329 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37332 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37333 wxPyEndAllowThreads(__tstate
);
37334 if (PyErr_Occurred()) SWIG_fail
;
37337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37345 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37347 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37348 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37349 return SWIG_Py_Void();
37352 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37353 return SWIG_Python_InitShadowInstance(args
);
37356 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37357 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37362 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37363 PyObject
*pyobj
= 0;
37367 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37369 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37376 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37377 PyObject
*resultobj
= 0;
37378 wxWindow
*arg1
= (wxWindow
*) 0 ;
37379 int arg2
= (int) (int)-1 ;
37380 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37381 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37382 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37383 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37384 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37385 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37386 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37387 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37388 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37389 int arg8
= (int) 0 ;
37390 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37391 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37392 wxGenericDirCtrl
*result
= 0 ;
37397 bool temp3
= false ;
37402 bool temp7
= false ;
37405 bool temp9
= false ;
37406 PyObject
* obj0
= 0 ;
37407 PyObject
* obj1
= 0 ;
37408 PyObject
* obj2
= 0 ;
37409 PyObject
* obj3
= 0 ;
37410 PyObject
* obj4
= 0 ;
37411 PyObject
* obj5
= 0 ;
37412 PyObject
* obj6
= 0 ;
37413 PyObject
* obj7
= 0 ;
37414 PyObject
* obj8
= 0 ;
37415 char * kwnames
[] = {
37416 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37421 if (!SWIG_IsOK(res1
)) {
37422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37424 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37426 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37427 if (!SWIG_IsOK(ecode2
)) {
37428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37430 arg2
= static_cast< int >(val2
);
37434 arg3
= wxString_in_helper(obj2
);
37435 if (arg3
== NULL
) SWIG_fail
;
37442 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37448 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37452 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37453 if (!SWIG_IsOK(ecode6
)) {
37454 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37456 arg6
= static_cast< long >(val6
);
37460 arg7
= wxString_in_helper(obj6
);
37461 if (arg7
== NULL
) SWIG_fail
;
37466 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37467 if (!SWIG_IsOK(ecode8
)) {
37468 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37470 arg8
= static_cast< int >(val8
);
37474 arg9
= wxString_in_helper(obj8
);
37475 if (arg9
== NULL
) SWIG_fail
;
37480 if (!wxPyCheckForApp()) SWIG_fail
;
37481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37482 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37483 wxPyEndAllowThreads(__tstate
);
37484 if (PyErr_Occurred()) SWIG_fail
;
37486 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37517 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37518 PyObject
*resultobj
= 0;
37519 wxGenericDirCtrl
*result
= 0 ;
37521 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37523 if (!wxPyCheckForApp()) SWIG_fail
;
37524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37525 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37526 wxPyEndAllowThreads(__tstate
);
37527 if (PyErr_Occurred()) SWIG_fail
;
37529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37536 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37537 PyObject
*resultobj
= 0;
37538 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37539 wxWindow
*arg2
= (wxWindow
*) 0 ;
37540 int arg3
= (int) (int)-1 ;
37541 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37542 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37543 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37544 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37545 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37546 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37547 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37548 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37549 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37550 int arg9
= (int) 0 ;
37551 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37552 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37560 bool temp4
= false ;
37565 bool temp8
= false ;
37568 bool temp10
= false ;
37569 PyObject
* obj0
= 0 ;
37570 PyObject
* obj1
= 0 ;
37571 PyObject
* obj2
= 0 ;
37572 PyObject
* obj3
= 0 ;
37573 PyObject
* obj4
= 0 ;
37574 PyObject
* obj5
= 0 ;
37575 PyObject
* obj6
= 0 ;
37576 PyObject
* obj7
= 0 ;
37577 PyObject
* obj8
= 0 ;
37578 PyObject
* obj9
= 0 ;
37579 char * kwnames
[] = {
37580 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37585 if (!SWIG_IsOK(res1
)) {
37586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37588 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37589 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37590 if (!SWIG_IsOK(res2
)) {
37591 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37593 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37595 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37596 if (!SWIG_IsOK(ecode3
)) {
37597 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37599 arg3
= static_cast< int >(val3
);
37603 arg4
= wxString_in_helper(obj3
);
37604 if (arg4
== NULL
) SWIG_fail
;
37611 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37617 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37621 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37622 if (!SWIG_IsOK(ecode7
)) {
37623 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37625 arg7
= static_cast< long >(val7
);
37629 arg8
= wxString_in_helper(obj7
);
37630 if (arg8
== NULL
) SWIG_fail
;
37635 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37636 if (!SWIG_IsOK(ecode9
)) {
37637 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37639 arg9
= static_cast< int >(val9
);
37643 arg10
= wxString_in_helper(obj9
);
37644 if (arg10
== NULL
) SWIG_fail
;
37649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37650 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37651 wxPyEndAllowThreads(__tstate
);
37652 if (PyErr_Occurred()) SWIG_fail
;
37655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37687 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37688 PyObject
*resultobj
= 0;
37689 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37690 wxString
*arg2
= 0 ;
37694 bool temp2
= false ;
37695 PyObject
* obj0
= 0 ;
37696 PyObject
* obj1
= 0 ;
37697 char * kwnames
[] = {
37698 (char *) "self",(char *) "path", NULL
37701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37703 if (!SWIG_IsOK(res1
)) {
37704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37706 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37708 arg2
= wxString_in_helper(obj1
);
37709 if (arg2
== NULL
) SWIG_fail
;
37713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37714 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37715 wxPyEndAllowThreads(__tstate
);
37716 if (PyErr_Occurred()) SWIG_fail
;
37719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37735 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37736 PyObject
*resultobj
= 0;
37737 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37738 wxString
*arg2
= 0 ;
37742 bool temp2
= false ;
37743 PyObject
* obj0
= 0 ;
37744 PyObject
* obj1
= 0 ;
37745 char * kwnames
[] = {
37746 (char *) "self",(char *) "path", NULL
37749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37751 if (!SWIG_IsOK(res1
)) {
37752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37754 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37756 arg2
= wxString_in_helper(obj1
);
37757 if (arg2
== NULL
) SWIG_fail
;
37761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37762 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
37763 wxPyEndAllowThreads(__tstate
);
37764 if (PyErr_Occurred()) SWIG_fail
;
37767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37783 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37784 PyObject
*resultobj
= 0;
37785 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37789 PyObject
*swig_obj
[1] ;
37791 if (!args
) SWIG_fail
;
37792 swig_obj
[0] = args
;
37793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37794 if (!SWIG_IsOK(res1
)) {
37795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37797 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37800 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37801 wxPyEndAllowThreads(__tstate
);
37802 if (PyErr_Occurred()) SWIG_fail
;
37806 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37808 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37817 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37818 PyObject
*resultobj
= 0;
37819 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37820 wxString
*arg2
= 0 ;
37823 bool temp2
= false ;
37824 PyObject
* obj0
= 0 ;
37825 PyObject
* obj1
= 0 ;
37826 char * kwnames
[] = {
37827 (char *) "self",(char *) "path", NULL
37830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37832 if (!SWIG_IsOK(res1
)) {
37833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37835 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37837 arg2
= wxString_in_helper(obj1
);
37838 if (arg2
== NULL
) SWIG_fail
;
37842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37843 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37844 wxPyEndAllowThreads(__tstate
);
37845 if (PyErr_Occurred()) SWIG_fail
;
37847 resultobj
= SWIG_Py_Void();
37862 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37863 PyObject
*resultobj
= 0;
37864 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37868 PyObject
*swig_obj
[1] ;
37870 if (!args
) SWIG_fail
;
37871 swig_obj
[0] = args
;
37872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37873 if (!SWIG_IsOK(res1
)) {
37874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37876 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37879 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37880 wxPyEndAllowThreads(__tstate
);
37881 if (PyErr_Occurred()) SWIG_fail
;
37885 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37887 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37896 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37897 PyObject
*resultobj
= 0;
37898 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37902 PyObject
*swig_obj
[1] ;
37904 if (!args
) SWIG_fail
;
37905 swig_obj
[0] = args
;
37906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37907 if (!SWIG_IsOK(res1
)) {
37908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37910 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37913 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37914 wxPyEndAllowThreads(__tstate
);
37915 if (PyErr_Occurred()) SWIG_fail
;
37919 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37921 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37930 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37931 PyObject
*resultobj
= 0;
37932 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37933 wxString
*arg2
= 0 ;
37936 bool temp2
= false ;
37937 PyObject
* obj0
= 0 ;
37938 PyObject
* obj1
= 0 ;
37939 char * kwnames
[] = {
37940 (char *) "self",(char *) "path", NULL
37943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37945 if (!SWIG_IsOK(res1
)) {
37946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37948 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37950 arg2
= wxString_in_helper(obj1
);
37951 if (arg2
== NULL
) SWIG_fail
;
37955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37956 (arg1
)->SetPath((wxString
const &)*arg2
);
37957 wxPyEndAllowThreads(__tstate
);
37958 if (PyErr_Occurred()) SWIG_fail
;
37960 resultobj
= SWIG_Py_Void();
37975 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37976 PyObject
*resultobj
= 0;
37977 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37983 PyObject
* obj0
= 0 ;
37984 PyObject
* obj1
= 0 ;
37985 char * kwnames
[] = {
37986 (char *) "self",(char *) "show", NULL
37989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37991 if (!SWIG_IsOK(res1
)) {
37992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37994 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37995 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37996 if (!SWIG_IsOK(ecode2
)) {
37997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
37999 arg2
= static_cast< bool >(val2
);
38001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38002 (arg1
)->ShowHidden(arg2
);
38003 wxPyEndAllowThreads(__tstate
);
38004 if (PyErr_Occurred()) SWIG_fail
;
38006 resultobj
= SWIG_Py_Void();
38013 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38014 PyObject
*resultobj
= 0;
38015 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38019 PyObject
*swig_obj
[1] ;
38021 if (!args
) SWIG_fail
;
38022 swig_obj
[0] = args
;
38023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38024 if (!SWIG_IsOK(res1
)) {
38025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38027 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38030 result
= (bool)(arg1
)->GetShowHidden();
38031 wxPyEndAllowThreads(__tstate
);
38032 if (PyErr_Occurred()) SWIG_fail
;
38035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38043 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38044 PyObject
*resultobj
= 0;
38045 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38049 PyObject
*swig_obj
[1] ;
38051 if (!args
) SWIG_fail
;
38052 swig_obj
[0] = args
;
38053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38054 if (!SWIG_IsOK(res1
)) {
38055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38057 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38060 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
38061 wxPyEndAllowThreads(__tstate
);
38062 if (PyErr_Occurred()) SWIG_fail
;
38066 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38068 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38077 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38078 PyObject
*resultobj
= 0;
38079 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38080 wxString
*arg2
= 0 ;
38083 bool temp2
= false ;
38084 PyObject
* obj0
= 0 ;
38085 PyObject
* obj1
= 0 ;
38086 char * kwnames
[] = {
38087 (char *) "self",(char *) "filter", NULL
38090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38092 if (!SWIG_IsOK(res1
)) {
38093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38095 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38097 arg2
= wxString_in_helper(obj1
);
38098 if (arg2
== NULL
) SWIG_fail
;
38102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38103 (arg1
)->SetFilter((wxString
const &)*arg2
);
38104 wxPyEndAllowThreads(__tstate
);
38105 if (PyErr_Occurred()) SWIG_fail
;
38107 resultobj
= SWIG_Py_Void();
38122 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38123 PyObject
*resultobj
= 0;
38124 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38128 PyObject
*swig_obj
[1] ;
38130 if (!args
) SWIG_fail
;
38131 swig_obj
[0] = args
;
38132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38133 if (!SWIG_IsOK(res1
)) {
38134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38136 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38139 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
38140 wxPyEndAllowThreads(__tstate
);
38141 if (PyErr_Occurred()) SWIG_fail
;
38143 resultobj
= SWIG_From_int(static_cast< int >(result
));
38150 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38151 PyObject
*resultobj
= 0;
38152 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38158 PyObject
* obj0
= 0 ;
38159 PyObject
* obj1
= 0 ;
38160 char * kwnames
[] = {
38161 (char *) "self",(char *) "n", NULL
38164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38166 if (!SWIG_IsOK(res1
)) {
38167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38169 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38170 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38171 if (!SWIG_IsOK(ecode2
)) {
38172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38174 arg2
= static_cast< int >(val2
);
38176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38177 (arg1
)->SetFilterIndex(arg2
);
38178 wxPyEndAllowThreads(__tstate
);
38179 if (PyErr_Occurred()) SWIG_fail
;
38181 resultobj
= SWIG_Py_Void();
38188 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38189 PyObject
*resultobj
= 0;
38190 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38191 wxTreeItemId result
;
38194 PyObject
*swig_obj
[1] ;
38196 if (!args
) SWIG_fail
;
38197 swig_obj
[0] = args
;
38198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38199 if (!SWIG_IsOK(res1
)) {
38200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38202 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38205 result
= (arg1
)->GetRootId();
38206 wxPyEndAllowThreads(__tstate
);
38207 if (PyErr_Occurred()) SWIG_fail
;
38209 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38216 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38217 PyObject
*resultobj
= 0;
38218 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38219 wxPyTreeCtrl
*result
= 0 ;
38222 PyObject
*swig_obj
[1] ;
38224 if (!args
) SWIG_fail
;
38225 swig_obj
[0] = args
;
38226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38227 if (!SWIG_IsOK(res1
)) {
38228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38230 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38233 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
38234 wxPyEndAllowThreads(__tstate
);
38235 if (PyErr_Occurred()) SWIG_fail
;
38238 resultobj
= wxPyMake_wxObject(result
, 0);
38246 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38247 PyObject
*resultobj
= 0;
38248 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38249 wxDirFilterListCtrl
*result
= 0 ;
38252 PyObject
*swig_obj
[1] ;
38254 if (!args
) SWIG_fail
;
38255 swig_obj
[0] = args
;
38256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38257 if (!SWIG_IsOK(res1
)) {
38258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38260 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38263 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38264 wxPyEndAllowThreads(__tstate
);
38265 if (PyErr_Occurred()) SWIG_fail
;
38267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38274 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38275 PyObject
*resultobj
= 0;
38276 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38277 wxTreeItemId arg2
;
38278 wxString
*arg3
= 0 ;
38280 wxTreeItemId result
;
38285 bool temp3
= false ;
38287 int res4
= SWIG_TMPOBJ
;
38288 PyObject
* obj0
= 0 ;
38289 PyObject
* obj1
= 0 ;
38290 PyObject
* obj2
= 0 ;
38291 char * kwnames
[] = {
38292 (char *) "self",(char *) "parentId",(char *) "path", NULL
38296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38298 if (!SWIG_IsOK(res1
)) {
38299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38301 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38303 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38304 if (!SWIG_IsOK(res2
)) {
38305 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38308 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38310 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38312 if (SWIG_IsNewObj(res2
)) delete temp
;
38316 arg3
= wxString_in_helper(obj2
);
38317 if (arg3
== NULL
) SWIG_fail
;
38321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38322 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38323 wxPyEndAllowThreads(__tstate
);
38324 if (PyErr_Occurred()) SWIG_fail
;
38326 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38327 if (SWIG_IsTmpObj(res4
)) {
38328 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38330 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38331 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38347 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38348 PyObject
*resultobj
= 0;
38349 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38352 PyObject
*swig_obj
[1] ;
38354 if (!args
) SWIG_fail
;
38355 swig_obj
[0] = args
;
38356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38357 if (!SWIG_IsOK(res1
)) {
38358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38360 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38363 (arg1
)->DoResize();
38364 wxPyEndAllowThreads(__tstate
);
38365 if (PyErr_Occurred()) SWIG_fail
;
38367 resultobj
= SWIG_Py_Void();
38374 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38375 PyObject
*resultobj
= 0;
38376 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38379 PyObject
*swig_obj
[1] ;
38381 if (!args
) SWIG_fail
;
38382 swig_obj
[0] = args
;
38383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38384 if (!SWIG_IsOK(res1
)) {
38385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38387 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38390 (arg1
)->ReCreateTree();
38391 wxPyEndAllowThreads(__tstate
);
38392 if (PyErr_Occurred()) SWIG_fail
;
38394 resultobj
= SWIG_Py_Void();
38401 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38403 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38404 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38405 return SWIG_Py_Void();
38408 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38409 return SWIG_Python_InitShadowInstance(args
);
38412 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38413 PyObject
*resultobj
= 0;
38414 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38415 int arg2
= (int) (int)-1 ;
38416 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38417 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38418 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38419 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38420 long arg5
= (long) 0 ;
38421 wxDirFilterListCtrl
*result
= 0 ;
38430 PyObject
* obj0
= 0 ;
38431 PyObject
* obj1
= 0 ;
38432 PyObject
* obj2
= 0 ;
38433 PyObject
* obj3
= 0 ;
38434 PyObject
* obj4
= 0 ;
38435 char * kwnames
[] = {
38436 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38441 if (!SWIG_IsOK(res1
)) {
38442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38444 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38447 if (!SWIG_IsOK(ecode2
)) {
38448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38450 arg2
= static_cast< int >(val2
);
38455 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38461 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38465 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38466 if (!SWIG_IsOK(ecode5
)) {
38467 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38469 arg5
= static_cast< long >(val5
);
38472 if (!wxPyCheckForApp()) SWIG_fail
;
38473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38474 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38475 wxPyEndAllowThreads(__tstate
);
38476 if (PyErr_Occurred()) SWIG_fail
;
38478 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38485 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38486 PyObject
*resultobj
= 0;
38487 wxDirFilterListCtrl
*result
= 0 ;
38489 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38491 if (!wxPyCheckForApp()) SWIG_fail
;
38492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38493 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38494 wxPyEndAllowThreads(__tstate
);
38495 if (PyErr_Occurred()) SWIG_fail
;
38497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38504 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38505 PyObject
*resultobj
= 0;
38506 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38507 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38508 int arg3
= (int) (int)-1 ;
38509 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38510 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38511 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38512 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38513 long arg6
= (long) 0 ;
38525 PyObject
* obj0
= 0 ;
38526 PyObject
* obj1
= 0 ;
38527 PyObject
* obj2
= 0 ;
38528 PyObject
* obj3
= 0 ;
38529 PyObject
* obj4
= 0 ;
38530 PyObject
* obj5
= 0 ;
38531 char * kwnames
[] = {
38532 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38537 if (!SWIG_IsOK(res1
)) {
38538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38540 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38541 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38542 if (!SWIG_IsOK(res2
)) {
38543 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38545 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38547 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38548 if (!SWIG_IsOK(ecode3
)) {
38549 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38551 arg3
= static_cast< int >(val3
);
38556 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38562 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38566 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38567 if (!SWIG_IsOK(ecode6
)) {
38568 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38570 arg6
= static_cast< long >(val6
);
38573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38574 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38575 wxPyEndAllowThreads(__tstate
);
38576 if (PyErr_Occurred()) SWIG_fail
;
38579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38587 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38588 PyObject
*resultobj
= 0;
38589 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38590 wxString
*arg2
= 0 ;
38594 bool temp2
= false ;
38597 PyObject
* obj0
= 0 ;
38598 PyObject
* obj1
= 0 ;
38599 PyObject
* obj2
= 0 ;
38600 char * kwnames
[] = {
38601 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38606 if (!SWIG_IsOK(res1
)) {
38607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38609 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38611 arg2
= wxString_in_helper(obj1
);
38612 if (arg2
== NULL
) SWIG_fail
;
38615 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38616 if (!SWIG_IsOK(ecode3
)) {
38617 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38619 arg3
= static_cast< int >(val3
);
38621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38622 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38623 wxPyEndAllowThreads(__tstate
);
38624 if (PyErr_Occurred()) SWIG_fail
;
38626 resultobj
= SWIG_Py_Void();
38641 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38643 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38644 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38645 return SWIG_Py_Void();
38648 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38649 return SWIG_Python_InitShadowInstance(args
);
38652 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38653 PyObject
*resultobj
= 0;
38654 wxWindow
*arg1
= (wxWindow
*) 0 ;
38655 int arg2
= (int) (int)-1 ;
38656 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38657 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38658 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38659 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38660 long arg5
= (long) 0 ;
38661 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38662 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38663 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38664 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38665 wxPyControl
*result
= 0 ;
38676 bool temp7
= false ;
38677 PyObject
* obj0
= 0 ;
38678 PyObject
* obj1
= 0 ;
38679 PyObject
* obj2
= 0 ;
38680 PyObject
* obj3
= 0 ;
38681 PyObject
* obj4
= 0 ;
38682 PyObject
* obj5
= 0 ;
38683 PyObject
* obj6
= 0 ;
38684 char * kwnames
[] = {
38685 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38690 if (!SWIG_IsOK(res1
)) {
38691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38693 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38695 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38696 if (!SWIG_IsOK(ecode2
)) {
38697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38699 arg2
= static_cast< int >(val2
);
38704 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38710 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38714 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38715 if (!SWIG_IsOK(ecode5
)) {
38716 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38718 arg5
= static_cast< long >(val5
);
38721 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38722 if (!SWIG_IsOK(res6
)) {
38723 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38726 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38728 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38732 arg7
= wxString_in_helper(obj6
);
38733 if (arg7
== NULL
) SWIG_fail
;
38738 if (!wxPyCheckForApp()) SWIG_fail
;
38739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38740 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38741 wxPyEndAllowThreads(__tstate
);
38742 if (PyErr_Occurred()) SWIG_fail
;
38744 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38759 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38760 PyObject
*resultobj
= 0;
38761 wxPyControl
*result
= 0 ;
38763 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38765 if (!wxPyCheckForApp()) SWIG_fail
;
38766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38767 result
= (wxPyControl
*)new wxPyControl();
38768 wxPyEndAllowThreads(__tstate
);
38769 if (PyErr_Occurred()) SWIG_fail
;
38771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38778 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38779 PyObject
*resultobj
= 0;
38780 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38781 PyObject
*arg2
= (PyObject
*) 0 ;
38782 PyObject
*arg3
= (PyObject
*) 0 ;
38785 PyObject
* obj0
= 0 ;
38786 PyObject
* obj1
= 0 ;
38787 PyObject
* obj2
= 0 ;
38788 char * kwnames
[] = {
38789 (char *) "self",(char *) "self",(char *) "_class", NULL
38792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38794 if (!SWIG_IsOK(res1
)) {
38795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38797 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38802 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38803 wxPyEndAllowThreads(__tstate
);
38804 if (PyErr_Occurred()) SWIG_fail
;
38806 resultobj
= SWIG_Py_Void();
38813 SWIGINTERN PyObject
*_wrap_PyControl_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38814 PyObject
*resultobj
= 0;
38815 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38820 PyObject
* obj0
= 0 ;
38821 PyObject
* obj1
= 0 ;
38822 char * kwnames
[] = {
38823 (char *) "self",(char *) "size", NULL
38826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38828 if (!SWIG_IsOK(res1
)) {
38829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38831 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38834 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38838 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
38839 wxPyEndAllowThreads(__tstate
);
38840 if (PyErr_Occurred()) SWIG_fail
;
38842 resultobj
= SWIG_Py_Void();
38849 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38850 PyObject
*resultobj
= 0;
38851 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38852 wxDC
*arg2
= (wxDC
*) 0 ;
38858 PyObject
* obj0
= 0 ;
38859 PyObject
* obj1
= 0 ;
38860 char * kwnames
[] = {
38861 (char *) "self",(char *) "dc", NULL
38864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38866 if (!SWIG_IsOK(res1
)) {
38867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38869 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38870 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38871 if (!SWIG_IsOK(res2
)) {
38872 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38874 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38877 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38878 wxPyEndAllowThreads(__tstate
);
38879 if (PyErr_Occurred()) SWIG_fail
;
38882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38890 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38891 PyObject
*resultobj
= 0;
38892 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38907 PyObject
* obj0
= 0 ;
38908 PyObject
* obj1
= 0 ;
38909 PyObject
* obj2
= 0 ;
38910 PyObject
* obj3
= 0 ;
38911 PyObject
* obj4
= 0 ;
38912 char * kwnames
[] = {
38913 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38918 if (!SWIG_IsOK(res1
)) {
38919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38921 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38922 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38923 if (!SWIG_IsOK(ecode2
)) {
38924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38926 arg2
= static_cast< int >(val2
);
38927 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38928 if (!SWIG_IsOK(ecode3
)) {
38929 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38931 arg3
= static_cast< int >(val3
);
38932 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38933 if (!SWIG_IsOK(ecode4
)) {
38934 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38936 arg4
= static_cast< int >(val4
);
38937 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38938 if (!SWIG_IsOK(ecode5
)) {
38939 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38941 arg5
= static_cast< int >(val5
);
38943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38944 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38945 wxPyEndAllowThreads(__tstate
);
38946 if (PyErr_Occurred()) SWIG_fail
;
38948 resultobj
= SWIG_Py_Void();
38955 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38956 PyObject
*resultobj
= 0;
38957 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38962 int arg6
= (int) wxSIZE_AUTO
;
38975 PyObject
* obj0
= 0 ;
38976 PyObject
* obj1
= 0 ;
38977 PyObject
* obj2
= 0 ;
38978 PyObject
* obj3
= 0 ;
38979 PyObject
* obj4
= 0 ;
38980 PyObject
* obj5
= 0 ;
38981 char * kwnames
[] = {
38982 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38987 if (!SWIG_IsOK(res1
)) {
38988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38990 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38991 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38992 if (!SWIG_IsOK(ecode2
)) {
38993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38995 arg2
= static_cast< int >(val2
);
38996 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38997 if (!SWIG_IsOK(ecode3
)) {
38998 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
39000 arg3
= static_cast< int >(val3
);
39001 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39002 if (!SWIG_IsOK(ecode4
)) {
39003 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39005 arg4
= static_cast< int >(val4
);
39006 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39007 if (!SWIG_IsOK(ecode5
)) {
39008 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39010 arg5
= static_cast< int >(val5
);
39012 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
39013 if (!SWIG_IsOK(ecode6
)) {
39014 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39016 arg6
= static_cast< int >(val6
);
39019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39020 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
39021 wxPyEndAllowThreads(__tstate
);
39022 if (PyErr_Occurred()) SWIG_fail
;
39024 resultobj
= SWIG_Py_Void();
39031 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39032 PyObject
*resultobj
= 0;
39033 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39042 PyObject
* obj0
= 0 ;
39043 PyObject
* obj1
= 0 ;
39044 PyObject
* obj2
= 0 ;
39045 char * kwnames
[] = {
39046 (char *) "self",(char *) "width",(char *) "height", NULL
39049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39051 if (!SWIG_IsOK(res1
)) {
39052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39054 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39055 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39056 if (!SWIG_IsOK(ecode2
)) {
39057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39059 arg2
= static_cast< int >(val2
);
39060 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39061 if (!SWIG_IsOK(ecode3
)) {
39062 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39064 arg3
= static_cast< int >(val3
);
39066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39067 (arg1
)->DoSetClientSize(arg2
,arg3
);
39068 wxPyEndAllowThreads(__tstate
);
39069 if (PyErr_Occurred()) SWIG_fail
;
39071 resultobj
= SWIG_Py_Void();
39078 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39079 PyObject
*resultobj
= 0;
39080 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39089 PyObject
* obj0
= 0 ;
39090 PyObject
* obj1
= 0 ;
39091 PyObject
* obj2
= 0 ;
39092 char * kwnames
[] = {
39093 (char *) "self",(char *) "x",(char *) "y", NULL
39096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39098 if (!SWIG_IsOK(res1
)) {
39099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39101 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39103 if (!SWIG_IsOK(ecode2
)) {
39104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39106 arg2
= static_cast< int >(val2
);
39107 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39108 if (!SWIG_IsOK(ecode3
)) {
39109 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39111 arg3
= static_cast< int >(val3
);
39113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39114 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
39115 wxPyEndAllowThreads(__tstate
);
39116 if (PyErr_Occurred()) SWIG_fail
;
39118 resultobj
= SWIG_Py_Void();
39125 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39126 PyObject
*resultobj
= 0;
39127 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39128 int *arg2
= (int *) 0 ;
39129 int *arg3
= (int *) 0 ;
39133 int res2
= SWIG_TMPOBJ
;
39135 int res3
= SWIG_TMPOBJ
;
39136 PyObject
*swig_obj
[1] ;
39140 if (!args
) SWIG_fail
;
39141 swig_obj
[0] = args
;
39142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39143 if (!SWIG_IsOK(res1
)) {
39144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39146 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39149 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
39150 wxPyEndAllowThreads(__tstate
);
39151 if (PyErr_Occurred()) SWIG_fail
;
39153 resultobj
= SWIG_Py_Void();
39154 if (SWIG_IsTmpObj(res2
)) {
39155 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39157 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39158 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39160 if (SWIG_IsTmpObj(res3
)) {
39161 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39163 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39164 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39172 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39173 PyObject
*resultobj
= 0;
39174 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39175 int *arg2
= (int *) 0 ;
39176 int *arg3
= (int *) 0 ;
39180 int res2
= SWIG_TMPOBJ
;
39182 int res3
= SWIG_TMPOBJ
;
39183 PyObject
*swig_obj
[1] ;
39187 if (!args
) SWIG_fail
;
39188 swig_obj
[0] = args
;
39189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39190 if (!SWIG_IsOK(res1
)) {
39191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39193 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39196 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
39197 wxPyEndAllowThreads(__tstate
);
39198 if (PyErr_Occurred()) SWIG_fail
;
39200 resultobj
= SWIG_Py_Void();
39201 if (SWIG_IsTmpObj(res2
)) {
39202 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39204 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39205 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39207 if (SWIG_IsTmpObj(res3
)) {
39208 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39210 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39211 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39219 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39220 PyObject
*resultobj
= 0;
39221 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39222 int *arg2
= (int *) 0 ;
39223 int *arg3
= (int *) 0 ;
39227 int res2
= SWIG_TMPOBJ
;
39229 int res3
= SWIG_TMPOBJ
;
39230 PyObject
*swig_obj
[1] ;
39234 if (!args
) SWIG_fail
;
39235 swig_obj
[0] = args
;
39236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39237 if (!SWIG_IsOK(res1
)) {
39238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39240 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39243 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
39244 wxPyEndAllowThreads(__tstate
);
39245 if (PyErr_Occurred()) SWIG_fail
;
39247 resultobj
= SWIG_Py_Void();
39248 if (SWIG_IsTmpObj(res2
)) {
39249 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39251 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39252 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39254 if (SWIG_IsTmpObj(res3
)) {
39255 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39257 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39258 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39266 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39267 PyObject
*resultobj
= 0;
39268 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39272 PyObject
*swig_obj
[1] ;
39274 if (!args
) SWIG_fail
;
39275 swig_obj
[0] = args
;
39276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39277 if (!SWIG_IsOK(res1
)) {
39278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39280 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39283 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39284 wxPyEndAllowThreads(__tstate
);
39285 if (PyErr_Occurred()) SWIG_fail
;
39287 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39294 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39295 PyObject
*resultobj
= 0;
39296 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39300 PyObject
*swig_obj
[1] ;
39302 if (!args
) SWIG_fail
;
39303 swig_obj
[0] = args
;
39304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39305 if (!SWIG_IsOK(res1
)) {
39306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39308 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39311 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39312 wxPyEndAllowThreads(__tstate
);
39313 if (PyErr_Occurred()) SWIG_fail
;
39315 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39322 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39323 PyObject
*resultobj
= 0;
39324 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39325 SwigValueWrapper
<wxVisualAttributes
> result
;
39328 PyObject
*swig_obj
[1] ;
39330 if (!args
) SWIG_fail
;
39331 swig_obj
[0] = args
;
39332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39333 if (!SWIG_IsOK(res1
)) {
39334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39336 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39339 result
= (arg1
)->GetDefaultAttributes();
39340 wxPyEndAllowThreads(__tstate
);
39341 if (PyErr_Occurred()) SWIG_fail
;
39343 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39350 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39351 PyObject
*resultobj
= 0;
39352 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39355 PyObject
*swig_obj
[1] ;
39357 if (!args
) SWIG_fail
;
39358 swig_obj
[0] = args
;
39359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39360 if (!SWIG_IsOK(res1
)) {
39361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39363 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39366 (arg1
)->OnInternalIdle();
39367 wxPyEndAllowThreads(__tstate
);
39368 if (PyErr_Occurred()) SWIG_fail
;
39370 resultobj
= SWIG_Py_Void();
39377 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39379 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39380 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39381 return SWIG_Py_Void();
39384 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39385 return SWIG_Python_InitShadowInstance(args
);
39388 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39389 PyObject
*resultobj
= 0;
39390 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39391 int arg2
= (int) 0 ;
39392 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39393 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39394 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39395 wxHelpEvent
*result
= 0 ;
39403 PyObject
* obj0
= 0 ;
39404 PyObject
* obj1
= 0 ;
39405 PyObject
* obj2
= 0 ;
39406 PyObject
* obj3
= 0 ;
39407 char * kwnames
[] = {
39408 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39413 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39414 if (!SWIG_IsOK(ecode1
)) {
39415 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39417 arg1
= static_cast< wxEventType
>(val1
);
39420 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39421 if (!SWIG_IsOK(ecode2
)) {
39422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39424 arg2
= static_cast< int >(val2
);
39429 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39433 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39434 if (!SWIG_IsOK(ecode4
)) {
39435 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39437 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39441 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39442 wxPyEndAllowThreads(__tstate
);
39443 if (PyErr_Occurred()) SWIG_fail
;
39445 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39452 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39453 PyObject
*resultobj
= 0;
39454 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39458 PyObject
*swig_obj
[1] ;
39460 if (!args
) SWIG_fail
;
39461 swig_obj
[0] = args
;
39462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39463 if (!SWIG_IsOK(res1
)) {
39464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39466 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39469 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39470 wxPyEndAllowThreads(__tstate
);
39471 if (PyErr_Occurred()) SWIG_fail
;
39473 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39480 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39481 PyObject
*resultobj
= 0;
39482 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39483 wxPoint
*arg2
= 0 ;
39487 PyObject
* obj0
= 0 ;
39488 PyObject
* obj1
= 0 ;
39489 char * kwnames
[] = {
39490 (char *) "self",(char *) "pos", NULL
39493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39495 if (!SWIG_IsOK(res1
)) {
39496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39498 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39501 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39505 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39506 wxPyEndAllowThreads(__tstate
);
39507 if (PyErr_Occurred()) SWIG_fail
;
39509 resultobj
= SWIG_Py_Void();
39516 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39517 PyObject
*resultobj
= 0;
39518 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39519 wxString
*result
= 0 ;
39522 PyObject
*swig_obj
[1] ;
39524 if (!args
) SWIG_fail
;
39525 swig_obj
[0] = args
;
39526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39527 if (!SWIG_IsOK(res1
)) {
39528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39530 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39534 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39535 result
= (wxString
*) &_result_ref
;
39537 wxPyEndAllowThreads(__tstate
);
39538 if (PyErr_Occurred()) SWIG_fail
;
39542 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39544 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39553 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39554 PyObject
*resultobj
= 0;
39555 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39556 wxString
*arg2
= 0 ;
39559 bool temp2
= false ;
39560 PyObject
* obj0
= 0 ;
39561 PyObject
* obj1
= 0 ;
39562 char * kwnames
[] = {
39563 (char *) "self",(char *) "link", NULL
39566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39568 if (!SWIG_IsOK(res1
)) {
39569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39571 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39573 arg2
= wxString_in_helper(obj1
);
39574 if (arg2
== NULL
) SWIG_fail
;
39578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39579 (arg1
)->SetLink((wxString
const &)*arg2
);
39580 wxPyEndAllowThreads(__tstate
);
39581 if (PyErr_Occurred()) SWIG_fail
;
39583 resultobj
= SWIG_Py_Void();
39598 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39599 PyObject
*resultobj
= 0;
39600 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39601 wxString
*result
= 0 ;
39604 PyObject
*swig_obj
[1] ;
39606 if (!args
) SWIG_fail
;
39607 swig_obj
[0] = args
;
39608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39609 if (!SWIG_IsOK(res1
)) {
39610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39612 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39616 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39617 result
= (wxString
*) &_result_ref
;
39619 wxPyEndAllowThreads(__tstate
);
39620 if (PyErr_Occurred()) SWIG_fail
;
39624 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39626 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39635 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39636 PyObject
*resultobj
= 0;
39637 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39638 wxString
*arg2
= 0 ;
39641 bool temp2
= false ;
39642 PyObject
* obj0
= 0 ;
39643 PyObject
* obj1
= 0 ;
39644 char * kwnames
[] = {
39645 (char *) "self",(char *) "target", NULL
39648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39650 if (!SWIG_IsOK(res1
)) {
39651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39653 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39655 arg2
= wxString_in_helper(obj1
);
39656 if (arg2
== NULL
) SWIG_fail
;
39660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39661 (arg1
)->SetTarget((wxString
const &)*arg2
);
39662 wxPyEndAllowThreads(__tstate
);
39663 if (PyErr_Occurred()) SWIG_fail
;
39665 resultobj
= SWIG_Py_Void();
39680 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39681 PyObject
*resultobj
= 0;
39682 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39683 wxHelpEvent::Origin result
;
39686 PyObject
*swig_obj
[1] ;
39688 if (!args
) SWIG_fail
;
39689 swig_obj
[0] = args
;
39690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39691 if (!SWIG_IsOK(res1
)) {
39692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39694 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39697 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39698 wxPyEndAllowThreads(__tstate
);
39699 if (PyErr_Occurred()) SWIG_fail
;
39701 resultobj
= SWIG_From_int(static_cast< int >(result
));
39708 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39709 PyObject
*resultobj
= 0;
39710 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39711 wxHelpEvent::Origin arg2
;
39716 PyObject
* obj0
= 0 ;
39717 PyObject
* obj1
= 0 ;
39718 char * kwnames
[] = {
39719 (char *) "self",(char *) "origin", NULL
39722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39724 if (!SWIG_IsOK(res1
)) {
39725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39727 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39728 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39729 if (!SWIG_IsOK(ecode2
)) {
39730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39732 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39735 (arg1
)->SetOrigin(arg2
);
39736 wxPyEndAllowThreads(__tstate
);
39737 if (PyErr_Occurred()) SWIG_fail
;
39739 resultobj
= SWIG_Py_Void();
39746 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39748 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39749 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39750 return SWIG_Py_Void();
39753 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39754 return SWIG_Python_InitShadowInstance(args
);
39757 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39758 PyObject
*resultobj
= 0;
39759 wxWindow
*arg1
= (wxWindow
*) NULL
;
39760 bool arg2
= (bool) true ;
39761 wxContextHelp
*result
= 0 ;
39766 PyObject
* obj0
= 0 ;
39767 PyObject
* obj1
= 0 ;
39768 char * kwnames
[] = {
39769 (char *) "window",(char *) "doNow", NULL
39772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39775 if (!SWIG_IsOK(res1
)) {
39776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39778 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39781 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39782 if (!SWIG_IsOK(ecode2
)) {
39783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39785 arg2
= static_cast< bool >(val2
);
39788 if (!wxPyCheckForApp()) SWIG_fail
;
39789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39790 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39791 wxPyEndAllowThreads(__tstate
);
39792 if (PyErr_Occurred()) SWIG_fail
;
39794 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39801 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39802 PyObject
*resultobj
= 0;
39803 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39806 PyObject
*swig_obj
[1] ;
39808 if (!args
) SWIG_fail
;
39809 swig_obj
[0] = args
;
39810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39811 if (!SWIG_IsOK(res1
)) {
39812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39814 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39819 wxPyEndAllowThreads(__tstate
);
39820 if (PyErr_Occurred()) SWIG_fail
;
39822 resultobj
= SWIG_Py_Void();
39829 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39830 PyObject
*resultobj
= 0;
39831 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39832 wxWindow
*arg2
= (wxWindow
*) NULL
;
39838 PyObject
* obj0
= 0 ;
39839 PyObject
* obj1
= 0 ;
39840 char * kwnames
[] = {
39841 (char *) "self",(char *) "window", NULL
39844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39846 if (!SWIG_IsOK(res1
)) {
39847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39849 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39851 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39852 if (!SWIG_IsOK(res2
)) {
39853 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39855 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39859 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39860 wxPyEndAllowThreads(__tstate
);
39861 if (PyErr_Occurred()) SWIG_fail
;
39864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39872 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39873 PyObject
*resultobj
= 0;
39874 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39878 PyObject
*swig_obj
[1] ;
39880 if (!args
) SWIG_fail
;
39881 swig_obj
[0] = args
;
39882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39883 if (!SWIG_IsOK(res1
)) {
39884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39886 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39889 result
= (bool)(arg1
)->EndContextHelp();
39890 wxPyEndAllowThreads(__tstate
);
39891 if (PyErr_Occurred()) SWIG_fail
;
39894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39902 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39904 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39905 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39906 return SWIG_Py_Void();
39909 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39910 return SWIG_Python_InitShadowInstance(args
);
39913 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39914 PyObject
*resultobj
= 0;
39915 wxWindow
*arg1
= (wxWindow
*) 0 ;
39916 int arg2
= (int) wxID_CONTEXT_HELP
;
39917 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39918 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39919 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39920 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39921 long arg5
= (long) wxBU_AUTODRAW
;
39922 wxContextHelpButton
*result
= 0 ;
39931 PyObject
* obj0
= 0 ;
39932 PyObject
* obj1
= 0 ;
39933 PyObject
* obj2
= 0 ;
39934 PyObject
* obj3
= 0 ;
39935 PyObject
* obj4
= 0 ;
39936 char * kwnames
[] = {
39937 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39942 if (!SWIG_IsOK(res1
)) {
39943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39945 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39947 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39948 if (!SWIG_IsOK(ecode2
)) {
39949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39951 arg2
= static_cast< int >(val2
);
39956 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39962 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39966 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39967 if (!SWIG_IsOK(ecode5
)) {
39968 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39970 arg5
= static_cast< long >(val5
);
39973 if (!wxPyCheckForApp()) SWIG_fail
;
39974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39975 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
39976 wxPyEndAllowThreads(__tstate
);
39977 if (PyErr_Occurred()) SWIG_fail
;
39979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
39986 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39988 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39989 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
39990 return SWIG_Py_Void();
39993 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39994 return SWIG_Python_InitShadowInstance(args
);
39997 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39998 PyObject
*resultobj
= 0;
39999 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40002 PyObject
*swig_obj
[1] ;
40004 if (!args
) SWIG_fail
;
40005 swig_obj
[0] = args
;
40006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40007 if (!SWIG_IsOK(res1
)) {
40008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40010 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40015 wxPyEndAllowThreads(__tstate
);
40016 if (PyErr_Occurred()) SWIG_fail
;
40018 resultobj
= SWIG_Py_Void();
40025 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40026 PyObject
*resultobj
= 0;
40027 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40028 wxHelpProvider
*result
= 0 ;
40030 PyObject
* obj0
= 0 ;
40031 char * kwnames
[] = {
40032 (char *) "helpProvider", NULL
40035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
40036 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40037 if (!SWIG_IsOK(res1
)) {
40038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40042 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
40043 wxPyEndAllowThreads(__tstate
);
40044 if (PyErr_Occurred()) SWIG_fail
;
40046 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
40053 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40054 PyObject
*resultobj
= 0;
40055 wxHelpProvider
*result
= 0 ;
40057 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
40059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40060 result
= (wxHelpProvider
*)wxHelpProvider::Get();
40061 wxPyEndAllowThreads(__tstate
);
40062 if (PyErr_Occurred()) SWIG_fail
;
40064 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40071 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40072 PyObject
*resultobj
= 0;
40073 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40074 wxWindow
*arg2
= (wxWindow
*) 0 ;
40080 PyObject
* obj0
= 0 ;
40081 PyObject
* obj1
= 0 ;
40082 char * kwnames
[] = {
40083 (char *) "self",(char *) "window", NULL
40086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40088 if (!SWIG_IsOK(res1
)) {
40089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40091 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40092 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40093 if (!SWIG_IsOK(res2
)) {
40094 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40096 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40099 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
40100 wxPyEndAllowThreads(__tstate
);
40101 if (PyErr_Occurred()) SWIG_fail
;
40105 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40107 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40116 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40117 PyObject
*resultobj
= 0;
40118 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40119 wxWindow
*arg2
= (wxWindow
*) 0 ;
40125 PyObject
* obj0
= 0 ;
40126 PyObject
* obj1
= 0 ;
40127 char * kwnames
[] = {
40128 (char *) "self",(char *) "window", NULL
40131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40133 if (!SWIG_IsOK(res1
)) {
40134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40136 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40137 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40138 if (!SWIG_IsOK(res2
)) {
40139 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40141 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40144 result
= (bool)(arg1
)->ShowHelp(arg2
);
40145 wxPyEndAllowThreads(__tstate
);
40146 if (PyErr_Occurred()) SWIG_fail
;
40149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40157 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40158 PyObject
*resultobj
= 0;
40159 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40160 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
40161 wxPoint
*arg3
= 0 ;
40162 wxHelpEvent::Origin arg4
;
40171 PyObject
* obj0
= 0 ;
40172 PyObject
* obj1
= 0 ;
40173 PyObject
* obj2
= 0 ;
40174 PyObject
* obj3
= 0 ;
40175 char * kwnames
[] = {
40176 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40181 if (!SWIG_IsOK(res1
)) {
40182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40184 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40185 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
40186 if (!SWIG_IsOK(res2
)) {
40187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40189 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
40192 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40194 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
40195 if (!SWIG_IsOK(ecode4
)) {
40196 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40198 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
40200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40201 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
40202 wxPyEndAllowThreads(__tstate
);
40203 if (PyErr_Occurred()) SWIG_fail
;
40206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40214 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40215 PyObject
*resultobj
= 0;
40216 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40217 wxWindow
*arg2
= (wxWindow
*) 0 ;
40218 wxString
*arg3
= 0 ;
40223 bool temp3
= false ;
40224 PyObject
* obj0
= 0 ;
40225 PyObject
* obj1
= 0 ;
40226 PyObject
* obj2
= 0 ;
40227 char * kwnames
[] = {
40228 (char *) "self",(char *) "window",(char *) "text", NULL
40231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40233 if (!SWIG_IsOK(res1
)) {
40234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40236 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40237 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40238 if (!SWIG_IsOK(res2
)) {
40239 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40241 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40243 arg3
= wxString_in_helper(obj2
);
40244 if (arg3
== NULL
) SWIG_fail
;
40248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40249 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40250 wxPyEndAllowThreads(__tstate
);
40251 if (PyErr_Occurred()) SWIG_fail
;
40253 resultobj
= SWIG_Py_Void();
40268 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40269 PyObject
*resultobj
= 0;
40270 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40272 wxString
*arg3
= 0 ;
40277 bool temp3
= false ;
40278 PyObject
* obj0
= 0 ;
40279 PyObject
* obj1
= 0 ;
40280 PyObject
* obj2
= 0 ;
40281 char * kwnames
[] = {
40282 (char *) "self",(char *) "id",(char *) "text", NULL
40285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40287 if (!SWIG_IsOK(res1
)) {
40288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40290 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40292 if (!SWIG_IsOK(ecode2
)) {
40293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40295 arg2
= static_cast< int >(val2
);
40297 arg3
= wxString_in_helper(obj2
);
40298 if (arg3
== NULL
) SWIG_fail
;
40302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40303 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40304 wxPyEndAllowThreads(__tstate
);
40305 if (PyErr_Occurred()) SWIG_fail
;
40307 resultobj
= SWIG_Py_Void();
40322 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40323 PyObject
*resultobj
= 0;
40324 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40325 wxWindow
*arg2
= (wxWindow
*) 0 ;
40330 PyObject
* obj0
= 0 ;
40331 PyObject
* obj1
= 0 ;
40332 char * kwnames
[] = {
40333 (char *) "self",(char *) "window", NULL
40336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40338 if (!SWIG_IsOK(res1
)) {
40339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40341 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40342 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40343 if (!SWIG_IsOK(res2
)) {
40344 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40346 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40349 (arg1
)->RemoveHelp(arg2
);
40350 wxPyEndAllowThreads(__tstate
);
40351 if (PyErr_Occurred()) SWIG_fail
;
40353 resultobj
= SWIG_Py_Void();
40360 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40361 PyObject
*resultobj
= 0;
40362 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40365 PyObject
*swig_obj
[1] ;
40367 if (!args
) SWIG_fail
;
40368 swig_obj
[0] = args
;
40369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40370 if (!SWIG_IsOK(res1
)) {
40371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40373 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40376 wxHelpProvider_Destroy(arg1
);
40377 wxPyEndAllowThreads(__tstate
);
40378 if (PyErr_Occurred()) SWIG_fail
;
40380 resultobj
= SWIG_Py_Void();
40387 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40389 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40390 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40391 return SWIG_Py_Void();
40394 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40395 PyObject
*resultobj
= 0;
40396 wxSimpleHelpProvider
*result
= 0 ;
40398 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40401 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40402 wxPyEndAllowThreads(__tstate
);
40403 if (PyErr_Occurred()) SWIG_fail
;
40405 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40412 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40414 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40415 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40416 return SWIG_Py_Void();
40419 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40420 return SWIG_Python_InitShadowInstance(args
);
40423 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40424 PyObject
*resultobj
= 0;
40425 wxBitmap
*arg1
= 0 ;
40426 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40427 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40428 wxGenericDragImage
*result
= 0 ;
40433 PyObject
* obj0
= 0 ;
40434 PyObject
* obj1
= 0 ;
40435 char * kwnames
[] = {
40436 (char *) "image",(char *) "cursor", NULL
40439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40440 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40441 if (!SWIG_IsOK(res1
)) {
40442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40445 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40447 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40449 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40450 if (!SWIG_IsOK(res2
)) {
40451 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40454 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40456 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40459 if (!wxPyCheckForApp()) SWIG_fail
;
40460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40461 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40462 wxPyEndAllowThreads(__tstate
);
40463 if (PyErr_Occurred()) SWIG_fail
;
40465 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40472 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40473 PyObject
*resultobj
= 0;
40475 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40476 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40477 wxGenericDragImage
*result
= 0 ;
40482 PyObject
* obj0
= 0 ;
40483 PyObject
* obj1
= 0 ;
40484 char * kwnames
[] = {
40485 (char *) "image",(char *) "cursor", NULL
40488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40489 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40490 if (!SWIG_IsOK(res1
)) {
40491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40494 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40496 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40498 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40499 if (!SWIG_IsOK(res2
)) {
40500 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40503 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40505 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40508 if (!wxPyCheckForApp()) SWIG_fail
;
40509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40510 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40511 wxPyEndAllowThreads(__tstate
);
40512 if (PyErr_Occurred()) SWIG_fail
;
40514 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40521 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40522 PyObject
*resultobj
= 0;
40523 wxString
*arg1
= 0 ;
40524 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40525 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40526 wxGenericDragImage
*result
= 0 ;
40527 bool temp1
= false ;
40530 PyObject
* obj0
= 0 ;
40531 PyObject
* obj1
= 0 ;
40532 char * kwnames
[] = {
40533 (char *) "str",(char *) "cursor", NULL
40536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40538 arg1
= wxString_in_helper(obj0
);
40539 if (arg1
== NULL
) SWIG_fail
;
40543 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40544 if (!SWIG_IsOK(res2
)) {
40545 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40548 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40550 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40553 if (!wxPyCheckForApp()) SWIG_fail
;
40554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40555 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40556 wxPyEndAllowThreads(__tstate
);
40557 if (PyErr_Occurred()) SWIG_fail
;
40559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40574 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40575 PyObject
*resultobj
= 0;
40576 wxPyTreeCtrl
*arg1
= 0 ;
40577 wxTreeItemId
*arg2
= 0 ;
40578 wxGenericDragImage
*result
= 0 ;
40583 PyObject
* obj0
= 0 ;
40584 PyObject
* obj1
= 0 ;
40585 char * kwnames
[] = {
40586 (char *) "treeCtrl",(char *) "id", NULL
40589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40590 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40591 if (!SWIG_IsOK(res1
)) {
40592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40595 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40597 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40598 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40599 if (!SWIG_IsOK(res2
)) {
40600 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40603 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40605 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40607 if (!wxPyCheckForApp()) SWIG_fail
;
40608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40609 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40610 wxPyEndAllowThreads(__tstate
);
40611 if (PyErr_Occurred()) SWIG_fail
;
40613 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40620 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40621 PyObject
*resultobj
= 0;
40622 wxPyListCtrl
*arg1
= 0 ;
40624 wxGenericDragImage
*result
= 0 ;
40629 PyObject
* obj0
= 0 ;
40630 PyObject
* obj1
= 0 ;
40631 char * kwnames
[] = {
40632 (char *) "listCtrl",(char *) "id", NULL
40635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40636 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40637 if (!SWIG_IsOK(res1
)) {
40638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40643 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40644 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40645 if (!SWIG_IsOK(ecode2
)) {
40646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40648 arg2
= static_cast< long >(val2
);
40650 if (!wxPyCheckForApp()) SWIG_fail
;
40651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40652 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40653 wxPyEndAllowThreads(__tstate
);
40654 if (PyErr_Occurred()) SWIG_fail
;
40656 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40663 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40664 PyObject
*resultobj
= 0;
40665 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40668 PyObject
*swig_obj
[1] ;
40670 if (!args
) SWIG_fail
;
40671 swig_obj
[0] = args
;
40672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40673 if (!SWIG_IsOK(res1
)) {
40674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40676 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40681 wxPyEndAllowThreads(__tstate
);
40682 if (PyErr_Occurred()) SWIG_fail
;
40684 resultobj
= SWIG_Py_Void();
40691 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40692 PyObject
*resultobj
= 0;
40693 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40694 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40699 PyObject
* obj0
= 0 ;
40700 PyObject
* obj1
= 0 ;
40701 char * kwnames
[] = {
40702 (char *) "self",(char *) "bitmap", NULL
40705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40707 if (!SWIG_IsOK(res1
)) {
40708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40710 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40711 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40712 if (!SWIG_IsOK(res2
)) {
40713 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40715 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40718 (arg1
)->SetBackingBitmap(arg2
);
40719 wxPyEndAllowThreads(__tstate
);
40720 if (PyErr_Occurred()) SWIG_fail
;
40722 resultobj
= SWIG_Py_Void();
40729 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40730 PyObject
*resultobj
= 0;
40731 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40732 wxPoint
*arg2
= 0 ;
40733 wxWindow
*arg3
= (wxWindow
*) 0 ;
40734 bool arg4
= (bool) false ;
40735 wxRect
*arg5
= (wxRect
*) NULL
;
40746 PyObject
* obj0
= 0 ;
40747 PyObject
* obj1
= 0 ;
40748 PyObject
* obj2
= 0 ;
40749 PyObject
* obj3
= 0 ;
40750 PyObject
* obj4
= 0 ;
40751 char * kwnames
[] = {
40752 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40757 if (!SWIG_IsOK(res1
)) {
40758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40760 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40763 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40765 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40766 if (!SWIG_IsOK(res3
)) {
40767 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40769 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40771 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40772 if (!SWIG_IsOK(ecode4
)) {
40773 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40775 arg4
= static_cast< bool >(val4
);
40778 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
40779 if (!SWIG_IsOK(res5
)) {
40780 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40782 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40786 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40787 wxPyEndAllowThreads(__tstate
);
40788 if (PyErr_Occurred()) SWIG_fail
;
40791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40799 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40800 PyObject
*resultobj
= 0;
40801 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40802 wxPoint
*arg2
= 0 ;
40803 wxWindow
*arg3
= (wxWindow
*) 0 ;
40804 wxWindow
*arg4
= (wxWindow
*) 0 ;
40813 PyObject
* obj0
= 0 ;
40814 PyObject
* obj1
= 0 ;
40815 PyObject
* obj2
= 0 ;
40816 PyObject
* obj3
= 0 ;
40817 char * kwnames
[] = {
40818 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40823 if (!SWIG_IsOK(res1
)) {
40824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40826 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40829 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40831 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40832 if (!SWIG_IsOK(res3
)) {
40833 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40835 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40836 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40837 if (!SWIG_IsOK(res4
)) {
40838 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40840 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40843 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40844 wxPyEndAllowThreads(__tstate
);
40845 if (PyErr_Occurred()) SWIG_fail
;
40848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40856 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40857 PyObject
*resultobj
= 0;
40858 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40862 PyObject
*swig_obj
[1] ;
40864 if (!args
) SWIG_fail
;
40865 swig_obj
[0] = args
;
40866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40867 if (!SWIG_IsOK(res1
)) {
40868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40870 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40873 result
= (bool)(arg1
)->EndDrag();
40874 wxPyEndAllowThreads(__tstate
);
40875 if (PyErr_Occurred()) SWIG_fail
;
40878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40886 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40887 PyObject
*resultobj
= 0;
40888 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40889 wxPoint
*arg2
= 0 ;
40894 PyObject
* obj0
= 0 ;
40895 PyObject
* obj1
= 0 ;
40896 char * kwnames
[] = {
40897 (char *) "self",(char *) "pt", NULL
40900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40902 if (!SWIG_IsOK(res1
)) {
40903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40905 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40908 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40912 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40913 wxPyEndAllowThreads(__tstate
);
40914 if (PyErr_Occurred()) SWIG_fail
;
40917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40925 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40926 PyObject
*resultobj
= 0;
40927 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40931 PyObject
*swig_obj
[1] ;
40933 if (!args
) SWIG_fail
;
40934 swig_obj
[0] = args
;
40935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40936 if (!SWIG_IsOK(res1
)) {
40937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40939 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40942 result
= (bool)(arg1
)->Show();
40943 wxPyEndAllowThreads(__tstate
);
40944 if (PyErr_Occurred()) SWIG_fail
;
40947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40955 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40956 PyObject
*resultobj
= 0;
40957 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40961 PyObject
*swig_obj
[1] ;
40963 if (!args
) SWIG_fail
;
40964 swig_obj
[0] = args
;
40965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40966 if (!SWIG_IsOK(res1
)) {
40967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40969 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40972 result
= (bool)(arg1
)->Hide();
40973 wxPyEndAllowThreads(__tstate
);
40974 if (PyErr_Occurred()) SWIG_fail
;
40977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40985 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40986 PyObject
*resultobj
= 0;
40987 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40988 wxPoint
*arg2
= 0 ;
40993 PyObject
* obj0
= 0 ;
40994 PyObject
* obj1
= 0 ;
40995 char * kwnames
[] = {
40996 (char *) "self",(char *) "pos", NULL
40999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41001 if (!SWIG_IsOK(res1
)) {
41002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41004 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41007 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41011 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
41012 wxPyEndAllowThreads(__tstate
);
41013 if (PyErr_Occurred()) SWIG_fail
;
41015 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
41022 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41023 PyObject
*resultobj
= 0;
41024 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41026 wxPoint
*arg3
= 0 ;
41033 PyObject
* obj0
= 0 ;
41034 PyObject
* obj1
= 0 ;
41035 PyObject
* obj2
= 0 ;
41036 char * kwnames
[] = {
41037 (char *) "self",(char *) "dc",(char *) "pos", NULL
41040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41042 if (!SWIG_IsOK(res1
)) {
41043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41045 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41046 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41047 if (!SWIG_IsOK(res2
)) {
41048 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41051 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41053 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41056 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41060 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
41061 wxPyEndAllowThreads(__tstate
);
41062 if (PyErr_Occurred()) SWIG_fail
;
41065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41073 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41074 PyObject
*resultobj
= 0;
41075 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41077 wxMemoryDC
*arg3
= 0 ;
41089 PyObject
* obj0
= 0 ;
41090 PyObject
* obj1
= 0 ;
41091 PyObject
* obj2
= 0 ;
41092 PyObject
* obj3
= 0 ;
41093 PyObject
* obj4
= 0 ;
41094 char * kwnames
[] = {
41095 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41100 if (!SWIG_IsOK(res1
)) {
41101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41103 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41104 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41105 if (!SWIG_IsOK(res2
)) {
41106 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41109 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41111 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41112 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
41113 if (!SWIG_IsOK(res3
)) {
41114 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41117 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41119 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
41122 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
41126 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
41129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41130 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
41131 wxPyEndAllowThreads(__tstate
);
41132 if (PyErr_Occurred()) SWIG_fail
;
41135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41143 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41144 PyObject
*resultobj
= 0;
41145 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41146 wxPoint
*arg2
= 0 ;
41147 wxPoint
*arg3
= 0 ;
41159 PyObject
* obj0
= 0 ;
41160 PyObject
* obj1
= 0 ;
41161 PyObject
* obj2
= 0 ;
41162 PyObject
* obj3
= 0 ;
41163 PyObject
* obj4
= 0 ;
41164 char * kwnames
[] = {
41165 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41170 if (!SWIG_IsOK(res1
)) {
41171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41173 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41176 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41180 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41182 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41183 if (!SWIG_IsOK(ecode4
)) {
41184 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41186 arg4
= static_cast< bool >(val4
);
41187 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
41188 if (!SWIG_IsOK(ecode5
)) {
41189 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41191 arg5
= static_cast< bool >(val5
);
41193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41194 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
41195 wxPyEndAllowThreads(__tstate
);
41196 if (PyErr_Occurred()) SWIG_fail
;
41199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41207 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41209 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41210 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
41211 return SWIG_Py_Void();
41214 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41215 return SWIG_Python_InitShadowInstance(args
);
41218 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
41219 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
41224 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
41225 PyObject
*pyobj
= 0;
41229 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41231 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41238 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41239 PyObject
*resultobj
= 0;
41240 wxWindow
*arg1
= (wxWindow
*) 0 ;
41241 int arg2
= (int) -1 ;
41242 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
41243 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
41244 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
41245 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
41246 wxSize
const &arg5_defvalue
= wxDefaultSize
;
41247 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
41248 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41249 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
41250 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
41251 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
41252 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41253 wxDatePickerCtrl
*result
= 0 ;
41266 bool temp8
= false ;
41267 PyObject
* obj0
= 0 ;
41268 PyObject
* obj1
= 0 ;
41269 PyObject
* obj2
= 0 ;
41270 PyObject
* obj3
= 0 ;
41271 PyObject
* obj4
= 0 ;
41272 PyObject
* obj5
= 0 ;
41273 PyObject
* obj6
= 0 ;
41274 PyObject
* obj7
= 0 ;
41275 char * kwnames
[] = {
41276 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41281 if (!SWIG_IsOK(res1
)) {
41282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41284 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41287 if (!SWIG_IsOK(ecode2
)) {
41288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41290 arg2
= static_cast< int >(val2
);
41293 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41294 if (!SWIG_IsOK(res3
)) {
41295 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41298 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41300 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41305 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41311 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41315 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41316 if (!SWIG_IsOK(ecode6
)) {
41317 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41319 arg6
= static_cast< long >(val6
);
41322 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41323 if (!SWIG_IsOK(res7
)) {
41324 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41327 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41329 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41333 arg8
= wxString_in_helper(obj7
);
41334 if (arg8
== NULL
) SWIG_fail
;
41339 if (!wxPyCheckForApp()) SWIG_fail
;
41340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41341 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41342 wxPyEndAllowThreads(__tstate
);
41343 if (PyErr_Occurred()) SWIG_fail
;
41345 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41360 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41361 PyObject
*resultobj
= 0;
41362 wxDatePickerCtrl
*result
= 0 ;
41364 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41366 if (!wxPyCheckForApp()) SWIG_fail
;
41367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41368 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41369 wxPyEndAllowThreads(__tstate
);
41370 if (PyErr_Occurred()) SWIG_fail
;
41372 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41379 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41380 PyObject
*resultobj
= 0;
41381 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41382 wxWindow
*arg2
= (wxWindow
*) 0 ;
41383 int arg3
= (int) -1 ;
41384 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41385 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41386 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41387 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41388 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41389 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41390 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41391 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41392 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41393 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41394 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41410 bool temp9
= false ;
41411 PyObject
* obj0
= 0 ;
41412 PyObject
* obj1
= 0 ;
41413 PyObject
* obj2
= 0 ;
41414 PyObject
* obj3
= 0 ;
41415 PyObject
* obj4
= 0 ;
41416 PyObject
* obj5
= 0 ;
41417 PyObject
* obj6
= 0 ;
41418 PyObject
* obj7
= 0 ;
41419 PyObject
* obj8
= 0 ;
41420 char * kwnames
[] = {
41421 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41426 if (!SWIG_IsOK(res1
)) {
41427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41429 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41430 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41431 if (!SWIG_IsOK(res2
)) {
41432 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41434 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41436 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41437 if (!SWIG_IsOK(ecode3
)) {
41438 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41440 arg3
= static_cast< int >(val3
);
41443 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41444 if (!SWIG_IsOK(res4
)) {
41445 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41448 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41450 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41455 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41461 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41465 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41466 if (!SWIG_IsOK(ecode7
)) {
41467 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41469 arg7
= static_cast< long >(val7
);
41472 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41473 if (!SWIG_IsOK(res8
)) {
41474 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41477 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41479 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41483 arg9
= wxString_in_helper(obj8
);
41484 if (arg9
== NULL
) SWIG_fail
;
41489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41490 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41491 wxPyEndAllowThreads(__tstate
);
41492 if (PyErr_Occurred()) SWIG_fail
;
41495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41511 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41512 PyObject
*resultobj
= 0;
41513 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41514 wxDateTime
*arg2
= 0 ;
41519 PyObject
* obj0
= 0 ;
41520 PyObject
* obj1
= 0 ;
41521 char * kwnames
[] = {
41522 (char *) "self",(char *) "dt", NULL
41525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41527 if (!SWIG_IsOK(res1
)) {
41528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41530 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41531 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41532 if (!SWIG_IsOK(res2
)) {
41533 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41536 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41538 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41541 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41542 wxPyEndAllowThreads(__tstate
);
41543 if (PyErr_Occurred()) SWIG_fail
;
41545 resultobj
= SWIG_Py_Void();
41552 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41553 PyObject
*resultobj
= 0;
41554 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41558 PyObject
*swig_obj
[1] ;
41560 if (!args
) SWIG_fail
;
41561 swig_obj
[0] = args
;
41562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41563 if (!SWIG_IsOK(res1
)) {
41564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41566 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41569 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41570 wxPyEndAllowThreads(__tstate
);
41571 if (PyErr_Occurred()) SWIG_fail
;
41573 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41580 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41581 PyObject
*resultobj
= 0;
41582 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41583 wxDateTime
*arg2
= 0 ;
41584 wxDateTime
*arg3
= 0 ;
41591 PyObject
* obj0
= 0 ;
41592 PyObject
* obj1
= 0 ;
41593 PyObject
* obj2
= 0 ;
41594 char * kwnames
[] = {
41595 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41600 if (!SWIG_IsOK(res1
)) {
41601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41603 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41604 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41605 if (!SWIG_IsOK(res2
)) {
41606 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41609 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41611 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41612 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41613 if (!SWIG_IsOK(res3
)) {
41614 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41617 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41619 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41622 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41623 wxPyEndAllowThreads(__tstate
);
41624 if (PyErr_Occurred()) SWIG_fail
;
41626 resultobj
= SWIG_Py_Void();
41633 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41634 PyObject
*resultobj
= 0;
41635 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41639 PyObject
*swig_obj
[1] ;
41641 if (!args
) SWIG_fail
;
41642 swig_obj
[0] = args
;
41643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41644 if (!SWIG_IsOK(res1
)) {
41645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41647 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41650 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41651 wxPyEndAllowThreads(__tstate
);
41652 if (PyErr_Occurred()) SWIG_fail
;
41654 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41661 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41662 PyObject
*resultobj
= 0;
41663 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41667 PyObject
*swig_obj
[1] ;
41669 if (!args
) SWIG_fail
;
41670 swig_obj
[0] = args
;
41671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41672 if (!SWIG_IsOK(res1
)) {
41673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41675 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41678 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41679 wxPyEndAllowThreads(__tstate
);
41680 if (PyErr_Occurred()) SWIG_fail
;
41682 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41689 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41691 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41692 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41693 return SWIG_Py_Void();
41696 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41697 return SWIG_Python_InitShadowInstance(args
);
41700 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41701 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41706 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41707 PyObject
*pyobj
= 0;
41711 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41713 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41720 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41721 PyObject
*resultobj
= 0;
41722 wxWindow
*arg1
= (wxWindow
*) 0 ;
41724 wxString
*arg3
= 0 ;
41725 wxString
*arg4
= 0 ;
41726 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41727 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41728 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41729 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41730 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41731 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41732 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41733 wxHyperlinkCtrl
*result
= 0 ;
41738 bool temp3
= false ;
41739 bool temp4
= false ;
41744 bool temp8
= false ;
41745 PyObject
* obj0
= 0 ;
41746 PyObject
* obj1
= 0 ;
41747 PyObject
* obj2
= 0 ;
41748 PyObject
* obj3
= 0 ;
41749 PyObject
* obj4
= 0 ;
41750 PyObject
* obj5
= 0 ;
41751 PyObject
* obj6
= 0 ;
41752 PyObject
* obj7
= 0 ;
41753 char * kwnames
[] = {
41754 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41759 if (!SWIG_IsOK(res1
)) {
41760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41762 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41763 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41764 if (!SWIG_IsOK(ecode2
)) {
41765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41767 arg2
= static_cast< int >(val2
);
41769 arg3
= wxString_in_helper(obj2
);
41770 if (arg3
== NULL
) SWIG_fail
;
41774 arg4
= wxString_in_helper(obj3
);
41775 if (arg4
== NULL
) SWIG_fail
;
41781 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41787 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41791 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41792 if (!SWIG_IsOK(ecode7
)) {
41793 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41795 arg7
= static_cast< long >(val7
);
41799 arg8
= wxString_in_helper(obj7
);
41800 if (arg8
== NULL
) SWIG_fail
;
41805 if (!wxPyCheckForApp()) SWIG_fail
;
41806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41807 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
41808 wxPyEndAllowThreads(__tstate
);
41809 if (PyErr_Occurred()) SWIG_fail
;
41811 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
41842 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41843 PyObject
*resultobj
= 0;
41844 wxHyperlinkCtrl
*result
= 0 ;
41846 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
41848 if (!wxPyCheckForApp()) SWIG_fail
;
41849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41850 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
41851 wxPyEndAllowThreads(__tstate
);
41852 if (PyErr_Occurred()) SWIG_fail
;
41854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
41861 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41862 PyObject
*resultobj
= 0;
41863 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41864 wxWindow
*arg2
= (wxWindow
*) 0 ;
41866 wxString
*arg4
= 0 ;
41867 wxString
*arg5
= 0 ;
41868 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
41869 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
41870 wxSize
const &arg7_defvalue
= wxDefaultSize
;
41871 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
41872 long arg8
= (long) wxHL_DEFAULT_STYLE
;
41873 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
41874 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41882 bool temp4
= false ;
41883 bool temp5
= false ;
41888 bool temp9
= false ;
41889 PyObject
* obj0
= 0 ;
41890 PyObject
* obj1
= 0 ;
41891 PyObject
* obj2
= 0 ;
41892 PyObject
* obj3
= 0 ;
41893 PyObject
* obj4
= 0 ;
41894 PyObject
* obj5
= 0 ;
41895 PyObject
* obj6
= 0 ;
41896 PyObject
* obj7
= 0 ;
41897 PyObject
* obj8
= 0 ;
41898 char * kwnames
[] = {
41899 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41904 if (!SWIG_IsOK(res1
)) {
41905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41907 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41908 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41909 if (!SWIG_IsOK(res2
)) {
41910 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41912 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41913 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41914 if (!SWIG_IsOK(ecode3
)) {
41915 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41917 arg3
= static_cast< int >(val3
);
41919 arg4
= wxString_in_helper(obj3
);
41920 if (arg4
== NULL
) SWIG_fail
;
41924 arg5
= wxString_in_helper(obj4
);
41925 if (arg5
== NULL
) SWIG_fail
;
41931 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
41937 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
41941 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
41942 if (!SWIG_IsOK(ecode8
)) {
41943 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41945 arg8
= static_cast< long >(val8
);
41949 arg9
= wxString_in_helper(obj8
);
41950 if (arg9
== NULL
) SWIG_fail
;
41955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41956 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
41957 wxPyEndAllowThreads(__tstate
);
41958 if (PyErr_Occurred()) SWIG_fail
;
41961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41993 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41994 PyObject
*resultobj
= 0;
41995 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41999 PyObject
*swig_obj
[1] ;
42001 if (!args
) SWIG_fail
;
42002 swig_obj
[0] = args
;
42003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42004 if (!SWIG_IsOK(res1
)) {
42005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42007 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42010 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
42011 wxPyEndAllowThreads(__tstate
);
42012 if (PyErr_Occurred()) SWIG_fail
;
42014 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42021 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42022 PyObject
*resultobj
= 0;
42023 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42024 wxColour
*arg2
= 0 ;
42028 PyObject
* obj0
= 0 ;
42029 PyObject
* obj1
= 0 ;
42030 char * kwnames
[] = {
42031 (char *) "self",(char *) "colour", NULL
42034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42036 if (!SWIG_IsOK(res1
)) {
42037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42039 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42042 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42046 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
42047 wxPyEndAllowThreads(__tstate
);
42048 if (PyErr_Occurred()) SWIG_fail
;
42050 resultobj
= SWIG_Py_Void();
42057 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42058 PyObject
*resultobj
= 0;
42059 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42063 PyObject
*swig_obj
[1] ;
42065 if (!args
) SWIG_fail
;
42066 swig_obj
[0] = args
;
42067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42068 if (!SWIG_IsOK(res1
)) {
42069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42071 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42074 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
42075 wxPyEndAllowThreads(__tstate
);
42076 if (PyErr_Occurred()) SWIG_fail
;
42078 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42085 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42086 PyObject
*resultobj
= 0;
42087 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42088 wxColour
*arg2
= 0 ;
42092 PyObject
* obj0
= 0 ;
42093 PyObject
* obj1
= 0 ;
42094 char * kwnames
[] = {
42095 (char *) "self",(char *) "colour", NULL
42098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42100 if (!SWIG_IsOK(res1
)) {
42101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42103 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42106 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42110 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
42111 wxPyEndAllowThreads(__tstate
);
42112 if (PyErr_Occurred()) SWIG_fail
;
42114 resultobj
= SWIG_Py_Void();
42121 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42122 PyObject
*resultobj
= 0;
42123 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42127 PyObject
*swig_obj
[1] ;
42129 if (!args
) SWIG_fail
;
42130 swig_obj
[0] = args
;
42131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42132 if (!SWIG_IsOK(res1
)) {
42133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42135 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42138 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
42139 wxPyEndAllowThreads(__tstate
);
42140 if (PyErr_Occurred()) SWIG_fail
;
42142 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42149 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42150 PyObject
*resultobj
= 0;
42151 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42152 wxColour
*arg2
= 0 ;
42156 PyObject
* obj0
= 0 ;
42157 PyObject
* obj1
= 0 ;
42158 char * kwnames
[] = {
42159 (char *) "self",(char *) "colour", NULL
42162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42164 if (!SWIG_IsOK(res1
)) {
42165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42167 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42170 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42174 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
42175 wxPyEndAllowThreads(__tstate
);
42176 if (PyErr_Occurred()) SWIG_fail
;
42178 resultobj
= SWIG_Py_Void();
42185 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42186 PyObject
*resultobj
= 0;
42187 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42191 PyObject
*swig_obj
[1] ;
42193 if (!args
) SWIG_fail
;
42194 swig_obj
[0] = args
;
42195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42196 if (!SWIG_IsOK(res1
)) {
42197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42199 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42202 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
42203 wxPyEndAllowThreads(__tstate
);
42204 if (PyErr_Occurred()) SWIG_fail
;
42208 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42210 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42219 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42220 PyObject
*resultobj
= 0;
42221 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42222 wxString
*arg2
= 0 ;
42225 bool temp2
= false ;
42226 PyObject
* obj0
= 0 ;
42227 PyObject
* obj1
= 0 ;
42228 char * kwnames
[] = {
42229 (char *) "self",(char *) "url", NULL
42232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42234 if (!SWIG_IsOK(res1
)) {
42235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42237 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42239 arg2
= wxString_in_helper(obj1
);
42240 if (arg2
== NULL
) SWIG_fail
;
42244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42245 (arg1
)->SetURL((wxString
const &)*arg2
);
42246 wxPyEndAllowThreads(__tstate
);
42247 if (PyErr_Occurred()) SWIG_fail
;
42249 resultobj
= SWIG_Py_Void();
42264 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42265 PyObject
*resultobj
= 0;
42266 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42267 bool arg2
= (bool) true ;
42272 PyObject
* obj0
= 0 ;
42273 PyObject
* obj1
= 0 ;
42274 char * kwnames
[] = {
42275 (char *) "self",(char *) "visited", NULL
42278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42280 if (!SWIG_IsOK(res1
)) {
42281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42283 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42285 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42286 if (!SWIG_IsOK(ecode2
)) {
42287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42289 arg2
= static_cast< bool >(val2
);
42292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42293 (arg1
)->SetVisited(arg2
);
42294 wxPyEndAllowThreads(__tstate
);
42295 if (PyErr_Occurred()) SWIG_fail
;
42297 resultobj
= SWIG_Py_Void();
42304 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42305 PyObject
*resultobj
= 0;
42306 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42310 PyObject
*swig_obj
[1] ;
42312 if (!args
) SWIG_fail
;
42313 swig_obj
[0] = args
;
42314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42315 if (!SWIG_IsOK(res1
)) {
42316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42318 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42321 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42322 wxPyEndAllowThreads(__tstate
);
42323 if (PyErr_Occurred()) SWIG_fail
;
42326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42334 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42336 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42337 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42338 return SWIG_Py_Void();
42341 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42342 return SWIG_Python_InitShadowInstance(args
);
42345 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42346 PyObject
*resultobj
= 0;
42347 wxObject
*arg1
= (wxObject
*) 0 ;
42349 wxString
*arg3
= 0 ;
42350 wxHyperlinkEvent
*result
= 0 ;
42355 bool temp3
= false ;
42356 PyObject
* obj0
= 0 ;
42357 PyObject
* obj1
= 0 ;
42358 PyObject
* obj2
= 0 ;
42359 char * kwnames
[] = {
42360 (char *) "generator",(char *) "id",(char *) "url", NULL
42363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42365 if (!SWIG_IsOK(res1
)) {
42366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42368 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42370 if (!SWIG_IsOK(ecode2
)) {
42371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42373 arg2
= static_cast< int >(val2
);
42375 arg3
= wxString_in_helper(obj2
);
42376 if (arg3
== NULL
) SWIG_fail
;
42380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42381 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42382 wxPyEndAllowThreads(__tstate
);
42383 if (PyErr_Occurred()) SWIG_fail
;
42385 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42400 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42401 PyObject
*resultobj
= 0;
42402 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42406 PyObject
*swig_obj
[1] ;
42408 if (!args
) SWIG_fail
;
42409 swig_obj
[0] = args
;
42410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42411 if (!SWIG_IsOK(res1
)) {
42412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42414 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42417 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42418 wxPyEndAllowThreads(__tstate
);
42419 if (PyErr_Occurred()) SWIG_fail
;
42423 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42425 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42434 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42435 PyObject
*resultobj
= 0;
42436 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42437 wxString
*arg2
= 0 ;
42440 bool temp2
= false ;
42441 PyObject
* obj0
= 0 ;
42442 PyObject
* obj1
= 0 ;
42443 char * kwnames
[] = {
42444 (char *) "self",(char *) "url", NULL
42447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42449 if (!SWIG_IsOK(res1
)) {
42450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42452 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42454 arg2
= wxString_in_helper(obj1
);
42455 if (arg2
== NULL
) SWIG_fail
;
42459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42460 (arg1
)->SetURL((wxString
const &)*arg2
);
42461 wxPyEndAllowThreads(__tstate
);
42462 if (PyErr_Occurred()) SWIG_fail
;
42464 resultobj
= SWIG_Py_Void();
42479 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42481 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42482 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42483 return SWIG_Py_Void();
42486 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42487 return SWIG_Python_InitShadowInstance(args
);
42490 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42491 PyObject
*resultobj
= 0;
42492 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42493 wxWindow
*arg2
= (wxWindow
*) 0 ;
42495 wxString
const &arg4_defvalue
= wxEmptyString
;
42496 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42497 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42498 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42499 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42500 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42501 long arg7
= (long) 0 ;
42502 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42503 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42504 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42505 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42513 bool temp4
= false ;
42520 bool temp9
= false ;
42521 PyObject
* obj0
= 0 ;
42522 PyObject
* obj1
= 0 ;
42523 PyObject
* obj2
= 0 ;
42524 PyObject
* obj3
= 0 ;
42525 PyObject
* obj4
= 0 ;
42526 PyObject
* obj5
= 0 ;
42527 PyObject
* obj6
= 0 ;
42528 PyObject
* obj7
= 0 ;
42529 PyObject
* obj8
= 0 ;
42530 char * kwnames
[] = {
42531 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42536 if (!SWIG_IsOK(res1
)) {
42537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42539 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42540 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42541 if (!SWIG_IsOK(res2
)) {
42542 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42544 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42545 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42546 if (!SWIG_IsOK(ecode3
)) {
42547 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42549 arg3
= static_cast< int >(val3
);
42552 arg4
= wxString_in_helper(obj3
);
42553 if (arg4
== NULL
) SWIG_fail
;
42560 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42566 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42570 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42571 if (!SWIG_IsOK(ecode7
)) {
42572 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42574 arg7
= static_cast< long >(val7
);
42577 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42578 if (!SWIG_IsOK(res8
)) {
42579 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42584 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42588 arg9
= wxString_in_helper(obj8
);
42589 if (arg9
== NULL
) SWIG_fail
;
42594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42595 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42596 wxPyEndAllowThreads(__tstate
);
42597 if (PyErr_Occurred()) SWIG_fail
;
42600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42624 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42625 PyObject
*resultobj
= 0;
42626 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42632 PyObject
* obj0
= 0 ;
42633 PyObject
* obj1
= 0 ;
42634 char * kwnames
[] = {
42635 (char *) "self",(char *) "newmargin", NULL
42638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42640 if (!SWIG_IsOK(res1
)) {
42641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42643 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42644 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42645 if (!SWIG_IsOK(ecode2
)) {
42646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42648 arg2
= static_cast< int >(val2
);
42650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42651 (arg1
)->SetInternalMargin(arg2
);
42652 wxPyEndAllowThreads(__tstate
);
42653 if (PyErr_Occurred()) SWIG_fail
;
42655 resultobj
= SWIG_Py_Void();
42662 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42663 PyObject
*resultobj
= 0;
42664 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42668 PyObject
*swig_obj
[1] ;
42670 if (!args
) SWIG_fail
;
42671 swig_obj
[0] = args
;
42672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42673 if (!SWIG_IsOK(res1
)) {
42674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42676 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42679 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
42680 wxPyEndAllowThreads(__tstate
);
42681 if (PyErr_Occurred()) SWIG_fail
;
42683 resultobj
= SWIG_From_int(static_cast< int >(result
));
42690 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42691 PyObject
*resultobj
= 0;
42692 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42698 PyObject
* obj0
= 0 ;
42699 PyObject
* obj1
= 0 ;
42700 char * kwnames
[] = {
42701 (char *) "self",(char *) "prop", NULL
42704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42706 if (!SWIG_IsOK(res1
)) {
42707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42709 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42710 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42711 if (!SWIG_IsOK(ecode2
)) {
42712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42714 arg2
= static_cast< int >(val2
);
42716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42717 (arg1
)->SetTextCtrlProportion(arg2
);
42718 wxPyEndAllowThreads(__tstate
);
42719 if (PyErr_Occurred()) SWIG_fail
;
42721 resultobj
= SWIG_Py_Void();
42728 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42729 PyObject
*resultobj
= 0;
42730 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42734 PyObject
*swig_obj
[1] ;
42736 if (!args
) SWIG_fail
;
42737 swig_obj
[0] = args
;
42738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42739 if (!SWIG_IsOK(res1
)) {
42740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42742 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42745 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
42746 wxPyEndAllowThreads(__tstate
);
42747 if (PyErr_Occurred()) SWIG_fail
;
42749 resultobj
= SWIG_From_int(static_cast< int >(result
));
42756 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42757 PyObject
*resultobj
= 0;
42758 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42764 PyObject
* obj0
= 0 ;
42765 PyObject
* obj1
= 0 ;
42766 char * kwnames
[] = {
42767 (char *) "self",(char *) "prop", NULL
42770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42772 if (!SWIG_IsOK(res1
)) {
42773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42775 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42776 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42777 if (!SWIG_IsOK(ecode2
)) {
42778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42780 arg2
= static_cast< int >(val2
);
42782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42783 (arg1
)->SetPickerCtrlProportion(arg2
);
42784 wxPyEndAllowThreads(__tstate
);
42785 if (PyErr_Occurred()) SWIG_fail
;
42787 resultobj
= SWIG_Py_Void();
42794 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42795 PyObject
*resultobj
= 0;
42796 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42800 PyObject
*swig_obj
[1] ;
42802 if (!args
) SWIG_fail
;
42803 swig_obj
[0] = args
;
42804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42805 if (!SWIG_IsOK(res1
)) {
42806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42808 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42811 result
= (int)((wxPickerBase
const *)arg1
)->GetPickerCtrlProportion();
42812 wxPyEndAllowThreads(__tstate
);
42813 if (PyErr_Occurred()) SWIG_fail
;
42815 resultobj
= SWIG_From_int(static_cast< int >(result
));
42822 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42823 PyObject
*resultobj
= 0;
42824 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42828 PyObject
*swig_obj
[1] ;
42830 if (!args
) SWIG_fail
;
42831 swig_obj
[0] = args
;
42832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42833 if (!SWIG_IsOK(res1
)) {
42834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42836 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42839 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
42840 wxPyEndAllowThreads(__tstate
);
42841 if (PyErr_Occurred()) SWIG_fail
;
42844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42852 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42853 PyObject
*resultobj
= 0;
42854 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42855 bool arg2
= (bool) true ;
42860 PyObject
* obj0
= 0 ;
42861 PyObject
* obj1
= 0 ;
42862 char * kwnames
[] = {
42863 (char *) "self",(char *) "grow", NULL
42866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42868 if (!SWIG_IsOK(res1
)) {
42869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42871 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42873 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42874 if (!SWIG_IsOK(ecode2
)) {
42875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42877 arg2
= static_cast< bool >(val2
);
42880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42881 (arg1
)->SetTextCtrlGrowable(arg2
);
42882 wxPyEndAllowThreads(__tstate
);
42883 if (PyErr_Occurred()) SWIG_fail
;
42885 resultobj
= SWIG_Py_Void();
42892 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42893 PyObject
*resultobj
= 0;
42894 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42898 PyObject
*swig_obj
[1] ;
42900 if (!args
) SWIG_fail
;
42901 swig_obj
[0] = args
;
42902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42903 if (!SWIG_IsOK(res1
)) {
42904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42906 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42909 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
42910 wxPyEndAllowThreads(__tstate
);
42911 if (PyErr_Occurred()) SWIG_fail
;
42914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42922 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42923 PyObject
*resultobj
= 0;
42924 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42925 bool arg2
= (bool) true ;
42930 PyObject
* obj0
= 0 ;
42931 PyObject
* obj1
= 0 ;
42932 char * kwnames
[] = {
42933 (char *) "self",(char *) "grow", NULL
42936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42938 if (!SWIG_IsOK(res1
)) {
42939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42941 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42943 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42944 if (!SWIG_IsOK(ecode2
)) {
42945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42947 arg2
= static_cast< bool >(val2
);
42950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42951 (arg1
)->SetPickerCtrlGrowable(arg2
);
42952 wxPyEndAllowThreads(__tstate
);
42953 if (PyErr_Occurred()) SWIG_fail
;
42955 resultobj
= SWIG_Py_Void();
42962 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42963 PyObject
*resultobj
= 0;
42964 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42968 PyObject
*swig_obj
[1] ;
42970 if (!args
) SWIG_fail
;
42971 swig_obj
[0] = args
;
42972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42973 if (!SWIG_IsOK(res1
)) {
42974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42976 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42979 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
42980 wxPyEndAllowThreads(__tstate
);
42981 if (PyErr_Occurred()) SWIG_fail
;
42984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42992 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42993 PyObject
*resultobj
= 0;
42994 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42995 wxTextCtrl
*result
= 0 ;
42998 PyObject
*swig_obj
[1] ;
43000 if (!args
) SWIG_fail
;
43001 swig_obj
[0] = args
;
43002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43003 if (!SWIG_IsOK(res1
)) {
43004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43006 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43009 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
43010 wxPyEndAllowThreads(__tstate
);
43011 if (PyErr_Occurred()) SWIG_fail
;
43014 resultobj
= wxPyMake_wxObject(result
, 0);
43022 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43023 PyObject
*resultobj
= 0;
43024 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43025 wxControl
*result
= 0 ;
43028 PyObject
*swig_obj
[1] ;
43030 if (!args
) SWIG_fail
;
43031 swig_obj
[0] = args
;
43032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43033 if (!SWIG_IsOK(res1
)) {
43034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43036 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43039 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
43040 wxPyEndAllowThreads(__tstate
);
43041 if (PyErr_Occurred()) SWIG_fail
;
43044 resultobj
= wxPyMake_wxObject(result
, 0);
43052 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43054 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43055 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
43056 return SWIG_Py_Void();
43059 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
43060 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
43065 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
43066 PyObject
*pyobj
= 0;
43070 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43072 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43079 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43080 PyObject
*resultobj
= 0;
43081 wxWindow
*arg1
= (wxWindow
*) 0 ;
43082 int arg2
= (int) -1 ;
43083 wxColour
const &arg3_defvalue
= *wxBLACK
;
43084 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
43085 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43086 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43087 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43088 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43089 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
43090 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43091 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43092 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
43093 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43094 wxColourPickerCtrl
*result
= 0 ;
43106 bool temp8
= false ;
43107 PyObject
* obj0
= 0 ;
43108 PyObject
* obj1
= 0 ;
43109 PyObject
* obj2
= 0 ;
43110 PyObject
* obj3
= 0 ;
43111 PyObject
* obj4
= 0 ;
43112 PyObject
* obj5
= 0 ;
43113 PyObject
* obj6
= 0 ;
43114 PyObject
* obj7
= 0 ;
43115 char * kwnames
[] = {
43116 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43121 if (!SWIG_IsOK(res1
)) {
43122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43124 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43126 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43127 if (!SWIG_IsOK(ecode2
)) {
43128 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43130 arg2
= static_cast< int >(val2
);
43135 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43141 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43147 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43151 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43152 if (!SWIG_IsOK(ecode6
)) {
43153 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43155 arg6
= static_cast< long >(val6
);
43158 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43159 if (!SWIG_IsOK(res7
)) {
43160 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43163 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43165 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43169 arg8
= wxString_in_helper(obj7
);
43170 if (arg8
== NULL
) SWIG_fail
;
43175 if (!wxPyCheckForApp()) SWIG_fail
;
43176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43177 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43178 wxPyEndAllowThreads(__tstate
);
43179 if (PyErr_Occurred()) SWIG_fail
;
43181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43196 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43197 PyObject
*resultobj
= 0;
43198 wxColourPickerCtrl
*result
= 0 ;
43200 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
43202 if (!wxPyCheckForApp()) SWIG_fail
;
43203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43204 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
43205 wxPyEndAllowThreads(__tstate
);
43206 if (PyErr_Occurred()) SWIG_fail
;
43208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43215 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43216 PyObject
*resultobj
= 0;
43217 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43218 wxWindow
*arg2
= (wxWindow
*) 0 ;
43220 wxColour
const &arg4_defvalue
= *wxBLACK
;
43221 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
43222 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43223 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43224 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43225 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43226 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
43227 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43228 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43229 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
43230 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43245 bool temp9
= false ;
43246 PyObject
* obj0
= 0 ;
43247 PyObject
* obj1
= 0 ;
43248 PyObject
* obj2
= 0 ;
43249 PyObject
* obj3
= 0 ;
43250 PyObject
* obj4
= 0 ;
43251 PyObject
* obj5
= 0 ;
43252 PyObject
* obj6
= 0 ;
43253 PyObject
* obj7
= 0 ;
43254 PyObject
* obj8
= 0 ;
43255 char * kwnames
[] = {
43256 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43261 if (!SWIG_IsOK(res1
)) {
43262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43264 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43265 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43266 if (!SWIG_IsOK(res2
)) {
43267 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43269 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43270 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43271 if (!SWIG_IsOK(ecode3
)) {
43272 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43274 arg3
= static_cast< int >(val3
);
43278 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
43284 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43290 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43294 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43295 if (!SWIG_IsOK(ecode7
)) {
43296 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43298 arg7
= static_cast< long >(val7
);
43301 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43302 if (!SWIG_IsOK(res8
)) {
43303 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43306 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43308 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43312 arg9
= wxString_in_helper(obj8
);
43313 if (arg9
== NULL
) SWIG_fail
;
43318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43319 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43320 wxPyEndAllowThreads(__tstate
);
43321 if (PyErr_Occurred()) SWIG_fail
;
43324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43340 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43341 PyObject
*resultobj
= 0;
43342 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43346 PyObject
*swig_obj
[1] ;
43348 if (!args
) SWIG_fail
;
43349 swig_obj
[0] = args
;
43350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43351 if (!SWIG_IsOK(res1
)) {
43352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43354 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43357 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43358 wxPyEndAllowThreads(__tstate
);
43359 if (PyErr_Occurred()) SWIG_fail
;
43361 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43368 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43369 PyObject
*resultobj
= 0;
43370 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43371 wxColour
*arg2
= 0 ;
43375 PyObject
* obj0
= 0 ;
43376 PyObject
* obj1
= 0 ;
43377 char * kwnames
[] = {
43378 (char *) "self",(char *) "col", NULL
43381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43383 if (!SWIG_IsOK(res1
)) {
43384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43386 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43389 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43393 (arg1
)->SetColour((wxColour
const &)*arg2
);
43394 wxPyEndAllowThreads(__tstate
);
43395 if (PyErr_Occurred()) SWIG_fail
;
43397 resultobj
= SWIG_Py_Void();
43404 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43406 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43407 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43408 return SWIG_Py_Void();
43411 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43412 return SWIG_Python_InitShadowInstance(args
);
43415 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43416 PyObject
*resultobj
= 0;
43417 wxObject
*arg1
= (wxObject
*) 0 ;
43419 wxColour
*arg3
= 0 ;
43420 wxColourPickerEvent
*result
= 0 ;
43426 PyObject
* obj0
= 0 ;
43427 PyObject
* obj1
= 0 ;
43428 PyObject
* obj2
= 0 ;
43429 char * kwnames
[] = {
43430 (char *) "generator",(char *) "id",(char *) "col", NULL
43433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43435 if (!SWIG_IsOK(res1
)) {
43436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43438 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43440 if (!SWIG_IsOK(ecode2
)) {
43441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43443 arg2
= static_cast< int >(val2
);
43446 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43450 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43451 wxPyEndAllowThreads(__tstate
);
43452 if (PyErr_Occurred()) SWIG_fail
;
43454 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43461 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43462 PyObject
*resultobj
= 0;
43463 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43467 PyObject
*swig_obj
[1] ;
43469 if (!args
) SWIG_fail
;
43470 swig_obj
[0] = args
;
43471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43472 if (!SWIG_IsOK(res1
)) {
43473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43475 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43478 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43479 wxPyEndAllowThreads(__tstate
);
43480 if (PyErr_Occurred()) SWIG_fail
;
43482 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43489 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43490 PyObject
*resultobj
= 0;
43491 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43492 wxColour
*arg2
= 0 ;
43496 PyObject
* obj0
= 0 ;
43497 PyObject
* obj1
= 0 ;
43498 char * kwnames
[] = {
43499 (char *) "self",(char *) "c", NULL
43502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43504 if (!SWIG_IsOK(res1
)) {
43505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43507 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43510 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43514 (arg1
)->SetColour((wxColour
const &)*arg2
);
43515 wxPyEndAllowThreads(__tstate
);
43516 if (PyErr_Occurred()) SWIG_fail
;
43518 resultobj
= SWIG_Py_Void();
43525 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43527 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43528 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43529 return SWIG_Py_Void();
43532 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43533 return SWIG_Python_InitShadowInstance(args
);
43536 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43537 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43542 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43543 PyObject
*pyobj
= 0;
43547 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43549 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43556 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43557 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43562 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43563 PyObject
*pyobj
= 0;
43567 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43569 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43576 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43577 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43582 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43583 PyObject
*pyobj
= 0;
43587 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43589 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43596 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43597 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43602 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43603 PyObject
*pyobj
= 0;
43607 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43609 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43616 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43617 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43622 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43623 PyObject
*pyobj
= 0;
43627 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43629 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43636 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43637 PyObject
*resultobj
= 0;
43638 wxWindow
*arg1
= (wxWindow
*) 0 ;
43639 int arg2
= (int) -1 ;
43640 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43641 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43642 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
43643 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43644 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43645 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43646 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43647 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43648 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43649 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43650 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
43651 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43652 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43653 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
43654 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43655 wxFilePickerCtrl
*result
= 0 ;
43660 bool temp3
= false ;
43661 bool temp4
= false ;
43662 bool temp5
= false ;
43669 bool temp10
= false ;
43670 PyObject
* obj0
= 0 ;
43671 PyObject
* obj1
= 0 ;
43672 PyObject
* obj2
= 0 ;
43673 PyObject
* obj3
= 0 ;
43674 PyObject
* obj4
= 0 ;
43675 PyObject
* obj5
= 0 ;
43676 PyObject
* obj6
= 0 ;
43677 PyObject
* obj7
= 0 ;
43678 PyObject
* obj8
= 0 ;
43679 PyObject
* obj9
= 0 ;
43680 char * kwnames
[] = {
43681 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43686 if (!SWIG_IsOK(res1
)) {
43687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43689 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43691 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43692 if (!SWIG_IsOK(ecode2
)) {
43693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43695 arg2
= static_cast< int >(val2
);
43699 arg3
= wxString_in_helper(obj2
);
43700 if (arg3
== NULL
) SWIG_fail
;
43706 arg4
= wxString_in_helper(obj3
);
43707 if (arg4
== NULL
) SWIG_fail
;
43713 arg5
= wxString_in_helper(obj4
);
43714 if (arg5
== NULL
) SWIG_fail
;
43721 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43727 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43731 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43732 if (!SWIG_IsOK(ecode8
)) {
43733 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43735 arg8
= static_cast< long >(val8
);
43738 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43739 if (!SWIG_IsOK(res9
)) {
43740 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43743 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43745 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
43749 arg10
= wxString_in_helper(obj9
);
43750 if (arg10
== NULL
) SWIG_fail
;
43755 if (!wxPyCheckForApp()) SWIG_fail
;
43756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43757 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
);
43758 wxPyEndAllowThreads(__tstate
);
43759 if (PyErr_Occurred()) SWIG_fail
;
43761 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
43800 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43801 PyObject
*resultobj
= 0;
43802 wxFilePickerCtrl
*result
= 0 ;
43804 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
43806 if (!wxPyCheckForApp()) SWIG_fail
;
43807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43808 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
43809 wxPyEndAllowThreads(__tstate
);
43810 if (PyErr_Occurred()) SWIG_fail
;
43812 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
43819 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43820 PyObject
*resultobj
= 0;
43821 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43822 wxWindow
*arg2
= (wxWindow
*) 0 ;
43823 int arg3
= (int) -1 ;
43824 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43825 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43826 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
43827 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43828 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43829 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
43830 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
43831 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
43832 wxSize
const &arg8_defvalue
= wxDefaultSize
;
43833 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
43834 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
43835 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
43836 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
43837 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
43838 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
43846 bool temp4
= false ;
43847 bool temp5
= false ;
43848 bool temp6
= false ;
43855 bool temp11
= false ;
43856 PyObject
* obj0
= 0 ;
43857 PyObject
* obj1
= 0 ;
43858 PyObject
* obj2
= 0 ;
43859 PyObject
* obj3
= 0 ;
43860 PyObject
* obj4
= 0 ;
43861 PyObject
* obj5
= 0 ;
43862 PyObject
* obj6
= 0 ;
43863 PyObject
* obj7
= 0 ;
43864 PyObject
* obj8
= 0 ;
43865 PyObject
* obj9
= 0 ;
43866 PyObject
* obj10
= 0 ;
43867 char * kwnames
[] = {
43868 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
43872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43873 if (!SWIG_IsOK(res1
)) {
43874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43876 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43877 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43878 if (!SWIG_IsOK(res2
)) {
43879 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43881 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43883 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43884 if (!SWIG_IsOK(ecode3
)) {
43885 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43887 arg3
= static_cast< int >(val3
);
43891 arg4
= wxString_in_helper(obj3
);
43892 if (arg4
== NULL
) SWIG_fail
;
43898 arg5
= wxString_in_helper(obj4
);
43899 if (arg5
== NULL
) SWIG_fail
;
43905 arg6
= wxString_in_helper(obj5
);
43906 if (arg6
== NULL
) SWIG_fail
;
43913 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
43919 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
43923 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
43924 if (!SWIG_IsOK(ecode9
)) {
43925 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
43927 arg9
= static_cast< long >(val9
);
43930 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
43931 if (!SWIG_IsOK(res10
)) {
43932 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43935 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43937 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
43941 arg11
= wxString_in_helper(obj10
);
43942 if (arg11
== NULL
) SWIG_fail
;
43947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43948 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
);
43949 wxPyEndAllowThreads(__tstate
);
43950 if (PyErr_Occurred()) SWIG_fail
;
43953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43993 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43994 PyObject
*resultobj
= 0;
43995 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43999 PyObject
*swig_obj
[1] ;
44001 if (!args
) SWIG_fail
;
44002 swig_obj
[0] = args
;
44003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44004 if (!SWIG_IsOK(res1
)) {
44005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44007 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44010 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
44011 wxPyEndAllowThreads(__tstate
);
44012 if (PyErr_Occurred()) SWIG_fail
;
44016 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44018 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44027 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44028 PyObject
*resultobj
= 0;
44029 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44030 wxString
*arg2
= 0 ;
44033 bool temp2
= false ;
44034 PyObject
* obj0
= 0 ;
44035 PyObject
* obj1
= 0 ;
44036 char * kwnames
[] = {
44037 (char *) "self",(char *) "str", NULL
44040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44042 if (!SWIG_IsOK(res1
)) {
44043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44045 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44047 arg2
= wxString_in_helper(obj1
);
44048 if (arg2
== NULL
) SWIG_fail
;
44052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44053 (arg1
)->SetPath((wxString
const &)*arg2
);
44054 wxPyEndAllowThreads(__tstate
);
44055 if (PyErr_Occurred()) SWIG_fail
;
44057 resultobj
= SWIG_Py_Void();
44072 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44073 PyObject
*resultobj
= 0;
44074 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44075 wxString
*arg2
= 0 ;
44079 bool temp2
= false ;
44080 PyObject
* obj0
= 0 ;
44081 PyObject
* obj1
= 0 ;
44082 char * kwnames
[] = {
44083 (char *) "self",(char *) "path", NULL
44086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44088 if (!SWIG_IsOK(res1
)) {
44089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44091 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44093 arg2
= wxString_in_helper(obj1
);
44094 if (arg2
== NULL
) SWIG_fail
;
44098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44099 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44100 wxPyEndAllowThreads(__tstate
);
44101 if (PyErr_Occurred()) SWIG_fail
;
44104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44120 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44121 PyObject
*resultobj
= 0;
44122 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44126 PyObject
*swig_obj
[1] ;
44128 if (!args
) SWIG_fail
;
44129 swig_obj
[0] = args
;
44130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44131 if (!SWIG_IsOK(res1
)) {
44132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44134 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44137 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
44138 wxPyEndAllowThreads(__tstate
);
44139 if (PyErr_Occurred()) SWIG_fail
;
44143 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44145 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44154 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44156 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44157 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
44158 return SWIG_Py_Void();
44161 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44162 return SWIG_Python_InitShadowInstance(args
);
44165 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44166 PyObject
*resultobj
= 0;
44167 wxWindow
*arg1
= (wxWindow
*) 0 ;
44168 int arg2
= (int) -1 ;
44169 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44170 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44171 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
44172 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44173 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44174 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44175 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44176 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44177 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
44178 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44179 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44180 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
44181 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44182 wxDirPickerCtrl
*result
= 0 ;
44187 bool temp3
= false ;
44188 bool temp4
= false ;
44195 bool temp9
= false ;
44196 PyObject
* obj0
= 0 ;
44197 PyObject
* obj1
= 0 ;
44198 PyObject
* obj2
= 0 ;
44199 PyObject
* obj3
= 0 ;
44200 PyObject
* obj4
= 0 ;
44201 PyObject
* obj5
= 0 ;
44202 PyObject
* obj6
= 0 ;
44203 PyObject
* obj7
= 0 ;
44204 PyObject
* obj8
= 0 ;
44205 char * kwnames
[] = {
44206 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44211 if (!SWIG_IsOK(res1
)) {
44212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44214 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44216 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44217 if (!SWIG_IsOK(ecode2
)) {
44218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44220 arg2
= static_cast< int >(val2
);
44224 arg3
= wxString_in_helper(obj2
);
44225 if (arg3
== NULL
) SWIG_fail
;
44231 arg4
= wxString_in_helper(obj3
);
44232 if (arg4
== NULL
) SWIG_fail
;
44239 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44245 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44249 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44250 if (!SWIG_IsOK(ecode7
)) {
44251 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44253 arg7
= static_cast< long >(val7
);
44256 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44257 if (!SWIG_IsOK(res8
)) {
44258 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44261 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44263 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44267 arg9
= wxString_in_helper(obj8
);
44268 if (arg9
== NULL
) SWIG_fail
;
44273 if (!wxPyCheckForApp()) SWIG_fail
;
44274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44275 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
);
44276 wxPyEndAllowThreads(__tstate
);
44277 if (PyErr_Occurred()) SWIG_fail
;
44279 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44310 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44311 PyObject
*resultobj
= 0;
44312 wxDirPickerCtrl
*result
= 0 ;
44314 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44316 if (!wxPyCheckForApp()) SWIG_fail
;
44317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44318 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44319 wxPyEndAllowThreads(__tstate
);
44320 if (PyErr_Occurred()) SWIG_fail
;
44322 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44329 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44330 PyObject
*resultobj
= 0;
44331 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44332 wxWindow
*arg2
= (wxWindow
*) 0 ;
44333 int arg3
= (int) -1 ;
44334 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44335 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44336 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44337 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44338 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44339 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44340 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44341 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44342 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44343 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44344 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44345 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
44346 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44354 bool temp4
= false ;
44355 bool temp5
= false ;
44362 bool temp10
= false ;
44363 PyObject
* obj0
= 0 ;
44364 PyObject
* obj1
= 0 ;
44365 PyObject
* obj2
= 0 ;
44366 PyObject
* obj3
= 0 ;
44367 PyObject
* obj4
= 0 ;
44368 PyObject
* obj5
= 0 ;
44369 PyObject
* obj6
= 0 ;
44370 PyObject
* obj7
= 0 ;
44371 PyObject
* obj8
= 0 ;
44372 PyObject
* obj9
= 0 ;
44373 char * kwnames
[] = {
44374 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44379 if (!SWIG_IsOK(res1
)) {
44380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44382 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44383 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44384 if (!SWIG_IsOK(res2
)) {
44385 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44387 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44389 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44390 if (!SWIG_IsOK(ecode3
)) {
44391 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44393 arg3
= static_cast< int >(val3
);
44397 arg4
= wxString_in_helper(obj3
);
44398 if (arg4
== NULL
) SWIG_fail
;
44404 arg5
= wxString_in_helper(obj4
);
44405 if (arg5
== NULL
) SWIG_fail
;
44412 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44418 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44422 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44423 if (!SWIG_IsOK(ecode8
)) {
44424 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44426 arg8
= static_cast< long >(val8
);
44429 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44430 if (!SWIG_IsOK(res9
)) {
44431 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44434 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44436 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44440 arg10
= wxString_in_helper(obj9
);
44441 if (arg10
== NULL
) SWIG_fail
;
44446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44447 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
);
44448 wxPyEndAllowThreads(__tstate
);
44449 if (PyErr_Occurred()) SWIG_fail
;
44452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44484 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44485 PyObject
*resultobj
= 0;
44486 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44490 PyObject
*swig_obj
[1] ;
44492 if (!args
) SWIG_fail
;
44493 swig_obj
[0] = args
;
44494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44495 if (!SWIG_IsOK(res1
)) {
44496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44498 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44501 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44502 wxPyEndAllowThreads(__tstate
);
44503 if (PyErr_Occurred()) SWIG_fail
;
44507 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44509 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44518 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44519 PyObject
*resultobj
= 0;
44520 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44521 wxString
*arg2
= 0 ;
44524 bool temp2
= false ;
44525 PyObject
* obj0
= 0 ;
44526 PyObject
* obj1
= 0 ;
44527 char * kwnames
[] = {
44528 (char *) "self",(char *) "str", NULL
44531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44533 if (!SWIG_IsOK(res1
)) {
44534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44536 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44538 arg2
= wxString_in_helper(obj1
);
44539 if (arg2
== NULL
) SWIG_fail
;
44543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44544 (arg1
)->SetPath((wxString
const &)*arg2
);
44545 wxPyEndAllowThreads(__tstate
);
44546 if (PyErr_Occurred()) SWIG_fail
;
44548 resultobj
= SWIG_Py_Void();
44563 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44564 PyObject
*resultobj
= 0;
44565 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44566 wxString
*arg2
= 0 ;
44570 bool temp2
= false ;
44571 PyObject
* obj0
= 0 ;
44572 PyObject
* obj1
= 0 ;
44573 char * kwnames
[] = {
44574 (char *) "self",(char *) "path", NULL
44577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44579 if (!SWIG_IsOK(res1
)) {
44580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44582 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44584 arg2
= wxString_in_helper(obj1
);
44585 if (arg2
== NULL
) SWIG_fail
;
44589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44590 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44591 wxPyEndAllowThreads(__tstate
);
44592 if (PyErr_Occurred()) SWIG_fail
;
44595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44611 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44612 PyObject
*resultobj
= 0;
44613 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44617 PyObject
*swig_obj
[1] ;
44619 if (!args
) SWIG_fail
;
44620 swig_obj
[0] = args
;
44621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44622 if (!SWIG_IsOK(res1
)) {
44623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44625 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44628 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
44629 wxPyEndAllowThreads(__tstate
);
44630 if (PyErr_Occurred()) SWIG_fail
;
44634 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44636 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44645 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44647 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44648 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
44649 return SWIG_Py_Void();
44652 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44653 return SWIG_Python_InitShadowInstance(args
);
44656 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44657 PyObject
*resultobj
= 0;
44659 wxObject
*arg2
= (wxObject
*) 0 ;
44661 wxString
*arg4
= 0 ;
44662 wxFileDirPickerEvent
*result
= 0 ;
44669 bool temp4
= false ;
44670 PyObject
* obj0
= 0 ;
44671 PyObject
* obj1
= 0 ;
44672 PyObject
* obj2
= 0 ;
44673 PyObject
* obj3
= 0 ;
44674 char * kwnames
[] = {
44675 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44679 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44680 if (!SWIG_IsOK(ecode1
)) {
44681 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44683 arg1
= static_cast< wxEventType
>(val1
);
44684 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
44685 if (!SWIG_IsOK(res2
)) {
44686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44688 arg2
= reinterpret_cast< wxObject
* >(argp2
);
44689 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44690 if (!SWIG_IsOK(ecode3
)) {
44691 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44693 arg3
= static_cast< int >(val3
);
44695 arg4
= wxString_in_helper(obj3
);
44696 if (arg4
== NULL
) SWIG_fail
;
44700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44701 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
44702 wxPyEndAllowThreads(__tstate
);
44703 if (PyErr_Occurred()) SWIG_fail
;
44705 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
44720 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44721 PyObject
*resultobj
= 0;
44722 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44726 PyObject
*swig_obj
[1] ;
44728 if (!args
) SWIG_fail
;
44729 swig_obj
[0] = args
;
44730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44731 if (!SWIG_IsOK(res1
)) {
44732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44734 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44737 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
44738 wxPyEndAllowThreads(__tstate
);
44739 if (PyErr_Occurred()) SWIG_fail
;
44743 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44745 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44754 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44755 PyObject
*resultobj
= 0;
44756 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44757 wxString
*arg2
= 0 ;
44760 bool temp2
= false ;
44761 PyObject
* obj0
= 0 ;
44762 PyObject
* obj1
= 0 ;
44763 char * kwnames
[] = {
44764 (char *) "self",(char *) "p", NULL
44767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44769 if (!SWIG_IsOK(res1
)) {
44770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
44772 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44774 arg2
= wxString_in_helper(obj1
);
44775 if (arg2
== NULL
) SWIG_fail
;
44779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44780 (arg1
)->SetPath((wxString
const &)*arg2
);
44781 wxPyEndAllowThreads(__tstate
);
44782 if (PyErr_Occurred()) SWIG_fail
;
44784 resultobj
= SWIG_Py_Void();
44799 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44801 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44802 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
44803 return SWIG_Py_Void();
44806 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44807 return SWIG_Python_InitShadowInstance(args
);
44810 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
44811 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
44816 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
44817 PyObject
*pyobj
= 0;
44821 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44823 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44830 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44831 PyObject
*resultobj
= 0;
44832 wxWindow
*arg1
= (wxWindow
*) 0 ;
44833 int arg2
= (int) -1 ;
44834 wxFont
const &arg3_defvalue
= *wxNORMAL_FONT
;
44835 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
44836 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
44837 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
44838 wxSize
const &arg5_defvalue
= wxDefaultSize
;
44839 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
44840 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
44841 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
44842 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
44843 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
44844 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
44845 wxFontPickerCtrl
*result
= 0 ;
44858 bool temp8
= false ;
44859 PyObject
* obj0
= 0 ;
44860 PyObject
* obj1
= 0 ;
44861 PyObject
* obj2
= 0 ;
44862 PyObject
* obj3
= 0 ;
44863 PyObject
* obj4
= 0 ;
44864 PyObject
* obj5
= 0 ;
44865 PyObject
* obj6
= 0 ;
44866 PyObject
* obj7
= 0 ;
44867 char * kwnames
[] = {
44868 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
44872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44873 if (!SWIG_IsOK(res1
)) {
44874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44876 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44878 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44879 if (!SWIG_IsOK(ecode2
)) {
44880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44882 arg2
= static_cast< int >(val2
);
44885 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
44886 if (!SWIG_IsOK(res3
)) {
44887 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44890 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44892 arg3
= reinterpret_cast< wxFont
* >(argp3
);
44897 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
44903 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
44907 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
44908 if (!SWIG_IsOK(ecode6
)) {
44909 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
44911 arg6
= static_cast< long >(val6
);
44914 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
44915 if (!SWIG_IsOK(res7
)) {
44916 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44919 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44921 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
44925 arg8
= wxString_in_helper(obj7
);
44926 if (arg8
== NULL
) SWIG_fail
;
44931 if (!wxPyCheckForApp()) SWIG_fail
;
44932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44933 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
44934 wxPyEndAllowThreads(__tstate
);
44935 if (PyErr_Occurred()) SWIG_fail
;
44937 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44952 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44953 PyObject
*resultobj
= 0;
44954 wxFontPickerCtrl
*result
= 0 ;
44956 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
44958 if (!wxPyCheckForApp()) SWIG_fail
;
44959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44960 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
44961 wxPyEndAllowThreads(__tstate
);
44962 if (PyErr_Occurred()) SWIG_fail
;
44964 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44971 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44972 PyObject
*resultobj
= 0;
44973 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44974 wxWindow
*arg2
= (wxWindow
*) 0 ;
44975 int arg3
= (int) -1 ;
44976 wxFont
const &arg4_defvalue
= *wxNORMAL_FONT
;
44977 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
44978 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44979 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44980 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44981 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44982 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
44983 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44984 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44985 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
44986 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45002 bool temp9
= false ;
45003 PyObject
* obj0
= 0 ;
45004 PyObject
* obj1
= 0 ;
45005 PyObject
* obj2
= 0 ;
45006 PyObject
* obj3
= 0 ;
45007 PyObject
* obj4
= 0 ;
45008 PyObject
* obj5
= 0 ;
45009 PyObject
* obj6
= 0 ;
45010 PyObject
* obj7
= 0 ;
45011 PyObject
* obj8
= 0 ;
45012 char * kwnames
[] = {
45013 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45018 if (!SWIG_IsOK(res1
)) {
45019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45021 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45022 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45023 if (!SWIG_IsOK(res2
)) {
45024 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45026 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45028 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45029 if (!SWIG_IsOK(ecode3
)) {
45030 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45032 arg3
= static_cast< int >(val3
);
45035 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
45036 if (!SWIG_IsOK(res4
)) {
45037 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45040 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45042 arg4
= reinterpret_cast< wxFont
* >(argp4
);
45047 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45053 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45057 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45058 if (!SWIG_IsOK(ecode7
)) {
45059 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45061 arg7
= static_cast< long >(val7
);
45064 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45065 if (!SWIG_IsOK(res8
)) {
45066 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45069 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45071 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45075 arg9
= wxString_in_helper(obj8
);
45076 if (arg9
== NULL
) SWIG_fail
;
45081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45082 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45083 wxPyEndAllowThreads(__tstate
);
45084 if (PyErr_Occurred()) SWIG_fail
;
45087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45103 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45104 PyObject
*resultobj
= 0;
45105 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45109 PyObject
*swig_obj
[1] ;
45111 if (!args
) SWIG_fail
;
45112 swig_obj
[0] = args
;
45113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45114 if (!SWIG_IsOK(res1
)) {
45115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45117 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45120 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
45121 wxPyEndAllowThreads(__tstate
);
45122 if (PyErr_Occurred()) SWIG_fail
;
45124 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45131 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45132 PyObject
*resultobj
= 0;
45133 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45139 PyObject
* obj0
= 0 ;
45140 PyObject
* obj1
= 0 ;
45141 char * kwnames
[] = {
45142 (char *) "self",(char *) "f", NULL
45145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45147 if (!SWIG_IsOK(res1
)) {
45148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45150 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45151 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45152 if (!SWIG_IsOK(res2
)) {
45153 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45156 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45158 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45161 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
45162 wxPyEndAllowThreads(__tstate
);
45163 if (PyErr_Occurred()) SWIG_fail
;
45165 resultobj
= SWIG_Py_Void();
45172 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45173 PyObject
*resultobj
= 0;
45174 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45175 unsigned int arg2
;
45178 unsigned int val2
;
45180 PyObject
* obj0
= 0 ;
45181 PyObject
* obj1
= 0 ;
45182 char * kwnames
[] = {
45183 (char *) "self",(char *) "max", NULL
45186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45188 if (!SWIG_IsOK(res1
)) {
45189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45191 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45192 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45193 if (!SWIG_IsOK(ecode2
)) {
45194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45196 arg2
= static_cast< unsigned int >(val2
);
45198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45199 (arg1
)->SetMaxPointSize(arg2
);
45200 wxPyEndAllowThreads(__tstate
);
45201 if (PyErr_Occurred()) SWIG_fail
;
45203 resultobj
= SWIG_Py_Void();
45210 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45211 PyObject
*resultobj
= 0;
45212 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45213 unsigned int result
;
45216 PyObject
*swig_obj
[1] ;
45218 if (!args
) SWIG_fail
;
45219 swig_obj
[0] = args
;
45220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45221 if (!SWIG_IsOK(res1
)) {
45222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45224 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45227 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
45228 wxPyEndAllowThreads(__tstate
);
45229 if (PyErr_Occurred()) SWIG_fail
;
45231 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
45238 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45240 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45241 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
45242 return SWIG_Py_Void();
45245 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45246 return SWIG_Python_InitShadowInstance(args
);
45249 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45250 PyObject
*resultobj
= 0;
45251 wxObject
*arg1
= (wxObject
*) 0 ;
45254 wxFontPickerEvent
*result
= 0 ;
45261 PyObject
* obj0
= 0 ;
45262 PyObject
* obj1
= 0 ;
45263 PyObject
* obj2
= 0 ;
45264 char * kwnames
[] = {
45265 (char *) "generator",(char *) "id",(char *) "f", NULL
45268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45270 if (!SWIG_IsOK(res1
)) {
45271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45273 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45274 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45275 if (!SWIG_IsOK(ecode2
)) {
45276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45278 arg2
= static_cast< int >(val2
);
45279 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45280 if (!SWIG_IsOK(res3
)) {
45281 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45284 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45286 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45289 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45290 wxPyEndAllowThreads(__tstate
);
45291 if (PyErr_Occurred()) SWIG_fail
;
45293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45300 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45301 PyObject
*resultobj
= 0;
45302 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45306 PyObject
*swig_obj
[1] ;
45308 if (!args
) SWIG_fail
;
45309 swig_obj
[0] = args
;
45310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45311 if (!SWIG_IsOK(res1
)) {
45312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45314 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45317 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45318 wxPyEndAllowThreads(__tstate
);
45319 if (PyErr_Occurred()) SWIG_fail
;
45321 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45328 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45329 PyObject
*resultobj
= 0;
45330 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45336 PyObject
* obj0
= 0 ;
45337 PyObject
* obj1
= 0 ;
45338 char * kwnames
[] = {
45339 (char *) "self",(char *) "c", NULL
45342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45344 if (!SWIG_IsOK(res1
)) {
45345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45347 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45348 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45349 if (!SWIG_IsOK(res2
)) {
45350 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45353 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45355 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45358 (arg1
)->SetFont((wxFont
const &)*arg2
);
45359 wxPyEndAllowThreads(__tstate
);
45360 if (PyErr_Occurred()) SWIG_fail
;
45362 resultobj
= SWIG_Py_Void();
45369 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45371 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45372 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45373 return SWIG_Py_Void();
45376 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45377 return SWIG_Python_InitShadowInstance(args
);
45380 static PyMethodDef SwigMethods
[] = {
45381 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45382 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
45383 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45384 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
45385 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
45386 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45387 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
45388 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
45389 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45390 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
45391 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45392 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
45393 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
45394 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
45395 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
45396 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
45397 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45398 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45399 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45400 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45401 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45402 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45403 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
45404 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
45405 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
45406 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
45407 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45408 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
45409 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45410 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
45411 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
45412 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45413 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
45414 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45415 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
45416 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
45417 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
45419 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
45420 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45421 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
45422 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45423 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
45424 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45425 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
45426 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
45427 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45428 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
45429 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45430 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
45431 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
45433 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
45434 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
45435 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45436 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
45437 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
45438 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45439 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45440 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
45441 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
45442 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45444 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
45446 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45447 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
45448 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
45449 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
45450 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
45451 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
45452 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
45453 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
45454 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
45455 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
45456 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45457 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
45458 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
45459 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
45461 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
45464 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
45466 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
45467 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
45469 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45470 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
45471 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45472 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
45473 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
45474 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45475 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
45476 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45477 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
45479 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
45480 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45481 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
45482 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45483 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
45484 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
45485 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45486 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
45487 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
45488 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45489 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
45490 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45492 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
45494 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
45495 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45496 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
45497 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
45499 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45500 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45502 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
45503 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
45504 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45505 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
45506 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45508 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45511 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45513 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45514 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45516 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
45517 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45518 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45519 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
45522 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45523 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45524 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45526 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45527 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
45528 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
45529 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
45531 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45532 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45533 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45534 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
45535 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
45536 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
45537 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45538 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
45539 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
45540 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45541 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45542 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45543 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45544 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45546 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45547 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45548 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45549 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
45550 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
45551 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
45552 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
45553 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
45554 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
45555 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
45556 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45557 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
45558 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
45559 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
45560 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
45561 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
45562 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
45563 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
45564 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
45565 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
45566 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
45567 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45568 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
45569 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
45570 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45571 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
45572 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45573 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
45574 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45575 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45576 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45577 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
45579 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
45580 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
45581 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
45582 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
45583 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
45584 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
45585 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
45586 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45587 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45588 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45590 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
45591 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
45592 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45594 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45595 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45596 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45597 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45599 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45600 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
45601 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45603 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45604 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45605 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45606 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
45607 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
45608 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
45609 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
45610 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
45611 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
45612 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
45613 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
45614 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
45615 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
45616 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45617 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
45618 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
45619 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
45620 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45621 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
45622 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45623 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45624 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
)_wrap_TextCtrl_HideNativeCaret
, METH_O
, NULL
},
45625 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45626 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45627 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45628 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
45629 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
45630 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45631 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
45632 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
45633 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
45634 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
45635 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
45636 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45637 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
45638 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45639 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
45640 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
45641 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
45642 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
45643 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
45644 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45645 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45646 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
45647 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
45648 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45649 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
45650 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45651 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
45652 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
45653 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
45654 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45655 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45656 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45657 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45658 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
45659 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45660 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
45661 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
45662 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45663 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
45664 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45665 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
45666 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45667 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45668 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45669 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
45670 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
45671 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45672 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45673 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
45674 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
45675 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45676 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
45677 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45678 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
45679 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
45680 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45681 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
45682 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45684 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
45685 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
45686 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45687 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
45688 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45689 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45690 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45691 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45692 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45693 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45694 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45695 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
45696 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
45697 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45698 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45699 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45700 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45701 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45702 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45703 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
45704 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
45705 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45706 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
45707 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45708 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
45709 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45710 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45711 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
45712 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
45713 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45714 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
45715 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45716 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
45717 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45718 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45719 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
45720 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
45721 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45722 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45723 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45724 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45725 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
45726 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
45727 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45728 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
45729 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45730 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
45731 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
45732 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
45734 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
45735 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
45736 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45737 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45738 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
45739 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
45740 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45741 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
45742 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45743 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45744 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
45745 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45746 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
45747 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
45748 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
45749 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45750 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
45751 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
45752 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45753 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45755 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45756 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
45757 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45758 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45759 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45760 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45761 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
45762 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45763 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
45764 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45765 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
45766 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45767 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
45768 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
45769 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45770 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45771 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
45772 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45773 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45774 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45776 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45777 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45778 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
45779 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45780 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
45781 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45782 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
45783 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45784 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
45785 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
45786 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45787 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
45788 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45789 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
45790 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45791 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45792 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
45793 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45794 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
45795 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
45796 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45797 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
45798 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
45799 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45800 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
45801 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45802 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
45803 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
45804 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
45805 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45806 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
45807 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
45808 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
45810 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
45812 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
45813 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
45814 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45815 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
45816 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
45817 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45818 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
45819 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45820 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45821 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45822 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45824 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45825 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45826 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
45827 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
45828 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
45829 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45830 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
45831 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
45832 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45833 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
45834 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45835 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
45836 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
45837 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
45838 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
45839 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45840 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
45841 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
45842 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
45843 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
45844 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
45845 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
45846 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
45847 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
45848 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
45849 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
45850 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
45851 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
45852 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
45853 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
45854 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
45855 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
45856 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
45857 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
45858 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
45859 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45860 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
45861 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45862 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45863 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45864 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45865 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45866 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45867 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
45868 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45869 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
45870 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45871 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
45872 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45873 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45874 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45875 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45876 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45877 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45878 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45879 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
45880 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45881 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45882 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45883 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45884 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
45885 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
45886 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45887 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45888 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45889 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45890 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45891 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45892 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45893 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45894 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45895 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45896 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45897 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45898 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45899 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45900 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45901 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
45903 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
45904 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
45905 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
45906 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45907 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45908 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
45909 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
45910 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45911 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
45912 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
45913 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45914 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45915 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
45916 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
45917 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
45918 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45919 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
45920 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45921 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45922 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
45923 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
45924 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45925 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
45926 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45927 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45928 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45929 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
45930 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
45931 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
45932 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
45933 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
45934 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
45935 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45936 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
45937 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
45938 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
45939 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
45940 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
45941 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
45942 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
45943 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45944 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45945 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45946 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45947 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45948 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45949 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45951 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45952 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45953 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45954 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45956 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
45957 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
45958 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
45959 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
45960 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
45961 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
45962 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
45963 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
45964 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
45965 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
45966 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
45967 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
45968 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
45969 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
45970 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
45971 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
45972 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
45973 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
45974 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
45975 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
45976 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
45977 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
45978 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
45979 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
45980 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
45981 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
45982 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
45983 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
45984 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
45985 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
45986 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
45987 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
45988 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
45989 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
45990 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
45991 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
45992 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45993 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
45994 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
45995 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
45996 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
45997 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
45998 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
45999 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
46000 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
46001 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
46002 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
46003 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
46004 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
46005 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
46006 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
46007 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
46008 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
46009 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
46010 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
46011 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
46012 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
46013 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
46014 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
46015 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
46016 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
46017 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
46019 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
46020 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
46022 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46024 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46025 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46026 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46027 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
46029 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
46030 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
46031 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46032 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46033 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46034 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46039 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46040 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46042 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46043 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46045 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
46046 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
46047 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
46048 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
46049 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
46050 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46051 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
46052 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46057 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
46058 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
46059 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46062 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46063 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
46064 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46065 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
46066 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
46067 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46069 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46070 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46071 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46072 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46073 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46075 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46076 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46077 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46078 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46079 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46080 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46081 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46082 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46083 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46084 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46085 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46086 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46087 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46088 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46089 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46090 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
46091 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46092 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
46093 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
46094 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46095 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
46096 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46097 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46098 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46099 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
46100 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46101 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
46102 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46103 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46104 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46105 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
46106 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
46107 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
46108 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
46109 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
46110 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46111 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46112 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
46113 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
46114 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
46115 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
46116 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46117 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
46118 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
46119 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46120 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
46121 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46122 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
46123 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
46124 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
46125 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
46126 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
46127 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46128 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
46129 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46130 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
46131 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46132 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
46133 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
46134 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46135 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
46136 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46137 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
46138 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46139 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46140 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
46141 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
46142 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
46143 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46144 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
46145 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46146 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46147 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
46148 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
46149 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46150 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
46151 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46152 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
46153 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
46154 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46155 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46156 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46157 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46158 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46159 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46160 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46161 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46162 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46163 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46164 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46165 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46166 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46167 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46168 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46169 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46170 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46171 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46172 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46173 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46174 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46175 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46176 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46177 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46178 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46179 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46180 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46181 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
46182 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
46183 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
46184 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46185 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46186 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46187 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46188 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46189 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46190 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
46191 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46192 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46193 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46194 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46195 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46196 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46197 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46198 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46199 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46200 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
46201 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46202 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46203 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
46204 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46205 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46206 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46207 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
46208 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46209 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
46210 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46211 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46212 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46213 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46214 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46215 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
46216 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46217 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46218 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46219 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46220 { (char *)"TreeCtrl_SetState", (PyCFunction
) _wrap_TreeCtrl_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46221 { (char *)"TreeCtrl_GetState", (PyCFunction
) _wrap_TreeCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46222 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46223 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46224 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
46225 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
46226 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
46227 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46228 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
46229 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46230 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46231 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46232 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
46233 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46234 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
46235 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
46236 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46237 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46238 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
46239 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
46240 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46241 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
46242 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46243 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
46244 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
46245 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
46246 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46247 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
46248 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
46249 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
46250 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
46251 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46252 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
46253 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46254 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46255 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
46256 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
46257 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46258 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
46259 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46260 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46261 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46262 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46263 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46264 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46265 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46266 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
46267 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
46268 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
46269 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
46270 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
46271 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
46272 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
46273 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
46274 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
46275 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46276 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
46277 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46278 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
46279 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46280 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
46281 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46282 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
46283 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46284 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
46285 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
46286 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46287 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
46288 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46289 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
46290 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
46291 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
46292 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46293 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
46294 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
46295 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
46296 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46297 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
46298 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46299 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46300 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46301 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46302 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46303 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46304 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
46305 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
46306 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
46307 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
46308 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
46309 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46310 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46311 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46312 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46313 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46314 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
46315 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46316 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46317 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46318 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
46319 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46320 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
46321 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
46322 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46323 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46324 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46325 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46326 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
46327 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
46328 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46329 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
46330 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46331 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46332 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
46333 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46334 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
46335 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
46336 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46337 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46338 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46339 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
46340 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46341 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
46342 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46343 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
46344 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46345 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
46346 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46347 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
46348 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46349 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46350 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
46351 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
46352 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
46353 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46354 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
46355 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46356 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
46357 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
46358 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46359 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46360 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
46361 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46362 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
46363 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46364 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetPickerCtrlProportion
, METH_O
, NULL
},
46365 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
46366 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46367 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
46368 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46369 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
46370 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
46371 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
46372 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
46373 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46374 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
46375 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46376 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
46377 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46378 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46379 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46380 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46381 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
46382 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46383 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46384 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46385 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46386 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
46387 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46388 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
46389 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46390 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46391 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46392 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46393 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46394 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46395 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
46396 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46397 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
46398 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46399 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46400 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46401 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46402 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46403 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46404 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
46405 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46406 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46407 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46408 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46409 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
46410 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46411 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
46412 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46413 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46414 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
46415 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46416 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46417 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46418 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
46419 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46420 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46421 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46422 { NULL
, NULL
, 0, NULL
}
46426 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46428 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46429 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46431 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46432 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46434 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46435 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46437 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46438 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46440 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46441 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46443 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
46444 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46446 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
46447 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46449 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46450 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46452 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
46453 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
46455 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
46456 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
46458 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
46459 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
46461 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46462 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46464 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46465 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46467 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
46468 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
46470 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46471 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46473 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46474 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46476 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
46477 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
46479 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
46480 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46482 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
46483 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46485 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
46486 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46488 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
46489 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46491 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
46492 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46494 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
46495 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
46497 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46498 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46500 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46501 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46503 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46504 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46506 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46507 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46509 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46510 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46512 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46513 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46515 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46516 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46518 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46519 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46521 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46522 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46524 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
46525 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
46527 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46528 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46530 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46531 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46533 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46534 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46536 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46537 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46539 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46540 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46542 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46543 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46545 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46546 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46548 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
46549 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
46551 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46552 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46554 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46555 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46557 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46558 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46560 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46561 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46563 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46564 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46566 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46567 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46569 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46570 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46572 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46573 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46575 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46576 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46578 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46579 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46581 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
46582 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46584 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
46585 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46587 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
46588 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46590 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
46591 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46593 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
46594 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46596 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
46597 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
46599 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
46600 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46602 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
46603 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
46605 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46606 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46608 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
46609 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
46611 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
46612 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46614 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
46615 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
46617 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
46618 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
46620 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
46621 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
46623 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
46624 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
46626 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
46627 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
46629 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
46630 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
46632 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
46633 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
46635 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
46636 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
46638 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
46639 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46641 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
46642 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
46644 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
46645 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
46647 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
46648 return (void *)((wxControl
*) ((wxPyControl
*) x
));
46650 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
46651 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
46653 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
46654 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
46656 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46657 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46659 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
46660 return (void *)((wxControl
*) ((wxGauge
*) x
));
46662 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
46663 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
46665 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
46666 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46668 static void *_p_wxListbookTo_p_wxControl(void *x
) {
46669 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
46671 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
46672 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
46674 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
46675 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
46677 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
46678 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
46680 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
46681 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
46683 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
46684 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
46686 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
46687 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
46689 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
46690 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46692 static void *_p_wxListViewTo_p_wxControl(void *x
) {
46693 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
46695 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
46696 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
46698 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
46699 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
46701 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
46702 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
46704 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
46705 return (void *)((wxControl
*) ((wxStaticText
*) x
));
46707 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
46708 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
46710 static void *_p_wxSliderTo_p_wxControl(void *x
) {
46711 return (void *)((wxControl
*) ((wxSlider
*) x
));
46713 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
46714 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
46716 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
46717 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
46719 static void *_p_wxButtonTo_p_wxControl(void *x
) {
46720 return (void *)((wxControl
*) ((wxButton
*) x
));
46722 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
46723 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
46725 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
46726 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46728 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
46729 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
46731 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
46732 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46734 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
46735 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46737 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
46738 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46740 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
46741 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46743 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
46744 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
46746 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
46747 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
46749 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
46750 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
46752 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
46753 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46755 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
46756 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46758 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
46759 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46761 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
46762 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
46764 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
46765 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46767 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
46768 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46770 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
46771 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46773 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
46774 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46776 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
46777 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46779 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
46780 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46782 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
46783 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46785 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
46786 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
46788 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
46789 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
46791 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
46792 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
46794 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
46795 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
46797 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46798 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46800 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
46801 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
46803 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46804 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46806 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46807 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46809 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
46810 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
46812 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
46813 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
46815 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46816 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46818 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
46819 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
46821 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
46822 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
46824 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
46825 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
46827 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46828 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46830 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46831 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46833 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
46834 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
46836 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
46837 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
46839 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
46840 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
46842 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
46843 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46845 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
46846 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
46848 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46849 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46851 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
46852 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
46854 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
46855 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
46857 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46858 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46860 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
46861 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
46863 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
46864 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
46866 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
46867 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46869 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
46870 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
46872 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
46873 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
46875 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
46876 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
46878 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
46879 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
46881 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
46882 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
46884 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
46885 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46887 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
46888 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
46890 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
46891 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
46893 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
46894 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
46896 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
46897 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
46899 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
46900 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
46902 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
46903 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
46905 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
46906 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
46908 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
46909 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
46911 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
46912 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
46914 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
46915 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
46917 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
46918 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
46920 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
46921 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
46923 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
46924 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
46926 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
46927 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46929 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
46930 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
46932 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
46933 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46935 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
46936 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46938 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
46939 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46941 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
46942 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46944 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
46945 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
46947 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
46948 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
46950 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
46951 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
46953 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
46954 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46956 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
46957 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46959 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
46960 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
46962 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46963 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46965 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
46966 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
46968 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46969 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46971 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46972 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46974 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46975 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46977 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46978 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46980 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
46981 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
46983 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46984 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46986 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46987 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46989 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46990 return (void *)((wxObject
*) ((wxSizer
*) x
));
46992 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46993 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46995 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
46996 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
46998 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
46999 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
47001 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
47002 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47004 static void *_p_wxEventTo_p_wxObject(void *x
) {
47005 return (void *)((wxObject
*) ((wxEvent
*) x
));
47007 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
47008 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
47010 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
47011 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
47013 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
47014 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
47016 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
47017 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
47019 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
47020 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
47022 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
47023 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
47025 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
47026 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47028 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
47029 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47031 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
47032 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
47034 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
47035 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
47037 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
47038 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
47040 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
47041 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
47043 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
47044 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
47046 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
47047 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
47049 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
47050 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
47052 static void *_p_wxControlTo_p_wxObject(void *x
) {
47053 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
47055 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
47056 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
47058 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
47059 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
47061 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
47062 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
47064 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
47065 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
47067 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
47068 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
47070 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
47071 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
47073 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
47074 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47076 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
47077 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47079 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
47080 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47082 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
47083 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47085 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
47086 return (void *)((wxObject
*) ((wxFSFile
*) x
));
47088 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
47089 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
47091 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
47092 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47094 static void *_p_wxListViewTo_p_wxObject(void *x
) {
47095 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47097 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
47098 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47100 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
47101 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
47103 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
47104 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47106 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
47107 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
47109 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
47110 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47112 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
47113 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47115 static void *_p_wxListbookTo_p_wxObject(void *x
) {
47116 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47118 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
47119 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
47121 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
47122 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
47124 static void *_p_wxSliderTo_p_wxObject(void *x
) {
47125 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
47127 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
47128 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
47130 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
47131 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
47133 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
47134 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
47136 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
47137 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47139 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
47140 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47142 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
47143 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
47145 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
47146 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
47148 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
47149 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
47151 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
47152 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
47154 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
47155 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
47157 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
47158 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
47160 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
47161 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
47163 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
47164 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
47166 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
47167 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
47169 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
47170 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
47172 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
47173 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
47175 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
47176 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
47178 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
47179 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
47181 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
47182 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
47184 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
47185 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
47187 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
47188 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
47190 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
47191 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
47193 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
47194 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
47196 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
47197 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
47199 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
47200 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
47202 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
47203 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
47205 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
47206 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
47208 static void *_p_wxListEventTo_p_wxObject(void *x
) {
47209 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
47211 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
47212 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47214 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
47215 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47217 static void *_p_wxButtonTo_p_wxObject(void *x
) {
47218 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
47220 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
47221 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47223 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
47224 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
47226 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
47227 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47229 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
47230 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
47232 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
47233 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
47235 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
47236 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
47238 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
47239 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
47241 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
47242 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
47244 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
47245 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
47247 static void *_p_wxListItemTo_p_wxObject(void *x
) {
47248 return (void *)((wxObject
*) ((wxListItem
*) x
));
47250 static void *_p_wxImageTo_p_wxObject(void *x
) {
47251 return (void *)((wxObject
*) ((wxImage
*) x
));
47253 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
47254 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
47256 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
47257 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47259 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
47260 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
47262 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
47263 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
47265 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
47266 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47268 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
47269 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47271 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
47272 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47274 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
47275 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47277 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
47278 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47280 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
47281 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47283 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
47284 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47286 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
47287 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
47289 static void *_p_wxWindowTo_p_wxObject(void *x
) {
47290 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
47292 static void *_p_wxMenuTo_p_wxObject(void *x
) {
47293 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
47295 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
47296 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
47298 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
47299 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
47301 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
47302 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47304 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
47305 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
47307 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
47308 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
47310 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
47311 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
47313 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
47314 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
47316 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
47317 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
47319 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
47320 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47322 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
47323 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47325 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
47326 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47328 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
47329 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
47331 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
47332 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
47334 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
47335 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
47337 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
47338 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
47340 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
47341 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47343 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
47344 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
47346 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
47347 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47349 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
47350 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47352 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
47353 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47355 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
47356 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47358 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
47359 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47361 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
47362 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
47364 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
47365 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
47367 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
47368 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47370 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47371 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47373 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47374 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47376 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47377 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47379 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
47380 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
47382 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
47383 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47385 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
47386 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
47388 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
47389 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
47391 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
47392 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
47394 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
47395 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47397 static void *_p_wxControlTo_p_wxWindow(void *x
) {
47398 return (void *)((wxWindow
*) ((wxControl
*) x
));
47400 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
47401 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
47403 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
47404 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
47406 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
47407 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
47409 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
47410 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47412 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
47413 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
47415 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
47416 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
47418 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
47419 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
47421 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
47422 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
47424 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
47425 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
47427 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
47428 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
47430 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
47431 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47433 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
47434 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47436 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
47437 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
47439 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
47440 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
47442 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
47443 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
47445 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
47446 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
47448 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
47449 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47451 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
47452 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47454 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
47455 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47457 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
47458 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47460 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
47461 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47463 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
47464 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
47466 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
47467 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
47469 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
47470 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
47472 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
47473 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
47475 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
47476 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
47478 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
47479 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47481 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
47482 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
47484 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
47485 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
47487 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
47488 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47490 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
47491 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47493 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
47494 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
47496 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
47497 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47499 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
47500 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47502 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
47503 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47505 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
47506 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47508 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
47509 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
47511 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47512 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47514 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47515 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47517 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47518 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47520 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47521 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47523 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47524 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47526 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
47527 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47529 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
47530 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47532 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
47533 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47535 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
47536 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47538 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
47539 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47541 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
47542 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47544 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
47545 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47547 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
47548 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
47550 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
47551 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47553 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
47554 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47556 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
47557 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47559 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
47560 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47562 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
47563 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47565 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
47566 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47568 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
47569 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47571 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
47572 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47574 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
47575 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
47577 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
47578 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47580 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
47581 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
47583 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
47584 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47586 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
47587 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47589 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
47590 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47592 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
47593 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
47595 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
47596 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47598 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
47599 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47601 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
47602 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
47604 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
47605 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47607 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
47608 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
47610 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
47611 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
47613 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
47614 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
47616 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
47617 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
47619 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
47620 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
47621 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};
47622 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
47623 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
47624 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
47625 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
47626 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
47627 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
47628 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
47629 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
47630 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
47631 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
47632 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
47633 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
47634 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
47635 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
47636 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
47637 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
47638 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
47639 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
47640 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
47641 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
47642 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
47643 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
47644 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
47645 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
47646 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
47647 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
47648 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
47649 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
47650 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
47651 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
47652 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
47653 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
47654 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
47655 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
47656 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
47657 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
47658 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
47659 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
47660 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
47661 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
47662 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
47663 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
47664 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
47665 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
47666 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
47667 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
47668 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
47669 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
47670 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
47671 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
47672 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
47673 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
47674 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
47675 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
47676 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
47677 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
47678 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
47679 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
47680 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
47681 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
47682 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
47683 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
47684 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
47685 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
47686 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
47687 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
47688 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
47689 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
47690 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
47691 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
47692 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
47693 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
47694 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
47695 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
47696 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
47697 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
47698 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
47699 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
47700 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
47701 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
47702 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
47703 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
47704 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
47705 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
47706 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
47707 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
47708 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
47709 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
47710 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
47711 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
47712 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
47713 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
47714 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
47715 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
47716 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
47717 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
47718 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
47719 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
47720 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
47721 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
47722 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
47723 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
47724 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
47725 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
47726 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
47727 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
47728 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
47729 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
47730 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
47731 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
47732 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
47733 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
47734 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
47735 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
47736 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
47737 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
47738 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
47739 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
47740 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
47741 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
47742 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
47743 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
47744 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
47745 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
47746 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
47747 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
47748 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
47749 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
47750 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
47751 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
47752 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
47753 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
47754 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
47755 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
47756 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
47757 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
47758 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
47759 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
47760 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
47761 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
47762 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
47763 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
47764 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
47765 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
47766 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
47767 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
47768 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
47769 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
47770 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
47771 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
47772 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
47773 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
47774 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
47775 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
47776 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
47777 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
47778 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
47779 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
47780 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
47781 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
47782 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
47783 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
47784 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
47785 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
47786 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
47787 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
47788 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
47789 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
47790 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
47791 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
47792 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
47794 static swig_type_info
*swig_type_initial
[] = {
47797 &_swigt__p_form_ops_t
,
47800 &_swigt__p_unsigned_char
,
47801 &_swigt__p_unsigned_int
,
47802 &_swigt__p_unsigned_long
,
47804 &_swigt__p_wxANIHandler
,
47805 &_swigt__p_wxAcceleratorTable
,
47806 &_swigt__p_wxActivateEvent
,
47807 &_swigt__p_wxArrayInt
,
47808 &_swigt__p_wxArrayString
,
47809 &_swigt__p_wxBMPHandler
,
47810 &_swigt__p_wxBitmap
,
47811 &_swigt__p_wxBitmapButton
,
47812 &_swigt__p_wxBookCtrlBase
,
47813 &_swigt__p_wxBookCtrlBaseEvent
,
47814 &_swigt__p_wxBoxSizer
,
47815 &_swigt__p_wxButton
,
47816 &_swigt__p_wxCURHandler
,
47817 &_swigt__p_wxCheckBox
,
47818 &_swigt__p_wxCheckListBox
,
47819 &_swigt__p_wxChildFocusEvent
,
47820 &_swigt__p_wxChoice
,
47821 &_swigt__p_wxChoicebook
,
47822 &_swigt__p_wxChoicebookEvent
,
47823 &_swigt__p_wxClipboardTextEvent
,
47824 &_swigt__p_wxCloseEvent
,
47825 &_swigt__p_wxColour
,
47826 &_swigt__p_wxColourPickerCtrl
,
47827 &_swigt__p_wxColourPickerEvent
,
47828 &_swigt__p_wxComboBox
,
47829 &_swigt__p_wxCommandEvent
,
47830 &_swigt__p_wxContextHelp
,
47831 &_swigt__p_wxContextHelpButton
,
47832 &_swigt__p_wxContextMenuEvent
,
47833 &_swigt__p_wxControl
,
47834 &_swigt__p_wxControlWithItems
,
47835 &_swigt__p_wxCursor
,
47837 &_swigt__p_wxDateEvent
,
47838 &_swigt__p_wxDatePickerCtrl
,
47839 &_swigt__p_wxDateTime
,
47840 &_swigt__p_wxDirFilterListCtrl
,
47841 &_swigt__p_wxDirPickerCtrl
,
47842 &_swigt__p_wxDisplayChangedEvent
,
47843 &_swigt__p_wxDropFilesEvent
,
47844 &_swigt__p_wxDuplexMode
,
47845 &_swigt__p_wxEraseEvent
,
47846 &_swigt__p_wxEvent
,
47847 &_swigt__p_wxEvtHandler
,
47848 &_swigt__p_wxFSFile
,
47849 &_swigt__p_wxFileDirPickerEvent
,
47850 &_swigt__p_wxFilePickerCtrl
,
47851 &_swigt__p_wxFileSystem
,
47852 &_swigt__p_wxFlexGridSizer
,
47853 &_swigt__p_wxFocusEvent
,
47855 &_swigt__p_wxFontPickerCtrl
,
47856 &_swigt__p_wxFontPickerEvent
,
47857 &_swigt__p_wxGBSizerItem
,
47858 &_swigt__p_wxGIFHandler
,
47859 &_swigt__p_wxGauge
,
47860 &_swigt__p_wxGenericDirCtrl
,
47861 &_swigt__p_wxGenericDragImage
,
47862 &_swigt__p_wxGridBagSizer
,
47863 &_swigt__p_wxGridSizer
,
47864 &_swigt__p_wxHelpEvent
,
47865 &_swigt__p_wxHelpProvider
,
47866 &_swigt__p_wxHyperlinkCtrl
,
47867 &_swigt__p_wxHyperlinkEvent
,
47868 &_swigt__p_wxICOHandler
,
47870 &_swigt__p_wxIconizeEvent
,
47871 &_swigt__p_wxIdleEvent
,
47872 &_swigt__p_wxImage
,
47873 &_swigt__p_wxImageHandler
,
47874 &_swigt__p_wxImageList
,
47875 &_swigt__p_wxIndividualLayoutConstraint
,
47876 &_swigt__p_wxInitDialogEvent
,
47877 &_swigt__p_wxItemContainer
,
47878 &_swigt__p_wxJPEGHandler
,
47879 &_swigt__p_wxKeyEvent
,
47880 &_swigt__p_wxLayoutConstraints
,
47881 &_swigt__p_wxListBox
,
47882 &_swigt__p_wxListEvent
,
47883 &_swigt__p_wxListItem
,
47884 &_swigt__p_wxListItemAttr
,
47885 &_swigt__p_wxListView
,
47886 &_swigt__p_wxListbook
,
47887 &_swigt__p_wxListbookEvent
,
47888 &_swigt__p_wxMaximizeEvent
,
47889 &_swigt__p_wxMemoryDC
,
47891 &_swigt__p_wxMenuBar
,
47892 &_swigt__p_wxMenuEvent
,
47893 &_swigt__p_wxMenuItem
,
47894 &_swigt__p_wxMouseCaptureChangedEvent
,
47895 &_swigt__p_wxMouseEvent
,
47896 &_swigt__p_wxMoveEvent
,
47897 &_swigt__p_wxNavigationKeyEvent
,
47898 &_swigt__p_wxNcPaintEvent
,
47899 &_swigt__p_wxNotebook
,
47900 &_swigt__p_wxNotebookEvent
,
47901 &_swigt__p_wxNotifyEvent
,
47902 &_swigt__p_wxObject
,
47903 &_swigt__p_wxPCXHandler
,
47904 &_swigt__p_wxPNGHandler
,
47905 &_swigt__p_wxPNMHandler
,
47906 &_swigt__p_wxPaintEvent
,
47907 &_swigt__p_wxPaletteChangedEvent
,
47908 &_swigt__p_wxPaperSize
,
47909 &_swigt__p_wxPickerBase
,
47910 &_swigt__p_wxPoint
,
47911 &_swigt__p_wxPyApp
,
47912 &_swigt__p_wxPyCommandEvent
,
47913 &_swigt__p_wxPyControl
,
47914 &_swigt__p_wxPyEvent
,
47915 &_swigt__p_wxPyImageHandler
,
47916 &_swigt__p_wxPyListCtrl
,
47917 &_swigt__p_wxPySizer
,
47918 &_swigt__p_wxPyTreeCtrl
,
47919 &_swigt__p_wxPyTreeItemData
,
47920 &_swigt__p_wxPyValidator
,
47921 &_swigt__p_wxQueryNewPaletteEvent
,
47922 &_swigt__p_wxRadioBox
,
47923 &_swigt__p_wxRadioButton
,
47925 &_swigt__p_wxScrollBar
,
47926 &_swigt__p_wxScrollEvent
,
47927 &_swigt__p_wxScrollWinEvent
,
47928 &_swigt__p_wxSetCursorEvent
,
47929 &_swigt__p_wxShowEvent
,
47930 &_swigt__p_wxSimpleHelpProvider
,
47932 &_swigt__p_wxSizeEvent
,
47933 &_swigt__p_wxSizer
,
47934 &_swigt__p_wxSizerItem
,
47935 &_swigt__p_wxSlider
,
47936 &_swigt__p_wxSpinButton
,
47937 &_swigt__p_wxSpinCtrl
,
47938 &_swigt__p_wxSpinEvent
,
47939 &_swigt__p_wxStaticBitmap
,
47940 &_swigt__p_wxStaticBox
,
47941 &_swigt__p_wxStaticBoxSizer
,
47942 &_swigt__p_wxStaticLine
,
47943 &_swigt__p_wxStaticText
,
47944 &_swigt__p_wxStdDialogButtonSizer
,
47945 &_swigt__p_wxString
,
47946 &_swigt__p_wxSysColourChangedEvent
,
47947 &_swigt__p_wxTIFFHandler
,
47948 &_swigt__p_wxTextAttr
,
47949 &_swigt__p_wxTextCtrl
,
47950 &_swigt__p_wxTextUrlEvent
,
47951 &_swigt__p_wxToggleButton
,
47952 &_swigt__p_wxToolBar
,
47953 &_swigt__p_wxToolBarBase
,
47954 &_swigt__p_wxToolBarToolBase
,
47955 &_swigt__p_wxToolbook
,
47956 &_swigt__p_wxToolbookEvent
,
47957 &_swigt__p_wxTreeEvent
,
47958 &_swigt__p_wxTreeItemId
,
47959 &_swigt__p_wxTreebook
,
47960 &_swigt__p_wxTreebookEvent
,
47961 &_swigt__p_wxUpdateUIEvent
,
47962 &_swigt__p_wxValidator
,
47963 &_swigt__p_wxVisualAttributes
,
47964 &_swigt__p_wxWindow
,
47965 &_swigt__p_wxWindowBase
,
47966 &_swigt__p_wxWindowCreateEvent
,
47967 &_swigt__p_wxWindowDestroyEvent
,
47968 &_swigt__p_wxXPMHandler
,
47971 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
47972 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
47973 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
47974 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
47975 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
47976 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
47977 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
47978 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
47979 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
47980 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
47981 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
47982 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
47983 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}};
47984 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}};
47985 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}};
47986 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}};
47987 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
47988 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
47989 static swig_cast_info _swigc__p_wxChoice
[] = { {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxChoice
, 0, 0, 0},{0, 0, 0, 0}};
47990 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
47991 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47992 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
47993 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47994 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47995 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
47996 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47997 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
47998 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
47999 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
48000 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
48001 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
48002 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
48003 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
48004 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
48005 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_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}};
48006 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
48007 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
48008 static swig_cast_info _swigc__p_wxControl
[] = { {&_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_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}};
48009 static swig_cast_info _swigc__p_wxControlWithItems
[] = { {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxControlWithItems
, 0, 0}, {&_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}};
48010 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
48011 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
48012 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48013 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
48014 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48015 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48016 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
48017 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
48018 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48019 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48020 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
48021 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
48022 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48023 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
48024 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
48025 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48026 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48027 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
48028 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48029 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
48030 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
48031 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
48032 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48033 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48034 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48035 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48036 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
48037 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
48038 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
48039 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48040 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
48041 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_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_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 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_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_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}};
48042 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
48043 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
48044 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
48045 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
48046 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_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_wxToolbook
, _p_wxToolbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_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_wxStaticLine
, _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 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_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_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}};
48047 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48048 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48049 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
48050 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48051 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48052 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
48053 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48054 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
48055 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
48056 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}};
48057 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48058 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
48059 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
48060 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
48061 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}};
48062 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48063 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}};
48064 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
48065 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
48066 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
48067 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
48068 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
48069 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48070 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
48071 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48072 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
48073 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48074 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}};
48075 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
48076 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
48077 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
48078 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
48079 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48080 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48081 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48082 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
48083 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
48084 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
48085 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
48086 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
48087 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
48088 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
48089 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
48090 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
48091 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
48092 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
48093 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
48094 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
48095 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
48096 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
48097 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
48098 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
48099 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
48100 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
48101 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
48102 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
48103 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
48104 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
48105 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_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_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_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_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_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_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_wxListEvent
, _p_wxListEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_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_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_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_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_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_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_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_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}};
48106 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
48107 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}};
48108 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
48109 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
48110 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}};
48111 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48112 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
48113 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
48114 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
48115 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
48116 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
48117 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
48118 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
48119 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
48120 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
48121 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48122 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
48123 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
48124 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
48125 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
48126 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
48127 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
48128 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
48129 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48130 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
48131 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
48132 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
48133 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}};
48134 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
48135 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
48136 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48137 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48138 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
48139 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
48140 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48141 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}};
48142 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
48143 static swig_cast_info _swigc__p_wxWindow
[] = { {&_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_wxToolbook
, _p_wxToolbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_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_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_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_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}};
48144 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
48146 static swig_cast_info
*swig_cast_initial
[] = {
48149 _swigc__p_form_ops_t
,
48152 _swigc__p_unsigned_char
,
48153 _swigc__p_unsigned_int
,
48154 _swigc__p_unsigned_long
,
48156 _swigc__p_wxANIHandler
,
48157 _swigc__p_wxAcceleratorTable
,
48158 _swigc__p_wxActivateEvent
,
48159 _swigc__p_wxArrayInt
,
48160 _swigc__p_wxArrayString
,
48161 _swigc__p_wxBMPHandler
,
48162 _swigc__p_wxBitmap
,
48163 _swigc__p_wxBitmapButton
,
48164 _swigc__p_wxBookCtrlBase
,
48165 _swigc__p_wxBookCtrlBaseEvent
,
48166 _swigc__p_wxBoxSizer
,
48167 _swigc__p_wxButton
,
48168 _swigc__p_wxCURHandler
,
48169 _swigc__p_wxCheckBox
,
48170 _swigc__p_wxCheckListBox
,
48171 _swigc__p_wxChildFocusEvent
,
48172 _swigc__p_wxChoice
,
48173 _swigc__p_wxChoicebook
,
48174 _swigc__p_wxChoicebookEvent
,
48175 _swigc__p_wxClipboardTextEvent
,
48176 _swigc__p_wxCloseEvent
,
48177 _swigc__p_wxColour
,
48178 _swigc__p_wxColourPickerCtrl
,
48179 _swigc__p_wxColourPickerEvent
,
48180 _swigc__p_wxComboBox
,
48181 _swigc__p_wxCommandEvent
,
48182 _swigc__p_wxContextHelp
,
48183 _swigc__p_wxContextHelpButton
,
48184 _swigc__p_wxContextMenuEvent
,
48185 _swigc__p_wxControl
,
48186 _swigc__p_wxControlWithItems
,
48187 _swigc__p_wxCursor
,
48189 _swigc__p_wxDateEvent
,
48190 _swigc__p_wxDatePickerCtrl
,
48191 _swigc__p_wxDateTime
,
48192 _swigc__p_wxDirFilterListCtrl
,
48193 _swigc__p_wxDirPickerCtrl
,
48194 _swigc__p_wxDisplayChangedEvent
,
48195 _swigc__p_wxDropFilesEvent
,
48196 _swigc__p_wxDuplexMode
,
48197 _swigc__p_wxEraseEvent
,
48199 _swigc__p_wxEvtHandler
,
48200 _swigc__p_wxFSFile
,
48201 _swigc__p_wxFileDirPickerEvent
,
48202 _swigc__p_wxFilePickerCtrl
,
48203 _swigc__p_wxFileSystem
,
48204 _swigc__p_wxFlexGridSizer
,
48205 _swigc__p_wxFocusEvent
,
48207 _swigc__p_wxFontPickerCtrl
,
48208 _swigc__p_wxFontPickerEvent
,
48209 _swigc__p_wxGBSizerItem
,
48210 _swigc__p_wxGIFHandler
,
48212 _swigc__p_wxGenericDirCtrl
,
48213 _swigc__p_wxGenericDragImage
,
48214 _swigc__p_wxGridBagSizer
,
48215 _swigc__p_wxGridSizer
,
48216 _swigc__p_wxHelpEvent
,
48217 _swigc__p_wxHelpProvider
,
48218 _swigc__p_wxHyperlinkCtrl
,
48219 _swigc__p_wxHyperlinkEvent
,
48220 _swigc__p_wxICOHandler
,
48222 _swigc__p_wxIconizeEvent
,
48223 _swigc__p_wxIdleEvent
,
48225 _swigc__p_wxImageHandler
,
48226 _swigc__p_wxImageList
,
48227 _swigc__p_wxIndividualLayoutConstraint
,
48228 _swigc__p_wxInitDialogEvent
,
48229 _swigc__p_wxItemContainer
,
48230 _swigc__p_wxJPEGHandler
,
48231 _swigc__p_wxKeyEvent
,
48232 _swigc__p_wxLayoutConstraints
,
48233 _swigc__p_wxListBox
,
48234 _swigc__p_wxListEvent
,
48235 _swigc__p_wxListItem
,
48236 _swigc__p_wxListItemAttr
,
48237 _swigc__p_wxListView
,
48238 _swigc__p_wxListbook
,
48239 _swigc__p_wxListbookEvent
,
48240 _swigc__p_wxMaximizeEvent
,
48241 _swigc__p_wxMemoryDC
,
48243 _swigc__p_wxMenuBar
,
48244 _swigc__p_wxMenuEvent
,
48245 _swigc__p_wxMenuItem
,
48246 _swigc__p_wxMouseCaptureChangedEvent
,
48247 _swigc__p_wxMouseEvent
,
48248 _swigc__p_wxMoveEvent
,
48249 _swigc__p_wxNavigationKeyEvent
,
48250 _swigc__p_wxNcPaintEvent
,
48251 _swigc__p_wxNotebook
,
48252 _swigc__p_wxNotebookEvent
,
48253 _swigc__p_wxNotifyEvent
,
48254 _swigc__p_wxObject
,
48255 _swigc__p_wxPCXHandler
,
48256 _swigc__p_wxPNGHandler
,
48257 _swigc__p_wxPNMHandler
,
48258 _swigc__p_wxPaintEvent
,
48259 _swigc__p_wxPaletteChangedEvent
,
48260 _swigc__p_wxPaperSize
,
48261 _swigc__p_wxPickerBase
,
48264 _swigc__p_wxPyCommandEvent
,
48265 _swigc__p_wxPyControl
,
48266 _swigc__p_wxPyEvent
,
48267 _swigc__p_wxPyImageHandler
,
48268 _swigc__p_wxPyListCtrl
,
48269 _swigc__p_wxPySizer
,
48270 _swigc__p_wxPyTreeCtrl
,
48271 _swigc__p_wxPyTreeItemData
,
48272 _swigc__p_wxPyValidator
,
48273 _swigc__p_wxQueryNewPaletteEvent
,
48274 _swigc__p_wxRadioBox
,
48275 _swigc__p_wxRadioButton
,
48277 _swigc__p_wxScrollBar
,
48278 _swigc__p_wxScrollEvent
,
48279 _swigc__p_wxScrollWinEvent
,
48280 _swigc__p_wxSetCursorEvent
,
48281 _swigc__p_wxShowEvent
,
48282 _swigc__p_wxSimpleHelpProvider
,
48284 _swigc__p_wxSizeEvent
,
48286 _swigc__p_wxSizerItem
,
48287 _swigc__p_wxSlider
,
48288 _swigc__p_wxSpinButton
,
48289 _swigc__p_wxSpinCtrl
,
48290 _swigc__p_wxSpinEvent
,
48291 _swigc__p_wxStaticBitmap
,
48292 _swigc__p_wxStaticBox
,
48293 _swigc__p_wxStaticBoxSizer
,
48294 _swigc__p_wxStaticLine
,
48295 _swigc__p_wxStaticText
,
48296 _swigc__p_wxStdDialogButtonSizer
,
48297 _swigc__p_wxString
,
48298 _swigc__p_wxSysColourChangedEvent
,
48299 _swigc__p_wxTIFFHandler
,
48300 _swigc__p_wxTextAttr
,
48301 _swigc__p_wxTextCtrl
,
48302 _swigc__p_wxTextUrlEvent
,
48303 _swigc__p_wxToggleButton
,
48304 _swigc__p_wxToolBar
,
48305 _swigc__p_wxToolBarBase
,
48306 _swigc__p_wxToolBarToolBase
,
48307 _swigc__p_wxToolbook
,
48308 _swigc__p_wxToolbookEvent
,
48309 _swigc__p_wxTreeEvent
,
48310 _swigc__p_wxTreeItemId
,
48311 _swigc__p_wxTreebook
,
48312 _swigc__p_wxTreebookEvent
,
48313 _swigc__p_wxUpdateUIEvent
,
48314 _swigc__p_wxValidator
,
48315 _swigc__p_wxVisualAttributes
,
48316 _swigc__p_wxWindow
,
48317 _swigc__p_wxWindowBase
,
48318 _swigc__p_wxWindowCreateEvent
,
48319 _swigc__p_wxWindowDestroyEvent
,
48320 _swigc__p_wxXPMHandler
,
48324 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
48326 static swig_const_info swig_const_table
[] = {
48327 {0, 0, 0, 0.0, 0, 0}};
48332 /* -----------------------------------------------------------------------------
48333 * Type initialization:
48334 * This problem is tough by the requirement that no dynamic
48335 * memory is used. Also, since swig_type_info structures store pointers to
48336 * swig_cast_info structures and swig_cast_info structures store pointers back
48337 * to swig_type_info structures, we need some lookup code at initialization.
48338 * The idea is that swig generates all the structures that are needed.
48339 * The runtime then collects these partially filled structures.
48340 * The SWIG_InitializeModule function takes these initial arrays out of
48341 * swig_module, and does all the lookup, filling in the swig_module.types
48342 * array with the correct data and linking the correct swig_cast_info
48343 * structures together.
48345 * The generated swig_type_info structures are assigned staticly to an initial
48346 * array. We just loop though that array, and handle each type individually.
48347 * First we lookup if this type has been already loaded, and if so, use the
48348 * loaded structure instead of the generated one. Then we have to fill in the
48349 * cast linked list. The cast data is initially stored in something like a
48350 * two-dimensional array. Each row corresponds to a type (there are the same
48351 * number of rows as there are in the swig_type_initial array). Each entry in
48352 * a column is one of the swig_cast_info structures for that type.
48353 * The cast_initial array is actually an array of arrays, because each row has
48354 * a variable number of columns. So to actually build the cast linked list,
48355 * we find the array of casts associated with the type, and loop through it
48356 * adding the casts to the list. The one last trick we need to do is making
48357 * sure the type pointer in the swig_cast_info struct is correct.
48359 * First off, we lookup the cast->type name to see if it is already loaded.
48360 * There are three cases to handle:
48361 * 1) If the cast->type has already been loaded AND the type we are adding
48362 * casting info to has not been loaded (it is in this module), THEN we
48363 * replace the cast->type pointer with the type pointer that has already
48365 * 2) If BOTH types (the one we are adding casting info to, and the
48366 * cast->type) are loaded, THEN the cast info has already been loaded by
48367 * the previous module so we just ignore it.
48368 * 3) Finally, if cast->type has not already been loaded, then we add that
48369 * swig_cast_info to the linked list (because the cast->type) pointer will
48371 * ----------------------------------------------------------------------------- */
48381 #define SWIGRUNTIME_DEBUG
48385 SWIG_InitializeModule(void *clientdata
) {
48387 swig_module_info
*module_head
;
48388 static int init_run
= 0;
48390 clientdata
= clientdata
;
48392 if (init_run
) return;
48395 /* Initialize the swig_module */
48396 swig_module
.type_initial
= swig_type_initial
;
48397 swig_module
.cast_initial
= swig_cast_initial
;
48399 /* Try and load any already created modules */
48400 module_head
= SWIG_GetModule(clientdata
);
48402 swig_module
.next
= module_head
->next
;
48403 module_head
->next
= &swig_module
;
48405 /* This is the first module loaded */
48406 swig_module
.next
= &swig_module
;
48407 SWIG_SetModule(clientdata
, &swig_module
);
48410 /* Now work on filling in swig_module.types */
48411 #ifdef SWIGRUNTIME_DEBUG
48412 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
48414 for (i
= 0; i
< swig_module
.size
; ++i
) {
48415 swig_type_info
*type
= 0;
48416 swig_type_info
*ret
;
48417 swig_cast_info
*cast
;
48419 #ifdef SWIGRUNTIME_DEBUG
48420 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
48423 /* if there is another module already loaded */
48424 if (swig_module
.next
!= &swig_module
) {
48425 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
48428 /* Overwrite clientdata field */
48429 #ifdef SWIGRUNTIME_DEBUG
48430 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
48432 if (swig_module
.type_initial
[i
]->clientdata
) {
48433 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
48434 #ifdef SWIGRUNTIME_DEBUG
48435 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
48439 type
= swig_module
.type_initial
[i
];
48442 /* Insert casting types */
48443 cast
= swig_module
.cast_initial
[i
];
48444 while (cast
->type
) {
48445 /* Don't need to add information already in the list */
48447 #ifdef SWIGRUNTIME_DEBUG
48448 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
48450 if (swig_module
.next
!= &swig_module
) {
48451 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
48452 #ifdef SWIGRUNTIME_DEBUG
48453 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
48457 if (type
== swig_module
.type_initial
[i
]) {
48458 #ifdef SWIGRUNTIME_DEBUG
48459 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
48464 /* Check for casting already in the list */
48465 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
48466 #ifdef SWIGRUNTIME_DEBUG
48467 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
48469 if (!ocast
) ret
= 0;
48474 #ifdef SWIGRUNTIME_DEBUG
48475 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
48478 type
->cast
->prev
= cast
;
48479 cast
->next
= type
->cast
;
48485 /* Set entry in modules->types array equal to the type */
48486 swig_module
.types
[i
] = type
;
48488 swig_module
.types
[i
] = 0;
48490 #ifdef SWIGRUNTIME_DEBUG
48491 printf("**** SWIG_InitializeModule: Cast List ******\n");
48492 for (i
= 0; i
< swig_module
.size
; ++i
) {
48494 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
48495 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
48496 while (cast
->type
) {
48497 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
48501 printf("---- Total casts: %d\n",j
);
48503 printf("**** SWIG_InitializeModule: Cast List ******\n");
48507 /* This function will propagate the clientdata field of type to
48508 * any new swig_type_info structures that have been added into the list
48509 * of equivalent types. It is like calling
48510 * SWIG_TypeClientData(type, clientdata) a second time.
48513 SWIG_PropagateClientData(void) {
48515 swig_cast_info
*equiv
;
48516 static int init_run
= 0;
48518 if (init_run
) return;
48521 for (i
= 0; i
< swig_module
.size
; i
++) {
48522 if (swig_module
.types
[i
]->clientdata
) {
48523 equiv
= swig_module
.types
[i
]->cast
;
48525 if (!equiv
->converter
) {
48526 if (equiv
->type
&& !equiv
->type
->clientdata
)
48527 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
48529 equiv
= equiv
->next
;
48549 /* Python-specific SWIG API */
48550 #define SWIG_newvarlink() SWIG_Python_newvarlink()
48551 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
48552 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
48554 /* -----------------------------------------------------------------------------
48555 * global variable support code.
48556 * ----------------------------------------------------------------------------- */
48558 typedef struct swig_globalvar
{
48559 char *name
; /* Name of global variable */
48560 PyObject
*(*get_attr
)(void); /* Return the current value */
48561 int (*set_attr
)(PyObject
*); /* Set the value */
48562 struct swig_globalvar
*next
;
48565 typedef struct swig_varlinkobject
{
48567 swig_globalvar
*vars
;
48568 } swig_varlinkobject
;
48570 SWIGINTERN PyObject
*
48571 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
48572 return PyString_FromString("<Swig global variables>");
48575 SWIGINTERN PyObject
*
48576 swig_varlink_str(swig_varlinkobject
*v
) {
48577 PyObject
*str
= PyString_FromString("(");
48578 swig_globalvar
*var
;
48579 for (var
= v
->vars
; var
; var
=var
->next
) {
48580 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
48581 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
48583 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
48588 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
48589 PyObject
*str
= swig_varlink_str(v
);
48590 fprintf(fp
,"Swig global variables ");
48591 fprintf(fp
,"%s\n", PyString_AsString(str
));
48597 swig_varlink_dealloc(swig_varlinkobject
*v
) {
48598 swig_globalvar
*var
= v
->vars
;
48600 swig_globalvar
*n
= var
->next
;
48607 SWIGINTERN PyObject
*
48608 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
48609 PyObject
*res
= NULL
;
48610 swig_globalvar
*var
= v
->vars
;
48612 if (strcmp(var
->name
,n
) == 0) {
48613 res
= (*var
->get_attr
)();
48618 if (res
== NULL
&& !PyErr_Occurred()) {
48619 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48625 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
48627 swig_globalvar
*var
= v
->vars
;
48629 if (strcmp(var
->name
,n
) == 0) {
48630 res
= (*var
->set_attr
)(p
);
48635 if (res
== 1 && !PyErr_Occurred()) {
48636 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48641 SWIGINTERN PyTypeObject
*
48642 swig_varlink_type(void) {
48643 static char varlink__doc__
[] = "Swig var link object";
48644 static PyTypeObject varlink_type
;
48645 static int type_init
= 0;
48647 const PyTypeObject tmp
48649 PyObject_HEAD_INIT(NULL
)
48650 0, /* Number of items in variable part (ob_size) */
48651 (char *)"swigvarlink", /* Type name (tp_name) */
48652 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
48653 0, /* Itemsize (tp_itemsize) */
48654 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
48655 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
48656 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
48657 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
48658 0, /* tp_compare */
48659 (reprfunc
) swig_varlink_repr
, /* tp_repr */
48660 0, /* tp_as_number */
48661 0, /* tp_as_sequence */
48662 0, /* tp_as_mapping */
48665 (reprfunc
)swig_varlink_str
, /* tp_str */
48666 0, /* tp_getattro */
48667 0, /* tp_setattro */
48668 0, /* tp_as_buffer */
48670 varlink__doc__
, /* tp_doc */
48671 0, /* tp_traverse */
48673 0, /* tp_richcompare */
48674 0, /* tp_weaklistoffset */
48675 #if PY_VERSION_HEX >= 0x02020000
48676 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
48678 #if PY_VERSION_HEX >= 0x02030000
48681 #ifdef COUNT_ALLOCS
48682 0,0,0,0 /* tp_alloc -> tp_next */
48685 varlink_type
= tmp
;
48686 varlink_type
.ob_type
= &PyType_Type
;
48689 return &varlink_type
;
48692 /* Create a variable linking object for use later */
48693 SWIGINTERN PyObject
*
48694 SWIG_Python_newvarlink(void) {
48695 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
48699 return ((PyObject
*) result
);
48703 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
48704 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
48705 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
48707 size_t size
= strlen(name
)+1;
48708 gv
->name
= (char *)malloc(size
);
48710 strncpy(gv
->name
,name
,size
);
48711 gv
->get_attr
= get_attr
;
48712 gv
->set_attr
= set_attr
;
48713 gv
->next
= v
->vars
;
48719 SWIGINTERN PyObject
*
48721 static PyObject
*_SWIG_globals
= 0;
48722 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
48723 return _SWIG_globals
;
48726 /* -----------------------------------------------------------------------------
48727 * constants/methods manipulation
48728 * ----------------------------------------------------------------------------- */
48730 /* Install Constants */
48732 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
48735 for (i
= 0; constants
[i
].type
; ++i
) {
48736 switch(constants
[i
].type
) {
48737 case SWIG_PY_POINTER
:
48738 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
48740 case SWIG_PY_BINARY
:
48741 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
48748 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
48754 /* -----------------------------------------------------------------------------*/
48755 /* Fix SwigMethods to carry the callback ptrs when needed */
48756 /* -----------------------------------------------------------------------------*/
48759 SWIG_Python_FixMethods(PyMethodDef
*methods
,
48760 swig_const_info
*const_table
,
48761 swig_type_info
**types
,
48762 swig_type_info
**types_initial
) {
48764 for (i
= 0; methods
[i
].ml_name
; ++i
) {
48765 const char *c
= methods
[i
].ml_doc
;
48766 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
48768 swig_const_info
*ci
= 0;
48769 const char *name
= c
+ 10;
48770 for (j
= 0; const_table
[j
].type
; ++j
) {
48771 if (strncmp(const_table
[j
].name
, name
,
48772 strlen(const_table
[j
].name
)) == 0) {
48773 ci
= &(const_table
[j
]);
48778 size_t shift
= (ci
->ptype
) - types
;
48779 swig_type_info
*ty
= types_initial
[shift
];
48780 size_t ldoc
= (c
- methods
[i
].ml_doc
);
48781 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
48782 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
48785 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
48787 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
48789 strncpy(buff
, "swig_ptr: ", 10);
48791 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
48792 methods
[i
].ml_doc
= ndoc
;
48804 /* -----------------------------------------------------------------------------*
48805 * Partial Init method
48806 * -----------------------------------------------------------------------------*/
48811 SWIGEXPORT
void SWIG_init(void) {
48814 /* Fix SwigMethods to carry the callback ptrs when needed */
48815 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
48817 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
48818 d
= PyModule_GetDict(m
);
48820 SWIG_InitializeModule(0);
48821 SWIG_InstallConstants(d
,swig_const_table
);
48824 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
48825 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
48826 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
48827 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
48828 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
48829 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
48830 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
48831 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
48832 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
48833 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
48834 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
48835 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
48836 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
48837 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
48838 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
48839 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
48840 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
48841 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
48842 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
48843 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
48844 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
48845 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
48846 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
48847 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
48848 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
48849 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
48850 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
48851 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
48852 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
48853 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
48854 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
48855 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
48856 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
48857 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
48858 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
48859 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
48860 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
48861 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
48862 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
48863 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
48864 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
48865 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
48866 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
48867 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
48868 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
48869 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
48870 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
48871 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
48872 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
48873 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
48874 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
48875 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
48876 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
48877 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
48878 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
48879 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
48880 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
48881 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
48882 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
48883 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
48884 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
48885 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
48886 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
48887 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
48888 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
48889 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
48890 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
48891 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
48892 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
48893 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
48894 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
48895 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
48896 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
48897 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
48898 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
48899 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
48900 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
48901 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
48902 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
48903 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
48904 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
48905 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
48906 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
48907 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
48908 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
48909 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
48910 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
48911 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
48912 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
48913 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
48914 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
48915 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
48916 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
48917 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
48918 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
48919 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
48920 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
48921 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
48922 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
48923 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
48924 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
48925 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
48926 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
48927 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
48928 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
48929 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
48930 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
48931 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
48932 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
48933 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
48934 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
48935 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
48936 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
48937 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
48938 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
48939 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
48940 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
48941 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
48942 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
48943 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
48944 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
48945 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
48946 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
48947 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
48948 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
48949 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
48950 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
48951 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
48952 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
48953 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
48954 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
48955 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
48956 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
48957 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
48958 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
48959 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
48960 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
48961 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
48962 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
48963 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
48964 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
48965 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
48966 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
48967 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
48968 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
48969 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
48970 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
48971 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
48972 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
48973 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
48974 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
48975 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
48976 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
48977 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
48978 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
48979 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
48980 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
48981 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
48982 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
48983 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
48984 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
48985 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
48986 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
48987 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
48988 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
48989 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
48990 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
48991 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
48992 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
48993 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
48994 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
48995 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
48996 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
48997 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
48998 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
48999 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
49000 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
49001 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
49002 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
49003 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
49004 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
49005 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
49006 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
49007 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
49008 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
49009 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
49010 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
49011 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
49012 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
49013 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
49014 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
49015 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
49016 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
49017 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
49018 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
49019 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
49020 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
49021 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
49022 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
49023 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
49024 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
49025 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
49026 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
49027 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
49028 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
49029 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
49030 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
49031 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
49032 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
49033 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
49034 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
49035 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
49036 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
49037 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
49038 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
49039 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
49040 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
49041 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
49042 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
49043 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
49044 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
49045 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
49046 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
49047 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
49048 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
49049 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
49050 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
49051 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
49052 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
49053 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
49054 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
49055 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
49056 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
49057 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
49058 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
49059 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
49060 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
49061 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
49062 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
49063 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
49064 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
49065 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
49066 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
49067 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
49068 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
49069 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
49070 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
49071 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
49072 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
49073 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
49074 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
49075 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
49076 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
49077 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
49078 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
49080 // Map renamed classes back to their common name for OOR
49081 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
49083 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
49084 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
49085 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
49086 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
49087 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
49088 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
49089 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
49090 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
49091 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
49092 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
49093 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
49094 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
49095 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
49096 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
49097 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
49098 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
49099 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
49100 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
49101 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
49102 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
49103 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
49104 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
49105 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
49106 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
49107 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
49108 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
49109 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
49110 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
49111 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
49112 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
49113 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
49114 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
49115 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
49116 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
49117 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
49118 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
49119 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
49120 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
49121 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
49122 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
49123 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
49124 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
49125 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
49126 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
49127 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
49128 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
49129 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
49130 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
49131 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
49132 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
49133 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
49134 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
49135 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
49136 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
49137 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
49138 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
49140 // Map renamed classes back to their common name for OOR
49141 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
49142 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
49144 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
49145 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
49146 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
49147 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
49148 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
49149 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
49150 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
49151 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
49152 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
49153 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
49154 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
49155 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
49156 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
49158 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
49160 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
49161 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
49162 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
49163 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
49164 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
49165 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
49166 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
49167 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
49168 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
49169 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
49170 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
49171 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
49172 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
49173 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
49174 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
49175 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
49176 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
49177 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
49178 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
49179 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
49180 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
49181 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
49182 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
49183 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
49184 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
49185 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
49186 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
49187 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
49188 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
49189 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
49190 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
49191 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
49192 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
49193 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
49194 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
49195 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
49196 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
49197 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
49198 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
49199 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));