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 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_bool swig_types[0]
2463 #define SWIGTYPE_p_char swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_long swig_types[4]
2467 #define SWIGTYPE_p_unsigned_char swig_types[5]
2468 #define SWIGTYPE_p_unsigned_int swig_types[6]
2469 #define SWIGTYPE_p_unsigned_long swig_types[7]
2470 #define SWIGTYPE_p_void swig_types[8]
2471 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2472 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2473 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2474 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2475 #define SWIGTYPE_p_wxArrayString swig_types[13]
2476 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2477 #define SWIGTYPE_p_wxBitmap swig_types[15]
2478 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2479 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2480 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2481 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2482 #define SWIGTYPE_p_wxButton swig_types[20]
2483 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2484 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2485 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2486 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2487 #define SWIGTYPE_p_wxChoice swig_types[25]
2488 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2489 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2490 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2491 #define SWIGTYPE_p_wxCloseEvent swig_types[29]
2492 #define SWIGTYPE_p_wxColour swig_types[30]
2493 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[31]
2494 #define SWIGTYPE_p_wxColourPickerEvent swig_types[32]
2495 #define SWIGTYPE_p_wxComboBox swig_types[33]
2496 #define SWIGTYPE_p_wxCommandEvent swig_types[34]
2497 #define SWIGTYPE_p_wxContextHelp swig_types[35]
2498 #define SWIGTYPE_p_wxContextHelpButton swig_types[36]
2499 #define SWIGTYPE_p_wxContextMenuEvent swig_types[37]
2500 #define SWIGTYPE_p_wxControl swig_types[38]
2501 #define SWIGTYPE_p_wxControlWithItems swig_types[39]
2502 #define SWIGTYPE_p_wxCursor swig_types[40]
2503 #define SWIGTYPE_p_wxDC swig_types[41]
2504 #define SWIGTYPE_p_wxDateEvent swig_types[42]
2505 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[43]
2506 #define SWIGTYPE_p_wxDateTime swig_types[44]
2507 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[45]
2508 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[46]
2509 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[47]
2510 #define SWIGTYPE_p_wxDropFilesEvent swig_types[48]
2511 #define SWIGTYPE_p_wxDuplexMode swig_types[49]
2512 #define SWIGTYPE_p_wxEraseEvent swig_types[50]
2513 #define SWIGTYPE_p_wxEvent swig_types[51]
2514 #define SWIGTYPE_p_wxEvtHandler swig_types[52]
2515 #define SWIGTYPE_p_wxFSFile swig_types[53]
2516 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[54]
2517 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[55]
2518 #define SWIGTYPE_p_wxFileSystem swig_types[56]
2519 #define SWIGTYPE_p_wxFlexGridSizer swig_types[57]
2520 #define SWIGTYPE_p_wxFocusEvent swig_types[58]
2521 #define SWIGTYPE_p_wxFont swig_types[59]
2522 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[60]
2523 #define SWIGTYPE_p_wxFontPickerEvent swig_types[61]
2524 #define SWIGTYPE_p_wxGBSizerItem swig_types[62]
2525 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2526 #define SWIGTYPE_p_wxGauge swig_types[64]
2527 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[65]
2528 #define SWIGTYPE_p_wxGenericDragImage swig_types[66]
2529 #define SWIGTYPE_p_wxGridBagSizer swig_types[67]
2530 #define SWIGTYPE_p_wxGridSizer swig_types[68]
2531 #define SWIGTYPE_p_wxHelpEvent swig_types[69]
2532 #define SWIGTYPE_p_wxHelpProvider swig_types[70]
2533 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[71]
2534 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[72]
2535 #define SWIGTYPE_p_wxICOHandler swig_types[73]
2536 #define SWIGTYPE_p_wxIcon swig_types[74]
2537 #define SWIGTYPE_p_wxIconizeEvent swig_types[75]
2538 #define SWIGTYPE_p_wxIdleEvent swig_types[76]
2539 #define SWIGTYPE_p_wxImage swig_types[77]
2540 #define SWIGTYPE_p_wxImageHandler swig_types[78]
2541 #define SWIGTYPE_p_wxImageList swig_types[79]
2542 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[80]
2543 #define SWIGTYPE_p_wxInitDialogEvent swig_types[81]
2544 #define SWIGTYPE_p_wxItemContainer swig_types[82]
2545 #define SWIGTYPE_p_wxJPEGHandler swig_types[83]
2546 #define SWIGTYPE_p_wxKeyEvent swig_types[84]
2547 #define SWIGTYPE_p_wxLayoutConstraints swig_types[85]
2548 #define SWIGTYPE_p_wxListBox swig_types[86]
2549 #define SWIGTYPE_p_wxListEvent swig_types[87]
2550 #define SWIGTYPE_p_wxListItem swig_types[88]
2551 #define SWIGTYPE_p_wxListItemAttr swig_types[89]
2552 #define SWIGTYPE_p_wxListView swig_types[90]
2553 #define SWIGTYPE_p_wxListbook swig_types[91]
2554 #define SWIGTYPE_p_wxListbookEvent swig_types[92]
2555 #define SWIGTYPE_p_wxMaximizeEvent swig_types[93]
2556 #define SWIGTYPE_p_wxMemoryDC swig_types[94]
2557 #define SWIGTYPE_p_wxMenu swig_types[95]
2558 #define SWIGTYPE_p_wxMenuBar swig_types[96]
2559 #define SWIGTYPE_p_wxMenuEvent swig_types[97]
2560 #define SWIGTYPE_p_wxMenuItem swig_types[98]
2561 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[99]
2562 #define SWIGTYPE_p_wxMouseEvent swig_types[100]
2563 #define SWIGTYPE_p_wxMoveEvent swig_types[101]
2564 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[102]
2565 #define SWIGTYPE_p_wxNcPaintEvent swig_types[103]
2566 #define SWIGTYPE_p_wxNotebook swig_types[104]
2567 #define SWIGTYPE_p_wxNotebookEvent swig_types[105]
2568 #define SWIGTYPE_p_wxNotifyEvent swig_types[106]
2569 #define SWIGTYPE_p_wxObject swig_types[107]
2570 #define SWIGTYPE_p_wxPCXHandler swig_types[108]
2571 #define SWIGTYPE_p_wxPNGHandler swig_types[109]
2572 #define SWIGTYPE_p_wxPNMHandler swig_types[110]
2573 #define SWIGTYPE_p_wxPaintEvent swig_types[111]
2574 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[112]
2575 #define SWIGTYPE_p_wxPaperSize swig_types[113]
2576 #define SWIGTYPE_p_wxPickerBase swig_types[114]
2577 #define SWIGTYPE_p_wxPoint swig_types[115]
2578 #define SWIGTYPE_p_wxPyApp swig_types[116]
2579 #define SWIGTYPE_p_wxPyCommandEvent swig_types[117]
2580 #define SWIGTYPE_p_wxPyControl swig_types[118]
2581 #define SWIGTYPE_p_wxPyEvent swig_types[119]
2582 #define SWIGTYPE_p_wxPyImageHandler swig_types[120]
2583 #define SWIGTYPE_p_wxPyListCtrl swig_types[121]
2584 #define SWIGTYPE_p_wxPySizer swig_types[122]
2585 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[123]
2586 #define SWIGTYPE_p_wxPyTreeItemData swig_types[124]
2587 #define SWIGTYPE_p_wxPyValidator swig_types[125]
2588 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2589 #define SWIGTYPE_p_wxRadioBox swig_types[127]
2590 #define SWIGTYPE_p_wxRadioButton swig_types[128]
2591 #define SWIGTYPE_p_wxRect swig_types[129]
2592 #define SWIGTYPE_p_wxScrollBar swig_types[130]
2593 #define SWIGTYPE_p_wxScrollEvent swig_types[131]
2594 #define SWIGTYPE_p_wxScrollWinEvent swig_types[132]
2595 #define SWIGTYPE_p_wxSetCursorEvent swig_types[133]
2596 #define SWIGTYPE_p_wxShowEvent swig_types[134]
2597 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[135]
2598 #define SWIGTYPE_p_wxSize swig_types[136]
2599 #define SWIGTYPE_p_wxSizeEvent swig_types[137]
2600 #define SWIGTYPE_p_wxSizer swig_types[138]
2601 #define SWIGTYPE_p_wxSizerItem swig_types[139]
2602 #define SWIGTYPE_p_wxSlider swig_types[140]
2603 #define SWIGTYPE_p_wxSpinButton swig_types[141]
2604 #define SWIGTYPE_p_wxSpinCtrl swig_types[142]
2605 #define SWIGTYPE_p_wxSpinEvent swig_types[143]
2606 #define SWIGTYPE_p_wxStaticBitmap swig_types[144]
2607 #define SWIGTYPE_p_wxStaticBox swig_types[145]
2608 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2609 #define SWIGTYPE_p_wxStaticLine swig_types[147]
2610 #define SWIGTYPE_p_wxStaticText swig_types[148]
2611 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[149]
2612 #define SWIGTYPE_p_wxString swig_types[150]
2613 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[151]
2614 #define SWIGTYPE_p_wxTIFFHandler swig_types[152]
2615 #define SWIGTYPE_p_wxTextAttr swig_types[153]
2616 #define SWIGTYPE_p_wxTextCtrl swig_types[154]
2617 #define SWIGTYPE_p_wxTextUrlEvent swig_types[155]
2618 #define SWIGTYPE_p_wxToggleButton swig_types[156]
2619 #define SWIGTYPE_p_wxToolBar swig_types[157]
2620 #define SWIGTYPE_p_wxToolBarBase swig_types[158]
2621 #define SWIGTYPE_p_wxToolBarToolBase swig_types[159]
2622 #define SWIGTYPE_p_wxToolbook swig_types[160]
2623 #define SWIGTYPE_p_wxToolbookEvent swig_types[161]
2624 #define SWIGTYPE_p_wxTreeCtrl swig_types[162]
2625 #define SWIGTYPE_p_wxTreeEvent swig_types[163]
2626 #define SWIGTYPE_p_wxTreeItemId swig_types[164]
2627 #define SWIGTYPE_p_wxTreebook swig_types[165]
2628 #define SWIGTYPE_p_wxTreebookEvent swig_types[166]
2629 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[167]
2630 #define SWIGTYPE_p_wxValidator swig_types[168]
2631 #define SWIGTYPE_p_wxVisualAttributes swig_types[169]
2632 #define SWIGTYPE_p_wxWindow swig_types[170]
2633 #define SWIGTYPE_p_wxWindowBase swig_types[171]
2634 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[172]
2635 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[173]
2636 #define SWIGTYPE_p_wxXPMHandler swig_types[174]
2637 static swig_type_info
*swig_types
[176];
2638 static swig_module_info swig_module
= {swig_types
, 175, 0, 0, 0, 0};
2639 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2640 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2642 /* -------- TYPES TABLE (END) -------- */
2644 #if (PY_VERSION_HEX <= 0x02000000)
2645 # if !defined(SWIG_PYTHON_CLASSIC)
2646 # error "This python version requires to use swig with the '-classic' option"
2649 #if (PY_VERSION_HEX <= 0x02020000)
2650 # error "This python version requires to use swig with the '-nomodern' option"
2652 #if (PY_VERSION_HEX <= 0x02020000)
2653 # error "This python version requires to use swig with the '-nomodernargs' option"
2656 # error "This python version requires to use swig with the '-nofastunpack' option"
2659 /*-----------------------------------------------
2660 @(target):= _controls_.so
2661 ------------------------------------------------*/
2662 #define SWIG_init init_controls_
2664 #define SWIG_name "_controls_"
2666 #define SWIGVERSION 0x010329
2669 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2670 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2673 #include <stdexcept>
2677 class PyObject_ptr
{
2682 PyObject_ptr() :_obj(0)
2686 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2691 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2693 if (initial_ref
) Py_XINCREF(_obj
);
2696 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2698 Py_XINCREF(item
._obj
);
2709 operator PyObject
*() const
2714 PyObject
*operator->() const
2723 struct PyObject_var
: PyObject_ptr
{
2724 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2726 PyObject_var
& operator = (PyObject
* obj
)
2736 #include "wx/wxPython/wxPython.h"
2737 #include "wx/wxPython/pyclasses.h"
2739 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2740 static const wxString
wxPyEmptyString(wxEmptyString
);
2741 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2743 const wxArrayString wxPyEmptyStringArray
;
2745 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2747 #define SWIG_From_long PyInt_FromLong
2750 SWIGINTERNINLINE PyObject
*
2751 SWIG_From_int (int value
)
2753 return SWIG_From_long (value
);
2759 # define LLONG_MIN LONG_LONG_MIN
2762 # define LLONG_MAX LONG_LONG_MAX
2765 # define ULLONG_MAX ULONG_LONG_MAX
2770 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2772 if (PyNumber_Check(obj
)) {
2773 if (val
) *val
= PyInt_AsLong(obj
);
2776 return SWIG_TypeError
;
2781 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2784 int res
= SWIG_AsVal_long (obj
, &v
);
2785 if (SWIG_IsOK(res
)) {
2786 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2787 return SWIG_OverflowError
;
2789 if (val
) *val
= static_cast< int >(v
);
2795 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2798 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2800 if (obj
== Py_True
) {
2801 if (val
) *val
= true;
2803 } else if (obj
== Py_False
) {
2804 if (val
) *val
= false;
2808 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2809 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2814 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2815 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2816 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2817 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2818 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2819 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2821 #include <wx/checklst.h>
2823 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2824 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2827 wxPyClientData
* data
= new wxPyClientData(clientData
);
2828 self
->Insert(item
, pos
, data
);
2831 self
->Insert(item
, pos
);
2835 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2838 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2839 return SWIG_TypeError
;
2842 *val
= (unsigned long)v
;
2848 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2851 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2852 if (SWIG_IsOK(res
)) {
2853 if ((v
> UINT_MAX
)) {
2854 return SWIG_OverflowError
;
2856 if (val
) *val
= static_cast< unsigned int >(v
);
2862 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2863 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2865 self
->GetSelections(lst
);
2866 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2867 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2869 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2871 wxPyEndBlockThreads(blocked
);
2874 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2876 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2877 self
->GetItem(item
)->SetTextColour(c
);
2880 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2882 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2883 self
->GetItem(item
)->SetBackgroundColour(c
);
2886 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2888 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2889 self
->GetItem(item
)->SetFont(f
);
2892 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2893 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2894 self
->AppendText(text
);
2896 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2897 return self
->GetValue().Mid(from
, to
- from
);
2899 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2900 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2901 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2902 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2903 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2905 SWIGINTERNINLINE PyObject
*
2906 SWIG_From_unsigned_SS_long (unsigned long value
)
2908 return (value
> LONG_MAX
) ?
2909 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2913 SWIGINTERNINLINE PyObject
*
2914 SWIG_From_size_t (size_t value
)
2916 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2920 SWIGINTERNINLINE PyObject
*
2921 SWIG_From_unsigned_SS_int (unsigned int value
)
2923 return SWIG_From_unsigned_SS_long (value
);
2927 #include <wx/slider.h>
2930 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2931 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2933 #if !wxUSE_TOGGLEBTN
2934 // implement dummy items for platforms that don't have this class
2936 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2938 class wxToggleButton
: public wxControl
2941 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2942 const wxPoint
&, const wxSize
&, long,
2943 const wxValidator
&, const wxString
&)
2944 { wxPyRaiseNotImplemented(); }
2947 { wxPyRaiseNotImplemented(); }
2951 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2953 SWIGINTERNINLINE
int
2954 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2957 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2958 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2962 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2963 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2964 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2966 Py_INCREF(udata
->m_obj
);
2967 return udata
->m_obj
;
2973 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2974 self
->SetClientData(new wxPyUserData(clientData
));
2976 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
){
2977 wxPyUserData
* udata
= NULL
;
2978 if (clientData
&& clientData
!= Py_None
)
2979 udata
= new wxPyUserData(clientData
);
2980 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2981 shortHelp
, longHelp
, udata
);
2983 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
){
2984 wxPyUserData
* udata
= NULL
;
2985 if (clientData
&& clientData
!= Py_None
)
2986 udata
= new wxPyUserData(clientData
);
2987 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2988 shortHelp
, longHelp
, udata
);
2990 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2991 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
2993 Py_INCREF(udata
->m_obj
);
2994 return udata
->m_obj
;
3000 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3001 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3004 #include <wx/listctrl.h>
3006 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3007 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3008 // Python aware sorting function for wxPyListCtrl
3009 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3011 PyObject
* func
= (PyObject
*)funcPtr
;
3012 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3014 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3015 PyObject
* result
= PyEval_CallObject(func
, args
);
3018 retval
= PyInt_AsLong(result
);
3022 wxPyEndBlockThreads(blocked
);
3026 // C++ Version of a Python aware class
3027 class wxPyListCtrl
: public wxListCtrl
{
3028 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3030 wxPyListCtrl() : wxListCtrl() {}
3031 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3035 const wxValidator
& validator
,
3036 const wxString
& name
) :
3037 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3039 bool Create(wxWindow
* parent
, wxWindowID id
,
3043 const wxValidator
& validator
,
3044 const wxString
& name
) {
3045 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3048 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3049 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3051 // use the virtual version to avoid a confusing assert in the base class
3052 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3053 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3058 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3060 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3061 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3062 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3063 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3066 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3068 item
.SetMask( wxLIST_MASK_STATE
|
3076 if (self
->GetColumn(col
, item
))
3077 return new wxListItem(item
);
3081 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3082 wxListItem
* info
= new wxListItem
;
3083 info
->m_itemId
= itemId
;
3085 info
->m_mask
= 0xFFFF;
3086 self
->GetItem(*info
);
3089 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3091 self
->GetItemPosition(item
, pos
);
3094 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3096 self
->GetItemRect(item
, rect
, code
);
3099 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3100 if (!PyCallable_Check(func
))
3102 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3104 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3112 #include <wx/treectrl.h>
3113 #include "wx/wxPython/pytree.h"
3115 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3116 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3117 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3118 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3119 // C++ version of Python aware wxTreeCtrl
3120 class wxPyTreeCtrl
: public wxTreeCtrl
{
3121 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3123 wxPyTreeCtrl() : wxTreeCtrl() {}
3124 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3128 const wxValidator
& validator
,
3129 const wxString
& name
) :
3130 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3132 bool Create(wxWindow
*parent
, wxWindowID id
,
3136 const wxValidator
& validator
,
3137 const wxString
& name
) {
3138 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3142 int OnCompareItems(const wxTreeItemId
& item1
,
3143 const wxTreeItemId
& item2
) {
3146 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3147 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3148 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3149 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3150 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3154 wxPyEndBlockThreads(blocked
);
3156 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3162 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3165 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3166 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3168 data
= new wxPyTreeItemData();
3169 data
->SetId(item
); // set the id
3170 self
->SetItemData(item
, data
);
3174 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3175 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3177 data
= new wxPyTreeItemData();
3178 data
->SetId(item
); // set the id
3179 self
->SetItemData(item
, data
);
3181 return data
->GetData();
3183 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3184 data
->SetId(item
); // set the id
3185 self
->SetItemData(item
, data
);
3187 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3188 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3190 data
= new wxPyTreeItemData(obj
);
3191 data
->SetId(item
); // set the id
3192 self
->SetItemData(item
, data
);
3196 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3197 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3198 PyObject
* rval
= PyList_New(0);
3199 wxArrayTreeItemIds array
;
3201 num
= self
->GetSelections(array
);
3202 for (x
=0; x
< num
; x
++) {
3203 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3204 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3205 PyList_Append(rval
, item
);
3208 wxPyEndBlockThreads(blocked
);
3211 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3213 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3214 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3215 PyObject
* tup
= PyTuple_New(2);
3216 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3217 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3218 wxPyEndBlockThreads(blocked
);
3221 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3222 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3223 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3224 PyObject
* tup
= PyTuple_New(2);
3225 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3226 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3227 wxPyEndBlockThreads(blocked
);
3230 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3232 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3233 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3234 wxRect
* r
= new wxRect(rect
);
3235 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3236 wxPyEndBlockThreads(blocked
);
3242 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3244 SWIGINTERNINLINE PyObject
*
3245 SWIG_From_bool (bool value
)
3247 return PyBool_FromLong(value
? 1 : 0);
3250 // C++ version of Python aware wxControl
3251 class wxPyControl
: public wxControl
3253 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3255 wxPyControl() : wxControl() {}
3256 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3257 const wxPoint
& pos
= wxDefaultPosition
,
3258 const wxSize
& size
= wxDefaultSize
,
3260 const wxValidator
& validator
=wxDefaultValidator
,
3261 const wxString
& name
= wxPyControlNameStr
)
3262 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3264 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
3266 bool DoEraseBackground(wxDC
* dc
) {
3268 return wxWindow::DoEraseBackground(dc
->GetHDC());
3270 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3276 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3277 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3278 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3279 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3281 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3282 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3283 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3285 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3286 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3288 DEC_PYCALLBACK__(InitDialog
);
3289 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3290 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3291 DEC_PYCALLBACK_BOOL_(Validate
);
3293 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3294 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3295 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3297 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3298 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3300 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3301 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3303 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3305 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3310 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3312 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3313 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3314 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3315 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3317 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3318 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3319 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3321 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3322 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3324 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3325 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3326 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3327 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3329 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3330 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3331 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3333 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3334 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3336 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3337 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3339 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3341 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3345 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3347 #include <wx/generic/dragimgg.h>
3349 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3350 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3352 self
->GetRange(&rv
, NULL
);
3355 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3357 self
->GetRange(NULL
, &rv
);
3360 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3362 #include <wx/pickerbase.h>
3363 #include <wx/clrpicker.h>
3364 #include <wx/filepicker.h>
3365 #include <wx/fontpicker.h>
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_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12597 PyObject
*resultobj
= 0;
12598 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12599 unsigned long arg2
;
12602 unsigned long val2
;
12604 PyObject
* obj0
= 0 ;
12605 PyObject
* obj1
= 0 ;
12606 char * kwnames
[] = {
12607 (char *) "self",(char *) "len", NULL
12610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",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_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12615 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12616 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12617 if (!SWIG_IsOK(ecode2
)) {
12618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12620 arg2
= static_cast< unsigned long >(val2
);
12622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12623 (arg1
)->SetMaxLength(arg2
);
12624 wxPyEndAllowThreads(__tstate
);
12625 if (PyErr_Occurred()) SWIG_fail
;
12627 resultobj
= SWIG_Py_Void();
12634 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12635 PyObject
*resultobj
= 0;
12636 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12637 wxString
*arg2
= 0 ;
12640 bool temp2
= false ;
12641 PyObject
* obj0
= 0 ;
12642 PyObject
* obj1
= 0 ;
12643 char * kwnames
[] = {
12644 (char *) "self",(char *) "text", NULL
12647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12649 if (!SWIG_IsOK(res1
)) {
12650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12652 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12654 arg2
= wxString_in_helper(obj1
);
12655 if (arg2
== NULL
) SWIG_fail
;
12659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12660 (arg1
)->WriteText((wxString
const &)*arg2
);
12661 wxPyEndAllowThreads(__tstate
);
12662 if (PyErr_Occurred()) SWIG_fail
;
12664 resultobj
= SWIG_Py_Void();
12679 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12680 PyObject
*resultobj
= 0;
12681 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12682 wxString
*arg2
= 0 ;
12685 bool temp2
= false ;
12686 PyObject
* obj0
= 0 ;
12687 PyObject
* obj1
= 0 ;
12688 char * kwnames
[] = {
12689 (char *) "self",(char *) "text", NULL
12692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12694 if (!SWIG_IsOK(res1
)) {
12695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12697 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12699 arg2
= wxString_in_helper(obj1
);
12700 if (arg2
== NULL
) SWIG_fail
;
12704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12705 (arg1
)->AppendText((wxString
const &)*arg2
);
12706 wxPyEndAllowThreads(__tstate
);
12707 if (PyErr_Occurred()) SWIG_fail
;
12709 resultobj
= SWIG_Py_Void();
12724 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12725 PyObject
*resultobj
= 0;
12726 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12727 wxKeyEvent
*arg2
= 0 ;
12733 PyObject
* obj0
= 0 ;
12734 PyObject
* obj1
= 0 ;
12735 char * kwnames
[] = {
12736 (char *) "self",(char *) "event", NULL
12739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12741 if (!SWIG_IsOK(res1
)) {
12742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12744 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12745 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12746 if (!SWIG_IsOK(res2
)) {
12747 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12750 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12752 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12755 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12756 wxPyEndAllowThreads(__tstate
);
12757 if (PyErr_Occurred()) SWIG_fail
;
12760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12768 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12769 PyObject
*resultobj
= 0;
12770 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12773 wxTextAttr
*arg4
= 0 ;
12783 PyObject
* obj0
= 0 ;
12784 PyObject
* obj1
= 0 ;
12785 PyObject
* obj2
= 0 ;
12786 PyObject
* obj3
= 0 ;
12787 char * kwnames
[] = {
12788 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12793 if (!SWIG_IsOK(res1
)) {
12794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12796 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12797 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12798 if (!SWIG_IsOK(ecode2
)) {
12799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12801 arg2
= static_cast< long >(val2
);
12802 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12803 if (!SWIG_IsOK(ecode3
)) {
12804 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12806 arg3
= static_cast< long >(val3
);
12807 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12808 if (!SWIG_IsOK(res4
)) {
12809 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12812 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12814 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12817 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12818 wxPyEndAllowThreads(__tstate
);
12819 if (PyErr_Occurred()) SWIG_fail
;
12822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12830 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12831 PyObject
*resultobj
= 0;
12832 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12834 wxTextAttr
*arg3
= 0 ;
12842 PyObject
* obj0
= 0 ;
12843 PyObject
* obj1
= 0 ;
12844 PyObject
* obj2
= 0 ;
12845 char * kwnames
[] = {
12846 (char *) "self",(char *) "position",(char *) "style", NULL
12849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12851 if (!SWIG_IsOK(res1
)) {
12852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12854 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12855 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12856 if (!SWIG_IsOK(ecode2
)) {
12857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12859 arg2
= static_cast< long >(val2
);
12860 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12861 if (!SWIG_IsOK(res3
)) {
12862 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12865 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12867 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12870 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12871 wxPyEndAllowThreads(__tstate
);
12872 if (PyErr_Occurred()) SWIG_fail
;
12875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12883 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12884 PyObject
*resultobj
= 0;
12885 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12886 wxTextAttr
*arg2
= 0 ;
12892 PyObject
* obj0
= 0 ;
12893 PyObject
* obj1
= 0 ;
12894 char * kwnames
[] = {
12895 (char *) "self",(char *) "style", NULL
12898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12900 if (!SWIG_IsOK(res1
)) {
12901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12903 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12904 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12905 if (!SWIG_IsOK(res2
)) {
12906 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12909 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12911 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
12913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12914 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
12915 wxPyEndAllowThreads(__tstate
);
12916 if (PyErr_Occurred()) SWIG_fail
;
12919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12927 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12928 PyObject
*resultobj
= 0;
12929 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12930 wxTextAttr
*result
= 0 ;
12933 PyObject
*swig_obj
[1] ;
12935 if (!args
) SWIG_fail
;
12936 swig_obj
[0] = args
;
12937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12938 if (!SWIG_IsOK(res1
)) {
12939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12941 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12945 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
12946 result
= (wxTextAttr
*) &_result_ref
;
12948 wxPyEndAllowThreads(__tstate
);
12949 if (PyErr_Occurred()) SWIG_fail
;
12951 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
12958 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12959 PyObject
*resultobj
= 0;
12960 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12970 PyObject
* obj0
= 0 ;
12971 PyObject
* obj1
= 0 ;
12972 PyObject
* obj2
= 0 ;
12973 char * kwnames
[] = {
12974 (char *) "self",(char *) "x",(char *) "y", NULL
12977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12979 if (!SWIG_IsOK(res1
)) {
12980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12982 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12983 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12984 if (!SWIG_IsOK(ecode2
)) {
12985 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
12987 arg2
= static_cast< long >(val2
);
12988 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12989 if (!SWIG_IsOK(ecode3
)) {
12990 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
12992 arg3
= static_cast< long >(val3
);
12994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12995 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
12996 wxPyEndAllowThreads(__tstate
);
12997 if (PyErr_Occurred()) SWIG_fail
;
12999 resultobj
= SWIG_From_long(static_cast< long >(result
));
13006 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13007 PyObject
*resultobj
= 0;
13008 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13010 long *arg3
= (long *) 0 ;
13011 long *arg4
= (long *) 0 ;
13017 int res3
= SWIG_TMPOBJ
;
13019 int res4
= SWIG_TMPOBJ
;
13020 PyObject
* obj0
= 0 ;
13021 PyObject
* obj1
= 0 ;
13022 char * kwnames
[] = {
13023 (char *) "self",(char *) "pos", NULL
13028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13030 if (!SWIG_IsOK(res1
)) {
13031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13033 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13034 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13035 if (!SWIG_IsOK(ecode2
)) {
13036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13038 arg2
= static_cast< long >(val2
);
13040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13041 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13042 wxPyEndAllowThreads(__tstate
);
13043 if (PyErr_Occurred()) SWIG_fail
;
13045 resultobj
= SWIG_Py_Void();
13046 if (SWIG_IsTmpObj(res3
)) {
13047 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13049 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13050 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13052 if (SWIG_IsTmpObj(res4
)) {
13053 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13055 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13056 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13064 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13065 PyObject
*resultobj
= 0;
13066 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13072 PyObject
* obj0
= 0 ;
13073 PyObject
* obj1
= 0 ;
13074 char * kwnames
[] = {
13075 (char *) "self",(char *) "pos", NULL
13078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13080 if (!SWIG_IsOK(res1
)) {
13081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13083 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13084 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13085 if (!SWIG_IsOK(ecode2
)) {
13086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13088 arg2
= static_cast< long >(val2
);
13090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13091 (arg1
)->ShowPosition(arg2
);
13092 wxPyEndAllowThreads(__tstate
);
13093 if (PyErr_Occurred()) SWIG_fail
;
13095 resultobj
= SWIG_Py_Void();
13102 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13103 PyObject
*resultobj
= 0;
13104 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13105 wxPoint
*arg2
= 0 ;
13106 long *arg3
= (long *) 0 ;
13107 long *arg4
= (long *) 0 ;
13108 wxTextCtrlHitTestResult result
;
13113 int res3
= SWIG_TMPOBJ
;
13115 int res4
= SWIG_TMPOBJ
;
13116 PyObject
* obj0
= 0 ;
13117 PyObject
* obj1
= 0 ;
13118 char * kwnames
[] = {
13119 (char *) "self",(char *) "pt", NULL
13124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13126 if (!SWIG_IsOK(res1
)) {
13127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13129 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13132 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13136 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13137 wxPyEndAllowThreads(__tstate
);
13138 if (PyErr_Occurred()) SWIG_fail
;
13140 resultobj
= SWIG_From_int(static_cast< int >(result
));
13141 if (SWIG_IsTmpObj(res3
)) {
13142 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13144 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13145 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13147 if (SWIG_IsTmpObj(res4
)) {
13148 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13150 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13151 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13159 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13160 PyObject
*resultobj
= 0;
13161 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13162 wxPoint
*arg2
= 0 ;
13163 long *arg3
= (long *) 0 ;
13164 wxTextCtrlHitTestResult result
;
13169 int res3
= SWIG_TMPOBJ
;
13170 PyObject
* obj0
= 0 ;
13171 PyObject
* obj1
= 0 ;
13172 char * kwnames
[] = {
13173 (char *) "self",(char *) "pt", NULL
13177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13179 if (!SWIG_IsOK(res1
)) {
13180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13182 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13185 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13189 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13190 wxPyEndAllowThreads(__tstate
);
13191 if (PyErr_Occurred()) SWIG_fail
;
13193 resultobj
= SWIG_From_int(static_cast< int >(result
));
13194 if (SWIG_IsTmpObj(res3
)) {
13195 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13197 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13198 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13206 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13207 PyObject
*resultobj
= 0;
13208 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13211 PyObject
*swig_obj
[1] ;
13213 if (!args
) SWIG_fail
;
13214 swig_obj
[0] = args
;
13215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13216 if (!SWIG_IsOK(res1
)) {
13217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13219 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13223 wxPyEndAllowThreads(__tstate
);
13224 if (PyErr_Occurred()) SWIG_fail
;
13226 resultobj
= SWIG_Py_Void();
13233 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13234 PyObject
*resultobj
= 0;
13235 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13238 PyObject
*swig_obj
[1] ;
13240 if (!args
) SWIG_fail
;
13241 swig_obj
[0] = args
;
13242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13243 if (!SWIG_IsOK(res1
)) {
13244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13246 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13250 wxPyEndAllowThreads(__tstate
);
13251 if (PyErr_Occurred()) SWIG_fail
;
13253 resultobj
= SWIG_Py_Void();
13260 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13261 PyObject
*resultobj
= 0;
13262 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13265 PyObject
*swig_obj
[1] ;
13267 if (!args
) SWIG_fail
;
13268 swig_obj
[0] = args
;
13269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13270 if (!SWIG_IsOK(res1
)) {
13271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13273 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13277 wxPyEndAllowThreads(__tstate
);
13278 if (PyErr_Occurred()) SWIG_fail
;
13280 resultobj
= SWIG_Py_Void();
13287 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13288 PyObject
*resultobj
= 0;
13289 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13293 PyObject
*swig_obj
[1] ;
13295 if (!args
) SWIG_fail
;
13296 swig_obj
[0] = args
;
13297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13298 if (!SWIG_IsOK(res1
)) {
13299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13301 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13304 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13305 wxPyEndAllowThreads(__tstate
);
13306 if (PyErr_Occurred()) SWIG_fail
;
13309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13317 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13318 PyObject
*resultobj
= 0;
13319 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13323 PyObject
*swig_obj
[1] ;
13325 if (!args
) SWIG_fail
;
13326 swig_obj
[0] = args
;
13327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13328 if (!SWIG_IsOK(res1
)) {
13329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13331 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13334 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13335 wxPyEndAllowThreads(__tstate
);
13336 if (PyErr_Occurred()) SWIG_fail
;
13339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13347 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13348 PyObject
*resultobj
= 0;
13349 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13353 PyObject
*swig_obj
[1] ;
13355 if (!args
) SWIG_fail
;
13356 swig_obj
[0] = args
;
13357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13358 if (!SWIG_IsOK(res1
)) {
13359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13361 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13364 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13365 wxPyEndAllowThreads(__tstate
);
13366 if (PyErr_Occurred()) SWIG_fail
;
13369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13377 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13378 PyObject
*resultobj
= 0;
13379 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13382 PyObject
*swig_obj
[1] ;
13384 if (!args
) SWIG_fail
;
13385 swig_obj
[0] = args
;
13386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13387 if (!SWIG_IsOK(res1
)) {
13388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13390 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13394 wxPyEndAllowThreads(__tstate
);
13395 if (PyErr_Occurred()) SWIG_fail
;
13397 resultobj
= SWIG_Py_Void();
13404 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13405 PyObject
*resultobj
= 0;
13406 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13409 PyObject
*swig_obj
[1] ;
13411 if (!args
) SWIG_fail
;
13412 swig_obj
[0] = args
;
13413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13414 if (!SWIG_IsOK(res1
)) {
13415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13417 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13421 wxPyEndAllowThreads(__tstate
);
13422 if (PyErr_Occurred()) SWIG_fail
;
13424 resultobj
= SWIG_Py_Void();
13431 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13432 PyObject
*resultobj
= 0;
13433 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13437 PyObject
*swig_obj
[1] ;
13439 if (!args
) SWIG_fail
;
13440 swig_obj
[0] = args
;
13441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13442 if (!SWIG_IsOK(res1
)) {
13443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13445 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13448 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13449 wxPyEndAllowThreads(__tstate
);
13450 if (PyErr_Occurred()) SWIG_fail
;
13453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13461 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13462 PyObject
*resultobj
= 0;
13463 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13467 PyObject
*swig_obj
[1] ;
13469 if (!args
) SWIG_fail
;
13470 swig_obj
[0] = args
;
13471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13472 if (!SWIG_IsOK(res1
)) {
13473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13475 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13478 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13479 wxPyEndAllowThreads(__tstate
);
13480 if (PyErr_Occurred()) SWIG_fail
;
13483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13491 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13492 PyObject
*resultobj
= 0;
13493 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13499 PyObject
* obj0
= 0 ;
13500 PyObject
* obj1
= 0 ;
13501 char * kwnames
[] = {
13502 (char *) "self",(char *) "pos", NULL
13505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13507 if (!SWIG_IsOK(res1
)) {
13508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13510 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13511 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13512 if (!SWIG_IsOK(ecode2
)) {
13513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13515 arg2
= static_cast< long >(val2
);
13517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13518 (arg1
)->SetInsertionPoint(arg2
);
13519 wxPyEndAllowThreads(__tstate
);
13520 if (PyErr_Occurred()) SWIG_fail
;
13522 resultobj
= SWIG_Py_Void();
13529 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13530 PyObject
*resultobj
= 0;
13531 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13534 PyObject
*swig_obj
[1] ;
13536 if (!args
) SWIG_fail
;
13537 swig_obj
[0] = args
;
13538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13539 if (!SWIG_IsOK(res1
)) {
13540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13542 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13545 (arg1
)->SetInsertionPointEnd();
13546 wxPyEndAllowThreads(__tstate
);
13547 if (PyErr_Occurred()) SWIG_fail
;
13549 resultobj
= SWIG_Py_Void();
13556 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13557 PyObject
*resultobj
= 0;
13558 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13562 PyObject
*swig_obj
[1] ;
13564 if (!args
) SWIG_fail
;
13565 swig_obj
[0] = args
;
13566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13567 if (!SWIG_IsOK(res1
)) {
13568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13570 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13573 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13574 wxPyEndAllowThreads(__tstate
);
13575 if (PyErr_Occurred()) SWIG_fail
;
13577 resultobj
= SWIG_From_long(static_cast< long >(result
));
13584 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13585 PyObject
*resultobj
= 0;
13586 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13590 PyObject
*swig_obj
[1] ;
13592 if (!args
) SWIG_fail
;
13593 swig_obj
[0] = args
;
13594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13595 if (!SWIG_IsOK(res1
)) {
13596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13598 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13601 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13602 wxPyEndAllowThreads(__tstate
);
13603 if (PyErr_Occurred()) SWIG_fail
;
13605 resultobj
= SWIG_From_long(static_cast< long >(result
));
13612 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13613 PyObject
*resultobj
= 0;
13614 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13623 PyObject
* obj0
= 0 ;
13624 PyObject
* obj1
= 0 ;
13625 PyObject
* obj2
= 0 ;
13626 char * kwnames
[] = {
13627 (char *) "self",(char *) "from",(char *) "to", NULL
13630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13632 if (!SWIG_IsOK(res1
)) {
13633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13635 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13636 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13637 if (!SWIG_IsOK(ecode2
)) {
13638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13640 arg2
= static_cast< long >(val2
);
13641 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13642 if (!SWIG_IsOK(ecode3
)) {
13643 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13645 arg3
= static_cast< long >(val3
);
13647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13648 (arg1
)->SetSelection(arg2
,arg3
);
13649 wxPyEndAllowThreads(__tstate
);
13650 if (PyErr_Occurred()) SWIG_fail
;
13652 resultobj
= SWIG_Py_Void();
13659 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13660 PyObject
*resultobj
= 0;
13661 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13664 PyObject
*swig_obj
[1] ;
13666 if (!args
) SWIG_fail
;
13667 swig_obj
[0] = args
;
13668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13669 if (!SWIG_IsOK(res1
)) {
13670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13672 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13675 (arg1
)->SelectAll();
13676 wxPyEndAllowThreads(__tstate
);
13677 if (PyErr_Occurred()) SWIG_fail
;
13679 resultobj
= SWIG_Py_Void();
13686 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13687 PyObject
*resultobj
= 0;
13688 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13694 PyObject
* obj0
= 0 ;
13695 PyObject
* obj1
= 0 ;
13696 char * kwnames
[] = {
13697 (char *) "self",(char *) "editable", NULL
13700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13702 if (!SWIG_IsOK(res1
)) {
13703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13705 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13706 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13707 if (!SWIG_IsOK(ecode2
)) {
13708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13710 arg2
= static_cast< bool >(val2
);
13712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13713 (arg1
)->SetEditable(arg2
);
13714 wxPyEndAllowThreads(__tstate
);
13715 if (PyErr_Occurred()) SWIG_fail
;
13717 resultobj
= SWIG_Py_Void();
13724 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13725 PyObject
*resultobj
= 0;
13726 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13727 bool arg2
= (bool) true ;
13733 PyObject
* obj0
= 0 ;
13734 PyObject
* obj1
= 0 ;
13735 char * kwnames
[] = {
13736 (char *) "self",(char *) "show", NULL
13739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13741 if (!SWIG_IsOK(res1
)) {
13742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13744 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13746 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13747 if (!SWIG_IsOK(ecode2
)) {
13748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "2"" of type '" "bool""'");
13750 arg2
= static_cast< bool >(val2
);
13753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13754 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
13755 wxPyEndAllowThreads(__tstate
);
13756 if (PyErr_Occurred()) SWIG_fail
;
13759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13767 SWIGINTERN PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13768 PyObject
*resultobj
= 0;
13769 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13773 PyObject
*swig_obj
[1] ;
13775 if (!args
) SWIG_fail
;
13776 swig_obj
[0] = args
;
13777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13778 if (!SWIG_IsOK(res1
)) {
13779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HideNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13781 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13784 result
= (bool)(arg1
)->HideNativeCaret();
13785 wxPyEndAllowThreads(__tstate
);
13786 if (PyErr_Occurred()) SWIG_fail
;
13789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13797 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13798 PyObject
*resultobj
= 0;
13799 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13800 wxString
*arg2
= 0 ;
13803 bool temp2
= false ;
13804 PyObject
* obj0
= 0 ;
13805 PyObject
* obj1
= 0 ;
13806 char * kwnames
[] = {
13807 (char *) "self",(char *) "text", NULL
13810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13812 if (!SWIG_IsOK(res1
)) {
13813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13815 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13817 arg2
= wxString_in_helper(obj1
);
13818 if (arg2
== NULL
) SWIG_fail
;
13822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13823 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13824 wxPyEndAllowThreads(__tstate
);
13825 if (PyErr_Occurred()) SWIG_fail
;
13827 resultobj
= SWIG_Py_Void();
13842 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13843 PyObject
*resultobj
= 0;
13844 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13854 PyObject
* obj0
= 0 ;
13855 PyObject
* obj1
= 0 ;
13856 PyObject
* obj2
= 0 ;
13857 char * kwnames
[] = {
13858 (char *) "self",(char *) "from",(char *) "to", NULL
13861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13863 if (!SWIG_IsOK(res1
)) {
13864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13866 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13867 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13868 if (!SWIG_IsOK(ecode2
)) {
13869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13871 arg2
= static_cast< long >(val2
);
13872 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13873 if (!SWIG_IsOK(ecode3
)) {
13874 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13876 arg3
= static_cast< long >(val3
);
13878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13879 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13880 wxPyEndAllowThreads(__tstate
);
13881 if (PyErr_Occurred()) SWIG_fail
;
13885 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13887 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13896 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13897 PyObject
*resultobj
= 0;
13898 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13899 SwigValueWrapper
<wxVisualAttributes
> result
;
13902 PyObject
* obj0
= 0 ;
13903 char * kwnames
[] = {
13904 (char *) "variant", NULL
13907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
13909 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13910 if (!SWIG_IsOK(ecode1
)) {
13911 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13913 arg1
= static_cast< wxWindowVariant
>(val1
);
13916 if (!wxPyCheckForApp()) SWIG_fail
;
13917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13918 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
13919 wxPyEndAllowThreads(__tstate
);
13920 if (PyErr_Occurred()) SWIG_fail
;
13922 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
13929 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13931 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13932 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
13933 return SWIG_Py_Void();
13936 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13937 return SWIG_Python_InitShadowInstance(args
);
13940 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13941 PyObject
*resultobj
= 0;
13943 wxMouseEvent
*arg2
= 0 ;
13946 wxTextUrlEvent
*result
= 0 ;
13955 PyObject
* obj0
= 0 ;
13956 PyObject
* obj1
= 0 ;
13957 PyObject
* obj2
= 0 ;
13958 PyObject
* obj3
= 0 ;
13959 char * kwnames
[] = {
13960 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
13963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13964 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13965 if (!SWIG_IsOK(ecode1
)) {
13966 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
13968 arg1
= static_cast< int >(val1
);
13969 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
13970 if (!SWIG_IsOK(res2
)) {
13971 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13974 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13976 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
13977 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13978 if (!SWIG_IsOK(ecode3
)) {
13979 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
13981 arg3
= static_cast< long >(val3
);
13982 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
13983 if (!SWIG_IsOK(ecode4
)) {
13984 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
13986 arg4
= static_cast< long >(val4
);
13988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13989 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
13990 wxPyEndAllowThreads(__tstate
);
13991 if (PyErr_Occurred()) SWIG_fail
;
13993 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
14000 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14001 PyObject
*resultobj
= 0;
14002 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14003 wxMouseEvent
*result
= 0 ;
14006 PyObject
*swig_obj
[1] ;
14008 if (!args
) SWIG_fail
;
14009 swig_obj
[0] = args
;
14010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14011 if (!SWIG_IsOK(res1
)) {
14012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14014 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14018 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
14019 result
= (wxMouseEvent
*) &_result_ref
;
14021 wxPyEndAllowThreads(__tstate
);
14022 if (PyErr_Occurred()) SWIG_fail
;
14024 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14031 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14032 PyObject
*resultobj
= 0;
14033 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14037 PyObject
*swig_obj
[1] ;
14039 if (!args
) SWIG_fail
;
14040 swig_obj
[0] = args
;
14041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14042 if (!SWIG_IsOK(res1
)) {
14043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14045 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14048 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14049 wxPyEndAllowThreads(__tstate
);
14050 if (PyErr_Occurred()) SWIG_fail
;
14052 resultobj
= SWIG_From_long(static_cast< long >(result
));
14059 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14060 PyObject
*resultobj
= 0;
14061 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14065 PyObject
*swig_obj
[1] ;
14067 if (!args
) SWIG_fail
;
14068 swig_obj
[0] = args
;
14069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14070 if (!SWIG_IsOK(res1
)) {
14071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14073 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14076 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14077 wxPyEndAllowThreads(__tstate
);
14078 if (PyErr_Occurred()) SWIG_fail
;
14080 resultobj
= SWIG_From_long(static_cast< long >(result
));
14087 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14089 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14090 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14091 return SWIG_Py_Void();
14094 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14095 return SWIG_Python_InitShadowInstance(args
);
14098 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14099 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14104 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14105 PyObject
*pyobj
= 0;
14109 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14111 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14118 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14119 PyObject
*resultobj
= 0;
14120 wxWindow
*arg1
= (wxWindow
*) 0 ;
14121 int arg2
= (int) -1 ;
14122 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14123 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14124 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14125 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14126 long arg5
= (long) wxSB_HORIZONTAL
;
14127 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14128 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14129 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14130 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14131 wxScrollBar
*result
= 0 ;
14142 bool temp7
= false ;
14143 PyObject
* obj0
= 0 ;
14144 PyObject
* obj1
= 0 ;
14145 PyObject
* obj2
= 0 ;
14146 PyObject
* obj3
= 0 ;
14147 PyObject
* obj4
= 0 ;
14148 PyObject
* obj5
= 0 ;
14149 PyObject
* obj6
= 0 ;
14150 char * kwnames
[] = {
14151 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14156 if (!SWIG_IsOK(res1
)) {
14157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14159 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14162 if (!SWIG_IsOK(ecode2
)) {
14163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14165 arg2
= static_cast< int >(val2
);
14170 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14176 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14180 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14181 if (!SWIG_IsOK(ecode5
)) {
14182 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14184 arg5
= static_cast< long >(val5
);
14187 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14188 if (!SWIG_IsOK(res6
)) {
14189 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14192 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14194 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14198 arg7
= wxString_in_helper(obj6
);
14199 if (arg7
== NULL
) SWIG_fail
;
14204 if (!wxPyCheckForApp()) SWIG_fail
;
14205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14206 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14207 wxPyEndAllowThreads(__tstate
);
14208 if (PyErr_Occurred()) SWIG_fail
;
14210 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14225 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14226 PyObject
*resultobj
= 0;
14227 wxScrollBar
*result
= 0 ;
14229 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14231 if (!wxPyCheckForApp()) SWIG_fail
;
14232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14233 result
= (wxScrollBar
*)new wxScrollBar();
14234 wxPyEndAllowThreads(__tstate
);
14235 if (PyErr_Occurred()) SWIG_fail
;
14237 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14244 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14245 PyObject
*resultobj
= 0;
14246 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14247 wxWindow
*arg2
= (wxWindow
*) 0 ;
14248 int arg3
= (int) -1 ;
14249 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14250 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14251 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14252 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14253 long arg6
= (long) wxSB_HORIZONTAL
;
14254 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14255 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14256 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14257 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14271 bool temp8
= false ;
14272 PyObject
* obj0
= 0 ;
14273 PyObject
* obj1
= 0 ;
14274 PyObject
* obj2
= 0 ;
14275 PyObject
* obj3
= 0 ;
14276 PyObject
* obj4
= 0 ;
14277 PyObject
* obj5
= 0 ;
14278 PyObject
* obj6
= 0 ;
14279 PyObject
* obj7
= 0 ;
14280 char * kwnames
[] = {
14281 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14286 if (!SWIG_IsOK(res1
)) {
14287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14289 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14290 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14291 if (!SWIG_IsOK(res2
)) {
14292 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14294 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14296 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14297 if (!SWIG_IsOK(ecode3
)) {
14298 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14300 arg3
= static_cast< int >(val3
);
14305 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14311 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14315 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14316 if (!SWIG_IsOK(ecode6
)) {
14317 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14319 arg6
= static_cast< long >(val6
);
14322 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14323 if (!SWIG_IsOK(res7
)) {
14324 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14327 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14329 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14333 arg8
= wxString_in_helper(obj7
);
14334 if (arg8
== NULL
) SWIG_fail
;
14339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14340 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14341 wxPyEndAllowThreads(__tstate
);
14342 if (PyErr_Occurred()) SWIG_fail
;
14345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14361 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14362 PyObject
*resultobj
= 0;
14363 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14367 PyObject
*swig_obj
[1] ;
14369 if (!args
) SWIG_fail
;
14370 swig_obj
[0] = args
;
14371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14372 if (!SWIG_IsOK(res1
)) {
14373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14375 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14378 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14379 wxPyEndAllowThreads(__tstate
);
14380 if (PyErr_Occurred()) SWIG_fail
;
14382 resultobj
= SWIG_From_int(static_cast< int >(result
));
14389 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14390 PyObject
*resultobj
= 0;
14391 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14395 PyObject
*swig_obj
[1] ;
14397 if (!args
) SWIG_fail
;
14398 swig_obj
[0] = args
;
14399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14400 if (!SWIG_IsOK(res1
)) {
14401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14403 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14406 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14407 wxPyEndAllowThreads(__tstate
);
14408 if (PyErr_Occurred()) SWIG_fail
;
14410 resultobj
= SWIG_From_int(static_cast< int >(result
));
14417 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14418 PyObject
*resultobj
= 0;
14419 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14423 PyObject
*swig_obj
[1] ;
14425 if (!args
) SWIG_fail
;
14426 swig_obj
[0] = args
;
14427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14428 if (!SWIG_IsOK(res1
)) {
14429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14431 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14434 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14435 wxPyEndAllowThreads(__tstate
);
14436 if (PyErr_Occurred()) SWIG_fail
;
14438 resultobj
= SWIG_From_int(static_cast< int >(result
));
14445 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14446 PyObject
*resultobj
= 0;
14447 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14451 PyObject
*swig_obj
[1] ;
14453 if (!args
) SWIG_fail
;
14454 swig_obj
[0] = args
;
14455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14456 if (!SWIG_IsOK(res1
)) {
14457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14459 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14462 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14463 wxPyEndAllowThreads(__tstate
);
14464 if (PyErr_Occurred()) SWIG_fail
;
14466 resultobj
= SWIG_From_int(static_cast< int >(result
));
14473 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14474 PyObject
*resultobj
= 0;
14475 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14479 PyObject
*swig_obj
[1] ;
14481 if (!args
) SWIG_fail
;
14482 swig_obj
[0] = args
;
14483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14484 if (!SWIG_IsOK(res1
)) {
14485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14487 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14490 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14491 wxPyEndAllowThreads(__tstate
);
14492 if (PyErr_Occurred()) SWIG_fail
;
14495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14503 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14504 PyObject
*resultobj
= 0;
14505 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14511 PyObject
* obj0
= 0 ;
14512 PyObject
* obj1
= 0 ;
14513 char * kwnames
[] = {
14514 (char *) "self",(char *) "viewStart", NULL
14517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14519 if (!SWIG_IsOK(res1
)) {
14520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14522 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14523 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14524 if (!SWIG_IsOK(ecode2
)) {
14525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14527 arg2
= static_cast< int >(val2
);
14529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14530 (arg1
)->SetThumbPosition(arg2
);
14531 wxPyEndAllowThreads(__tstate
);
14532 if (PyErr_Occurred()) SWIG_fail
;
14534 resultobj
= SWIG_Py_Void();
14541 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14542 PyObject
*resultobj
= 0;
14543 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14544 SwigValueWrapper
<wxVisualAttributes
> result
;
14547 PyObject
* obj0
= 0 ;
14548 char * kwnames
[] = {
14549 (char *) "variant", NULL
14552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14554 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14555 if (!SWIG_IsOK(ecode1
)) {
14556 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14558 arg1
= static_cast< wxWindowVariant
>(val1
);
14561 if (!wxPyCheckForApp()) SWIG_fail
;
14562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14563 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14564 wxPyEndAllowThreads(__tstate
);
14565 if (PyErr_Occurred()) SWIG_fail
;
14567 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14574 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14576 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14577 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14578 return SWIG_Py_Void();
14581 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14582 return SWIG_Python_InitShadowInstance(args
);
14585 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14586 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14591 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14592 PyObject
*pyobj
= 0;
14596 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14598 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14605 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14606 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14611 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14612 PyObject
*pyobj
= 0;
14616 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14618 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14625 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14626 PyObject
*resultobj
= 0;
14627 wxWindow
*arg1
= (wxWindow
*) 0 ;
14628 int arg2
= (int) -1 ;
14629 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14630 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14631 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14632 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14633 long arg5
= (long) wxSP_HORIZONTAL
;
14634 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14635 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14636 wxSpinButton
*result
= 0 ;
14645 bool temp6
= false ;
14646 PyObject
* obj0
= 0 ;
14647 PyObject
* obj1
= 0 ;
14648 PyObject
* obj2
= 0 ;
14649 PyObject
* obj3
= 0 ;
14650 PyObject
* obj4
= 0 ;
14651 PyObject
* obj5
= 0 ;
14652 char * kwnames
[] = {
14653 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14658 if (!SWIG_IsOK(res1
)) {
14659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14661 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14663 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14664 if (!SWIG_IsOK(ecode2
)) {
14665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14667 arg2
= static_cast< int >(val2
);
14672 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14678 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14682 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14683 if (!SWIG_IsOK(ecode5
)) {
14684 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14686 arg5
= static_cast< long >(val5
);
14690 arg6
= wxString_in_helper(obj5
);
14691 if (arg6
== NULL
) SWIG_fail
;
14696 if (!wxPyCheckForApp()) SWIG_fail
;
14697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14698 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14699 wxPyEndAllowThreads(__tstate
);
14700 if (PyErr_Occurred()) SWIG_fail
;
14702 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14717 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14718 PyObject
*resultobj
= 0;
14719 wxSpinButton
*result
= 0 ;
14721 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14723 if (!wxPyCheckForApp()) SWIG_fail
;
14724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14725 result
= (wxSpinButton
*)new wxSpinButton();
14726 wxPyEndAllowThreads(__tstate
);
14727 if (PyErr_Occurred()) SWIG_fail
;
14729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14736 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14737 PyObject
*resultobj
= 0;
14738 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14739 wxWindow
*arg2
= (wxWindow
*) 0 ;
14740 int arg3
= (int) -1 ;
14741 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14742 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14743 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14744 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14745 long arg6
= (long) wxSP_HORIZONTAL
;
14746 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14747 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14759 bool temp7
= false ;
14760 PyObject
* obj0
= 0 ;
14761 PyObject
* obj1
= 0 ;
14762 PyObject
* obj2
= 0 ;
14763 PyObject
* obj3
= 0 ;
14764 PyObject
* obj4
= 0 ;
14765 PyObject
* obj5
= 0 ;
14766 PyObject
* obj6
= 0 ;
14767 char * kwnames
[] = {
14768 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14773 if (!SWIG_IsOK(res1
)) {
14774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14776 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14777 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14778 if (!SWIG_IsOK(res2
)) {
14779 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14781 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14783 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14784 if (!SWIG_IsOK(ecode3
)) {
14785 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14787 arg3
= static_cast< int >(val3
);
14792 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14798 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14802 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14803 if (!SWIG_IsOK(ecode6
)) {
14804 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14806 arg6
= static_cast< long >(val6
);
14810 arg7
= wxString_in_helper(obj6
);
14811 if (arg7
== NULL
) SWIG_fail
;
14816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14817 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14818 wxPyEndAllowThreads(__tstate
);
14819 if (PyErr_Occurred()) SWIG_fail
;
14822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14838 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14839 PyObject
*resultobj
= 0;
14840 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14844 PyObject
*swig_obj
[1] ;
14846 if (!args
) SWIG_fail
;
14847 swig_obj
[0] = args
;
14848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14849 if (!SWIG_IsOK(res1
)) {
14850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14852 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14855 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14856 wxPyEndAllowThreads(__tstate
);
14857 if (PyErr_Occurred()) SWIG_fail
;
14859 resultobj
= SWIG_From_int(static_cast< int >(result
));
14866 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14867 PyObject
*resultobj
= 0;
14868 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14872 PyObject
*swig_obj
[1] ;
14874 if (!args
) SWIG_fail
;
14875 swig_obj
[0] = args
;
14876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14877 if (!SWIG_IsOK(res1
)) {
14878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14880 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14883 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14884 wxPyEndAllowThreads(__tstate
);
14885 if (PyErr_Occurred()) SWIG_fail
;
14887 resultobj
= SWIG_From_int(static_cast< int >(result
));
14894 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14895 PyObject
*resultobj
= 0;
14896 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14900 PyObject
*swig_obj
[1] ;
14902 if (!args
) SWIG_fail
;
14903 swig_obj
[0] = args
;
14904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14905 if (!SWIG_IsOK(res1
)) {
14906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14908 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14911 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
14912 wxPyEndAllowThreads(__tstate
);
14913 if (PyErr_Occurred()) SWIG_fail
;
14915 resultobj
= SWIG_From_int(static_cast< int >(result
));
14922 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14923 PyObject
*resultobj
= 0;
14924 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14930 PyObject
* obj0
= 0 ;
14931 PyObject
* obj1
= 0 ;
14932 char * kwnames
[] = {
14933 (char *) "self",(char *) "val", NULL
14936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14938 if (!SWIG_IsOK(res1
)) {
14939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14941 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14943 if (!SWIG_IsOK(ecode2
)) {
14944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14946 arg2
= static_cast< int >(val2
);
14948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14949 (arg1
)->SetValue(arg2
);
14950 wxPyEndAllowThreads(__tstate
);
14951 if (PyErr_Occurred()) SWIG_fail
;
14953 resultobj
= SWIG_Py_Void();
14960 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(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 *) "minVal", NULL
14974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",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_SetMin" "', 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_SetMin" "', expected argument " "2"" of type '" "int""'");
14984 arg2
= static_cast< int >(val2
);
14986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14987 (arg1
)->SetMin(arg2
);
14988 wxPyEndAllowThreads(__tstate
);
14989 if (PyErr_Occurred()) SWIG_fail
;
14991 resultobj
= SWIG_Py_Void();
14998 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(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 *) "maxVal", NULL
15012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",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_SetMax" "', 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_SetMax" "', expected argument " "2"" of type '" "int""'");
15022 arg2
= static_cast< int >(val2
);
15024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15025 (arg1
)->SetMax(arg2
);
15026 wxPyEndAllowThreads(__tstate
);
15027 if (PyErr_Occurred()) SWIG_fail
;
15029 resultobj
= SWIG_Py_Void();
15036 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15037 PyObject
*resultobj
= 0;
15038 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15047 PyObject
* obj0
= 0 ;
15048 PyObject
* obj1
= 0 ;
15049 PyObject
* obj2
= 0 ;
15050 char * kwnames
[] = {
15051 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15056 if (!SWIG_IsOK(res1
)) {
15057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15059 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15060 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15061 if (!SWIG_IsOK(ecode2
)) {
15062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15064 arg2
= static_cast< int >(val2
);
15065 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15066 if (!SWIG_IsOK(ecode3
)) {
15067 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15069 arg3
= static_cast< int >(val3
);
15071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15072 (arg1
)->SetRange(arg2
,arg3
);
15073 wxPyEndAllowThreads(__tstate
);
15074 if (PyErr_Occurred()) SWIG_fail
;
15076 resultobj
= SWIG_Py_Void();
15083 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15084 PyObject
*resultobj
= 0;
15085 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15089 PyObject
*swig_obj
[1] ;
15091 if (!args
) SWIG_fail
;
15092 swig_obj
[0] = args
;
15093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15094 if (!SWIG_IsOK(res1
)) {
15095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15097 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15100 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15101 wxPyEndAllowThreads(__tstate
);
15102 if (PyErr_Occurred()) SWIG_fail
;
15105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15113 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15114 PyObject
*resultobj
= 0;
15115 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15116 SwigValueWrapper
<wxVisualAttributes
> result
;
15119 PyObject
* obj0
= 0 ;
15120 char * kwnames
[] = {
15121 (char *) "variant", NULL
15124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15126 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15127 if (!SWIG_IsOK(ecode1
)) {
15128 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15130 arg1
= static_cast< wxWindowVariant
>(val1
);
15133 if (!wxPyCheckForApp()) SWIG_fail
;
15134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15135 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15136 wxPyEndAllowThreads(__tstate
);
15137 if (PyErr_Occurred()) SWIG_fail
;
15139 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15146 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15148 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15149 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15150 return SWIG_Py_Void();
15153 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15154 return SWIG_Python_InitShadowInstance(args
);
15157 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15158 PyObject
*resultobj
= 0;
15159 wxWindow
*arg1
= (wxWindow
*) 0 ;
15160 int arg2
= (int) -1 ;
15161 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15162 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15163 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15164 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15165 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15166 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15167 long arg6
= (long) wxSP_ARROW_KEYS
;
15168 int arg7
= (int) 0 ;
15169 int arg8
= (int) 100 ;
15170 int arg9
= (int) 0 ;
15171 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15172 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15173 wxSpinCtrl
*result
= 0 ;
15178 bool temp3
= false ;
15189 bool temp10
= false ;
15190 PyObject
* obj0
= 0 ;
15191 PyObject
* obj1
= 0 ;
15192 PyObject
* obj2
= 0 ;
15193 PyObject
* obj3
= 0 ;
15194 PyObject
* obj4
= 0 ;
15195 PyObject
* obj5
= 0 ;
15196 PyObject
* obj6
= 0 ;
15197 PyObject
* obj7
= 0 ;
15198 PyObject
* obj8
= 0 ;
15199 PyObject
* obj9
= 0 ;
15200 char * kwnames
[] = {
15201 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15206 if (!SWIG_IsOK(res1
)) {
15207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15209 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15211 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15212 if (!SWIG_IsOK(ecode2
)) {
15213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15215 arg2
= static_cast< int >(val2
);
15219 arg3
= wxString_in_helper(obj2
);
15220 if (arg3
== NULL
) SWIG_fail
;
15227 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15233 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15237 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15238 if (!SWIG_IsOK(ecode6
)) {
15239 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15241 arg6
= static_cast< long >(val6
);
15244 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15245 if (!SWIG_IsOK(ecode7
)) {
15246 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15248 arg7
= static_cast< int >(val7
);
15251 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15252 if (!SWIG_IsOK(ecode8
)) {
15253 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15255 arg8
= static_cast< int >(val8
);
15258 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15259 if (!SWIG_IsOK(ecode9
)) {
15260 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15262 arg9
= static_cast< int >(val9
);
15266 arg10
= wxString_in_helper(obj9
);
15267 if (arg10
== NULL
) SWIG_fail
;
15272 if (!wxPyCheckForApp()) SWIG_fail
;
15273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15274 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15275 wxPyEndAllowThreads(__tstate
);
15276 if (PyErr_Occurred()) SWIG_fail
;
15278 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15301 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15302 PyObject
*resultobj
= 0;
15303 wxSpinCtrl
*result
= 0 ;
15305 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15307 if (!wxPyCheckForApp()) SWIG_fail
;
15308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15309 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15310 wxPyEndAllowThreads(__tstate
);
15311 if (PyErr_Occurred()) SWIG_fail
;
15313 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15320 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15321 PyObject
*resultobj
= 0;
15322 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15323 wxWindow
*arg2
= (wxWindow
*) 0 ;
15324 int arg3
= (int) -1 ;
15325 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15326 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15327 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15328 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15329 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15330 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15331 long arg7
= (long) wxSP_ARROW_KEYS
;
15332 int arg8
= (int) 0 ;
15333 int arg9
= (int) 100 ;
15334 int arg10
= (int) 0 ;
15335 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15336 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15344 bool temp4
= false ;
15355 bool temp11
= false ;
15356 PyObject
* obj0
= 0 ;
15357 PyObject
* obj1
= 0 ;
15358 PyObject
* obj2
= 0 ;
15359 PyObject
* obj3
= 0 ;
15360 PyObject
* obj4
= 0 ;
15361 PyObject
* obj5
= 0 ;
15362 PyObject
* obj6
= 0 ;
15363 PyObject
* obj7
= 0 ;
15364 PyObject
* obj8
= 0 ;
15365 PyObject
* obj9
= 0 ;
15366 PyObject
* obj10
= 0 ;
15367 char * kwnames
[] = {
15368 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15373 if (!SWIG_IsOK(res1
)) {
15374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15376 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15377 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15378 if (!SWIG_IsOK(res2
)) {
15379 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15381 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15383 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15384 if (!SWIG_IsOK(ecode3
)) {
15385 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15387 arg3
= static_cast< int >(val3
);
15391 arg4
= wxString_in_helper(obj3
);
15392 if (arg4
== NULL
) SWIG_fail
;
15399 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15405 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15409 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15410 if (!SWIG_IsOK(ecode7
)) {
15411 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15413 arg7
= static_cast< long >(val7
);
15416 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15417 if (!SWIG_IsOK(ecode8
)) {
15418 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15420 arg8
= static_cast< int >(val8
);
15423 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15424 if (!SWIG_IsOK(ecode9
)) {
15425 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15427 arg9
= static_cast< int >(val9
);
15430 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15431 if (!SWIG_IsOK(ecode10
)) {
15432 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15434 arg10
= static_cast< int >(val10
);
15438 arg11
= wxString_in_helper(obj10
);
15439 if (arg11
== NULL
) SWIG_fail
;
15444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15445 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15446 wxPyEndAllowThreads(__tstate
);
15447 if (PyErr_Occurred()) SWIG_fail
;
15450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15474 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15475 PyObject
*resultobj
= 0;
15476 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15480 PyObject
*swig_obj
[1] ;
15482 if (!args
) SWIG_fail
;
15483 swig_obj
[0] = args
;
15484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15485 if (!SWIG_IsOK(res1
)) {
15486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15488 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15491 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15492 wxPyEndAllowThreads(__tstate
);
15493 if (PyErr_Occurred()) SWIG_fail
;
15495 resultobj
= SWIG_From_int(static_cast< int >(result
));
15502 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15503 PyObject
*resultobj
= 0;
15504 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15510 PyObject
* obj0
= 0 ;
15511 PyObject
* obj1
= 0 ;
15512 char * kwnames
[] = {
15513 (char *) "self",(char *) "value", NULL
15516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15518 if (!SWIG_IsOK(res1
)) {
15519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15521 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15523 if (!SWIG_IsOK(ecode2
)) {
15524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15526 arg2
= static_cast< int >(val2
);
15528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15529 (arg1
)->SetValue(arg2
);
15530 wxPyEndAllowThreads(__tstate
);
15531 if (PyErr_Occurred()) SWIG_fail
;
15533 resultobj
= SWIG_Py_Void();
15540 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15541 PyObject
*resultobj
= 0;
15542 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15543 wxString
*arg2
= 0 ;
15546 bool temp2
= false ;
15547 PyObject
* obj0
= 0 ;
15548 PyObject
* obj1
= 0 ;
15549 char * kwnames
[] = {
15550 (char *) "self",(char *) "text", NULL
15553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15555 if (!SWIG_IsOK(res1
)) {
15556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15558 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15560 arg2
= wxString_in_helper(obj1
);
15561 if (arg2
== NULL
) SWIG_fail
;
15565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15566 (arg1
)->SetValue((wxString
const &)*arg2
);
15567 wxPyEndAllowThreads(__tstate
);
15568 if (PyErr_Occurred()) SWIG_fail
;
15570 resultobj
= SWIG_Py_Void();
15585 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15586 PyObject
*resultobj
= 0;
15587 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15596 PyObject
* obj0
= 0 ;
15597 PyObject
* obj1
= 0 ;
15598 PyObject
* obj2
= 0 ;
15599 char * kwnames
[] = {
15600 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15605 if (!SWIG_IsOK(res1
)) {
15606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15608 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15609 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15610 if (!SWIG_IsOK(ecode2
)) {
15611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15613 arg2
= static_cast< int >(val2
);
15614 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15615 if (!SWIG_IsOK(ecode3
)) {
15616 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15618 arg3
= static_cast< int >(val3
);
15620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15621 (arg1
)->SetRange(arg2
,arg3
);
15622 wxPyEndAllowThreads(__tstate
);
15623 if (PyErr_Occurred()) SWIG_fail
;
15625 resultobj
= SWIG_Py_Void();
15632 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15633 PyObject
*resultobj
= 0;
15634 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15638 PyObject
*swig_obj
[1] ;
15640 if (!args
) SWIG_fail
;
15641 swig_obj
[0] = args
;
15642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15643 if (!SWIG_IsOK(res1
)) {
15644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15646 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15649 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15650 wxPyEndAllowThreads(__tstate
);
15651 if (PyErr_Occurred()) SWIG_fail
;
15653 resultobj
= SWIG_From_int(static_cast< int >(result
));
15660 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15661 PyObject
*resultobj
= 0;
15662 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15666 PyObject
*swig_obj
[1] ;
15668 if (!args
) SWIG_fail
;
15669 swig_obj
[0] = args
;
15670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15671 if (!SWIG_IsOK(res1
)) {
15672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15674 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15677 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15678 wxPyEndAllowThreads(__tstate
);
15679 if (PyErr_Occurred()) SWIG_fail
;
15681 resultobj
= SWIG_From_int(static_cast< int >(result
));
15688 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15689 PyObject
*resultobj
= 0;
15690 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15699 PyObject
* obj0
= 0 ;
15700 PyObject
* obj1
= 0 ;
15701 PyObject
* obj2
= 0 ;
15702 char * kwnames
[] = {
15703 (char *) "self",(char *) "from",(char *) "to", NULL
15706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15708 if (!SWIG_IsOK(res1
)) {
15709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15711 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15712 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15713 if (!SWIG_IsOK(ecode2
)) {
15714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15716 arg2
= static_cast< long >(val2
);
15717 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15718 if (!SWIG_IsOK(ecode3
)) {
15719 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15721 arg3
= static_cast< long >(val3
);
15723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15724 (arg1
)->SetSelection(arg2
,arg3
);
15725 wxPyEndAllowThreads(__tstate
);
15726 if (PyErr_Occurred()) SWIG_fail
;
15728 resultobj
= SWIG_Py_Void();
15735 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15736 PyObject
*resultobj
= 0;
15737 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15738 SwigValueWrapper
<wxVisualAttributes
> result
;
15741 PyObject
* obj0
= 0 ;
15742 char * kwnames
[] = {
15743 (char *) "variant", NULL
15746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15748 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15749 if (!SWIG_IsOK(ecode1
)) {
15750 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15752 arg1
= static_cast< wxWindowVariant
>(val1
);
15755 if (!wxPyCheckForApp()) SWIG_fail
;
15756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15757 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15758 wxPyEndAllowThreads(__tstate
);
15759 if (PyErr_Occurred()) SWIG_fail
;
15761 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15768 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15770 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15771 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15772 return SWIG_Py_Void();
15775 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15776 return SWIG_Python_InitShadowInstance(args
);
15779 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15780 PyObject
*resultobj
= 0;
15781 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15782 int arg2
= (int) 0 ;
15783 wxSpinEvent
*result
= 0 ;
15788 PyObject
* obj0
= 0 ;
15789 PyObject
* obj1
= 0 ;
15790 char * kwnames
[] = {
15791 (char *) "commandType",(char *) "winid", NULL
15794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15796 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15797 if (!SWIG_IsOK(ecode1
)) {
15798 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15800 arg1
= static_cast< wxEventType
>(val1
);
15803 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15804 if (!SWIG_IsOK(ecode2
)) {
15805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15807 arg2
= static_cast< int >(val2
);
15810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15811 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15812 wxPyEndAllowThreads(__tstate
);
15813 if (PyErr_Occurred()) SWIG_fail
;
15815 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15822 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15823 PyObject
*resultobj
= 0;
15824 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15828 PyObject
*swig_obj
[1] ;
15830 if (!args
) SWIG_fail
;
15831 swig_obj
[0] = args
;
15832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15833 if (!SWIG_IsOK(res1
)) {
15834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15836 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15839 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15840 wxPyEndAllowThreads(__tstate
);
15841 if (PyErr_Occurred()) SWIG_fail
;
15843 resultobj
= SWIG_From_int(static_cast< int >(result
));
15850 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15851 PyObject
*resultobj
= 0;
15852 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15858 PyObject
* obj0
= 0 ;
15859 PyObject
* obj1
= 0 ;
15860 char * kwnames
[] = {
15861 (char *) "self",(char *) "pos", NULL
15864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15866 if (!SWIG_IsOK(res1
)) {
15867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15869 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15871 if (!SWIG_IsOK(ecode2
)) {
15872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15874 arg2
= static_cast< int >(val2
);
15876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15877 (arg1
)->SetPosition(arg2
);
15878 wxPyEndAllowThreads(__tstate
);
15879 if (PyErr_Occurred()) SWIG_fail
;
15881 resultobj
= SWIG_Py_Void();
15888 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15890 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15891 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15892 return SWIG_Py_Void();
15895 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15896 return SWIG_Python_InitShadowInstance(args
);
15899 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15900 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
15905 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
15906 PyObject
*pyobj
= 0;
15910 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15912 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15919 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
15920 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
15925 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
15926 PyObject
*pyobj
= 0;
15930 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15932 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15939 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15940 PyObject
*resultobj
= 0;
15941 wxWindow
*arg1
= (wxWindow
*) 0 ;
15942 int arg2
= (int) -1 ;
15943 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15944 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15945 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15946 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15947 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15948 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15949 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
15950 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
15951 int arg7
= (int) 0 ;
15952 long arg8
= (long) wxRA_HORIZONTAL
;
15953 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
15954 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
15955 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
15956 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15957 wxRadioBox
*result
= 0 ;
15962 bool temp3
= false ;
15965 bool temp6
= false ;
15972 bool temp10
= false ;
15973 PyObject
* obj0
= 0 ;
15974 PyObject
* obj1
= 0 ;
15975 PyObject
* obj2
= 0 ;
15976 PyObject
* obj3
= 0 ;
15977 PyObject
* obj4
= 0 ;
15978 PyObject
* obj5
= 0 ;
15979 PyObject
* obj6
= 0 ;
15980 PyObject
* obj7
= 0 ;
15981 PyObject
* obj8
= 0 ;
15982 PyObject
* obj9
= 0 ;
15983 char * kwnames
[] = {
15984 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
15987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15989 if (!SWIG_IsOK(res1
)) {
15990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15992 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15994 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15995 if (!SWIG_IsOK(ecode2
)) {
15996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
15998 arg2
= static_cast< int >(val2
);
16002 arg3
= wxString_in_helper(obj2
);
16003 if (arg3
== NULL
) SWIG_fail
;
16010 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16016 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16021 if (! PySequence_Check(obj5
)) {
16022 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16025 arg6
= new wxArrayString
;
16027 int i
, len
=PySequence_Length(obj5
);
16028 for (i
=0; i
<len
; i
++) {
16029 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16030 wxString
* s
= wxString_in_helper(item
);
16031 if (PyErr_Occurred()) SWIG_fail
;
16039 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16040 if (!SWIG_IsOK(ecode7
)) {
16041 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16043 arg7
= static_cast< int >(val7
);
16046 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16047 if (!SWIG_IsOK(ecode8
)) {
16048 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16050 arg8
= static_cast< long >(val8
);
16053 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16054 if (!SWIG_IsOK(res9
)) {
16055 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16058 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16060 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16064 arg10
= wxString_in_helper(obj9
);
16065 if (arg10
== NULL
) SWIG_fail
;
16070 if (!wxPyCheckForApp()) SWIG_fail
;
16071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16072 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
);
16073 wxPyEndAllowThreads(__tstate
);
16074 if (PyErr_Occurred()) SWIG_fail
;
16076 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16082 if (temp6
) delete arg6
;
16095 if (temp6
) delete arg6
;
16105 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16106 PyObject
*resultobj
= 0;
16107 wxRadioBox
*result
= 0 ;
16109 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16111 if (!wxPyCheckForApp()) SWIG_fail
;
16112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16113 result
= (wxRadioBox
*)new wxRadioBox();
16114 wxPyEndAllowThreads(__tstate
);
16115 if (PyErr_Occurred()) SWIG_fail
;
16117 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16124 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16125 PyObject
*resultobj
= 0;
16126 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16127 wxWindow
*arg2
= (wxWindow
*) 0 ;
16128 int arg3
= (int) -1 ;
16129 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16130 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16131 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16132 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16133 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16134 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16135 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16136 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16137 int arg8
= (int) 0 ;
16138 long arg9
= (long) wxRA_HORIZONTAL
;
16139 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16140 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16141 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16142 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16150 bool temp4
= false ;
16153 bool temp7
= false ;
16160 bool temp11
= false ;
16161 PyObject
* obj0
= 0 ;
16162 PyObject
* obj1
= 0 ;
16163 PyObject
* obj2
= 0 ;
16164 PyObject
* obj3
= 0 ;
16165 PyObject
* obj4
= 0 ;
16166 PyObject
* obj5
= 0 ;
16167 PyObject
* obj6
= 0 ;
16168 PyObject
* obj7
= 0 ;
16169 PyObject
* obj8
= 0 ;
16170 PyObject
* obj9
= 0 ;
16171 PyObject
* obj10
= 0 ;
16172 char * kwnames
[] = {
16173 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16178 if (!SWIG_IsOK(res1
)) {
16179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16181 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16182 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16183 if (!SWIG_IsOK(res2
)) {
16184 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16186 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16188 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16189 if (!SWIG_IsOK(ecode3
)) {
16190 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16192 arg3
= static_cast< int >(val3
);
16196 arg4
= wxString_in_helper(obj3
);
16197 if (arg4
== NULL
) SWIG_fail
;
16204 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16210 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16215 if (! PySequence_Check(obj6
)) {
16216 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16219 arg7
= new wxArrayString
;
16221 int i
, len
=PySequence_Length(obj6
);
16222 for (i
=0; i
<len
; i
++) {
16223 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16224 wxString
* s
= wxString_in_helper(item
);
16225 if (PyErr_Occurred()) SWIG_fail
;
16233 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16234 if (!SWIG_IsOK(ecode8
)) {
16235 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16237 arg8
= static_cast< int >(val8
);
16240 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16241 if (!SWIG_IsOK(ecode9
)) {
16242 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16244 arg9
= static_cast< long >(val9
);
16247 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16248 if (!SWIG_IsOK(res10
)) {
16249 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16252 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16254 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16258 arg11
= wxString_in_helper(obj10
);
16259 if (arg11
== NULL
) SWIG_fail
;
16264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16265 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
);
16266 wxPyEndAllowThreads(__tstate
);
16267 if (PyErr_Occurred()) SWIG_fail
;
16270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16277 if (temp7
) delete arg7
;
16290 if (temp7
) delete arg7
;
16300 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16301 PyObject
*resultobj
= 0;
16302 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16308 PyObject
* obj0
= 0 ;
16309 PyObject
* obj1
= 0 ;
16310 char * kwnames
[] = {
16311 (char *) "self",(char *) "n", NULL
16314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16316 if (!SWIG_IsOK(res1
)) {
16317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16319 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16320 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16321 if (!SWIG_IsOK(ecode2
)) {
16322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16324 arg2
= static_cast< int >(val2
);
16326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16327 (arg1
)->SetSelection(arg2
);
16328 wxPyEndAllowThreads(__tstate
);
16329 if (PyErr_Occurred()) SWIG_fail
;
16331 resultobj
= SWIG_Py_Void();
16338 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16339 PyObject
*resultobj
= 0;
16340 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16344 PyObject
*swig_obj
[1] ;
16346 if (!args
) SWIG_fail
;
16347 swig_obj
[0] = args
;
16348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16349 if (!SWIG_IsOK(res1
)) {
16350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16352 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16355 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16356 wxPyEndAllowThreads(__tstate
);
16357 if (PyErr_Occurred()) SWIG_fail
;
16359 resultobj
= SWIG_From_int(static_cast< int >(result
));
16366 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16367 PyObject
*resultobj
= 0;
16368 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16372 PyObject
*swig_obj
[1] ;
16374 if (!args
) SWIG_fail
;
16375 swig_obj
[0] = args
;
16376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16377 if (!SWIG_IsOK(res1
)) {
16378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16380 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16383 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16384 wxPyEndAllowThreads(__tstate
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16389 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16391 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16400 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16401 PyObject
*resultobj
= 0;
16402 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16403 wxString
*arg2
= 0 ;
16407 bool temp2
= false ;
16408 PyObject
* obj0
= 0 ;
16409 PyObject
* obj1
= 0 ;
16410 char * kwnames
[] = {
16411 (char *) "self",(char *) "s", NULL
16414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16416 if (!SWIG_IsOK(res1
)) {
16417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16419 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16421 arg2
= wxString_in_helper(obj1
);
16422 if (arg2
== NULL
) SWIG_fail
;
16426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16427 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16428 wxPyEndAllowThreads(__tstate
);
16429 if (PyErr_Occurred()) SWIG_fail
;
16432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16448 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16449 PyObject
*resultobj
= 0;
16450 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16454 PyObject
*swig_obj
[1] ;
16456 if (!args
) SWIG_fail
;
16457 swig_obj
[0] = args
;
16458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16459 if (!SWIG_IsOK(res1
)) {
16460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16462 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16465 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16466 wxPyEndAllowThreads(__tstate
);
16467 if (PyErr_Occurred()) SWIG_fail
;
16469 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16476 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16477 PyObject
*resultobj
= 0;
16478 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16479 wxString
*arg2
= 0 ;
16483 bool temp2
= false ;
16484 PyObject
* obj0
= 0 ;
16485 PyObject
* obj1
= 0 ;
16486 char * kwnames
[] = {
16487 (char *) "self",(char *) "s", NULL
16490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16492 if (!SWIG_IsOK(res1
)) {
16493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16495 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16497 arg2
= wxString_in_helper(obj1
);
16498 if (arg2
== NULL
) SWIG_fail
;
16502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16503 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16504 wxPyEndAllowThreads(__tstate
);
16505 if (PyErr_Occurred()) SWIG_fail
;
16507 resultobj
= SWIG_From_int(static_cast< int >(result
));
16522 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16523 PyObject
*resultobj
= 0;
16524 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16531 PyObject
* obj0
= 0 ;
16532 PyObject
* obj1
= 0 ;
16533 char * kwnames
[] = {
16534 (char *) "self",(char *) "n", NULL
16537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16539 if (!SWIG_IsOK(res1
)) {
16540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16542 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16543 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16544 if (!SWIG_IsOK(ecode2
)) {
16545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16547 arg2
= static_cast< int >(val2
);
16549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16550 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16551 wxPyEndAllowThreads(__tstate
);
16552 if (PyErr_Occurred()) SWIG_fail
;
16556 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16558 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16567 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16568 PyObject
*resultobj
= 0;
16569 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16571 wxString
*arg3
= 0 ;
16576 bool temp3
= false ;
16577 PyObject
* obj0
= 0 ;
16578 PyObject
* obj1
= 0 ;
16579 PyObject
* obj2
= 0 ;
16580 char * kwnames
[] = {
16581 (char *) "self",(char *) "n",(char *) "label", NULL
16584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16586 if (!SWIG_IsOK(res1
)) {
16587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16589 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16591 if (!SWIG_IsOK(ecode2
)) {
16592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16594 arg2
= static_cast< int >(val2
);
16596 arg3
= wxString_in_helper(obj2
);
16597 if (arg3
== NULL
) SWIG_fail
;
16601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16602 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16603 wxPyEndAllowThreads(__tstate
);
16604 if (PyErr_Occurred()) SWIG_fail
;
16606 resultobj
= SWIG_Py_Void();
16621 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16622 PyObject
*resultobj
= 0;
16623 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16624 unsigned int arg2
;
16625 bool arg3
= (bool) true ;
16628 unsigned int val2
;
16632 PyObject
* obj0
= 0 ;
16633 PyObject
* obj1
= 0 ;
16634 PyObject
* obj2
= 0 ;
16635 char * kwnames
[] = {
16636 (char *) "self",(char *) "n",(char *) "enable", NULL
16639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16641 if (!SWIG_IsOK(res1
)) {
16642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16644 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16645 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16646 if (!SWIG_IsOK(ecode2
)) {
16647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16649 arg2
= static_cast< unsigned int >(val2
);
16651 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16652 if (!SWIG_IsOK(ecode3
)) {
16653 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16655 arg3
= static_cast< bool >(val3
);
16658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16659 (arg1
)->Enable(arg2
,arg3
);
16660 wxPyEndAllowThreads(__tstate
);
16661 if (PyErr_Occurred()) SWIG_fail
;
16663 resultobj
= SWIG_Py_Void();
16670 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16671 PyObject
*resultobj
= 0;
16672 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16673 unsigned int arg2
;
16674 bool arg3
= (bool) true ;
16677 unsigned int val2
;
16681 PyObject
* obj0
= 0 ;
16682 PyObject
* obj1
= 0 ;
16683 PyObject
* obj2
= 0 ;
16684 char * kwnames
[] = {
16685 (char *) "self",(char *) "n",(char *) "show", NULL
16688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16690 if (!SWIG_IsOK(res1
)) {
16691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16693 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16694 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16695 if (!SWIG_IsOK(ecode2
)) {
16696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16698 arg2
= static_cast< unsigned int >(val2
);
16700 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16701 if (!SWIG_IsOK(ecode3
)) {
16702 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16704 arg3
= static_cast< bool >(val3
);
16707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16708 (arg1
)->Show(arg2
,arg3
);
16709 wxPyEndAllowThreads(__tstate
);
16710 if (PyErr_Occurred()) SWIG_fail
;
16712 resultobj
= SWIG_Py_Void();
16719 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16720 PyObject
*resultobj
= 0;
16721 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16722 unsigned int arg2
;
16726 unsigned int val2
;
16728 PyObject
* obj0
= 0 ;
16729 PyObject
* obj1
= 0 ;
16730 char * kwnames
[] = {
16731 (char *) "self",(char *) "n", NULL
16734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16736 if (!SWIG_IsOK(res1
)) {
16737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16739 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16740 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16741 if (!SWIG_IsOK(ecode2
)) {
16742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16744 arg2
= static_cast< unsigned int >(val2
);
16746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16747 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16748 wxPyEndAllowThreads(__tstate
);
16749 if (PyErr_Occurred()) SWIG_fail
;
16752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16760 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16761 PyObject
*resultobj
= 0;
16762 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16763 unsigned int arg2
;
16767 unsigned int val2
;
16769 PyObject
* obj0
= 0 ;
16770 PyObject
* obj1
= 0 ;
16771 char * kwnames
[] = {
16772 (char *) "self",(char *) "n", NULL
16775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16777 if (!SWIG_IsOK(res1
)) {
16778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16780 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16781 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16782 if (!SWIG_IsOK(ecode2
)) {
16783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16785 arg2
= static_cast< unsigned int >(val2
);
16787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16788 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16789 wxPyEndAllowThreads(__tstate
);
16790 if (PyErr_Occurred()) SWIG_fail
;
16793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16801 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16802 PyObject
*resultobj
= 0;
16803 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16804 unsigned int result
;
16807 PyObject
*swig_obj
[1] ;
16809 if (!args
) SWIG_fail
;
16810 swig_obj
[0] = args
;
16811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16812 if (!SWIG_IsOK(res1
)) {
16813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16815 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16818 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16819 wxPyEndAllowThreads(__tstate
);
16820 if (PyErr_Occurred()) SWIG_fail
;
16822 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16829 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16830 PyObject
*resultobj
= 0;
16831 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16832 unsigned int result
;
16835 PyObject
*swig_obj
[1] ;
16837 if (!args
) SWIG_fail
;
16838 swig_obj
[0] = args
;
16839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16840 if (!SWIG_IsOK(res1
)) {
16841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16843 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16846 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16847 wxPyEndAllowThreads(__tstate
);
16848 if (PyErr_Occurred()) SWIG_fail
;
16850 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16857 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16858 PyObject
*resultobj
= 0;
16859 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16872 PyObject
* obj0
= 0 ;
16873 PyObject
* obj1
= 0 ;
16874 PyObject
* obj2
= 0 ;
16875 PyObject
* obj3
= 0 ;
16876 char * kwnames
[] = {
16877 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16882 if (!SWIG_IsOK(res1
)) {
16883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16885 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16887 if (!SWIG_IsOK(ecode2
)) {
16888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16890 arg2
= static_cast< int >(val2
);
16891 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16892 if (!SWIG_IsOK(ecode3
)) {
16893 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16895 arg3
= static_cast< wxDirection
>(val3
);
16896 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16897 if (!SWIG_IsOK(ecode4
)) {
16898 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16900 arg4
= static_cast< long >(val4
);
16902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16903 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
16904 wxPyEndAllowThreads(__tstate
);
16905 if (PyErr_Occurred()) SWIG_fail
;
16907 resultobj
= SWIG_From_int(static_cast< int >(result
));
16914 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16915 PyObject
*resultobj
= 0;
16916 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16917 unsigned int arg2
;
16918 wxString
*arg3
= 0 ;
16921 unsigned int val2
;
16923 bool temp3
= false ;
16924 PyObject
* obj0
= 0 ;
16925 PyObject
* obj1
= 0 ;
16926 PyObject
* obj2
= 0 ;
16927 char * kwnames
[] = {
16928 (char *) "self",(char *) "item",(char *) "text", NULL
16931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16933 if (!SWIG_IsOK(res1
)) {
16934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16936 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16937 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16938 if (!SWIG_IsOK(ecode2
)) {
16939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16941 arg2
= static_cast< unsigned int >(val2
);
16943 arg3
= wxString_in_helper(obj2
);
16944 if (arg3
== NULL
) SWIG_fail
;
16948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16949 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
16950 wxPyEndAllowThreads(__tstate
);
16951 if (PyErr_Occurred()) SWIG_fail
;
16953 resultobj
= SWIG_Py_Void();
16968 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16969 PyObject
*resultobj
= 0;
16970 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16971 unsigned int arg2
;
16972 wxToolTip
*result
= 0 ;
16975 unsigned int val2
;
16977 PyObject
* obj0
= 0 ;
16978 PyObject
* obj1
= 0 ;
16979 char * kwnames
[] = {
16980 (char *) "self",(char *) "item", NULL
16983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16985 if (!SWIG_IsOK(res1
)) {
16986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16988 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16989 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16990 if (!SWIG_IsOK(ecode2
)) {
16991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16993 arg2
= static_cast< unsigned int >(val2
);
16995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16996 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
16997 wxPyEndAllowThreads(__tstate
);
16998 if (PyErr_Occurred()) SWIG_fail
;
17001 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17009 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17010 PyObject
*resultobj
= 0;
17011 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17012 unsigned int arg2
;
17013 wxString
*arg3
= 0 ;
17016 unsigned int val2
;
17018 bool temp3
= false ;
17019 PyObject
* obj0
= 0 ;
17020 PyObject
* obj1
= 0 ;
17021 PyObject
* obj2
= 0 ;
17022 char * kwnames
[] = {
17023 (char *) "self",(char *) "n",(char *) "helpText", NULL
17026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17028 if (!SWIG_IsOK(res1
)) {
17029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17031 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17032 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17033 if (!SWIG_IsOK(ecode2
)) {
17034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17036 arg2
= static_cast< unsigned int >(val2
);
17038 arg3
= wxString_in_helper(obj2
);
17039 if (arg3
== NULL
) SWIG_fail
;
17043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17044 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
17045 wxPyEndAllowThreads(__tstate
);
17046 if (PyErr_Occurred()) SWIG_fail
;
17048 resultobj
= SWIG_Py_Void();
17063 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17064 PyObject
*resultobj
= 0;
17065 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17066 unsigned int arg2
;
17070 unsigned int val2
;
17072 PyObject
* obj0
= 0 ;
17073 PyObject
* obj1
= 0 ;
17074 char * kwnames
[] = {
17075 (char *) "self",(char *) "n", NULL
17078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17080 if (!SWIG_IsOK(res1
)) {
17081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17083 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17084 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17085 if (!SWIG_IsOK(ecode2
)) {
17086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17088 arg2
= static_cast< unsigned int >(val2
);
17090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17091 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17092 wxPyEndAllowThreads(__tstate
);
17093 if (PyErr_Occurred()) SWIG_fail
;
17097 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17099 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17108 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17109 PyObject
*resultobj
= 0;
17110 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17111 SwigValueWrapper
<wxVisualAttributes
> result
;
17114 PyObject
* obj0
= 0 ;
17115 char * kwnames
[] = {
17116 (char *) "variant", NULL
17119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17121 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17122 if (!SWIG_IsOK(ecode1
)) {
17123 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17125 arg1
= static_cast< wxWindowVariant
>(val1
);
17128 if (!wxPyCheckForApp()) SWIG_fail
;
17129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17130 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17131 wxPyEndAllowThreads(__tstate
);
17132 if (PyErr_Occurred()) SWIG_fail
;
17134 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17141 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17143 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17144 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17145 return SWIG_Py_Void();
17148 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17149 return SWIG_Python_InitShadowInstance(args
);
17152 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17153 PyObject
*resultobj
= 0;
17154 wxWindow
*arg1
= (wxWindow
*) 0 ;
17155 int arg2
= (int) -1 ;
17156 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17157 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17158 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17159 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17160 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17161 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17162 long arg6
= (long) 0 ;
17163 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17164 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17165 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17166 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17167 wxRadioButton
*result
= 0 ;
17172 bool temp3
= false ;
17179 bool temp8
= false ;
17180 PyObject
* obj0
= 0 ;
17181 PyObject
* obj1
= 0 ;
17182 PyObject
* obj2
= 0 ;
17183 PyObject
* obj3
= 0 ;
17184 PyObject
* obj4
= 0 ;
17185 PyObject
* obj5
= 0 ;
17186 PyObject
* obj6
= 0 ;
17187 PyObject
* obj7
= 0 ;
17188 char * kwnames
[] = {
17189 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17194 if (!SWIG_IsOK(res1
)) {
17195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17197 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17199 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17200 if (!SWIG_IsOK(ecode2
)) {
17201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17203 arg2
= static_cast< int >(val2
);
17207 arg3
= wxString_in_helper(obj2
);
17208 if (arg3
== NULL
) SWIG_fail
;
17215 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17221 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17225 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17226 if (!SWIG_IsOK(ecode6
)) {
17227 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17229 arg6
= static_cast< long >(val6
);
17232 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17233 if (!SWIG_IsOK(res7
)) {
17234 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17237 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17239 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17243 arg8
= wxString_in_helper(obj7
);
17244 if (arg8
== NULL
) SWIG_fail
;
17249 if (!wxPyCheckForApp()) SWIG_fail
;
17250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17251 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17252 wxPyEndAllowThreads(__tstate
);
17253 if (PyErr_Occurred()) SWIG_fail
;
17255 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17278 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17279 PyObject
*resultobj
= 0;
17280 wxRadioButton
*result
= 0 ;
17282 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17284 if (!wxPyCheckForApp()) SWIG_fail
;
17285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17286 result
= (wxRadioButton
*)new wxRadioButton();
17287 wxPyEndAllowThreads(__tstate
);
17288 if (PyErr_Occurred()) SWIG_fail
;
17290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17297 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17298 PyObject
*resultobj
= 0;
17299 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17300 wxWindow
*arg2
= (wxWindow
*) 0 ;
17301 int arg3
= (int) -1 ;
17302 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17303 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17304 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17305 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17306 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17307 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17308 long arg7
= (long) 0 ;
17309 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17310 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17311 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17312 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17320 bool temp4
= false ;
17327 bool temp9
= false ;
17328 PyObject
* obj0
= 0 ;
17329 PyObject
* obj1
= 0 ;
17330 PyObject
* obj2
= 0 ;
17331 PyObject
* obj3
= 0 ;
17332 PyObject
* obj4
= 0 ;
17333 PyObject
* obj5
= 0 ;
17334 PyObject
* obj6
= 0 ;
17335 PyObject
* obj7
= 0 ;
17336 PyObject
* obj8
= 0 ;
17337 char * kwnames
[] = {
17338 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17343 if (!SWIG_IsOK(res1
)) {
17344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17346 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17347 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17348 if (!SWIG_IsOK(res2
)) {
17349 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17351 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17353 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17354 if (!SWIG_IsOK(ecode3
)) {
17355 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17357 arg3
= static_cast< int >(val3
);
17361 arg4
= wxString_in_helper(obj3
);
17362 if (arg4
== NULL
) SWIG_fail
;
17369 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17375 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17379 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17380 if (!SWIG_IsOK(ecode7
)) {
17381 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17383 arg7
= static_cast< long >(val7
);
17386 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17387 if (!SWIG_IsOK(res8
)) {
17388 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17391 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17393 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17397 arg9
= wxString_in_helper(obj8
);
17398 if (arg9
== NULL
) SWIG_fail
;
17403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17404 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17405 wxPyEndAllowThreads(__tstate
);
17406 if (PyErr_Occurred()) SWIG_fail
;
17409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17433 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17434 PyObject
*resultobj
= 0;
17435 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17439 PyObject
*swig_obj
[1] ;
17441 if (!args
) SWIG_fail
;
17442 swig_obj
[0] = args
;
17443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17444 if (!SWIG_IsOK(res1
)) {
17445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17447 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17450 result
= (bool)(arg1
)->GetValue();
17451 wxPyEndAllowThreads(__tstate
);
17452 if (PyErr_Occurred()) SWIG_fail
;
17455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17463 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17464 PyObject
*resultobj
= 0;
17465 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17471 PyObject
* obj0
= 0 ;
17472 PyObject
* obj1
= 0 ;
17473 char * kwnames
[] = {
17474 (char *) "self",(char *) "value", NULL
17477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17479 if (!SWIG_IsOK(res1
)) {
17480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17482 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17483 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17484 if (!SWIG_IsOK(ecode2
)) {
17485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17487 arg2
= static_cast< bool >(val2
);
17489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17490 (arg1
)->SetValue(arg2
);
17491 wxPyEndAllowThreads(__tstate
);
17492 if (PyErr_Occurred()) SWIG_fail
;
17494 resultobj
= SWIG_Py_Void();
17501 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17502 PyObject
*resultobj
= 0;
17503 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17504 SwigValueWrapper
<wxVisualAttributes
> result
;
17507 PyObject
* obj0
= 0 ;
17508 char * kwnames
[] = {
17509 (char *) "variant", NULL
17512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17514 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17515 if (!SWIG_IsOK(ecode1
)) {
17516 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17518 arg1
= static_cast< wxWindowVariant
>(val1
);
17521 if (!wxPyCheckForApp()) SWIG_fail
;
17522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17523 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17524 wxPyEndAllowThreads(__tstate
);
17525 if (PyErr_Occurred()) SWIG_fail
;
17527 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17534 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17536 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17537 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17538 return SWIG_Py_Void();
17541 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17542 return SWIG_Python_InitShadowInstance(args
);
17545 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17546 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17551 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17552 PyObject
*pyobj
= 0;
17556 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17558 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17565 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17566 PyObject
*resultobj
= 0;
17567 wxWindow
*arg1
= (wxWindow
*) 0 ;
17568 int arg2
= (int) -1 ;
17569 int arg3
= (int) 0 ;
17570 int arg4
= (int) 0 ;
17571 int arg5
= (int) 100 ;
17572 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17573 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17574 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17575 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17576 long arg8
= (long) wxSL_HORIZONTAL
;
17577 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17578 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17579 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17580 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17581 wxSlider
*result
= 0 ;
17598 bool temp10
= false ;
17599 PyObject
* obj0
= 0 ;
17600 PyObject
* obj1
= 0 ;
17601 PyObject
* obj2
= 0 ;
17602 PyObject
* obj3
= 0 ;
17603 PyObject
* obj4
= 0 ;
17604 PyObject
* obj5
= 0 ;
17605 PyObject
* obj6
= 0 ;
17606 PyObject
* obj7
= 0 ;
17607 PyObject
* obj8
= 0 ;
17608 PyObject
* obj9
= 0 ;
17609 char * kwnames
[] = {
17610 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17615 if (!SWIG_IsOK(res1
)) {
17616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17618 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17620 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17621 if (!SWIG_IsOK(ecode2
)) {
17622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17624 arg2
= static_cast< int >(val2
);
17627 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17628 if (!SWIG_IsOK(ecode3
)) {
17629 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17631 arg3
= static_cast< int >(val3
);
17634 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17635 if (!SWIG_IsOK(ecode4
)) {
17636 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17638 arg4
= static_cast< int >(val4
);
17641 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17642 if (!SWIG_IsOK(ecode5
)) {
17643 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17645 arg5
= static_cast< int >(val5
);
17650 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17656 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17660 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17661 if (!SWIG_IsOK(ecode8
)) {
17662 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17664 arg8
= static_cast< long >(val8
);
17667 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17668 if (!SWIG_IsOK(res9
)) {
17669 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17672 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17674 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17678 arg10
= wxString_in_helper(obj9
);
17679 if (arg10
== NULL
) SWIG_fail
;
17684 if (!wxPyCheckForApp()) SWIG_fail
;
17685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17686 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17687 wxPyEndAllowThreads(__tstate
);
17688 if (PyErr_Occurred()) SWIG_fail
;
17690 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17705 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17706 PyObject
*resultobj
= 0;
17707 wxSlider
*result
= 0 ;
17709 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17711 if (!wxPyCheckForApp()) SWIG_fail
;
17712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17713 result
= (wxSlider
*)new wxSlider();
17714 wxPyEndAllowThreads(__tstate
);
17715 if (PyErr_Occurred()) SWIG_fail
;
17717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17724 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17725 PyObject
*resultobj
= 0;
17726 wxSlider
*arg1
= (wxSlider
*) 0 ;
17727 wxWindow
*arg2
= (wxWindow
*) 0 ;
17728 int arg3
= (int) -1 ;
17729 int arg4
= (int) 0 ;
17730 int arg5
= (int) 0 ;
17731 int arg6
= (int) 100 ;
17732 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17733 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17734 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17735 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17736 long arg9
= (long) wxSL_HORIZONTAL
;
17737 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17738 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17739 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17740 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17760 bool temp11
= false ;
17761 PyObject
* obj0
= 0 ;
17762 PyObject
* obj1
= 0 ;
17763 PyObject
* obj2
= 0 ;
17764 PyObject
* obj3
= 0 ;
17765 PyObject
* obj4
= 0 ;
17766 PyObject
* obj5
= 0 ;
17767 PyObject
* obj6
= 0 ;
17768 PyObject
* obj7
= 0 ;
17769 PyObject
* obj8
= 0 ;
17770 PyObject
* obj9
= 0 ;
17771 PyObject
* obj10
= 0 ;
17772 char * kwnames
[] = {
17773 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17778 if (!SWIG_IsOK(res1
)) {
17779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17781 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17782 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17783 if (!SWIG_IsOK(res2
)) {
17784 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17786 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17788 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17789 if (!SWIG_IsOK(ecode3
)) {
17790 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17792 arg3
= static_cast< int >(val3
);
17795 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17796 if (!SWIG_IsOK(ecode4
)) {
17797 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17799 arg4
= static_cast< int >(val4
);
17802 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17803 if (!SWIG_IsOK(ecode5
)) {
17804 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17806 arg5
= static_cast< int >(val5
);
17809 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17810 if (!SWIG_IsOK(ecode6
)) {
17811 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17813 arg6
= static_cast< int >(val6
);
17818 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17824 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17828 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17829 if (!SWIG_IsOK(ecode9
)) {
17830 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17832 arg9
= static_cast< long >(val9
);
17835 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17836 if (!SWIG_IsOK(res10
)) {
17837 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17842 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17846 arg11
= wxString_in_helper(obj10
);
17847 if (arg11
== NULL
) SWIG_fail
;
17852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17853 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17854 wxPyEndAllowThreads(__tstate
);
17855 if (PyErr_Occurred()) SWIG_fail
;
17858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17874 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17875 PyObject
*resultobj
= 0;
17876 wxSlider
*arg1
= (wxSlider
*) 0 ;
17880 PyObject
*swig_obj
[1] ;
17882 if (!args
) SWIG_fail
;
17883 swig_obj
[0] = args
;
17884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17885 if (!SWIG_IsOK(res1
)) {
17886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17888 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17891 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17892 wxPyEndAllowThreads(__tstate
);
17893 if (PyErr_Occurred()) SWIG_fail
;
17895 resultobj
= SWIG_From_int(static_cast< int >(result
));
17902 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17903 PyObject
*resultobj
= 0;
17904 wxSlider
*arg1
= (wxSlider
*) 0 ;
17910 PyObject
* obj0
= 0 ;
17911 PyObject
* obj1
= 0 ;
17912 char * kwnames
[] = {
17913 (char *) "self",(char *) "value", NULL
17916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17918 if (!SWIG_IsOK(res1
)) {
17919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17921 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17922 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17923 if (!SWIG_IsOK(ecode2
)) {
17924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17926 arg2
= static_cast< int >(val2
);
17928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17929 (arg1
)->SetValue(arg2
);
17930 wxPyEndAllowThreads(__tstate
);
17931 if (PyErr_Occurred()) SWIG_fail
;
17933 resultobj
= SWIG_Py_Void();
17940 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17941 PyObject
*resultobj
= 0;
17942 wxSlider
*arg1
= (wxSlider
*) 0 ;
17951 PyObject
* obj0
= 0 ;
17952 PyObject
* obj1
= 0 ;
17953 PyObject
* obj2
= 0 ;
17954 char * kwnames
[] = {
17955 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
17958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17960 if (!SWIG_IsOK(res1
)) {
17961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
17963 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17965 if (!SWIG_IsOK(ecode2
)) {
17966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
17968 arg2
= static_cast< int >(val2
);
17969 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17970 if (!SWIG_IsOK(ecode3
)) {
17971 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
17973 arg3
= static_cast< int >(val3
);
17975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17976 (arg1
)->SetRange(arg2
,arg3
);
17977 wxPyEndAllowThreads(__tstate
);
17978 if (PyErr_Occurred()) SWIG_fail
;
17980 resultobj
= SWIG_Py_Void();
17987 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17988 PyObject
*resultobj
= 0;
17989 wxSlider
*arg1
= (wxSlider
*) 0 ;
17993 PyObject
*swig_obj
[1] ;
17995 if (!args
) SWIG_fail
;
17996 swig_obj
[0] = args
;
17997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17998 if (!SWIG_IsOK(res1
)) {
17999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18001 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18004 result
= (int)((wxSlider
const *)arg1
)->GetMin();
18005 wxPyEndAllowThreads(__tstate
);
18006 if (PyErr_Occurred()) SWIG_fail
;
18008 resultobj
= SWIG_From_int(static_cast< int >(result
));
18015 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18016 PyObject
*resultobj
= 0;
18017 wxSlider
*arg1
= (wxSlider
*) 0 ;
18021 PyObject
*swig_obj
[1] ;
18023 if (!args
) SWIG_fail
;
18024 swig_obj
[0] = args
;
18025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18026 if (!SWIG_IsOK(res1
)) {
18027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18029 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18032 result
= (int)((wxSlider
const *)arg1
)->GetMax();
18033 wxPyEndAllowThreads(__tstate
);
18034 if (PyErr_Occurred()) SWIG_fail
;
18036 resultobj
= SWIG_From_int(static_cast< int >(result
));
18043 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18044 PyObject
*resultobj
= 0;
18045 wxSlider
*arg1
= (wxSlider
*) 0 ;
18051 PyObject
* obj0
= 0 ;
18052 PyObject
* obj1
= 0 ;
18053 char * kwnames
[] = {
18054 (char *) "self",(char *) "minValue", NULL
18057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18059 if (!SWIG_IsOK(res1
)) {
18060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18062 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18064 if (!SWIG_IsOK(ecode2
)) {
18065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18067 arg2
= static_cast< int >(val2
);
18069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18070 (arg1
)->SetMin(arg2
);
18071 wxPyEndAllowThreads(__tstate
);
18072 if (PyErr_Occurred()) SWIG_fail
;
18074 resultobj
= SWIG_Py_Void();
18081 SWIGINTERN PyObject
*_wrap_Slider_SetMax(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 *) "maxValue", NULL
18095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",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_SetMax" "', 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_SetMax" "', expected argument " "2"" of type '" "int""'");
18105 arg2
= static_cast< int >(val2
);
18107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18108 (arg1
)->SetMax(arg2
);
18109 wxPyEndAllowThreads(__tstate
);
18110 if (PyErr_Occurred()) SWIG_fail
;
18112 resultobj
= SWIG_Py_Void();
18119 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(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 *) "lineSize", NULL
18133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",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_SetLineSize" "', 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_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18143 arg2
= static_cast< int >(val2
);
18145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18146 (arg1
)->SetLineSize(arg2
);
18147 wxPyEndAllowThreads(__tstate
);
18148 if (PyErr_Occurred()) SWIG_fail
;
18150 resultobj
= SWIG_Py_Void();
18157 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(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 *) "pageSize", NULL
18171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",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_SetPageSize" "', 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_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18181 arg2
= static_cast< int >(val2
);
18183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18184 (arg1
)->SetPageSize(arg2
);
18185 wxPyEndAllowThreads(__tstate
);
18186 if (PyErr_Occurred()) SWIG_fail
;
18188 resultobj
= SWIG_Py_Void();
18195 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18196 PyObject
*resultobj
= 0;
18197 wxSlider
*arg1
= (wxSlider
*) 0 ;
18201 PyObject
*swig_obj
[1] ;
18203 if (!args
) SWIG_fail
;
18204 swig_obj
[0] = args
;
18205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18206 if (!SWIG_IsOK(res1
)) {
18207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18209 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18212 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18213 wxPyEndAllowThreads(__tstate
);
18214 if (PyErr_Occurred()) SWIG_fail
;
18216 resultobj
= SWIG_From_int(static_cast< int >(result
));
18223 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18224 PyObject
*resultobj
= 0;
18225 wxSlider
*arg1
= (wxSlider
*) 0 ;
18229 PyObject
*swig_obj
[1] ;
18231 if (!args
) SWIG_fail
;
18232 swig_obj
[0] = args
;
18233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18234 if (!SWIG_IsOK(res1
)) {
18235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18237 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18240 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18241 wxPyEndAllowThreads(__tstate
);
18242 if (PyErr_Occurred()) SWIG_fail
;
18244 resultobj
= SWIG_From_int(static_cast< int >(result
));
18251 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18252 PyObject
*resultobj
= 0;
18253 wxSlider
*arg1
= (wxSlider
*) 0 ;
18259 PyObject
* obj0
= 0 ;
18260 PyObject
* obj1
= 0 ;
18261 char * kwnames
[] = {
18262 (char *) "self",(char *) "lenPixels", NULL
18265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18267 if (!SWIG_IsOK(res1
)) {
18268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18270 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18271 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18272 if (!SWIG_IsOK(ecode2
)) {
18273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18275 arg2
= static_cast< int >(val2
);
18277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18278 (arg1
)->SetThumbLength(arg2
);
18279 wxPyEndAllowThreads(__tstate
);
18280 if (PyErr_Occurred()) SWIG_fail
;
18282 resultobj
= SWIG_Py_Void();
18289 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18290 PyObject
*resultobj
= 0;
18291 wxSlider
*arg1
= (wxSlider
*) 0 ;
18295 PyObject
*swig_obj
[1] ;
18297 if (!args
) SWIG_fail
;
18298 swig_obj
[0] = args
;
18299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18300 if (!SWIG_IsOK(res1
)) {
18301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18303 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18306 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18307 wxPyEndAllowThreads(__tstate
);
18308 if (PyErr_Occurred()) SWIG_fail
;
18310 resultobj
= SWIG_From_int(static_cast< int >(result
));
18317 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18318 PyObject
*resultobj
= 0;
18319 wxSlider
*arg1
= (wxSlider
*) 0 ;
18321 int arg3
= (int) 1 ;
18328 PyObject
* obj0
= 0 ;
18329 PyObject
* obj1
= 0 ;
18330 PyObject
* obj2
= 0 ;
18331 char * kwnames
[] = {
18332 (char *) "self",(char *) "n",(char *) "pos", NULL
18335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18337 if (!SWIG_IsOK(res1
)) {
18338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18340 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18342 if (!SWIG_IsOK(ecode2
)) {
18343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18345 arg2
= static_cast< int >(val2
);
18347 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18348 if (!SWIG_IsOK(ecode3
)) {
18349 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18351 arg3
= static_cast< int >(val3
);
18354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18355 (arg1
)->SetTickFreq(arg2
,arg3
);
18356 wxPyEndAllowThreads(__tstate
);
18357 if (PyErr_Occurred()) SWIG_fail
;
18359 resultobj
= SWIG_Py_Void();
18366 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18367 PyObject
*resultobj
= 0;
18368 wxSlider
*arg1
= (wxSlider
*) 0 ;
18372 PyObject
*swig_obj
[1] ;
18374 if (!args
) SWIG_fail
;
18375 swig_obj
[0] = args
;
18376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18377 if (!SWIG_IsOK(res1
)) {
18378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18380 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18383 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18384 wxPyEndAllowThreads(__tstate
);
18385 if (PyErr_Occurred()) SWIG_fail
;
18387 resultobj
= SWIG_From_int(static_cast< int >(result
));
18394 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18395 PyObject
*resultobj
= 0;
18396 wxSlider
*arg1
= (wxSlider
*) 0 ;
18399 PyObject
*swig_obj
[1] ;
18401 if (!args
) SWIG_fail
;
18402 swig_obj
[0] = args
;
18403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18404 if (!SWIG_IsOK(res1
)) {
18405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18407 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18410 (arg1
)->ClearTicks();
18411 wxPyEndAllowThreads(__tstate
);
18412 if (PyErr_Occurred()) SWIG_fail
;
18414 resultobj
= SWIG_Py_Void();
18421 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18422 PyObject
*resultobj
= 0;
18423 wxSlider
*arg1
= (wxSlider
*) 0 ;
18429 PyObject
* obj0
= 0 ;
18430 PyObject
* obj1
= 0 ;
18431 char * kwnames
[] = {
18432 (char *) "self",(char *) "tickPos", NULL
18435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18437 if (!SWIG_IsOK(res1
)) {
18438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18440 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18442 if (!SWIG_IsOK(ecode2
)) {
18443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18445 arg2
= static_cast< int >(val2
);
18447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18448 (arg1
)->SetTick(arg2
);
18449 wxPyEndAllowThreads(__tstate
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18452 resultobj
= SWIG_Py_Void();
18459 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18460 PyObject
*resultobj
= 0;
18461 wxSlider
*arg1
= (wxSlider
*) 0 ;
18464 PyObject
*swig_obj
[1] ;
18466 if (!args
) SWIG_fail
;
18467 swig_obj
[0] = args
;
18468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18469 if (!SWIG_IsOK(res1
)) {
18470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18472 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18475 (arg1
)->ClearSel();
18476 wxPyEndAllowThreads(__tstate
);
18477 if (PyErr_Occurred()) SWIG_fail
;
18479 resultobj
= SWIG_Py_Void();
18486 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18487 PyObject
*resultobj
= 0;
18488 wxSlider
*arg1
= (wxSlider
*) 0 ;
18492 PyObject
*swig_obj
[1] ;
18494 if (!args
) SWIG_fail
;
18495 swig_obj
[0] = args
;
18496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18497 if (!SWIG_IsOK(res1
)) {
18498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18500 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18503 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18504 wxPyEndAllowThreads(__tstate
);
18505 if (PyErr_Occurred()) SWIG_fail
;
18507 resultobj
= SWIG_From_int(static_cast< int >(result
));
18514 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18515 PyObject
*resultobj
= 0;
18516 wxSlider
*arg1
= (wxSlider
*) 0 ;
18520 PyObject
*swig_obj
[1] ;
18522 if (!args
) SWIG_fail
;
18523 swig_obj
[0] = args
;
18524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18525 if (!SWIG_IsOK(res1
)) {
18526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18528 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18531 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18532 wxPyEndAllowThreads(__tstate
);
18533 if (PyErr_Occurred()) SWIG_fail
;
18535 resultobj
= SWIG_From_int(static_cast< int >(result
));
18542 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18543 PyObject
*resultobj
= 0;
18544 wxSlider
*arg1
= (wxSlider
*) 0 ;
18553 PyObject
* obj0
= 0 ;
18554 PyObject
* obj1
= 0 ;
18555 PyObject
* obj2
= 0 ;
18556 char * kwnames
[] = {
18557 (char *) "self",(char *) "min",(char *) "max", NULL
18560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18562 if (!SWIG_IsOK(res1
)) {
18563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18565 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18566 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18567 if (!SWIG_IsOK(ecode2
)) {
18568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18570 arg2
= static_cast< int >(val2
);
18571 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18572 if (!SWIG_IsOK(ecode3
)) {
18573 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18575 arg3
= static_cast< int >(val3
);
18577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18578 (arg1
)->SetSelection(arg2
,arg3
);
18579 wxPyEndAllowThreads(__tstate
);
18580 if (PyErr_Occurred()) SWIG_fail
;
18582 resultobj
= SWIG_Py_Void();
18589 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18590 PyObject
*resultobj
= 0;
18591 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18592 SwigValueWrapper
<wxVisualAttributes
> result
;
18595 PyObject
* obj0
= 0 ;
18596 char * kwnames
[] = {
18597 (char *) "variant", NULL
18600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18602 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18603 if (!SWIG_IsOK(ecode1
)) {
18604 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18606 arg1
= static_cast< wxWindowVariant
>(val1
);
18609 if (!wxPyCheckForApp()) SWIG_fail
;
18610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18611 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18612 wxPyEndAllowThreads(__tstate
);
18613 if (PyErr_Occurred()) SWIG_fail
;
18615 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18622 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18624 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18625 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18626 return SWIG_Py_Void();
18629 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18630 return SWIG_Python_InitShadowInstance(args
);
18633 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18634 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18639 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18640 PyObject
*pyobj
= 0;
18644 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18646 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18653 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18654 PyObject
*resultobj
= 0;
18655 wxWindow
*arg1
= (wxWindow
*) 0 ;
18656 int arg2
= (int) -1 ;
18657 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18658 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18659 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18660 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18661 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18662 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18663 long arg6
= (long) 0 ;
18664 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18665 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18666 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18667 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18668 wxToggleButton
*result
= 0 ;
18673 bool temp3
= false ;
18680 bool temp8
= false ;
18681 PyObject
* obj0
= 0 ;
18682 PyObject
* obj1
= 0 ;
18683 PyObject
* obj2
= 0 ;
18684 PyObject
* obj3
= 0 ;
18685 PyObject
* obj4
= 0 ;
18686 PyObject
* obj5
= 0 ;
18687 PyObject
* obj6
= 0 ;
18688 PyObject
* obj7
= 0 ;
18689 char * kwnames
[] = {
18690 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18695 if (!SWIG_IsOK(res1
)) {
18696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18698 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18700 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18701 if (!SWIG_IsOK(ecode2
)) {
18702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18704 arg2
= static_cast< int >(val2
);
18708 arg3
= wxString_in_helper(obj2
);
18709 if (arg3
== NULL
) SWIG_fail
;
18716 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18722 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18726 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18727 if (!SWIG_IsOK(ecode6
)) {
18728 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18730 arg6
= static_cast< long >(val6
);
18733 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18734 if (!SWIG_IsOK(res7
)) {
18735 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18738 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18740 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18744 arg8
= wxString_in_helper(obj7
);
18745 if (arg8
== NULL
) SWIG_fail
;
18750 if (!wxPyCheckForApp()) SWIG_fail
;
18751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18752 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18753 wxPyEndAllowThreads(__tstate
);
18754 if (PyErr_Occurred()) SWIG_fail
;
18756 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18779 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18780 PyObject
*resultobj
= 0;
18781 wxToggleButton
*result
= 0 ;
18783 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18785 if (!wxPyCheckForApp()) SWIG_fail
;
18786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18787 result
= (wxToggleButton
*)new wxToggleButton();
18788 wxPyEndAllowThreads(__tstate
);
18789 if (PyErr_Occurred()) SWIG_fail
;
18791 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18798 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18799 PyObject
*resultobj
= 0;
18800 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18801 wxWindow
*arg2
= (wxWindow
*) 0 ;
18802 int arg3
= (int) -1 ;
18803 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18804 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18805 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18806 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18807 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18808 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18809 long arg7
= (long) 0 ;
18810 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18811 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18812 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18813 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18821 bool temp4
= false ;
18828 bool temp9
= false ;
18829 PyObject
* obj0
= 0 ;
18830 PyObject
* obj1
= 0 ;
18831 PyObject
* obj2
= 0 ;
18832 PyObject
* obj3
= 0 ;
18833 PyObject
* obj4
= 0 ;
18834 PyObject
* obj5
= 0 ;
18835 PyObject
* obj6
= 0 ;
18836 PyObject
* obj7
= 0 ;
18837 PyObject
* obj8
= 0 ;
18838 char * kwnames
[] = {
18839 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18844 if (!SWIG_IsOK(res1
)) {
18845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18847 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18848 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18849 if (!SWIG_IsOK(res2
)) {
18850 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18852 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18854 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18855 if (!SWIG_IsOK(ecode3
)) {
18856 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18858 arg3
= static_cast< int >(val3
);
18862 arg4
= wxString_in_helper(obj3
);
18863 if (arg4
== NULL
) SWIG_fail
;
18870 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18876 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18880 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18881 if (!SWIG_IsOK(ecode7
)) {
18882 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18884 arg7
= static_cast< long >(val7
);
18887 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18888 if (!SWIG_IsOK(res8
)) {
18889 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18892 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18894 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18898 arg9
= wxString_in_helper(obj8
);
18899 if (arg9
== NULL
) SWIG_fail
;
18904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18905 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18906 wxPyEndAllowThreads(__tstate
);
18907 if (PyErr_Occurred()) SWIG_fail
;
18910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18934 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18935 PyObject
*resultobj
= 0;
18936 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18942 PyObject
* obj0
= 0 ;
18943 PyObject
* obj1
= 0 ;
18944 char * kwnames
[] = {
18945 (char *) "self",(char *) "value", NULL
18948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18950 if (!SWIG_IsOK(res1
)) {
18951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18953 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18954 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18955 if (!SWIG_IsOK(ecode2
)) {
18956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
18958 arg2
= static_cast< bool >(val2
);
18960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18961 (arg1
)->SetValue(arg2
);
18962 wxPyEndAllowThreads(__tstate
);
18963 if (PyErr_Occurred()) SWIG_fail
;
18965 resultobj
= SWIG_Py_Void();
18972 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18973 PyObject
*resultobj
= 0;
18974 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18978 PyObject
*swig_obj
[1] ;
18980 if (!args
) SWIG_fail
;
18981 swig_obj
[0] = args
;
18982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18983 if (!SWIG_IsOK(res1
)) {
18984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
18986 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18989 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
18990 wxPyEndAllowThreads(__tstate
);
18991 if (PyErr_Occurred()) SWIG_fail
;
18994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19002 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19003 PyObject
*resultobj
= 0;
19004 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19005 SwigValueWrapper
<wxVisualAttributes
> result
;
19008 PyObject
* obj0
= 0 ;
19009 char * kwnames
[] = {
19010 (char *) "variant", NULL
19013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19015 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19016 if (!SWIG_IsOK(ecode1
)) {
19017 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19019 arg1
= static_cast< wxWindowVariant
>(val1
);
19022 if (!wxPyCheckForApp()) SWIG_fail
;
19023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19024 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
19025 wxPyEndAllowThreads(__tstate
);
19026 if (PyErr_Occurred()) SWIG_fail
;
19028 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19035 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19037 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19038 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
19039 return SWIG_Py_Void();
19042 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19043 return SWIG_Python_InitShadowInstance(args
);
19046 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
19047 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
19052 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
19053 PyObject
*pyobj
= 0;
19057 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19059 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19066 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19067 PyObject
*resultobj
= 0;
19068 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19072 PyObject
*swig_obj
[1] ;
19074 if (!args
) SWIG_fail
;
19075 swig_obj
[0] = args
;
19076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19077 if (!SWIG_IsOK(res1
)) {
19078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19080 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19083 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19084 wxPyEndAllowThreads(__tstate
);
19085 if (PyErr_Occurred()) SWIG_fail
;
19087 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19094 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19095 PyObject
*resultobj
= 0;
19096 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19098 wxWindow
*result
= 0 ;
19103 PyObject
* obj0
= 0 ;
19104 PyObject
* obj1
= 0 ;
19105 char * kwnames
[] = {
19106 (char *) "self",(char *) "n", NULL
19109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19111 if (!SWIG_IsOK(res1
)) {
19112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19114 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19115 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19116 if (!SWIG_IsOK(ecode2
)) {
19117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19119 arg2
= static_cast< size_t >(val2
);
19121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19122 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19123 wxPyEndAllowThreads(__tstate
);
19124 if (PyErr_Occurred()) SWIG_fail
;
19127 resultobj
= wxPyMake_wxObject(result
, 0);
19135 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19136 PyObject
*resultobj
= 0;
19137 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19138 wxWindow
*result
= 0 ;
19141 PyObject
*swig_obj
[1] ;
19143 if (!args
) SWIG_fail
;
19144 swig_obj
[0] = args
;
19145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19146 if (!SWIG_IsOK(res1
)) {
19147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19149 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19152 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19153 wxPyEndAllowThreads(__tstate
);
19154 if (PyErr_Occurred()) SWIG_fail
;
19157 resultobj
= wxPyMake_wxObject(result
, 0);
19165 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19166 PyObject
*resultobj
= 0;
19167 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19171 PyObject
*swig_obj
[1] ;
19173 if (!args
) SWIG_fail
;
19174 swig_obj
[0] = args
;
19175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19176 if (!SWIG_IsOK(res1
)) {
19177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19179 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19182 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19183 wxPyEndAllowThreads(__tstate
);
19184 if (PyErr_Occurred()) SWIG_fail
;
19186 resultobj
= SWIG_From_int(static_cast< int >(result
));
19193 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19194 PyObject
*resultobj
= 0;
19195 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19197 wxString
*arg3
= 0 ;
19203 bool temp3
= false ;
19204 PyObject
* obj0
= 0 ;
19205 PyObject
* obj1
= 0 ;
19206 PyObject
* obj2
= 0 ;
19207 char * kwnames
[] = {
19208 (char *) "self",(char *) "n",(char *) "strText", NULL
19211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19213 if (!SWIG_IsOK(res1
)) {
19214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19216 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19217 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19218 if (!SWIG_IsOK(ecode2
)) {
19219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19221 arg2
= static_cast< size_t >(val2
);
19223 arg3
= wxString_in_helper(obj2
);
19224 if (arg3
== NULL
) SWIG_fail
;
19228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19229 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19230 wxPyEndAllowThreads(__tstate
);
19231 if (PyErr_Occurred()) SWIG_fail
;
19234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19250 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19251 PyObject
*resultobj
= 0;
19252 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19259 PyObject
* obj0
= 0 ;
19260 PyObject
* obj1
= 0 ;
19261 char * kwnames
[] = {
19262 (char *) "self",(char *) "n", NULL
19265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19267 if (!SWIG_IsOK(res1
)) {
19268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19270 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19271 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19272 if (!SWIG_IsOK(ecode2
)) {
19273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19275 arg2
= static_cast< size_t >(val2
);
19277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19278 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19279 wxPyEndAllowThreads(__tstate
);
19280 if (PyErr_Occurred()) SWIG_fail
;
19284 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19286 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19295 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19296 PyObject
*resultobj
= 0;
19297 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19298 wxImageList
*arg2
= (wxImageList
*) 0 ;
19303 PyObject
* obj0
= 0 ;
19304 PyObject
* obj1
= 0 ;
19305 char * kwnames
[] = {
19306 (char *) "self",(char *) "imageList", NULL
19309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19311 if (!SWIG_IsOK(res1
)) {
19312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19314 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19315 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19316 if (!SWIG_IsOK(res2
)) {
19317 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19319 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19322 (arg1
)->SetImageList(arg2
);
19323 wxPyEndAllowThreads(__tstate
);
19324 if (PyErr_Occurred()) SWIG_fail
;
19326 resultobj
= SWIG_Py_Void();
19333 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19334 PyObject
*resultobj
= 0;
19335 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19336 wxImageList
*arg2
= (wxImageList
*) 0 ;
19340 PyObject
* obj0
= 0 ;
19341 PyObject
* obj1
= 0 ;
19342 char * kwnames
[] = {
19343 (char *) "self",(char *) "imageList", NULL
19346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19348 if (!SWIG_IsOK(res1
)) {
19349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19351 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19352 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19353 if (!SWIG_IsOK(res2
)) {
19354 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19358 (arg1
)->AssignImageList(arg2
);
19359 wxPyEndAllowThreads(__tstate
);
19360 if (PyErr_Occurred()) SWIG_fail
;
19362 resultobj
= SWIG_Py_Void();
19369 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19370 PyObject
*resultobj
= 0;
19371 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19372 wxImageList
*result
= 0 ;
19375 PyObject
*swig_obj
[1] ;
19377 if (!args
) SWIG_fail
;
19378 swig_obj
[0] = args
;
19379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19380 if (!SWIG_IsOK(res1
)) {
19381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19383 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19386 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19387 wxPyEndAllowThreads(__tstate
);
19388 if (PyErr_Occurred()) SWIG_fail
;
19391 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19399 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19400 PyObject
*resultobj
= 0;
19401 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19408 PyObject
* obj0
= 0 ;
19409 PyObject
* obj1
= 0 ;
19410 char * kwnames
[] = {
19411 (char *) "self",(char *) "n", NULL
19414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19416 if (!SWIG_IsOK(res1
)) {
19417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19419 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19420 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19421 if (!SWIG_IsOK(ecode2
)) {
19422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19424 arg2
= static_cast< size_t >(val2
);
19426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19427 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19428 wxPyEndAllowThreads(__tstate
);
19429 if (PyErr_Occurred()) SWIG_fail
;
19431 resultobj
= SWIG_From_int(static_cast< int >(result
));
19438 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19439 PyObject
*resultobj
= 0;
19440 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19450 PyObject
* obj0
= 0 ;
19451 PyObject
* obj1
= 0 ;
19452 PyObject
* obj2
= 0 ;
19453 char * kwnames
[] = {
19454 (char *) "self",(char *) "n",(char *) "imageId", NULL
19457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19459 if (!SWIG_IsOK(res1
)) {
19460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19462 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19463 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19464 if (!SWIG_IsOK(ecode2
)) {
19465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19467 arg2
= static_cast< size_t >(val2
);
19468 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19469 if (!SWIG_IsOK(ecode3
)) {
19470 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19472 arg3
= static_cast< int >(val3
);
19474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19475 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19476 wxPyEndAllowThreads(__tstate
);
19477 if (PyErr_Occurred()) SWIG_fail
;
19480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19488 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19489 PyObject
*resultobj
= 0;
19490 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19495 PyObject
* obj0
= 0 ;
19496 PyObject
* obj1
= 0 ;
19497 char * kwnames
[] = {
19498 (char *) "self",(char *) "size", NULL
19501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19503 if (!SWIG_IsOK(res1
)) {
19504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19506 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19509 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19513 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19514 wxPyEndAllowThreads(__tstate
);
19515 if (PyErr_Occurred()) SWIG_fail
;
19517 resultobj
= SWIG_Py_Void();
19524 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19525 PyObject
*resultobj
= 0;
19526 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19532 PyObject
* obj0
= 0 ;
19533 PyObject
* obj1
= 0 ;
19534 char * kwnames
[] = {
19535 (char *) "self",(char *) "sizePage", NULL
19538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19540 if (!SWIG_IsOK(res1
)) {
19541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19543 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19546 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19550 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19551 wxPyEndAllowThreads(__tstate
);
19552 if (PyErr_Occurred()) SWIG_fail
;
19554 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19561 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19562 PyObject
*resultobj
= 0;
19563 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19564 unsigned int result
;
19567 PyObject
*swig_obj
[1] ;
19569 if (!args
) SWIG_fail
;
19570 swig_obj
[0] = args
;
19571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19572 if (!SWIG_IsOK(res1
)) {
19573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19575 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19578 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19579 wxPyEndAllowThreads(__tstate
);
19580 if (PyErr_Occurred()) SWIG_fail
;
19582 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19589 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19590 PyObject
*resultobj
= 0;
19591 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19592 unsigned int arg2
;
19595 unsigned int val2
;
19597 PyObject
* obj0
= 0 ;
19598 PyObject
* obj1
= 0 ;
19599 char * kwnames
[] = {
19600 (char *) "self",(char *) "internalBorder", NULL
19603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19605 if (!SWIG_IsOK(res1
)) {
19606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19608 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19609 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19610 if (!SWIG_IsOK(ecode2
)) {
19611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19613 arg2
= static_cast< unsigned int >(val2
);
19615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19616 (arg1
)->SetInternalBorder(arg2
);
19617 wxPyEndAllowThreads(__tstate
);
19618 if (PyErr_Occurred()) SWIG_fail
;
19620 resultobj
= SWIG_Py_Void();
19627 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19628 PyObject
*resultobj
= 0;
19629 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19633 PyObject
*swig_obj
[1] ;
19635 if (!args
) SWIG_fail
;
19636 swig_obj
[0] = args
;
19637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19638 if (!SWIG_IsOK(res1
)) {
19639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19641 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19644 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19645 wxPyEndAllowThreads(__tstate
);
19646 if (PyErr_Occurred()) SWIG_fail
;
19649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19657 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19658 PyObject
*resultobj
= 0;
19659 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19665 PyObject
* obj0
= 0 ;
19666 PyObject
* obj1
= 0 ;
19667 char * kwnames
[] = {
19668 (char *) "self",(char *) "margin", NULL
19671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19673 if (!SWIG_IsOK(res1
)) {
19674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19676 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19677 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19678 if (!SWIG_IsOK(ecode2
)) {
19679 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19681 arg2
= static_cast< int >(val2
);
19683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19684 (arg1
)->SetControlMargin(arg2
);
19685 wxPyEndAllowThreads(__tstate
);
19686 if (PyErr_Occurred()) SWIG_fail
;
19688 resultobj
= SWIG_Py_Void();
19695 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19696 PyObject
*resultobj
= 0;
19697 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19701 PyObject
*swig_obj
[1] ;
19703 if (!args
) SWIG_fail
;
19704 swig_obj
[0] = args
;
19705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19706 if (!SWIG_IsOK(res1
)) {
19707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19709 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19712 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19713 wxPyEndAllowThreads(__tstate
);
19714 if (PyErr_Occurred()) SWIG_fail
;
19716 resultobj
= SWIG_From_int(static_cast< int >(result
));
19723 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19724 PyObject
*resultobj
= 0;
19725 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19731 PyObject
* obj0
= 0 ;
19732 PyObject
* obj1
= 0 ;
19733 char * kwnames
[] = {
19734 (char *) "self",(char *) "fit", NULL
19737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19739 if (!SWIG_IsOK(res1
)) {
19740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19742 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19743 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19744 if (!SWIG_IsOK(ecode2
)) {
19745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19747 arg2
= static_cast< bool >(val2
);
19749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19750 (arg1
)->SetFitToCurrentPage(arg2
);
19751 wxPyEndAllowThreads(__tstate
);
19752 if (PyErr_Occurred()) SWIG_fail
;
19754 resultobj
= SWIG_Py_Void();
19761 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19762 PyObject
*resultobj
= 0;
19763 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19767 PyObject
*swig_obj
[1] ;
19769 if (!args
) SWIG_fail
;
19770 swig_obj
[0] = args
;
19771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19772 if (!SWIG_IsOK(res1
)) {
19773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19775 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19778 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19779 wxPyEndAllowThreads(__tstate
);
19780 if (PyErr_Occurred()) SWIG_fail
;
19783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19791 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19792 PyObject
*resultobj
= 0;
19793 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19794 wxSizer
*result
= 0 ;
19797 PyObject
*swig_obj
[1] ;
19799 if (!args
) SWIG_fail
;
19800 swig_obj
[0] = args
;
19801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19802 if (!SWIG_IsOK(res1
)) {
19803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19805 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19808 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19809 wxPyEndAllowThreads(__tstate
);
19810 if (PyErr_Occurred()) SWIG_fail
;
19813 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19821 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19822 PyObject
*resultobj
= 0;
19823 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19830 PyObject
* obj0
= 0 ;
19831 PyObject
* obj1
= 0 ;
19832 char * kwnames
[] = {
19833 (char *) "self",(char *) "n", NULL
19836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19838 if (!SWIG_IsOK(res1
)) {
19839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19841 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19842 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19843 if (!SWIG_IsOK(ecode2
)) {
19844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19846 arg2
= static_cast< size_t >(val2
);
19848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19849 result
= (bool)(arg1
)->DeletePage(arg2
);
19850 wxPyEndAllowThreads(__tstate
);
19851 if (PyErr_Occurred()) SWIG_fail
;
19854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19862 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19863 PyObject
*resultobj
= 0;
19864 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19871 PyObject
* obj0
= 0 ;
19872 PyObject
* obj1
= 0 ;
19873 char * kwnames
[] = {
19874 (char *) "self",(char *) "n", NULL
19877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19879 if (!SWIG_IsOK(res1
)) {
19880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19882 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19883 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19884 if (!SWIG_IsOK(ecode2
)) {
19885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19887 arg2
= static_cast< size_t >(val2
);
19889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19890 result
= (bool)(arg1
)->RemovePage(arg2
);
19891 wxPyEndAllowThreads(__tstate
);
19892 if (PyErr_Occurred()) SWIG_fail
;
19895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19903 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19904 PyObject
*resultobj
= 0;
19905 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19909 PyObject
*swig_obj
[1] ;
19911 if (!args
) SWIG_fail
;
19912 swig_obj
[0] = args
;
19913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19914 if (!SWIG_IsOK(res1
)) {
19915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19917 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19920 result
= (bool)(arg1
)->DeleteAllPages();
19921 wxPyEndAllowThreads(__tstate
);
19922 if (PyErr_Occurred()) SWIG_fail
;
19925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19933 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19934 PyObject
*resultobj
= 0;
19935 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19936 wxWindow
*arg2
= (wxWindow
*) 0 ;
19937 wxString
*arg3
= 0 ;
19938 bool arg4
= (bool) false ;
19939 int arg5
= (int) -1 ;
19945 bool temp3
= false ;
19950 PyObject
* obj0
= 0 ;
19951 PyObject
* obj1
= 0 ;
19952 PyObject
* obj2
= 0 ;
19953 PyObject
* obj3
= 0 ;
19954 PyObject
* obj4
= 0 ;
19955 char * kwnames
[] = {
19956 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19961 if (!SWIG_IsOK(res1
)) {
19962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19964 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19965 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19966 if (!SWIG_IsOK(res2
)) {
19967 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
19969 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19971 arg3
= wxString_in_helper(obj2
);
19972 if (arg3
== NULL
) SWIG_fail
;
19976 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19977 if (!SWIG_IsOK(ecode4
)) {
19978 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
19980 arg4
= static_cast< bool >(val4
);
19983 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19984 if (!SWIG_IsOK(ecode5
)) {
19985 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
19987 arg5
= static_cast< int >(val5
);
19990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19991 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19992 wxPyEndAllowThreads(__tstate
);
19993 if (PyErr_Occurred()) SWIG_fail
;
19996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20012 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20013 PyObject
*resultobj
= 0;
20014 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20016 wxWindow
*arg3
= (wxWindow
*) 0 ;
20017 wxString
*arg4
= 0 ;
20018 bool arg5
= (bool) false ;
20019 int arg6
= (int) -1 ;
20027 bool temp4
= false ;
20032 PyObject
* obj0
= 0 ;
20033 PyObject
* obj1
= 0 ;
20034 PyObject
* obj2
= 0 ;
20035 PyObject
* obj3
= 0 ;
20036 PyObject
* obj4
= 0 ;
20037 PyObject
* obj5
= 0 ;
20038 char * kwnames
[] = {
20039 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20044 if (!SWIG_IsOK(res1
)) {
20045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20047 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20048 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20049 if (!SWIG_IsOK(ecode2
)) {
20050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20052 arg2
= static_cast< size_t >(val2
);
20053 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20054 if (!SWIG_IsOK(res3
)) {
20055 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20057 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
20059 arg4
= wxString_in_helper(obj3
);
20060 if (arg4
== NULL
) SWIG_fail
;
20064 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20065 if (!SWIG_IsOK(ecode5
)) {
20066 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20068 arg5
= static_cast< bool >(val5
);
20071 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20072 if (!SWIG_IsOK(ecode6
)) {
20073 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20075 arg6
= static_cast< int >(val6
);
20078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20079 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20080 wxPyEndAllowThreads(__tstate
);
20081 if (PyErr_Occurred()) SWIG_fail
;
20084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20100 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20101 PyObject
*resultobj
= 0;
20102 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20109 PyObject
* obj0
= 0 ;
20110 PyObject
* obj1
= 0 ;
20111 char * kwnames
[] = {
20112 (char *) "self",(char *) "n", NULL
20115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20117 if (!SWIG_IsOK(res1
)) {
20118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20120 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20121 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20122 if (!SWIG_IsOK(ecode2
)) {
20123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20125 arg2
= static_cast< size_t >(val2
);
20127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20128 result
= (int)(arg1
)->SetSelection(arg2
);
20129 wxPyEndAllowThreads(__tstate
);
20130 if (PyErr_Occurred()) SWIG_fail
;
20132 resultobj
= SWIG_From_int(static_cast< int >(result
));
20139 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20140 PyObject
*resultobj
= 0;
20141 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20142 bool arg2
= (bool) true ;
20147 PyObject
* obj0
= 0 ;
20148 PyObject
* obj1
= 0 ;
20149 char * kwnames
[] = {
20150 (char *) "self",(char *) "forward", NULL
20153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",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_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20158 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20160 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20161 if (!SWIG_IsOK(ecode2
)) {
20162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20164 arg2
= static_cast< bool >(val2
);
20167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20168 (arg1
)->AdvanceSelection(arg2
);
20169 wxPyEndAllowThreads(__tstate
);
20170 if (PyErr_Occurred()) SWIG_fail
;
20172 resultobj
= SWIG_Py_Void();
20179 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20180 PyObject
*resultobj
= 0;
20181 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20182 wxPoint
*arg2
= 0 ;
20183 long *arg3
= (long *) 0 ;
20189 int res3
= SWIG_TMPOBJ
;
20190 PyObject
* obj0
= 0 ;
20191 PyObject
* obj1
= 0 ;
20192 char * kwnames
[] = {
20193 (char *) "self",(char *) "pt", NULL
20197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20199 if (!SWIG_IsOK(res1
)) {
20200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20202 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20205 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20209 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20210 wxPyEndAllowThreads(__tstate
);
20211 if (PyErr_Occurred()) SWIG_fail
;
20213 resultobj
= SWIG_From_int(static_cast< int >(result
));
20214 if (SWIG_IsTmpObj(res3
)) {
20215 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20217 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20218 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20226 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20227 PyObject
*resultobj
= 0;
20228 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20229 SwigValueWrapper
<wxVisualAttributes
> result
;
20232 PyObject
* obj0
= 0 ;
20233 char * kwnames
[] = {
20234 (char *) "variant", NULL
20237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20239 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20240 if (!SWIG_IsOK(ecode1
)) {
20241 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20243 arg1
= static_cast< wxWindowVariant
>(val1
);
20246 if (!wxPyCheckForApp()) SWIG_fail
;
20247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20248 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20249 wxPyEndAllowThreads(__tstate
);
20250 if (PyErr_Occurred()) SWIG_fail
;
20252 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20259 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20261 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20262 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20263 return SWIG_Py_Void();
20266 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20267 PyObject
*resultobj
= 0;
20268 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20269 int arg2
= (int) 0 ;
20270 int arg3
= (int) -1 ;
20271 int arg4
= (int) -1 ;
20272 wxBookCtrlBaseEvent
*result
= 0 ;
20281 PyObject
* obj0
= 0 ;
20282 PyObject
* obj1
= 0 ;
20283 PyObject
* obj2
= 0 ;
20284 PyObject
* obj3
= 0 ;
20285 char * kwnames
[] = {
20286 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20291 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20292 if (!SWIG_IsOK(ecode1
)) {
20293 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20295 arg1
= static_cast< wxEventType
>(val1
);
20298 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20299 if (!SWIG_IsOK(ecode2
)) {
20300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20302 arg2
= static_cast< int >(val2
);
20305 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20306 if (!SWIG_IsOK(ecode3
)) {
20307 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20309 arg3
= static_cast< int >(val3
);
20312 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20313 if (!SWIG_IsOK(ecode4
)) {
20314 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20316 arg4
= static_cast< int >(val4
);
20319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20320 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20321 wxPyEndAllowThreads(__tstate
);
20322 if (PyErr_Occurred()) SWIG_fail
;
20324 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20331 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20332 PyObject
*resultobj
= 0;
20333 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20337 PyObject
*swig_obj
[1] ;
20339 if (!args
) SWIG_fail
;
20340 swig_obj
[0] = args
;
20341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20342 if (!SWIG_IsOK(res1
)) {
20343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20345 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20348 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20349 wxPyEndAllowThreads(__tstate
);
20350 if (PyErr_Occurred()) SWIG_fail
;
20352 resultobj
= SWIG_From_int(static_cast< int >(result
));
20359 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20360 PyObject
*resultobj
= 0;
20361 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20367 PyObject
* obj0
= 0 ;
20368 PyObject
* obj1
= 0 ;
20369 char * kwnames
[] = {
20370 (char *) "self",(char *) "nSel", NULL
20373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20375 if (!SWIG_IsOK(res1
)) {
20376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20378 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20379 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20380 if (!SWIG_IsOK(ecode2
)) {
20381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20383 arg2
= static_cast< int >(val2
);
20385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20386 (arg1
)->SetSelection(arg2
);
20387 wxPyEndAllowThreads(__tstate
);
20388 if (PyErr_Occurred()) SWIG_fail
;
20390 resultobj
= SWIG_Py_Void();
20397 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20398 PyObject
*resultobj
= 0;
20399 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20403 PyObject
*swig_obj
[1] ;
20405 if (!args
) SWIG_fail
;
20406 swig_obj
[0] = args
;
20407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20408 if (!SWIG_IsOK(res1
)) {
20409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20411 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20414 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20415 wxPyEndAllowThreads(__tstate
);
20416 if (PyErr_Occurred()) SWIG_fail
;
20418 resultobj
= SWIG_From_int(static_cast< int >(result
));
20425 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20426 PyObject
*resultobj
= 0;
20427 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20433 PyObject
* obj0
= 0 ;
20434 PyObject
* obj1
= 0 ;
20435 char * kwnames
[] = {
20436 (char *) "self",(char *) "nOldSel", NULL
20439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20441 if (!SWIG_IsOK(res1
)) {
20442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20444 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20446 if (!SWIG_IsOK(ecode2
)) {
20447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20449 arg2
= static_cast< int >(val2
);
20451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20452 (arg1
)->SetOldSelection(arg2
);
20453 wxPyEndAllowThreads(__tstate
);
20454 if (PyErr_Occurred()) SWIG_fail
;
20456 resultobj
= SWIG_Py_Void();
20463 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20465 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20466 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20467 return SWIG_Py_Void();
20470 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20471 return SWIG_Python_InitShadowInstance(args
);
20474 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20475 PyObject
*resultobj
= 0;
20476 wxWindow
*arg1
= (wxWindow
*) 0 ;
20477 int arg2
= (int) -1 ;
20478 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20479 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20480 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20481 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20482 long arg5
= (long) 0 ;
20483 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20484 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20485 wxNotebook
*result
= 0 ;
20494 bool temp6
= false ;
20495 PyObject
* obj0
= 0 ;
20496 PyObject
* obj1
= 0 ;
20497 PyObject
* obj2
= 0 ;
20498 PyObject
* obj3
= 0 ;
20499 PyObject
* obj4
= 0 ;
20500 PyObject
* obj5
= 0 ;
20501 char * kwnames
[] = {
20502 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20507 if (!SWIG_IsOK(res1
)) {
20508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20510 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20512 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20513 if (!SWIG_IsOK(ecode2
)) {
20514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20516 arg2
= static_cast< int >(val2
);
20521 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20527 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20531 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20532 if (!SWIG_IsOK(ecode5
)) {
20533 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20535 arg5
= static_cast< long >(val5
);
20539 arg6
= wxString_in_helper(obj5
);
20540 if (arg6
== NULL
) SWIG_fail
;
20545 if (!wxPyCheckForApp()) SWIG_fail
;
20546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20547 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20548 wxPyEndAllowThreads(__tstate
);
20549 if (PyErr_Occurred()) SWIG_fail
;
20551 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20566 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20567 PyObject
*resultobj
= 0;
20568 wxNotebook
*result
= 0 ;
20570 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20572 if (!wxPyCheckForApp()) SWIG_fail
;
20573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20574 result
= (wxNotebook
*)new wxNotebook();
20575 wxPyEndAllowThreads(__tstate
);
20576 if (PyErr_Occurred()) SWIG_fail
;
20578 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20585 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20586 PyObject
*resultobj
= 0;
20587 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20588 wxWindow
*arg2
= (wxWindow
*) 0 ;
20589 int arg3
= (int) -1 ;
20590 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20591 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20592 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20593 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20594 long arg6
= (long) 0 ;
20595 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20596 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20608 bool temp7
= false ;
20609 PyObject
* obj0
= 0 ;
20610 PyObject
* obj1
= 0 ;
20611 PyObject
* obj2
= 0 ;
20612 PyObject
* obj3
= 0 ;
20613 PyObject
* obj4
= 0 ;
20614 PyObject
* obj5
= 0 ;
20615 PyObject
* obj6
= 0 ;
20616 char * kwnames
[] = {
20617 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20622 if (!SWIG_IsOK(res1
)) {
20623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20625 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20626 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20627 if (!SWIG_IsOK(res2
)) {
20628 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20630 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20632 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20633 if (!SWIG_IsOK(ecode3
)) {
20634 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20636 arg3
= static_cast< int >(val3
);
20641 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20647 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20651 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20652 if (!SWIG_IsOK(ecode6
)) {
20653 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20655 arg6
= static_cast< long >(val6
);
20659 arg7
= wxString_in_helper(obj6
);
20660 if (arg7
== NULL
) SWIG_fail
;
20665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20666 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20667 wxPyEndAllowThreads(__tstate
);
20668 if (PyErr_Occurred()) SWIG_fail
;
20671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20687 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20688 PyObject
*resultobj
= 0;
20689 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20693 PyObject
*swig_obj
[1] ;
20695 if (!args
) SWIG_fail
;
20696 swig_obj
[0] = args
;
20697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20698 if (!SWIG_IsOK(res1
)) {
20699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20701 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20704 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20705 wxPyEndAllowThreads(__tstate
);
20706 if (PyErr_Occurred()) SWIG_fail
;
20708 resultobj
= SWIG_From_int(static_cast< int >(result
));
20715 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20716 PyObject
*resultobj
= 0;
20717 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20722 PyObject
* obj0
= 0 ;
20723 PyObject
* obj1
= 0 ;
20724 char * kwnames
[] = {
20725 (char *) "self",(char *) "padding", NULL
20728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20730 if (!SWIG_IsOK(res1
)) {
20731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20733 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20736 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20740 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20741 wxPyEndAllowThreads(__tstate
);
20742 if (PyErr_Occurred()) SWIG_fail
;
20744 resultobj
= SWIG_Py_Void();
20751 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20752 PyObject
*resultobj
= 0;
20753 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20758 PyObject
* obj0
= 0 ;
20759 PyObject
* obj1
= 0 ;
20760 char * kwnames
[] = {
20761 (char *) "self",(char *) "sz", NULL
20764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20766 if (!SWIG_IsOK(res1
)) {
20767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20769 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20772 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20776 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20777 wxPyEndAllowThreads(__tstate
);
20778 if (PyErr_Occurred()) SWIG_fail
;
20780 resultobj
= SWIG_Py_Void();
20787 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20788 PyObject
*resultobj
= 0;
20789 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20793 PyObject
*swig_obj
[1] ;
20795 if (!args
) SWIG_fail
;
20796 swig_obj
[0] = args
;
20797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20798 if (!SWIG_IsOK(res1
)) {
20799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20801 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20804 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20805 wxPyEndAllowThreads(__tstate
);
20806 if (PyErr_Occurred()) SWIG_fail
;
20808 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20815 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20816 PyObject
*resultobj
= 0;
20817 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20818 SwigValueWrapper
<wxVisualAttributes
> result
;
20821 PyObject
* obj0
= 0 ;
20822 char * kwnames
[] = {
20823 (char *) "variant", NULL
20826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20828 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20829 if (!SWIG_IsOK(ecode1
)) {
20830 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20832 arg1
= static_cast< wxWindowVariant
>(val1
);
20835 if (!wxPyCheckForApp()) SWIG_fail
;
20836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20837 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20838 wxPyEndAllowThreads(__tstate
);
20839 if (PyErr_Occurred()) SWIG_fail
;
20841 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20848 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20850 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20851 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
20852 return SWIG_Py_Void();
20855 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20856 return SWIG_Python_InitShadowInstance(args
);
20859 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20860 PyObject
*resultobj
= 0;
20861 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20862 int arg2
= (int) 0 ;
20863 int arg3
= (int) -1 ;
20864 int arg4
= (int) -1 ;
20865 wxNotebookEvent
*result
= 0 ;
20874 PyObject
* obj0
= 0 ;
20875 PyObject
* obj1
= 0 ;
20876 PyObject
* obj2
= 0 ;
20877 PyObject
* obj3
= 0 ;
20878 char * kwnames
[] = {
20879 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20884 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20885 if (!SWIG_IsOK(ecode1
)) {
20886 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20888 arg1
= static_cast< wxEventType
>(val1
);
20891 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20892 if (!SWIG_IsOK(ecode2
)) {
20893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
20895 arg2
= static_cast< int >(val2
);
20898 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20899 if (!SWIG_IsOK(ecode3
)) {
20900 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
20902 arg3
= static_cast< int >(val3
);
20905 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20906 if (!SWIG_IsOK(ecode4
)) {
20907 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
20909 arg4
= static_cast< int >(val4
);
20912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20913 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
20914 wxPyEndAllowThreads(__tstate
);
20915 if (PyErr_Occurred()) SWIG_fail
;
20917 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
20924 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20926 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20927 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
20928 return SWIG_Py_Void();
20931 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20932 return SWIG_Python_InitShadowInstance(args
);
20935 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20936 PyObject
*resultobj
= 0;
20937 wxWindow
*arg1
= (wxWindow
*) 0 ;
20938 int arg2
= (int) -1 ;
20939 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20940 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20941 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20942 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20943 long arg5
= (long) 0 ;
20944 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20945 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20946 wxListbook
*result
= 0 ;
20955 bool temp6
= false ;
20956 PyObject
* obj0
= 0 ;
20957 PyObject
* obj1
= 0 ;
20958 PyObject
* obj2
= 0 ;
20959 PyObject
* obj3
= 0 ;
20960 PyObject
* obj4
= 0 ;
20961 PyObject
* obj5
= 0 ;
20962 char * kwnames
[] = {
20963 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20968 if (!SWIG_IsOK(res1
)) {
20969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
20971 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20973 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20974 if (!SWIG_IsOK(ecode2
)) {
20975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
20977 arg2
= static_cast< int >(val2
);
20982 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20988 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20992 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20993 if (!SWIG_IsOK(ecode5
)) {
20994 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
20996 arg5
= static_cast< long >(val5
);
21000 arg6
= wxString_in_helper(obj5
);
21001 if (arg6
== NULL
) SWIG_fail
;
21006 if (!wxPyCheckForApp()) SWIG_fail
;
21007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21008 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21009 wxPyEndAllowThreads(__tstate
);
21010 if (PyErr_Occurred()) SWIG_fail
;
21012 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
21027 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21028 PyObject
*resultobj
= 0;
21029 wxListbook
*result
= 0 ;
21031 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
21033 if (!wxPyCheckForApp()) SWIG_fail
;
21034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21035 result
= (wxListbook
*)new wxListbook();
21036 wxPyEndAllowThreads(__tstate
);
21037 if (PyErr_Occurred()) SWIG_fail
;
21039 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
21046 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21047 PyObject
*resultobj
= 0;
21048 wxListbook
*arg1
= (wxListbook
*) 0 ;
21049 wxWindow
*arg2
= (wxWindow
*) 0 ;
21050 int arg3
= (int) -1 ;
21051 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21052 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21053 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21054 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21055 long arg6
= (long) 0 ;
21056 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21057 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21069 bool temp7
= false ;
21070 PyObject
* obj0
= 0 ;
21071 PyObject
* obj1
= 0 ;
21072 PyObject
* obj2
= 0 ;
21073 PyObject
* obj3
= 0 ;
21074 PyObject
* obj4
= 0 ;
21075 PyObject
* obj5
= 0 ;
21076 PyObject
* obj6
= 0 ;
21077 char * kwnames
[] = {
21078 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21083 if (!SWIG_IsOK(res1
)) {
21084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21086 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21087 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21088 if (!SWIG_IsOK(res2
)) {
21089 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21091 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21093 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21094 if (!SWIG_IsOK(ecode3
)) {
21095 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21097 arg3
= static_cast< int >(val3
);
21102 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21108 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21112 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21113 if (!SWIG_IsOK(ecode6
)) {
21114 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21116 arg6
= static_cast< long >(val6
);
21120 arg7
= wxString_in_helper(obj6
);
21121 if (arg7
== NULL
) SWIG_fail
;
21126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21127 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21128 wxPyEndAllowThreads(__tstate
);
21129 if (PyErr_Occurred()) SWIG_fail
;
21132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21148 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21149 PyObject
*resultobj
= 0;
21150 wxListbook
*arg1
= (wxListbook
*) 0 ;
21151 wxListView
*result
= 0 ;
21154 PyObject
*swig_obj
[1] ;
21156 if (!args
) SWIG_fail
;
21157 swig_obj
[0] = args
;
21158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21159 if (!SWIG_IsOK(res1
)) {
21160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21162 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21165 result
= (wxListView
*)(arg1
)->GetListView();
21166 wxPyEndAllowThreads(__tstate
);
21167 if (PyErr_Occurred()) SWIG_fail
;
21169 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21176 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21178 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21179 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21180 return SWIG_Py_Void();
21183 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21184 return SWIG_Python_InitShadowInstance(args
);
21187 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21188 PyObject
*resultobj
= 0;
21189 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21190 int arg2
= (int) 0 ;
21191 int arg3
= (int) -1 ;
21192 int arg4
= (int) -1 ;
21193 wxListbookEvent
*result
= 0 ;
21202 PyObject
* obj0
= 0 ;
21203 PyObject
* obj1
= 0 ;
21204 PyObject
* obj2
= 0 ;
21205 PyObject
* obj3
= 0 ;
21206 char * kwnames
[] = {
21207 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21212 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21213 if (!SWIG_IsOK(ecode1
)) {
21214 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21216 arg1
= static_cast< wxEventType
>(val1
);
21219 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21220 if (!SWIG_IsOK(ecode2
)) {
21221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21223 arg2
= static_cast< int >(val2
);
21226 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21227 if (!SWIG_IsOK(ecode3
)) {
21228 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21230 arg3
= static_cast< int >(val3
);
21233 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21234 if (!SWIG_IsOK(ecode4
)) {
21235 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21237 arg4
= static_cast< int >(val4
);
21240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21241 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21242 wxPyEndAllowThreads(__tstate
);
21243 if (PyErr_Occurred()) SWIG_fail
;
21245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21252 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21254 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21255 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21256 return SWIG_Py_Void();
21259 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21260 return SWIG_Python_InitShadowInstance(args
);
21263 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21264 PyObject
*resultobj
= 0;
21265 wxWindow
*arg1
= (wxWindow
*) 0 ;
21267 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21268 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21269 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21270 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21271 long arg5
= (long) 0 ;
21272 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21273 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21274 wxChoicebook
*result
= 0 ;
21283 bool temp6
= false ;
21284 PyObject
* obj0
= 0 ;
21285 PyObject
* obj1
= 0 ;
21286 PyObject
* obj2
= 0 ;
21287 PyObject
* obj3
= 0 ;
21288 PyObject
* obj4
= 0 ;
21289 PyObject
* obj5
= 0 ;
21290 char * kwnames
[] = {
21291 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21296 if (!SWIG_IsOK(res1
)) {
21297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21299 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21301 if (!SWIG_IsOK(ecode2
)) {
21302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21304 arg2
= static_cast< int >(val2
);
21308 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21314 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21318 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21319 if (!SWIG_IsOK(ecode5
)) {
21320 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21322 arg5
= static_cast< long >(val5
);
21326 arg6
= wxString_in_helper(obj5
);
21327 if (arg6
== NULL
) SWIG_fail
;
21332 if (!wxPyCheckForApp()) SWIG_fail
;
21333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21334 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21335 wxPyEndAllowThreads(__tstate
);
21336 if (PyErr_Occurred()) SWIG_fail
;
21338 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21353 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21354 PyObject
*resultobj
= 0;
21355 wxChoicebook
*result
= 0 ;
21357 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21359 if (!wxPyCheckForApp()) SWIG_fail
;
21360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21361 result
= (wxChoicebook
*)new wxChoicebook();
21362 wxPyEndAllowThreads(__tstate
);
21363 if (PyErr_Occurred()) SWIG_fail
;
21365 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21372 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21373 PyObject
*resultobj
= 0;
21374 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21375 wxWindow
*arg2
= (wxWindow
*) 0 ;
21377 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21378 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21379 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21380 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21381 long arg6
= (long) 0 ;
21382 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21383 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21395 bool temp7
= false ;
21396 PyObject
* obj0
= 0 ;
21397 PyObject
* obj1
= 0 ;
21398 PyObject
* obj2
= 0 ;
21399 PyObject
* obj3
= 0 ;
21400 PyObject
* obj4
= 0 ;
21401 PyObject
* obj5
= 0 ;
21402 PyObject
* obj6
= 0 ;
21403 char * kwnames
[] = {
21404 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21409 if (!SWIG_IsOK(res1
)) {
21410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21412 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21413 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21414 if (!SWIG_IsOK(res2
)) {
21415 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21417 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21418 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21419 if (!SWIG_IsOK(ecode3
)) {
21420 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21422 arg3
= static_cast< int >(val3
);
21426 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21432 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21436 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21437 if (!SWIG_IsOK(ecode6
)) {
21438 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21440 arg6
= static_cast< long >(val6
);
21444 arg7
= wxString_in_helper(obj6
);
21445 if (arg7
== NULL
) SWIG_fail
;
21450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21451 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21452 wxPyEndAllowThreads(__tstate
);
21453 if (PyErr_Occurred()) SWIG_fail
;
21456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21472 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21473 PyObject
*resultobj
= 0;
21474 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21475 wxChoice
*result
= 0 ;
21478 PyObject
*swig_obj
[1] ;
21480 if (!args
) SWIG_fail
;
21481 swig_obj
[0] = args
;
21482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21483 if (!SWIG_IsOK(res1
)) {
21484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21486 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21489 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21490 wxPyEndAllowThreads(__tstate
);
21491 if (PyErr_Occurred()) SWIG_fail
;
21493 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21500 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21502 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21503 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21504 return SWIG_Py_Void();
21507 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21508 return SWIG_Python_InitShadowInstance(args
);
21511 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21512 PyObject
*resultobj
= 0;
21513 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21514 int arg2
= (int) 0 ;
21515 int arg3
= (int) -1 ;
21516 int arg4
= (int) -1 ;
21517 wxChoicebookEvent
*result
= 0 ;
21526 PyObject
* obj0
= 0 ;
21527 PyObject
* obj1
= 0 ;
21528 PyObject
* obj2
= 0 ;
21529 PyObject
* obj3
= 0 ;
21530 char * kwnames
[] = {
21531 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21536 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21537 if (!SWIG_IsOK(ecode1
)) {
21538 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21540 arg1
= static_cast< wxEventType
>(val1
);
21543 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21544 if (!SWIG_IsOK(ecode2
)) {
21545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21547 arg2
= static_cast< int >(val2
);
21550 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21551 if (!SWIG_IsOK(ecode3
)) {
21552 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21554 arg3
= static_cast< int >(val3
);
21557 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21558 if (!SWIG_IsOK(ecode4
)) {
21559 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21561 arg4
= static_cast< int >(val4
);
21564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21565 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21566 wxPyEndAllowThreads(__tstate
);
21567 if (PyErr_Occurred()) SWIG_fail
;
21569 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21576 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21578 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21579 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21580 return SWIG_Py_Void();
21583 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21584 return SWIG_Python_InitShadowInstance(args
);
21587 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21588 PyObject
*resultobj
= 0;
21589 wxWindow
*arg1
= (wxWindow
*) 0 ;
21591 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21592 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21593 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21594 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21595 long arg5
= (long) wxBK_DEFAULT
;
21596 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21597 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21598 wxTreebook
*result
= 0 ;
21607 bool temp6
= false ;
21608 PyObject
* obj0
= 0 ;
21609 PyObject
* obj1
= 0 ;
21610 PyObject
* obj2
= 0 ;
21611 PyObject
* obj3
= 0 ;
21612 PyObject
* obj4
= 0 ;
21613 PyObject
* obj5
= 0 ;
21614 char * kwnames
[] = {
21615 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21620 if (!SWIG_IsOK(res1
)) {
21621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21623 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21624 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21625 if (!SWIG_IsOK(ecode2
)) {
21626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21628 arg2
= static_cast< int >(val2
);
21632 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21638 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21642 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21643 if (!SWIG_IsOK(ecode5
)) {
21644 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21646 arg5
= static_cast< long >(val5
);
21650 arg6
= wxString_in_helper(obj5
);
21651 if (arg6
== NULL
) SWIG_fail
;
21656 if (!wxPyCheckForApp()) SWIG_fail
;
21657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21658 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21659 wxPyEndAllowThreads(__tstate
);
21660 if (PyErr_Occurred()) SWIG_fail
;
21662 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21677 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21678 PyObject
*resultobj
= 0;
21679 wxTreebook
*result
= 0 ;
21681 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21683 if (!wxPyCheckForApp()) SWIG_fail
;
21684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21685 result
= (wxTreebook
*)new wxTreebook();
21686 wxPyEndAllowThreads(__tstate
);
21687 if (PyErr_Occurred()) SWIG_fail
;
21689 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21696 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21697 PyObject
*resultobj
= 0;
21698 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21699 wxWindow
*arg2
= (wxWindow
*) 0 ;
21701 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21702 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21703 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21704 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21705 long arg6
= (long) wxBK_DEFAULT
;
21706 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21707 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21719 bool temp7
= false ;
21720 PyObject
* obj0
= 0 ;
21721 PyObject
* obj1
= 0 ;
21722 PyObject
* obj2
= 0 ;
21723 PyObject
* obj3
= 0 ;
21724 PyObject
* obj4
= 0 ;
21725 PyObject
* obj5
= 0 ;
21726 PyObject
* obj6
= 0 ;
21727 char * kwnames
[] = {
21728 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21733 if (!SWIG_IsOK(res1
)) {
21734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21736 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21737 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21738 if (!SWIG_IsOK(res2
)) {
21739 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21741 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21742 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21743 if (!SWIG_IsOK(ecode3
)) {
21744 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21746 arg3
= static_cast< int >(val3
);
21750 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21756 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21760 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21761 if (!SWIG_IsOK(ecode6
)) {
21762 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21764 arg6
= static_cast< long >(val6
);
21768 arg7
= wxString_in_helper(obj6
);
21769 if (arg7
== NULL
) SWIG_fail
;
21774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21775 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21776 wxPyEndAllowThreads(__tstate
);
21777 if (PyErr_Occurred()) SWIG_fail
;
21780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21796 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21797 PyObject
*resultobj
= 0;
21798 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21800 wxWindow
*arg3
= (wxWindow
*) 0 ;
21801 wxString
*arg4
= 0 ;
21802 bool arg5
= (bool) false ;
21803 int arg6
= (int) wxNOT_FOUND
;
21811 bool temp4
= false ;
21816 PyObject
* obj0
= 0 ;
21817 PyObject
* obj1
= 0 ;
21818 PyObject
* obj2
= 0 ;
21819 PyObject
* obj3
= 0 ;
21820 PyObject
* obj4
= 0 ;
21821 PyObject
* obj5
= 0 ;
21822 char * kwnames
[] = {
21823 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21828 if (!SWIG_IsOK(res1
)) {
21829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21831 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21832 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21833 if (!SWIG_IsOK(ecode2
)) {
21834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
21836 arg2
= static_cast< size_t >(val2
);
21837 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21838 if (!SWIG_IsOK(res3
)) {
21839 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
21841 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
21843 arg4
= wxString_in_helper(obj3
);
21844 if (arg4
== NULL
) SWIG_fail
;
21848 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
21849 if (!SWIG_IsOK(ecode5
)) {
21850 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
21852 arg5
= static_cast< bool >(val5
);
21855 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21856 if (!SWIG_IsOK(ecode6
)) {
21857 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
21859 arg6
= static_cast< int >(val6
);
21862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21863 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
21864 wxPyEndAllowThreads(__tstate
);
21865 if (PyErr_Occurred()) SWIG_fail
;
21868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21884 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21885 PyObject
*resultobj
= 0;
21886 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21887 wxWindow
*arg2
= (wxWindow
*) 0 ;
21888 wxString
*arg3
= 0 ;
21889 bool arg4
= (bool) false ;
21890 int arg5
= (int) wxNOT_FOUND
;
21896 bool temp3
= false ;
21901 PyObject
* obj0
= 0 ;
21902 PyObject
* obj1
= 0 ;
21903 PyObject
* obj2
= 0 ;
21904 PyObject
* obj3
= 0 ;
21905 PyObject
* obj4
= 0 ;
21906 char * kwnames
[] = {
21907 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21912 if (!SWIG_IsOK(res1
)) {
21913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21915 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21916 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21917 if (!SWIG_IsOK(res2
)) {
21918 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
21920 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21922 arg3
= wxString_in_helper(obj2
);
21923 if (arg3
== NULL
) SWIG_fail
;
21927 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
21928 if (!SWIG_IsOK(ecode4
)) {
21929 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
21931 arg4
= static_cast< bool >(val4
);
21934 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21935 if (!SWIG_IsOK(ecode5
)) {
21936 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
21938 arg5
= static_cast< int >(val5
);
21941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21942 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21943 wxPyEndAllowThreads(__tstate
);
21944 if (PyErr_Occurred()) SWIG_fail
;
21947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21963 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21964 PyObject
*resultobj
= 0;
21965 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21972 PyObject
* obj0
= 0 ;
21973 PyObject
* obj1
= 0 ;
21974 char * kwnames
[] = {
21975 (char *) "self",(char *) "pos", NULL
21978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21980 if (!SWIG_IsOK(res1
)) {
21981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21983 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21984 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21985 if (!SWIG_IsOK(ecode2
)) {
21986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
21988 arg2
= static_cast< size_t >(val2
);
21990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21991 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
21992 wxPyEndAllowThreads(__tstate
);
21993 if (PyErr_Occurred()) SWIG_fail
;
21996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22004 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22005 PyObject
*resultobj
= 0;
22006 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22008 bool arg3
= (bool) true ;
22016 PyObject
* obj0
= 0 ;
22017 PyObject
* obj1
= 0 ;
22018 PyObject
* obj2
= 0 ;
22019 char * kwnames
[] = {
22020 (char *) "self",(char *) "pos",(char *) "expand", NULL
22023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22025 if (!SWIG_IsOK(res1
)) {
22026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22028 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22029 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22030 if (!SWIG_IsOK(ecode2
)) {
22031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22033 arg2
= static_cast< size_t >(val2
);
22035 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22036 if (!SWIG_IsOK(ecode3
)) {
22037 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22039 arg3
= static_cast< bool >(val3
);
22042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22043 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
22044 wxPyEndAllowThreads(__tstate
);
22045 if (PyErr_Occurred()) SWIG_fail
;
22048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22056 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22057 PyObject
*resultobj
= 0;
22058 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22065 PyObject
* obj0
= 0 ;
22066 PyObject
* obj1
= 0 ;
22067 char * kwnames
[] = {
22068 (char *) "self",(char *) "pos", NULL
22071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22073 if (!SWIG_IsOK(res1
)) {
22074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22076 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22077 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22078 if (!SWIG_IsOK(ecode2
)) {
22079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22081 arg2
= static_cast< size_t >(val2
);
22083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22084 result
= (bool)(arg1
)->CollapseNode(arg2
);
22085 wxPyEndAllowThreads(__tstate
);
22086 if (PyErr_Occurred()) SWIG_fail
;
22089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22097 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22098 PyObject
*resultobj
= 0;
22099 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22106 PyObject
* obj0
= 0 ;
22107 PyObject
* obj1
= 0 ;
22108 char * kwnames
[] = {
22109 (char *) "self",(char *) "pos", NULL
22112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22114 if (!SWIG_IsOK(res1
)) {
22115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22117 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22118 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22119 if (!SWIG_IsOK(ecode2
)) {
22120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22122 arg2
= static_cast< size_t >(val2
);
22124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22125 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22126 wxPyEndAllowThreads(__tstate
);
22127 if (PyErr_Occurred()) SWIG_fail
;
22129 resultobj
= SWIG_From_int(static_cast< int >(result
));
22136 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22137 PyObject
*resultobj
= 0;
22138 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22139 wxTreeCtrl
*result
= 0 ;
22142 PyObject
*swig_obj
[1] ;
22144 if (!args
) SWIG_fail
;
22145 swig_obj
[0] = args
;
22146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22147 if (!SWIG_IsOK(res1
)) {
22148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22150 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22153 result
= (wxTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22154 wxPyEndAllowThreads(__tstate
);
22155 if (PyErr_Occurred()) SWIG_fail
;
22157 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeCtrl
, 0 | 0 );
22164 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22166 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22167 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22168 return SWIG_Py_Void();
22171 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22172 return SWIG_Python_InitShadowInstance(args
);
22175 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22176 PyObject
*resultobj
= 0;
22177 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22178 int arg2
= (int) 0 ;
22179 int arg3
= (int) wxNOT_FOUND
;
22180 int arg4
= (int) wxNOT_FOUND
;
22181 wxTreebookEvent
*result
= 0 ;
22190 PyObject
* obj0
= 0 ;
22191 PyObject
* obj1
= 0 ;
22192 PyObject
* obj2
= 0 ;
22193 PyObject
* obj3
= 0 ;
22194 char * kwnames
[] = {
22195 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22200 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22201 if (!SWIG_IsOK(ecode1
)) {
22202 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22204 arg1
= static_cast< wxEventType
>(val1
);
22207 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22208 if (!SWIG_IsOK(ecode2
)) {
22209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22211 arg2
= static_cast< int >(val2
);
22214 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22215 if (!SWIG_IsOK(ecode3
)) {
22216 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22218 arg3
= static_cast< int >(val3
);
22221 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22222 if (!SWIG_IsOK(ecode4
)) {
22223 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22225 arg4
= static_cast< int >(val4
);
22228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22229 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22230 wxPyEndAllowThreads(__tstate
);
22231 if (PyErr_Occurred()) SWIG_fail
;
22233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22240 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22242 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22243 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22244 return SWIG_Py_Void();
22247 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22248 return SWIG_Python_InitShadowInstance(args
);
22251 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22252 PyObject
*resultobj
= 0;
22253 wxWindow
*arg1
= (wxWindow
*) 0 ;
22255 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22256 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22257 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22258 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22259 long arg5
= (long) wxBK_DEFAULT
;
22260 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22261 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22262 wxToolbook
*result
= 0 ;
22271 bool temp6
= false ;
22272 PyObject
* obj0
= 0 ;
22273 PyObject
* obj1
= 0 ;
22274 PyObject
* obj2
= 0 ;
22275 PyObject
* obj3
= 0 ;
22276 PyObject
* obj4
= 0 ;
22277 PyObject
* obj5
= 0 ;
22278 char * kwnames
[] = {
22279 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22284 if (!SWIG_IsOK(res1
)) {
22285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22287 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22288 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22289 if (!SWIG_IsOK(ecode2
)) {
22290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22292 arg2
= static_cast< int >(val2
);
22296 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22302 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22306 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22307 if (!SWIG_IsOK(ecode5
)) {
22308 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22310 arg5
= static_cast< long >(val5
);
22314 arg6
= wxString_in_helper(obj5
);
22315 if (arg6
== NULL
) SWIG_fail
;
22320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22321 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22322 wxPyEndAllowThreads(__tstate
);
22323 if (PyErr_Occurred()) SWIG_fail
;
22325 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22340 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22341 PyObject
*resultobj
= 0;
22342 wxToolbook
*result
= 0 ;
22344 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22347 result
= (wxToolbook
*)new wxToolbook();
22348 wxPyEndAllowThreads(__tstate
);
22349 if (PyErr_Occurred()) SWIG_fail
;
22351 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22358 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22359 PyObject
*resultobj
= 0;
22360 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22361 wxWindow
*arg2
= (wxWindow
*) 0 ;
22363 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22364 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22365 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22366 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22367 long arg6
= (long) 0 ;
22368 wxString
const &arg7_defvalue
= wxEmptyString
;
22369 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22381 bool temp7
= false ;
22382 PyObject
* obj0
= 0 ;
22383 PyObject
* obj1
= 0 ;
22384 PyObject
* obj2
= 0 ;
22385 PyObject
* obj3
= 0 ;
22386 PyObject
* obj4
= 0 ;
22387 PyObject
* obj5
= 0 ;
22388 PyObject
* obj6
= 0 ;
22389 char * kwnames
[] = {
22390 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22395 if (!SWIG_IsOK(res1
)) {
22396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22398 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22399 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22400 if (!SWIG_IsOK(res2
)) {
22401 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22403 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22404 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22405 if (!SWIG_IsOK(ecode3
)) {
22406 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22408 arg3
= static_cast< int >(val3
);
22412 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22418 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22422 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22423 if (!SWIG_IsOK(ecode6
)) {
22424 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22426 arg6
= static_cast< long >(val6
);
22430 arg7
= wxString_in_helper(obj6
);
22431 if (arg7
== NULL
) SWIG_fail
;
22436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22437 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22438 wxPyEndAllowThreads(__tstate
);
22439 if (PyErr_Occurred()) SWIG_fail
;
22442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22458 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22459 PyObject
*resultobj
= 0;
22460 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22461 wxToolBarBase
*result
= 0 ;
22464 PyObject
*swig_obj
[1] ;
22466 if (!args
) SWIG_fail
;
22467 swig_obj
[0] = args
;
22468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22469 if (!SWIG_IsOK(res1
)) {
22470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22472 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22475 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22476 wxPyEndAllowThreads(__tstate
);
22477 if (PyErr_Occurred()) SWIG_fail
;
22480 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22488 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22489 PyObject
*resultobj
= 0;
22490 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22493 PyObject
*swig_obj
[1] ;
22495 if (!args
) SWIG_fail
;
22496 swig_obj
[0] = args
;
22497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22498 if (!SWIG_IsOK(res1
)) {
22499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22501 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22505 wxPyEndAllowThreads(__tstate
);
22506 if (PyErr_Occurred()) SWIG_fail
;
22508 resultobj
= SWIG_Py_Void();
22515 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22517 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22518 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22519 return SWIG_Py_Void();
22522 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22523 return SWIG_Python_InitShadowInstance(args
);
22526 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22527 PyObject
*resultobj
= 0;
22528 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22529 int arg2
= (int) 0 ;
22530 int arg3
= (int) wxNOT_FOUND
;
22531 int arg4
= (int) wxNOT_FOUND
;
22532 wxToolbookEvent
*result
= 0 ;
22541 PyObject
* obj0
= 0 ;
22542 PyObject
* obj1
= 0 ;
22543 PyObject
* obj2
= 0 ;
22544 PyObject
* obj3
= 0 ;
22545 char * kwnames
[] = {
22546 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22551 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22552 if (!SWIG_IsOK(ecode1
)) {
22553 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22555 arg1
= static_cast< wxEventType
>(val1
);
22558 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22559 if (!SWIG_IsOK(ecode2
)) {
22560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22562 arg2
= static_cast< int >(val2
);
22565 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22566 if (!SWIG_IsOK(ecode3
)) {
22567 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22569 arg3
= static_cast< int >(val3
);
22572 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22573 if (!SWIG_IsOK(ecode4
)) {
22574 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22576 arg4
= static_cast< int >(val4
);
22579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22580 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22581 wxPyEndAllowThreads(__tstate
);
22582 if (PyErr_Occurred()) SWIG_fail
;
22584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22591 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22593 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22594 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22595 return SWIG_Py_Void();
22598 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22599 return SWIG_Python_InitShadowInstance(args
);
22602 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22603 PyObject
*resultobj
= 0;
22604 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22608 PyObject
*swig_obj
[1] ;
22610 if (!args
) SWIG_fail
;
22611 swig_obj
[0] = args
;
22612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22613 if (!SWIG_IsOK(res1
)) {
22614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22616 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22619 result
= (int)(arg1
)->GetId();
22620 wxPyEndAllowThreads(__tstate
);
22621 if (PyErr_Occurred()) SWIG_fail
;
22623 resultobj
= SWIG_From_int(static_cast< int >(result
));
22630 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22631 PyObject
*resultobj
= 0;
22632 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22633 wxControl
*result
= 0 ;
22636 PyObject
*swig_obj
[1] ;
22638 if (!args
) SWIG_fail
;
22639 swig_obj
[0] = args
;
22640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22641 if (!SWIG_IsOK(res1
)) {
22642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22644 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22647 result
= (wxControl
*)(arg1
)->GetControl();
22648 wxPyEndAllowThreads(__tstate
);
22649 if (PyErr_Occurred()) SWIG_fail
;
22652 resultobj
= wxPyMake_wxObject(result
, 0);
22660 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22661 PyObject
*resultobj
= 0;
22662 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22663 wxToolBarBase
*result
= 0 ;
22666 PyObject
*swig_obj
[1] ;
22668 if (!args
) SWIG_fail
;
22669 swig_obj
[0] = args
;
22670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22671 if (!SWIG_IsOK(res1
)) {
22672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22674 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22677 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22678 wxPyEndAllowThreads(__tstate
);
22679 if (PyErr_Occurred()) SWIG_fail
;
22682 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22690 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22691 PyObject
*resultobj
= 0;
22692 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22696 PyObject
*swig_obj
[1] ;
22698 if (!args
) SWIG_fail
;
22699 swig_obj
[0] = args
;
22700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22701 if (!SWIG_IsOK(res1
)) {
22702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22704 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22707 result
= (int)(arg1
)->IsButton();
22708 wxPyEndAllowThreads(__tstate
);
22709 if (PyErr_Occurred()) SWIG_fail
;
22711 resultobj
= SWIG_From_int(static_cast< int >(result
));
22718 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22719 PyObject
*resultobj
= 0;
22720 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22724 PyObject
*swig_obj
[1] ;
22726 if (!args
) SWIG_fail
;
22727 swig_obj
[0] = args
;
22728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22729 if (!SWIG_IsOK(res1
)) {
22730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22732 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22735 result
= (int)(arg1
)->IsControl();
22736 wxPyEndAllowThreads(__tstate
);
22737 if (PyErr_Occurred()) SWIG_fail
;
22739 resultobj
= SWIG_From_int(static_cast< int >(result
));
22746 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22747 PyObject
*resultobj
= 0;
22748 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22752 PyObject
*swig_obj
[1] ;
22754 if (!args
) SWIG_fail
;
22755 swig_obj
[0] = args
;
22756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22757 if (!SWIG_IsOK(res1
)) {
22758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22760 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22763 result
= (int)(arg1
)->IsSeparator();
22764 wxPyEndAllowThreads(__tstate
);
22765 if (PyErr_Occurred()) SWIG_fail
;
22767 resultobj
= SWIG_From_int(static_cast< int >(result
));
22774 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22775 PyObject
*resultobj
= 0;
22776 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22780 PyObject
*swig_obj
[1] ;
22782 if (!args
) SWIG_fail
;
22783 swig_obj
[0] = args
;
22784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22785 if (!SWIG_IsOK(res1
)) {
22786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22788 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22791 result
= (int)(arg1
)->GetStyle();
22792 wxPyEndAllowThreads(__tstate
);
22793 if (PyErr_Occurred()) SWIG_fail
;
22795 resultobj
= SWIG_From_int(static_cast< int >(result
));
22802 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22803 PyObject
*resultobj
= 0;
22804 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22808 PyObject
*swig_obj
[1] ;
22810 if (!args
) SWIG_fail
;
22811 swig_obj
[0] = args
;
22812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22813 if (!SWIG_IsOK(res1
)) {
22814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22816 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22819 result
= (wxItemKind
)(arg1
)->GetKind();
22820 wxPyEndAllowThreads(__tstate
);
22821 if (PyErr_Occurred()) SWIG_fail
;
22823 resultobj
= SWIG_From_int(static_cast< int >(result
));
22830 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22831 PyObject
*resultobj
= 0;
22832 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22836 PyObject
*swig_obj
[1] ;
22838 if (!args
) SWIG_fail
;
22839 swig_obj
[0] = args
;
22840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22841 if (!SWIG_IsOK(res1
)) {
22842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22844 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22847 result
= (bool)(arg1
)->IsEnabled();
22848 wxPyEndAllowThreads(__tstate
);
22849 if (PyErr_Occurred()) SWIG_fail
;
22852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22860 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22861 PyObject
*resultobj
= 0;
22862 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22866 PyObject
*swig_obj
[1] ;
22868 if (!args
) SWIG_fail
;
22869 swig_obj
[0] = args
;
22870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22871 if (!SWIG_IsOK(res1
)) {
22872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22874 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22877 result
= (bool)(arg1
)->IsToggled();
22878 wxPyEndAllowThreads(__tstate
);
22879 if (PyErr_Occurred()) SWIG_fail
;
22882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22890 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22891 PyObject
*resultobj
= 0;
22892 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22896 PyObject
*swig_obj
[1] ;
22898 if (!args
) SWIG_fail
;
22899 swig_obj
[0] = args
;
22900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22901 if (!SWIG_IsOK(res1
)) {
22902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22904 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22907 result
= (bool)(arg1
)->CanBeToggled();
22908 wxPyEndAllowThreads(__tstate
);
22909 if (PyErr_Occurred()) SWIG_fail
;
22912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22920 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22921 PyObject
*resultobj
= 0;
22922 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22923 wxBitmap
*result
= 0 ;
22926 PyObject
*swig_obj
[1] ;
22928 if (!args
) SWIG_fail
;
22929 swig_obj
[0] = args
;
22930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22931 if (!SWIG_IsOK(res1
)) {
22932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22934 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22938 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
22939 result
= (wxBitmap
*) &_result_ref
;
22941 wxPyEndAllowThreads(__tstate
);
22942 if (PyErr_Occurred()) SWIG_fail
;
22945 wxBitmap
* resultptr
= new wxBitmap(*result
);
22946 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22954 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22955 PyObject
*resultobj
= 0;
22956 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22957 wxBitmap
*result
= 0 ;
22960 PyObject
*swig_obj
[1] ;
22962 if (!args
) SWIG_fail
;
22963 swig_obj
[0] = args
;
22964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22965 if (!SWIG_IsOK(res1
)) {
22966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22968 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22972 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
22973 result
= (wxBitmap
*) &_result_ref
;
22975 wxPyEndAllowThreads(__tstate
);
22976 if (PyErr_Occurred()) SWIG_fail
;
22979 wxBitmap
* resultptr
= new wxBitmap(*result
);
22980 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22988 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22989 PyObject
*resultobj
= 0;
22990 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22994 PyObject
*swig_obj
[1] ;
22996 if (!args
) SWIG_fail
;
22997 swig_obj
[0] = args
;
22998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22999 if (!SWIG_IsOK(res1
)) {
23000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23002 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23005 result
= (arg1
)->GetBitmap();
23006 wxPyEndAllowThreads(__tstate
);
23007 if (PyErr_Occurred()) SWIG_fail
;
23009 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
23016 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23017 PyObject
*resultobj
= 0;
23018 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23022 PyObject
*swig_obj
[1] ;
23024 if (!args
) SWIG_fail
;
23025 swig_obj
[0] = args
;
23026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23027 if (!SWIG_IsOK(res1
)) {
23028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23030 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23033 result
= (arg1
)->GetLabel();
23034 wxPyEndAllowThreads(__tstate
);
23035 if (PyErr_Occurred()) SWIG_fail
;
23039 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23041 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23050 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23051 PyObject
*resultobj
= 0;
23052 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23056 PyObject
*swig_obj
[1] ;
23058 if (!args
) SWIG_fail
;
23059 swig_obj
[0] = args
;
23060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23061 if (!SWIG_IsOK(res1
)) {
23062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23064 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23067 result
= (arg1
)->GetShortHelp();
23068 wxPyEndAllowThreads(__tstate
);
23069 if (PyErr_Occurred()) SWIG_fail
;
23073 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23075 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23084 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23085 PyObject
*resultobj
= 0;
23086 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23090 PyObject
*swig_obj
[1] ;
23092 if (!args
) SWIG_fail
;
23093 swig_obj
[0] = args
;
23094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23095 if (!SWIG_IsOK(res1
)) {
23096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23098 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23101 result
= (arg1
)->GetLongHelp();
23102 wxPyEndAllowThreads(__tstate
);
23103 if (PyErr_Occurred()) SWIG_fail
;
23107 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23109 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23118 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23119 PyObject
*resultobj
= 0;
23120 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23127 PyObject
* obj0
= 0 ;
23128 PyObject
* obj1
= 0 ;
23129 char * kwnames
[] = {
23130 (char *) "self",(char *) "enable", NULL
23133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23135 if (!SWIG_IsOK(res1
)) {
23136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23138 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23139 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23140 if (!SWIG_IsOK(ecode2
)) {
23141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23143 arg2
= static_cast< bool >(val2
);
23145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23146 result
= (bool)(arg1
)->Enable(arg2
);
23147 wxPyEndAllowThreads(__tstate
);
23148 if (PyErr_Occurred()) SWIG_fail
;
23151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23159 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23160 PyObject
*resultobj
= 0;
23161 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23164 PyObject
*swig_obj
[1] ;
23166 if (!args
) SWIG_fail
;
23167 swig_obj
[0] = args
;
23168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23169 if (!SWIG_IsOK(res1
)) {
23170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23172 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23176 wxPyEndAllowThreads(__tstate
);
23177 if (PyErr_Occurred()) SWIG_fail
;
23179 resultobj
= SWIG_Py_Void();
23186 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23187 PyObject
*resultobj
= 0;
23188 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23195 PyObject
* obj0
= 0 ;
23196 PyObject
* obj1
= 0 ;
23197 char * kwnames
[] = {
23198 (char *) "self",(char *) "toggle", NULL
23201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23203 if (!SWIG_IsOK(res1
)) {
23204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23206 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23207 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23208 if (!SWIG_IsOK(ecode2
)) {
23209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23211 arg2
= static_cast< bool >(val2
);
23213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23214 result
= (bool)(arg1
)->SetToggle(arg2
);
23215 wxPyEndAllowThreads(__tstate
);
23216 if (PyErr_Occurred()) SWIG_fail
;
23219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23227 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23228 PyObject
*resultobj
= 0;
23229 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23230 wxString
*arg2
= 0 ;
23234 bool temp2
= false ;
23235 PyObject
* obj0
= 0 ;
23236 PyObject
* obj1
= 0 ;
23237 char * kwnames
[] = {
23238 (char *) "self",(char *) "help", NULL
23241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",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_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23246 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23248 arg2
= wxString_in_helper(obj1
);
23249 if (arg2
== NULL
) SWIG_fail
;
23253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23254 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23255 wxPyEndAllowThreads(__tstate
);
23256 if (PyErr_Occurred()) SWIG_fail
;
23259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23275 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23276 PyObject
*resultobj
= 0;
23277 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23278 wxString
*arg2
= 0 ;
23282 bool temp2
= false ;
23283 PyObject
* obj0
= 0 ;
23284 PyObject
* obj1
= 0 ;
23285 char * kwnames
[] = {
23286 (char *) "self",(char *) "help", NULL
23289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23291 if (!SWIG_IsOK(res1
)) {
23292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23294 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23296 arg2
= wxString_in_helper(obj1
);
23297 if (arg2
== NULL
) SWIG_fail
;
23301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23302 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23303 wxPyEndAllowThreads(__tstate
);
23304 if (PyErr_Occurred()) SWIG_fail
;
23307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23323 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23324 PyObject
*resultobj
= 0;
23325 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23326 wxBitmap
*arg2
= 0 ;
23331 PyObject
* obj0
= 0 ;
23332 PyObject
* obj1
= 0 ;
23333 char * kwnames
[] = {
23334 (char *) "self",(char *) "bmp", NULL
23337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23339 if (!SWIG_IsOK(res1
)) {
23340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23342 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23343 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23344 if (!SWIG_IsOK(res2
)) {
23345 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23348 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23350 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23353 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23354 wxPyEndAllowThreads(__tstate
);
23355 if (PyErr_Occurred()) SWIG_fail
;
23357 resultobj
= SWIG_Py_Void();
23364 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23365 PyObject
*resultobj
= 0;
23366 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23367 wxBitmap
*arg2
= 0 ;
23372 PyObject
* obj0
= 0 ;
23373 PyObject
* obj1
= 0 ;
23374 char * kwnames
[] = {
23375 (char *) "self",(char *) "bmp", NULL
23378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23380 if (!SWIG_IsOK(res1
)) {
23381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23383 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23384 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23385 if (!SWIG_IsOK(res2
)) {
23386 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23389 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23391 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23394 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23395 wxPyEndAllowThreads(__tstate
);
23396 if (PyErr_Occurred()) SWIG_fail
;
23398 resultobj
= SWIG_Py_Void();
23405 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23406 PyObject
*resultobj
= 0;
23407 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23408 wxString
*arg2
= 0 ;
23411 bool temp2
= false ;
23412 PyObject
* obj0
= 0 ;
23413 PyObject
* obj1
= 0 ;
23414 char * kwnames
[] = {
23415 (char *) "self",(char *) "label", NULL
23418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",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_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23423 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23425 arg2
= wxString_in_helper(obj1
);
23426 if (arg2
== NULL
) SWIG_fail
;
23430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23431 (arg1
)->SetLabel((wxString
const &)*arg2
);
23432 wxPyEndAllowThreads(__tstate
);
23433 if (PyErr_Occurred()) SWIG_fail
;
23435 resultobj
= SWIG_Py_Void();
23450 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23451 PyObject
*resultobj
= 0;
23452 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23455 PyObject
*swig_obj
[1] ;
23457 if (!args
) SWIG_fail
;
23458 swig_obj
[0] = args
;
23459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23460 if (!SWIG_IsOK(res1
)) {
23461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23463 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23467 wxPyEndAllowThreads(__tstate
);
23468 if (PyErr_Occurred()) SWIG_fail
;
23470 resultobj
= SWIG_Py_Void();
23477 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23478 PyObject
*resultobj
= 0;
23479 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23480 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23485 PyObject
* obj0
= 0 ;
23486 PyObject
* obj1
= 0 ;
23487 char * kwnames
[] = {
23488 (char *) "self",(char *) "tbar", NULL
23491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23493 if (!SWIG_IsOK(res1
)) {
23494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23496 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23497 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23498 if (!SWIG_IsOK(res2
)) {
23499 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23501 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23504 (arg1
)->Attach(arg2
);
23505 wxPyEndAllowThreads(__tstate
);
23506 if (PyErr_Occurred()) SWIG_fail
;
23508 resultobj
= SWIG_Py_Void();
23515 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23516 PyObject
*resultobj
= 0;
23517 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23518 PyObject
*result
= 0 ;
23521 PyObject
*swig_obj
[1] ;
23523 if (!args
) SWIG_fail
;
23524 swig_obj
[0] = args
;
23525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23526 if (!SWIG_IsOK(res1
)) {
23527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23529 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23532 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23533 wxPyEndAllowThreads(__tstate
);
23534 if (PyErr_Occurred()) SWIG_fail
;
23536 resultobj
= result
;
23543 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23544 PyObject
*resultobj
= 0;
23545 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23546 PyObject
*arg2
= (PyObject
*) 0 ;
23549 PyObject
* obj0
= 0 ;
23550 PyObject
* obj1
= 0 ;
23551 char * kwnames
[] = {
23552 (char *) "self",(char *) "clientData", NULL
23555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23557 if (!SWIG_IsOK(res1
)) {
23558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23560 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23564 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23565 wxPyEndAllowThreads(__tstate
);
23566 if (PyErr_Occurred()) SWIG_fail
;
23568 resultobj
= SWIG_Py_Void();
23575 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23577 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23578 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23579 return SWIG_Py_Void();
23582 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23583 PyObject
*resultobj
= 0;
23584 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23586 wxString
*arg3
= 0 ;
23587 wxBitmap
*arg4
= 0 ;
23588 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23589 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23590 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23591 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23592 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23593 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23594 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23595 PyObject
*arg9
= (PyObject
*) NULL
;
23596 wxToolBarToolBase
*result
= 0 ;
23601 bool temp3
= false ;
23608 bool temp7
= false ;
23609 bool temp8
= false ;
23610 PyObject
* obj0
= 0 ;
23611 PyObject
* obj1
= 0 ;
23612 PyObject
* obj2
= 0 ;
23613 PyObject
* obj3
= 0 ;
23614 PyObject
* obj4
= 0 ;
23615 PyObject
* obj5
= 0 ;
23616 PyObject
* obj6
= 0 ;
23617 PyObject
* obj7
= 0 ;
23618 PyObject
* obj8
= 0 ;
23619 char * kwnames
[] = {
23620 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23625 if (!SWIG_IsOK(res1
)) {
23626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23628 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23629 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23630 if (!SWIG_IsOK(ecode2
)) {
23631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23633 arg2
= static_cast< int >(val2
);
23635 arg3
= wxString_in_helper(obj2
);
23636 if (arg3
== NULL
) SWIG_fail
;
23639 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23640 if (!SWIG_IsOK(res4
)) {
23641 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23644 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23646 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23648 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23649 if (!SWIG_IsOK(res5
)) {
23650 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23653 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23655 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23658 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23659 if (!SWIG_IsOK(ecode6
)) {
23660 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23662 arg6
= static_cast< wxItemKind
>(val6
);
23666 arg7
= wxString_in_helper(obj6
);
23667 if (arg7
== NULL
) SWIG_fail
;
23673 arg8
= wxString_in_helper(obj7
);
23674 if (arg8
== NULL
) SWIG_fail
;
23682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23683 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23684 wxPyEndAllowThreads(__tstate
);
23685 if (PyErr_Occurred()) SWIG_fail
;
23688 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23720 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23721 PyObject
*resultobj
= 0;
23722 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23725 wxString
*arg4
= 0 ;
23726 wxBitmap
*arg5
= 0 ;
23727 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23728 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23729 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23730 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23731 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23732 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23733 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23734 PyObject
*arg10
= (PyObject
*) NULL
;
23735 wxToolBarToolBase
*result
= 0 ;
23742 bool temp4
= false ;
23749 bool temp8
= false ;
23750 bool temp9
= false ;
23751 PyObject
* obj0
= 0 ;
23752 PyObject
* obj1
= 0 ;
23753 PyObject
* obj2
= 0 ;
23754 PyObject
* obj3
= 0 ;
23755 PyObject
* obj4
= 0 ;
23756 PyObject
* obj5
= 0 ;
23757 PyObject
* obj6
= 0 ;
23758 PyObject
* obj7
= 0 ;
23759 PyObject
* obj8
= 0 ;
23760 PyObject
* obj9
= 0 ;
23761 char * kwnames
[] = {
23762 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23767 if (!SWIG_IsOK(res1
)) {
23768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23770 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23771 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23772 if (!SWIG_IsOK(ecode2
)) {
23773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23775 arg2
= static_cast< size_t >(val2
);
23776 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23777 if (!SWIG_IsOK(ecode3
)) {
23778 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23780 arg3
= static_cast< int >(val3
);
23782 arg4
= wxString_in_helper(obj3
);
23783 if (arg4
== NULL
) SWIG_fail
;
23786 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23787 if (!SWIG_IsOK(res5
)) {
23788 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23791 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23793 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23795 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23796 if (!SWIG_IsOK(res6
)) {
23797 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23800 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23802 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
23805 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23806 if (!SWIG_IsOK(ecode7
)) {
23807 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23809 arg7
= static_cast< wxItemKind
>(val7
);
23813 arg8
= wxString_in_helper(obj7
);
23814 if (arg8
== NULL
) SWIG_fail
;
23820 arg9
= wxString_in_helper(obj8
);
23821 if (arg9
== NULL
) SWIG_fail
;
23829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23830 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
23831 wxPyEndAllowThreads(__tstate
);
23832 if (PyErr_Occurred()) SWIG_fail
;
23835 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23867 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23868 PyObject
*resultobj
= 0;
23869 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23870 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
23871 wxToolBarToolBase
*result
= 0 ;
23876 PyObject
* obj0
= 0 ;
23877 PyObject
* obj1
= 0 ;
23878 char * kwnames
[] = {
23879 (char *) "self",(char *) "tool", NULL
23882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23884 if (!SWIG_IsOK(res1
)) {
23885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23887 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23888 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23889 if (!SWIG_IsOK(res2
)) {
23890 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
23892 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
23894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23895 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
23896 wxPyEndAllowThreads(__tstate
);
23897 if (PyErr_Occurred()) SWIG_fail
;
23900 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23908 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23909 PyObject
*resultobj
= 0;
23910 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23912 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
23913 wxToolBarToolBase
*result
= 0 ;
23920 PyObject
* obj0
= 0 ;
23921 PyObject
* obj1
= 0 ;
23922 PyObject
* obj2
= 0 ;
23923 char * kwnames
[] = {
23924 (char *) "self",(char *) "pos",(char *) "tool", NULL
23927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23929 if (!SWIG_IsOK(res1
)) {
23930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23932 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23933 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23934 if (!SWIG_IsOK(ecode2
)) {
23935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
23937 arg2
= static_cast< size_t >(val2
);
23938 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23939 if (!SWIG_IsOK(res3
)) {
23940 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
23942 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
23944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23945 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
23946 wxPyEndAllowThreads(__tstate
);
23947 if (PyErr_Occurred()) SWIG_fail
;
23950 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23958 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23959 PyObject
*resultobj
= 0;
23960 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23961 wxControl
*arg2
= (wxControl
*) 0 ;
23962 wxToolBarToolBase
*result
= 0 ;
23967 PyObject
* obj0
= 0 ;
23968 PyObject
* obj1
= 0 ;
23969 char * kwnames
[] = {
23970 (char *) "self",(char *) "control", NULL
23973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23975 if (!SWIG_IsOK(res1
)) {
23976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23978 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23979 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
23980 if (!SWIG_IsOK(res2
)) {
23981 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
23983 arg2
= reinterpret_cast< wxControl
* >(argp2
);
23985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23986 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
23987 wxPyEndAllowThreads(__tstate
);
23988 if (PyErr_Occurred()) SWIG_fail
;
23991 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23999 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24000 PyObject
*resultobj
= 0;
24001 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24003 wxControl
*arg3
= (wxControl
*) 0 ;
24004 wxToolBarToolBase
*result
= 0 ;
24011 PyObject
* obj0
= 0 ;
24012 PyObject
* obj1
= 0 ;
24013 PyObject
* obj2
= 0 ;
24014 char * kwnames
[] = {
24015 (char *) "self",(char *) "pos",(char *) "control", NULL
24018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24020 if (!SWIG_IsOK(res1
)) {
24021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24023 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24024 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24025 if (!SWIG_IsOK(ecode2
)) {
24026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24028 arg2
= static_cast< size_t >(val2
);
24029 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
24030 if (!SWIG_IsOK(res3
)) {
24031 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24033 arg3
= reinterpret_cast< wxControl
* >(argp3
);
24035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24036 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
24037 wxPyEndAllowThreads(__tstate
);
24038 if (PyErr_Occurred()) SWIG_fail
;
24041 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24049 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24050 PyObject
*resultobj
= 0;
24051 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24053 wxControl
*result
= 0 ;
24058 PyObject
* obj0
= 0 ;
24059 PyObject
* obj1
= 0 ;
24060 char * kwnames
[] = {
24061 (char *) "self",(char *) "id", NULL
24064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24066 if (!SWIG_IsOK(res1
)) {
24067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24069 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24070 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24071 if (!SWIG_IsOK(ecode2
)) {
24072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24074 arg2
= static_cast< int >(val2
);
24076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24077 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24078 wxPyEndAllowThreads(__tstate
);
24079 if (PyErr_Occurred()) SWIG_fail
;
24082 resultobj
= wxPyMake_wxObject(result
, 0);
24090 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24091 PyObject
*resultobj
= 0;
24092 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24093 wxToolBarToolBase
*result
= 0 ;
24096 PyObject
*swig_obj
[1] ;
24098 if (!args
) SWIG_fail
;
24099 swig_obj
[0] = args
;
24100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24101 if (!SWIG_IsOK(res1
)) {
24102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24104 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24107 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24108 wxPyEndAllowThreads(__tstate
);
24109 if (PyErr_Occurred()) SWIG_fail
;
24112 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24120 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24121 PyObject
*resultobj
= 0;
24122 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24124 wxToolBarToolBase
*result
= 0 ;
24129 PyObject
* obj0
= 0 ;
24130 PyObject
* obj1
= 0 ;
24131 char * kwnames
[] = {
24132 (char *) "self",(char *) "pos", NULL
24135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24137 if (!SWIG_IsOK(res1
)) {
24138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24140 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24141 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24142 if (!SWIG_IsOK(ecode2
)) {
24143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24145 arg2
= static_cast< size_t >(val2
);
24147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24148 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24149 wxPyEndAllowThreads(__tstate
);
24150 if (PyErr_Occurred()) SWIG_fail
;
24153 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24161 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24162 PyObject
*resultobj
= 0;
24163 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24165 wxToolBarToolBase
*result
= 0 ;
24170 PyObject
* obj0
= 0 ;
24171 PyObject
* obj1
= 0 ;
24172 char * kwnames
[] = {
24173 (char *) "self",(char *) "id", NULL
24176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24178 if (!SWIG_IsOK(res1
)) {
24179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24181 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24182 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24183 if (!SWIG_IsOK(ecode2
)) {
24184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24186 arg2
= static_cast< int >(val2
);
24188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24189 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24190 wxPyEndAllowThreads(__tstate
);
24191 if (PyErr_Occurred()) SWIG_fail
;
24194 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24202 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24203 PyObject
*resultobj
= 0;
24204 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24211 PyObject
* obj0
= 0 ;
24212 PyObject
* obj1
= 0 ;
24213 char * kwnames
[] = {
24214 (char *) "self",(char *) "pos", NULL
24217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24219 if (!SWIG_IsOK(res1
)) {
24220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24222 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24223 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24224 if (!SWIG_IsOK(ecode2
)) {
24225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24227 arg2
= static_cast< size_t >(val2
);
24229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24230 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24231 wxPyEndAllowThreads(__tstate
);
24232 if (PyErr_Occurred()) SWIG_fail
;
24235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24243 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24244 PyObject
*resultobj
= 0;
24245 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24252 PyObject
* obj0
= 0 ;
24253 PyObject
* obj1
= 0 ;
24254 char * kwnames
[] = {
24255 (char *) "self",(char *) "id", NULL
24258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24260 if (!SWIG_IsOK(res1
)) {
24261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24263 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24265 if (!SWIG_IsOK(ecode2
)) {
24266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24268 arg2
= static_cast< int >(val2
);
24270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24271 result
= (bool)(arg1
)->DeleteTool(arg2
);
24272 wxPyEndAllowThreads(__tstate
);
24273 if (PyErr_Occurred()) SWIG_fail
;
24276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24284 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24285 PyObject
*resultobj
= 0;
24286 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24289 PyObject
*swig_obj
[1] ;
24291 if (!args
) SWIG_fail
;
24292 swig_obj
[0] = args
;
24293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24294 if (!SWIG_IsOK(res1
)) {
24295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24297 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24300 (arg1
)->ClearTools();
24301 wxPyEndAllowThreads(__tstate
);
24302 if (PyErr_Occurred()) SWIG_fail
;
24304 resultobj
= SWIG_Py_Void();
24311 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24312 PyObject
*resultobj
= 0;
24313 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24317 PyObject
*swig_obj
[1] ;
24319 if (!args
) SWIG_fail
;
24320 swig_obj
[0] = args
;
24321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24322 if (!SWIG_IsOK(res1
)) {
24323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24325 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24328 result
= (bool)(arg1
)->Realize();
24329 wxPyEndAllowThreads(__tstate
);
24330 if (PyErr_Occurred()) SWIG_fail
;
24333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24341 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24342 PyObject
*resultobj
= 0;
24343 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24352 PyObject
* obj0
= 0 ;
24353 PyObject
* obj1
= 0 ;
24354 PyObject
* obj2
= 0 ;
24355 char * kwnames
[] = {
24356 (char *) "self",(char *) "id",(char *) "enable", NULL
24359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24361 if (!SWIG_IsOK(res1
)) {
24362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24364 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24365 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24366 if (!SWIG_IsOK(ecode2
)) {
24367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24369 arg2
= static_cast< int >(val2
);
24370 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24371 if (!SWIG_IsOK(ecode3
)) {
24372 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24374 arg3
= static_cast< bool >(val3
);
24376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24377 (arg1
)->EnableTool(arg2
,arg3
);
24378 wxPyEndAllowThreads(__tstate
);
24379 if (PyErr_Occurred()) SWIG_fail
;
24381 resultobj
= SWIG_Py_Void();
24388 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24389 PyObject
*resultobj
= 0;
24390 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24399 PyObject
* obj0
= 0 ;
24400 PyObject
* obj1
= 0 ;
24401 PyObject
* obj2
= 0 ;
24402 char * kwnames
[] = {
24403 (char *) "self",(char *) "id",(char *) "toggle", NULL
24406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24408 if (!SWIG_IsOK(res1
)) {
24409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24411 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24412 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24413 if (!SWIG_IsOK(ecode2
)) {
24414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24416 arg2
= static_cast< int >(val2
);
24417 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24418 if (!SWIG_IsOK(ecode3
)) {
24419 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24421 arg3
= static_cast< bool >(val3
);
24423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24424 (arg1
)->ToggleTool(arg2
,arg3
);
24425 wxPyEndAllowThreads(__tstate
);
24426 if (PyErr_Occurred()) SWIG_fail
;
24428 resultobj
= SWIG_Py_Void();
24435 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24436 PyObject
*resultobj
= 0;
24437 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24446 PyObject
* obj0
= 0 ;
24447 PyObject
* obj1
= 0 ;
24448 PyObject
* obj2
= 0 ;
24449 char * kwnames
[] = {
24450 (char *) "self",(char *) "id",(char *) "toggle", NULL
24453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24455 if (!SWIG_IsOK(res1
)) {
24456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24458 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24460 if (!SWIG_IsOK(ecode2
)) {
24461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24463 arg2
= static_cast< int >(val2
);
24464 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24465 if (!SWIG_IsOK(ecode3
)) {
24466 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24468 arg3
= static_cast< bool >(val3
);
24470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24471 (arg1
)->SetToggle(arg2
,arg3
);
24472 wxPyEndAllowThreads(__tstate
);
24473 if (PyErr_Occurred()) SWIG_fail
;
24475 resultobj
= SWIG_Py_Void();
24482 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24483 PyObject
*resultobj
= 0;
24484 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24486 PyObject
*result
= 0 ;
24491 PyObject
* obj0
= 0 ;
24492 PyObject
* obj1
= 0 ;
24493 char * kwnames
[] = {
24494 (char *) "self",(char *) "id", NULL
24497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24499 if (!SWIG_IsOK(res1
)) {
24500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24502 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24504 if (!SWIG_IsOK(ecode2
)) {
24505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24507 arg2
= static_cast< int >(val2
);
24509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24510 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24511 wxPyEndAllowThreads(__tstate
);
24512 if (PyErr_Occurred()) SWIG_fail
;
24514 resultobj
= result
;
24521 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24522 PyObject
*resultobj
= 0;
24523 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24525 PyObject
*arg3
= (PyObject
*) 0 ;
24530 PyObject
* obj0
= 0 ;
24531 PyObject
* obj1
= 0 ;
24532 PyObject
* obj2
= 0 ;
24533 char * kwnames
[] = {
24534 (char *) "self",(char *) "id",(char *) "clientData", NULL
24537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) 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_SetToolClientData" "', 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_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24547 arg2
= static_cast< int >(val2
);
24550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24551 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24552 wxPyEndAllowThreads(__tstate
);
24553 if (PyErr_Occurred()) SWIG_fail
;
24555 resultobj
= SWIG_Py_Void();
24562 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24563 PyObject
*resultobj
= 0;
24564 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24571 PyObject
* obj0
= 0 ;
24572 PyObject
* obj1
= 0 ;
24573 char * kwnames
[] = {
24574 (char *) "self",(char *) "id", NULL
24577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) 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_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
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_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24587 arg2
= static_cast< int >(val2
);
24589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24590 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24591 wxPyEndAllowThreads(__tstate
);
24592 if (PyErr_Occurred()) SWIG_fail
;
24594 resultobj
= SWIG_From_int(static_cast< int >(result
));
24601 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24602 PyObject
*resultobj
= 0;
24603 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24610 PyObject
* obj0
= 0 ;
24611 PyObject
* obj1
= 0 ;
24612 char * kwnames
[] = {
24613 (char *) "self",(char *) "id", NULL
24616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24618 if (!SWIG_IsOK(res1
)) {
24619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24621 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24623 if (!SWIG_IsOK(ecode2
)) {
24624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24626 arg2
= static_cast< int >(val2
);
24628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24629 result
= (bool)(arg1
)->GetToolState(arg2
);
24630 wxPyEndAllowThreads(__tstate
);
24631 if (PyErr_Occurred()) SWIG_fail
;
24634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24642 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24643 PyObject
*resultobj
= 0;
24644 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24651 PyObject
* obj0
= 0 ;
24652 PyObject
* obj1
= 0 ;
24653 char * kwnames
[] = {
24654 (char *) "self",(char *) "id", NULL
24657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24659 if (!SWIG_IsOK(res1
)) {
24660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24662 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24663 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24664 if (!SWIG_IsOK(ecode2
)) {
24665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24667 arg2
= static_cast< int >(val2
);
24669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24670 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24671 wxPyEndAllowThreads(__tstate
);
24672 if (PyErr_Occurred()) SWIG_fail
;
24675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24683 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24684 PyObject
*resultobj
= 0;
24685 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24687 wxString
*arg3
= 0 ;
24692 bool temp3
= false ;
24693 PyObject
* obj0
= 0 ;
24694 PyObject
* obj1
= 0 ;
24695 PyObject
* obj2
= 0 ;
24696 char * kwnames
[] = {
24697 (char *) "self",(char *) "id",(char *) "helpString", NULL
24700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24702 if (!SWIG_IsOK(res1
)) {
24703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24705 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24706 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24707 if (!SWIG_IsOK(ecode2
)) {
24708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24710 arg2
= static_cast< int >(val2
);
24712 arg3
= wxString_in_helper(obj2
);
24713 if (arg3
== NULL
) SWIG_fail
;
24717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24718 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24719 wxPyEndAllowThreads(__tstate
);
24720 if (PyErr_Occurred()) SWIG_fail
;
24722 resultobj
= SWIG_Py_Void();
24737 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24738 PyObject
*resultobj
= 0;
24739 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24746 PyObject
* obj0
= 0 ;
24747 PyObject
* obj1
= 0 ;
24748 char * kwnames
[] = {
24749 (char *) "self",(char *) "id", NULL
24752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24754 if (!SWIG_IsOK(res1
)) {
24755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24757 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24758 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24759 if (!SWIG_IsOK(ecode2
)) {
24760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24762 arg2
= static_cast< int >(val2
);
24764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24765 result
= (arg1
)->GetToolShortHelp(arg2
);
24766 wxPyEndAllowThreads(__tstate
);
24767 if (PyErr_Occurred()) SWIG_fail
;
24771 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24773 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24782 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24783 PyObject
*resultobj
= 0;
24784 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24786 wxString
*arg3
= 0 ;
24791 bool temp3
= false ;
24792 PyObject
* obj0
= 0 ;
24793 PyObject
* obj1
= 0 ;
24794 PyObject
* obj2
= 0 ;
24795 char * kwnames
[] = {
24796 (char *) "self",(char *) "id",(char *) "helpString", NULL
24799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24801 if (!SWIG_IsOK(res1
)) {
24802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24804 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24805 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24806 if (!SWIG_IsOK(ecode2
)) {
24807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24809 arg2
= static_cast< int >(val2
);
24811 arg3
= wxString_in_helper(obj2
);
24812 if (arg3
== NULL
) SWIG_fail
;
24816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24817 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
24818 wxPyEndAllowThreads(__tstate
);
24819 if (PyErr_Occurred()) SWIG_fail
;
24821 resultobj
= SWIG_Py_Void();
24836 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24837 PyObject
*resultobj
= 0;
24838 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24845 PyObject
* obj0
= 0 ;
24846 PyObject
* obj1
= 0 ;
24847 char * kwnames
[] = {
24848 (char *) "self",(char *) "id", NULL
24851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24853 if (!SWIG_IsOK(res1
)) {
24854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24856 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24857 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24858 if (!SWIG_IsOK(ecode2
)) {
24859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24861 arg2
= static_cast< int >(val2
);
24863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24864 result
= (arg1
)->GetToolLongHelp(arg2
);
24865 wxPyEndAllowThreads(__tstate
);
24866 if (PyErr_Occurred()) SWIG_fail
;
24870 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24872 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24881 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24882 PyObject
*resultobj
= 0;
24883 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24892 PyObject
* obj0
= 0 ;
24893 PyObject
* obj1
= 0 ;
24894 PyObject
* obj2
= 0 ;
24895 char * kwnames
[] = {
24896 (char *) "self",(char *) "x",(char *) "y", NULL
24899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24901 if (!SWIG_IsOK(res1
)) {
24902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24904 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24906 if (!SWIG_IsOK(ecode2
)) {
24907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
24909 arg2
= static_cast< int >(val2
);
24910 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24911 if (!SWIG_IsOK(ecode3
)) {
24912 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
24914 arg3
= static_cast< int >(val3
);
24916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24917 (arg1
)->SetMargins(arg2
,arg3
);
24918 wxPyEndAllowThreads(__tstate
);
24919 if (PyErr_Occurred()) SWIG_fail
;
24921 resultobj
= SWIG_Py_Void();
24928 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24929 PyObject
*resultobj
= 0;
24930 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24935 PyObject
* obj0
= 0 ;
24936 PyObject
* obj1
= 0 ;
24937 char * kwnames
[] = {
24938 (char *) "self",(char *) "size", NULL
24941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24943 if (!SWIG_IsOK(res1
)) {
24944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24946 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24949 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24953 (arg1
)->SetMargins((wxSize
const &)*arg2
);
24954 wxPyEndAllowThreads(__tstate
);
24955 if (PyErr_Occurred()) SWIG_fail
;
24957 resultobj
= SWIG_Py_Void();
24964 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24965 PyObject
*resultobj
= 0;
24966 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24972 PyObject
* obj0
= 0 ;
24973 PyObject
* obj1
= 0 ;
24974 char * kwnames
[] = {
24975 (char *) "self",(char *) "packing", NULL
24978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24980 if (!SWIG_IsOK(res1
)) {
24981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24983 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24984 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24985 if (!SWIG_IsOK(ecode2
)) {
24986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
24988 arg2
= static_cast< int >(val2
);
24990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24991 (arg1
)->SetToolPacking(arg2
);
24992 wxPyEndAllowThreads(__tstate
);
24993 if (PyErr_Occurred()) SWIG_fail
;
24995 resultobj
= SWIG_Py_Void();
25002 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25003 PyObject
*resultobj
= 0;
25004 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25010 PyObject
* obj0
= 0 ;
25011 PyObject
* obj1
= 0 ;
25012 char * kwnames
[] = {
25013 (char *) "self",(char *) "separation", NULL
25016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25018 if (!SWIG_IsOK(res1
)) {
25019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25021 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25023 if (!SWIG_IsOK(ecode2
)) {
25024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25026 arg2
= static_cast< int >(val2
);
25028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25029 (arg1
)->SetToolSeparation(arg2
);
25030 wxPyEndAllowThreads(__tstate
);
25031 if (PyErr_Occurred()) SWIG_fail
;
25033 resultobj
= SWIG_Py_Void();
25040 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25041 PyObject
*resultobj
= 0;
25042 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25046 PyObject
*swig_obj
[1] ;
25048 if (!args
) SWIG_fail
;
25049 swig_obj
[0] = args
;
25050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25051 if (!SWIG_IsOK(res1
)) {
25052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25054 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25057 result
= (arg1
)->GetToolMargins();
25058 wxPyEndAllowThreads(__tstate
);
25059 if (PyErr_Occurred()) SWIG_fail
;
25061 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25068 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25069 PyObject
*resultobj
= 0;
25070 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25074 PyObject
*swig_obj
[1] ;
25076 if (!args
) SWIG_fail
;
25077 swig_obj
[0] = args
;
25078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25079 if (!SWIG_IsOK(res1
)) {
25080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25082 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25085 result
= (arg1
)->GetMargins();
25086 wxPyEndAllowThreads(__tstate
);
25087 if (PyErr_Occurred()) SWIG_fail
;
25089 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25096 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25097 PyObject
*resultobj
= 0;
25098 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25102 PyObject
*swig_obj
[1] ;
25104 if (!args
) SWIG_fail
;
25105 swig_obj
[0] = args
;
25106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25107 if (!SWIG_IsOK(res1
)) {
25108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25110 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25113 result
= (int)(arg1
)->GetToolPacking();
25114 wxPyEndAllowThreads(__tstate
);
25115 if (PyErr_Occurred()) SWIG_fail
;
25117 resultobj
= SWIG_From_int(static_cast< int >(result
));
25124 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25125 PyObject
*resultobj
= 0;
25126 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25130 PyObject
*swig_obj
[1] ;
25132 if (!args
) SWIG_fail
;
25133 swig_obj
[0] = args
;
25134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25135 if (!SWIG_IsOK(res1
)) {
25136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25138 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25141 result
= (int)(arg1
)->GetToolSeparation();
25142 wxPyEndAllowThreads(__tstate
);
25143 if (PyErr_Occurred()) SWIG_fail
;
25145 resultobj
= SWIG_From_int(static_cast< int >(result
));
25152 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25153 PyObject
*resultobj
= 0;
25154 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25160 PyObject
* obj0
= 0 ;
25161 PyObject
* obj1
= 0 ;
25162 char * kwnames
[] = {
25163 (char *) "self",(char *) "nRows", NULL
25166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25168 if (!SWIG_IsOK(res1
)) {
25169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25171 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25172 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25173 if (!SWIG_IsOK(ecode2
)) {
25174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25176 arg2
= static_cast< int >(val2
);
25178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25179 (arg1
)->SetRows(arg2
);
25180 wxPyEndAllowThreads(__tstate
);
25181 if (PyErr_Occurred()) SWIG_fail
;
25183 resultobj
= SWIG_Py_Void();
25190 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25191 PyObject
*resultobj
= 0;
25192 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25201 PyObject
* obj0
= 0 ;
25202 PyObject
* obj1
= 0 ;
25203 PyObject
* obj2
= 0 ;
25204 char * kwnames
[] = {
25205 (char *) "self",(char *) "rows",(char *) "cols", NULL
25208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25210 if (!SWIG_IsOK(res1
)) {
25211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25213 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25214 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25215 if (!SWIG_IsOK(ecode2
)) {
25216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25218 arg2
= static_cast< int >(val2
);
25219 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25220 if (!SWIG_IsOK(ecode3
)) {
25221 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25223 arg3
= static_cast< int >(val3
);
25225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25226 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25227 wxPyEndAllowThreads(__tstate
);
25228 if (PyErr_Occurred()) SWIG_fail
;
25230 resultobj
= SWIG_Py_Void();
25237 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25238 PyObject
*resultobj
= 0;
25239 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25243 PyObject
*swig_obj
[1] ;
25245 if (!args
) SWIG_fail
;
25246 swig_obj
[0] = args
;
25247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25248 if (!SWIG_IsOK(res1
)) {
25249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25251 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25254 result
= (int)(arg1
)->GetMaxRows();
25255 wxPyEndAllowThreads(__tstate
);
25256 if (PyErr_Occurred()) SWIG_fail
;
25258 resultobj
= SWIG_From_int(static_cast< int >(result
));
25265 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25266 PyObject
*resultobj
= 0;
25267 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25271 PyObject
*swig_obj
[1] ;
25273 if (!args
) SWIG_fail
;
25274 swig_obj
[0] = args
;
25275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25276 if (!SWIG_IsOK(res1
)) {
25277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25279 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25282 result
= (int)(arg1
)->GetMaxCols();
25283 wxPyEndAllowThreads(__tstate
);
25284 if (PyErr_Occurred()) SWIG_fail
;
25286 resultobj
= SWIG_From_int(static_cast< int >(result
));
25293 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25294 PyObject
*resultobj
= 0;
25295 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25300 PyObject
* obj0
= 0 ;
25301 PyObject
* obj1
= 0 ;
25302 char * kwnames
[] = {
25303 (char *) "self",(char *) "size", NULL
25306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25308 if (!SWIG_IsOK(res1
)) {
25309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25311 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25314 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25318 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25319 wxPyEndAllowThreads(__tstate
);
25320 if (PyErr_Occurred()) SWIG_fail
;
25322 resultobj
= SWIG_Py_Void();
25329 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25330 PyObject
*resultobj
= 0;
25331 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25335 PyObject
*swig_obj
[1] ;
25337 if (!args
) SWIG_fail
;
25338 swig_obj
[0] = args
;
25339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25340 if (!SWIG_IsOK(res1
)) {
25341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25343 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25346 result
= (arg1
)->GetToolBitmapSize();
25347 wxPyEndAllowThreads(__tstate
);
25348 if (PyErr_Occurred()) SWIG_fail
;
25350 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25357 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25358 PyObject
*resultobj
= 0;
25359 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25363 PyObject
*swig_obj
[1] ;
25365 if (!args
) SWIG_fail
;
25366 swig_obj
[0] = args
;
25367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25368 if (!SWIG_IsOK(res1
)) {
25369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25371 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25374 result
= (arg1
)->GetToolSize();
25375 wxPyEndAllowThreads(__tstate
);
25376 if (PyErr_Occurred()) SWIG_fail
;
25378 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25385 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25386 PyObject
*resultobj
= 0;
25387 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25390 wxToolBarToolBase
*result
= 0 ;
25397 PyObject
* obj0
= 0 ;
25398 PyObject
* obj1
= 0 ;
25399 PyObject
* obj2
= 0 ;
25400 char * kwnames
[] = {
25401 (char *) "self",(char *) "x",(char *) "y", NULL
25404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25406 if (!SWIG_IsOK(res1
)) {
25407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25409 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25411 if (!SWIG_IsOK(ecode2
)) {
25412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25414 arg2
= static_cast< int >(val2
);
25415 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25416 if (!SWIG_IsOK(ecode3
)) {
25417 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25419 arg3
= static_cast< int >(val3
);
25421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25422 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25423 wxPyEndAllowThreads(__tstate
);
25424 if (PyErr_Occurred()) SWIG_fail
;
25427 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25435 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25436 PyObject
*resultobj
= 0;
25437 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25439 wxToolBarToolBase
*result
= 0 ;
25444 PyObject
* obj0
= 0 ;
25445 PyObject
* obj1
= 0 ;
25446 char * kwnames
[] = {
25447 (char *) "self",(char *) "toolid", NULL
25450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25452 if (!SWIG_IsOK(res1
)) {
25453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25455 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25457 if (!SWIG_IsOK(ecode2
)) {
25458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25460 arg2
= static_cast< int >(val2
);
25462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25463 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25464 wxPyEndAllowThreads(__tstate
);
25465 if (PyErr_Occurred()) SWIG_fail
;
25468 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25476 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25477 PyObject
*resultobj
= 0;
25478 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25482 PyObject
*swig_obj
[1] ;
25484 if (!args
) SWIG_fail
;
25485 swig_obj
[0] = args
;
25486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25487 if (!SWIG_IsOK(res1
)) {
25488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25490 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25493 result
= (bool)(arg1
)->IsVertical();
25494 wxPyEndAllowThreads(__tstate
);
25495 if (PyErr_Occurred()) SWIG_fail
;
25498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25506 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25507 PyObject
*resultobj
= 0;
25508 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25512 PyObject
*swig_obj
[1] ;
25514 if (!args
) SWIG_fail
;
25515 swig_obj
[0] = args
;
25516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25517 if (!SWIG_IsOK(res1
)) {
25518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25520 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25523 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25524 wxPyEndAllowThreads(__tstate
);
25525 if (PyErr_Occurred()) SWIG_fail
;
25527 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25534 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25536 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25537 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25538 return SWIG_Py_Void();
25541 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25542 PyObject
*resultobj
= 0;
25543 wxWindow
*arg1
= (wxWindow
*) 0 ;
25544 int arg2
= (int) -1 ;
25545 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25546 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25547 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25548 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25549 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25550 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25551 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25552 wxToolBar
*result
= 0 ;
25561 bool temp6
= false ;
25562 PyObject
* obj0
= 0 ;
25563 PyObject
* obj1
= 0 ;
25564 PyObject
* obj2
= 0 ;
25565 PyObject
* obj3
= 0 ;
25566 PyObject
* obj4
= 0 ;
25567 PyObject
* obj5
= 0 ;
25568 char * kwnames
[] = {
25569 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25574 if (!SWIG_IsOK(res1
)) {
25575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25577 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25579 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25580 if (!SWIG_IsOK(ecode2
)) {
25581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25583 arg2
= static_cast< int >(val2
);
25588 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25594 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25598 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25599 if (!SWIG_IsOK(ecode5
)) {
25600 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25602 arg5
= static_cast< long >(val5
);
25606 arg6
= wxString_in_helper(obj5
);
25607 if (arg6
== NULL
) SWIG_fail
;
25612 if (!wxPyCheckForApp()) SWIG_fail
;
25613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25614 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25615 wxPyEndAllowThreads(__tstate
);
25616 if (PyErr_Occurred()) SWIG_fail
;
25618 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25633 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25634 PyObject
*resultobj
= 0;
25635 wxToolBar
*result
= 0 ;
25637 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25639 if (!wxPyCheckForApp()) SWIG_fail
;
25640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25641 result
= (wxToolBar
*)new wxToolBar();
25642 wxPyEndAllowThreads(__tstate
);
25643 if (PyErr_Occurred()) SWIG_fail
;
25645 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25652 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25653 PyObject
*resultobj
= 0;
25654 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25655 wxWindow
*arg2
= (wxWindow
*) 0 ;
25656 int arg3
= (int) -1 ;
25657 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25658 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25659 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25660 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25661 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25662 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25663 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25675 bool temp7
= false ;
25676 PyObject
* obj0
= 0 ;
25677 PyObject
* obj1
= 0 ;
25678 PyObject
* obj2
= 0 ;
25679 PyObject
* obj3
= 0 ;
25680 PyObject
* obj4
= 0 ;
25681 PyObject
* obj5
= 0 ;
25682 PyObject
* obj6
= 0 ;
25683 char * kwnames
[] = {
25684 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25689 if (!SWIG_IsOK(res1
)) {
25690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25692 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25693 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25694 if (!SWIG_IsOK(res2
)) {
25695 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25697 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25699 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25700 if (!SWIG_IsOK(ecode3
)) {
25701 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25703 arg3
= static_cast< int >(val3
);
25708 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25714 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25718 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25719 if (!SWIG_IsOK(ecode6
)) {
25720 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25722 arg6
= static_cast< long >(val6
);
25726 arg7
= wxString_in_helper(obj6
);
25727 if (arg7
== NULL
) SWIG_fail
;
25732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25733 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25734 wxPyEndAllowThreads(__tstate
);
25735 if (PyErr_Occurred()) SWIG_fail
;
25738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25754 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25755 PyObject
*resultobj
= 0;
25756 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25757 SwigValueWrapper
<wxVisualAttributes
> result
;
25760 PyObject
* obj0
= 0 ;
25761 char * kwnames
[] = {
25762 (char *) "variant", NULL
25765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25767 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25768 if (!SWIG_IsOK(ecode1
)) {
25769 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25771 arg1
= static_cast< wxWindowVariant
>(val1
);
25774 if (!wxPyCheckForApp()) SWIG_fail
;
25775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25776 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
25777 wxPyEndAllowThreads(__tstate
);
25778 if (PyErr_Occurred()) SWIG_fail
;
25780 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25787 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25789 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25790 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
25791 return SWIG_Py_Void();
25794 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25795 return SWIG_Python_InitShadowInstance(args
);
25798 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
25799 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
25804 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
25805 PyObject
*pyobj
= 0;
25809 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25811 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25818 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25819 PyObject
*resultobj
= 0;
25820 wxColour
const &arg1_defvalue
= wxNullColour
;
25821 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
25822 wxColour
const &arg2_defvalue
= wxNullColour
;
25823 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
25824 wxFont
const &arg3_defvalue
= wxNullFont
;
25825 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
25826 wxListItemAttr
*result
= 0 ;
25831 PyObject
* obj0
= 0 ;
25832 PyObject
* obj1
= 0 ;
25833 PyObject
* obj2
= 0 ;
25834 char * kwnames
[] = {
25835 (char *) "colText",(char *) "colBack",(char *) "font", NULL
25838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25842 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
25848 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25852 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
25853 if (!SWIG_IsOK(res3
)) {
25854 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25857 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25859 arg3
= reinterpret_cast< wxFont
* >(argp3
);
25862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25863 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
25864 wxPyEndAllowThreads(__tstate
);
25865 if (PyErr_Occurred()) SWIG_fail
;
25867 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
25874 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25875 PyObject
*resultobj
= 0;
25876 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25879 PyObject
*swig_obj
[1] ;
25881 if (!args
) SWIG_fail
;
25882 swig_obj
[0] = args
;
25883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
25884 if (!SWIG_IsOK(res1
)) {
25885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25887 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25892 wxPyEndAllowThreads(__tstate
);
25893 if (PyErr_Occurred()) SWIG_fail
;
25895 resultobj
= SWIG_Py_Void();
25902 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25903 PyObject
*resultobj
= 0;
25904 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25905 wxColour
*arg2
= 0 ;
25909 PyObject
* obj0
= 0 ;
25910 PyObject
* obj1
= 0 ;
25911 char * kwnames
[] = {
25912 (char *) "self",(char *) "colText", NULL
25915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25917 if (!SWIG_IsOK(res1
)) {
25918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25920 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25923 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25927 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25928 wxPyEndAllowThreads(__tstate
);
25929 if (PyErr_Occurred()) SWIG_fail
;
25931 resultobj
= SWIG_Py_Void();
25938 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25939 PyObject
*resultobj
= 0;
25940 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25941 wxColour
*arg2
= 0 ;
25945 PyObject
* obj0
= 0 ;
25946 PyObject
* obj1
= 0 ;
25947 char * kwnames
[] = {
25948 (char *) "self",(char *) "colBack", NULL
25951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25953 if (!SWIG_IsOK(res1
)) {
25954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25956 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25959 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25963 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25964 wxPyEndAllowThreads(__tstate
);
25965 if (PyErr_Occurred()) SWIG_fail
;
25967 resultobj
= SWIG_Py_Void();
25974 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25975 PyObject
*resultobj
= 0;
25976 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25982 PyObject
* obj0
= 0 ;
25983 PyObject
* obj1
= 0 ;
25984 char * kwnames
[] = {
25985 (char *) "self",(char *) "font", NULL
25988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25990 if (!SWIG_IsOK(res1
)) {
25991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25993 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25994 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25995 if (!SWIG_IsOK(res2
)) {
25996 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25999 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26001 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26004 (arg1
)->SetFont((wxFont
const &)*arg2
);
26005 wxPyEndAllowThreads(__tstate
);
26006 if (PyErr_Occurred()) SWIG_fail
;
26008 resultobj
= SWIG_Py_Void();
26015 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26016 PyObject
*resultobj
= 0;
26017 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26021 PyObject
*swig_obj
[1] ;
26023 if (!args
) SWIG_fail
;
26024 swig_obj
[0] = args
;
26025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26026 if (!SWIG_IsOK(res1
)) {
26027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26029 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26032 result
= (bool)(arg1
)->HasTextColour();
26033 wxPyEndAllowThreads(__tstate
);
26034 if (PyErr_Occurred()) SWIG_fail
;
26037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26045 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26046 PyObject
*resultobj
= 0;
26047 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26051 PyObject
*swig_obj
[1] ;
26053 if (!args
) SWIG_fail
;
26054 swig_obj
[0] = args
;
26055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26056 if (!SWIG_IsOK(res1
)) {
26057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26059 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26062 result
= (bool)(arg1
)->HasBackgroundColour();
26063 wxPyEndAllowThreads(__tstate
);
26064 if (PyErr_Occurred()) SWIG_fail
;
26067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26075 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26076 PyObject
*resultobj
= 0;
26077 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26081 PyObject
*swig_obj
[1] ;
26083 if (!args
) SWIG_fail
;
26084 swig_obj
[0] = args
;
26085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26086 if (!SWIG_IsOK(res1
)) {
26087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26089 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26092 result
= (bool)(arg1
)->HasFont();
26093 wxPyEndAllowThreads(__tstate
);
26094 if (PyErr_Occurred()) SWIG_fail
;
26097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26105 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26106 PyObject
*resultobj
= 0;
26107 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26111 PyObject
*swig_obj
[1] ;
26113 if (!args
) SWIG_fail
;
26114 swig_obj
[0] = args
;
26115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26116 if (!SWIG_IsOK(res1
)) {
26117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26119 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26122 result
= (arg1
)->GetTextColour();
26123 wxPyEndAllowThreads(__tstate
);
26124 if (PyErr_Occurred()) SWIG_fail
;
26126 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26133 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26134 PyObject
*resultobj
= 0;
26135 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26139 PyObject
*swig_obj
[1] ;
26141 if (!args
) SWIG_fail
;
26142 swig_obj
[0] = args
;
26143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26144 if (!SWIG_IsOK(res1
)) {
26145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26147 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26150 result
= (arg1
)->GetBackgroundColour();
26151 wxPyEndAllowThreads(__tstate
);
26152 if (PyErr_Occurred()) SWIG_fail
;
26154 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26161 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26162 PyObject
*resultobj
= 0;
26163 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26167 PyObject
*swig_obj
[1] ;
26169 if (!args
) SWIG_fail
;
26170 swig_obj
[0] = args
;
26171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26172 if (!SWIG_IsOK(res1
)) {
26173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26175 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26178 result
= (arg1
)->GetFont();
26179 wxPyEndAllowThreads(__tstate
);
26180 if (PyErr_Occurred()) SWIG_fail
;
26182 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26189 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26190 PyObject
*resultobj
= 0;
26191 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26192 wxListItemAttr
*arg2
= 0 ;
26197 PyObject
* obj0
= 0 ;
26198 PyObject
* obj1
= 0 ;
26199 char * kwnames
[] = {
26200 (char *) "self",(char *) "source", NULL
26203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26205 if (!SWIG_IsOK(res1
)) {
26206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26208 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26209 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26210 if (!SWIG_IsOK(res2
)) {
26211 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26214 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26216 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26219 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26220 wxPyEndAllowThreads(__tstate
);
26221 if (PyErr_Occurred()) SWIG_fail
;
26223 resultobj
= SWIG_Py_Void();
26230 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26231 PyObject
*resultobj
= 0;
26232 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26235 PyObject
*swig_obj
[1] ;
26237 if (!args
) SWIG_fail
;
26238 swig_obj
[0] = args
;
26239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26240 if (!SWIG_IsOK(res1
)) {
26241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26243 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26246 wxListItemAttr_Destroy(arg1
);
26247 wxPyEndAllowThreads(__tstate
);
26248 if (PyErr_Occurred()) SWIG_fail
;
26250 resultobj
= SWIG_Py_Void();
26257 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26259 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26260 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26261 return SWIG_Py_Void();
26264 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26265 return SWIG_Python_InitShadowInstance(args
);
26268 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26269 PyObject
*resultobj
= 0;
26270 wxListItem
*result
= 0 ;
26272 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26275 result
= (wxListItem
*)new wxListItem();
26276 wxPyEndAllowThreads(__tstate
);
26277 if (PyErr_Occurred()) SWIG_fail
;
26280 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
26288 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26289 PyObject
*resultobj
= 0;
26290 wxListItem
*arg1
= (wxListItem
*) 0 ;
26293 PyObject
*swig_obj
[1] ;
26295 if (!args
) SWIG_fail
;
26296 swig_obj
[0] = args
;
26297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26298 if (!SWIG_IsOK(res1
)) {
26299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26301 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26306 wxPyEndAllowThreads(__tstate
);
26307 if (PyErr_Occurred()) SWIG_fail
;
26309 resultobj
= SWIG_Py_Void();
26316 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26317 PyObject
*resultobj
= 0;
26318 wxListItem
*arg1
= (wxListItem
*) 0 ;
26321 PyObject
*swig_obj
[1] ;
26323 if (!args
) SWIG_fail
;
26324 swig_obj
[0] = args
;
26325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26326 if (!SWIG_IsOK(res1
)) {
26327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26329 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26333 wxPyEndAllowThreads(__tstate
);
26334 if (PyErr_Occurred()) SWIG_fail
;
26336 resultobj
= SWIG_Py_Void();
26343 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26344 PyObject
*resultobj
= 0;
26345 wxListItem
*arg1
= (wxListItem
*) 0 ;
26348 PyObject
*swig_obj
[1] ;
26350 if (!args
) SWIG_fail
;
26351 swig_obj
[0] = args
;
26352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26353 if (!SWIG_IsOK(res1
)) {
26354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26356 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26359 (arg1
)->ClearAttributes();
26360 wxPyEndAllowThreads(__tstate
);
26361 if (PyErr_Occurred()) SWIG_fail
;
26363 resultobj
= SWIG_Py_Void();
26370 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26371 PyObject
*resultobj
= 0;
26372 wxListItem
*arg1
= (wxListItem
*) 0 ;
26378 PyObject
* obj0
= 0 ;
26379 PyObject
* obj1
= 0 ;
26380 char * kwnames
[] = {
26381 (char *) "self",(char *) "mask", NULL
26384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26386 if (!SWIG_IsOK(res1
)) {
26387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26389 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26390 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26391 if (!SWIG_IsOK(ecode2
)) {
26392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26394 arg2
= static_cast< long >(val2
);
26396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26397 (arg1
)->SetMask(arg2
);
26398 wxPyEndAllowThreads(__tstate
);
26399 if (PyErr_Occurred()) SWIG_fail
;
26401 resultobj
= SWIG_Py_Void();
26408 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26409 PyObject
*resultobj
= 0;
26410 wxListItem
*arg1
= (wxListItem
*) 0 ;
26416 PyObject
* obj0
= 0 ;
26417 PyObject
* obj1
= 0 ;
26418 char * kwnames
[] = {
26419 (char *) "self",(char *) "id", NULL
26422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26424 if (!SWIG_IsOK(res1
)) {
26425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26427 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26428 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26429 if (!SWIG_IsOK(ecode2
)) {
26430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26432 arg2
= static_cast< long >(val2
);
26434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26435 (arg1
)->SetId(arg2
);
26436 wxPyEndAllowThreads(__tstate
);
26437 if (PyErr_Occurred()) SWIG_fail
;
26439 resultobj
= SWIG_Py_Void();
26446 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26447 PyObject
*resultobj
= 0;
26448 wxListItem
*arg1
= (wxListItem
*) 0 ;
26454 PyObject
* obj0
= 0 ;
26455 PyObject
* obj1
= 0 ;
26456 char * kwnames
[] = {
26457 (char *) "self",(char *) "col", NULL
26460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26462 if (!SWIG_IsOK(res1
)) {
26463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26465 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26467 if (!SWIG_IsOK(ecode2
)) {
26468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26470 arg2
= static_cast< int >(val2
);
26472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26473 (arg1
)->SetColumn(arg2
);
26474 wxPyEndAllowThreads(__tstate
);
26475 if (PyErr_Occurred()) SWIG_fail
;
26477 resultobj
= SWIG_Py_Void();
26484 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26485 PyObject
*resultobj
= 0;
26486 wxListItem
*arg1
= (wxListItem
*) 0 ;
26492 PyObject
* obj0
= 0 ;
26493 PyObject
* obj1
= 0 ;
26494 char * kwnames
[] = {
26495 (char *) "self",(char *) "state", NULL
26498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26500 if (!SWIG_IsOK(res1
)) {
26501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26503 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26504 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26505 if (!SWIG_IsOK(ecode2
)) {
26506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26508 arg2
= static_cast< long >(val2
);
26510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26511 (arg1
)->SetState(arg2
);
26512 wxPyEndAllowThreads(__tstate
);
26513 if (PyErr_Occurred()) SWIG_fail
;
26515 resultobj
= SWIG_Py_Void();
26522 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26523 PyObject
*resultobj
= 0;
26524 wxListItem
*arg1
= (wxListItem
*) 0 ;
26530 PyObject
* obj0
= 0 ;
26531 PyObject
* obj1
= 0 ;
26532 char * kwnames
[] = {
26533 (char *) "self",(char *) "stateMask", NULL
26536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26538 if (!SWIG_IsOK(res1
)) {
26539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26541 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26542 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26543 if (!SWIG_IsOK(ecode2
)) {
26544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26546 arg2
= static_cast< long >(val2
);
26548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26549 (arg1
)->SetStateMask(arg2
);
26550 wxPyEndAllowThreads(__tstate
);
26551 if (PyErr_Occurred()) SWIG_fail
;
26553 resultobj
= SWIG_Py_Void();
26560 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26561 PyObject
*resultobj
= 0;
26562 wxListItem
*arg1
= (wxListItem
*) 0 ;
26563 wxString
*arg2
= 0 ;
26566 bool temp2
= false ;
26567 PyObject
* obj0
= 0 ;
26568 PyObject
* obj1
= 0 ;
26569 char * kwnames
[] = {
26570 (char *) "self",(char *) "text", NULL
26573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26575 if (!SWIG_IsOK(res1
)) {
26576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26578 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26580 arg2
= wxString_in_helper(obj1
);
26581 if (arg2
== NULL
) SWIG_fail
;
26585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26586 (arg1
)->SetText((wxString
const &)*arg2
);
26587 wxPyEndAllowThreads(__tstate
);
26588 if (PyErr_Occurred()) SWIG_fail
;
26590 resultobj
= SWIG_Py_Void();
26605 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26606 PyObject
*resultobj
= 0;
26607 wxListItem
*arg1
= (wxListItem
*) 0 ;
26613 PyObject
* obj0
= 0 ;
26614 PyObject
* obj1
= 0 ;
26615 char * kwnames
[] = {
26616 (char *) "self",(char *) "image", NULL
26619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26621 if (!SWIG_IsOK(res1
)) {
26622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26624 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26625 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26626 if (!SWIG_IsOK(ecode2
)) {
26627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26629 arg2
= static_cast< int >(val2
);
26631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26632 (arg1
)->SetImage(arg2
);
26633 wxPyEndAllowThreads(__tstate
);
26634 if (PyErr_Occurred()) SWIG_fail
;
26636 resultobj
= SWIG_Py_Void();
26643 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26644 PyObject
*resultobj
= 0;
26645 wxListItem
*arg1
= (wxListItem
*) 0 ;
26651 PyObject
* obj0
= 0 ;
26652 PyObject
* obj1
= 0 ;
26653 char * kwnames
[] = {
26654 (char *) "self",(char *) "data", NULL
26657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26659 if (!SWIG_IsOK(res1
)) {
26660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26662 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26663 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26664 if (!SWIG_IsOK(ecode2
)) {
26665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26667 arg2
= static_cast< long >(val2
);
26669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26670 (arg1
)->SetData(arg2
);
26671 wxPyEndAllowThreads(__tstate
);
26672 if (PyErr_Occurred()) SWIG_fail
;
26674 resultobj
= SWIG_Py_Void();
26681 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26682 PyObject
*resultobj
= 0;
26683 wxListItem
*arg1
= (wxListItem
*) 0 ;
26689 PyObject
* obj0
= 0 ;
26690 PyObject
* obj1
= 0 ;
26691 char * kwnames
[] = {
26692 (char *) "self",(char *) "width", NULL
26695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26697 if (!SWIG_IsOK(res1
)) {
26698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26700 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26701 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26702 if (!SWIG_IsOK(ecode2
)) {
26703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26705 arg2
= static_cast< int >(val2
);
26707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26708 (arg1
)->SetWidth(arg2
);
26709 wxPyEndAllowThreads(__tstate
);
26710 if (PyErr_Occurred()) SWIG_fail
;
26712 resultobj
= SWIG_Py_Void();
26719 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26720 PyObject
*resultobj
= 0;
26721 wxListItem
*arg1
= (wxListItem
*) 0 ;
26722 wxListColumnFormat arg2
;
26727 PyObject
* obj0
= 0 ;
26728 PyObject
* obj1
= 0 ;
26729 char * kwnames
[] = {
26730 (char *) "self",(char *) "align", NULL
26733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26735 if (!SWIG_IsOK(res1
)) {
26736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26738 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26739 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26740 if (!SWIG_IsOK(ecode2
)) {
26741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26743 arg2
= static_cast< wxListColumnFormat
>(val2
);
26745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26746 (arg1
)->SetAlign(arg2
);
26747 wxPyEndAllowThreads(__tstate
);
26748 if (PyErr_Occurred()) SWIG_fail
;
26750 resultobj
= SWIG_Py_Void();
26757 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26758 PyObject
*resultobj
= 0;
26759 wxListItem
*arg1
= (wxListItem
*) 0 ;
26760 wxColour
*arg2
= 0 ;
26764 PyObject
* obj0
= 0 ;
26765 PyObject
* obj1
= 0 ;
26766 char * kwnames
[] = {
26767 (char *) "self",(char *) "colText", NULL
26770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26772 if (!SWIG_IsOK(res1
)) {
26773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26775 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26778 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26782 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26783 wxPyEndAllowThreads(__tstate
);
26784 if (PyErr_Occurred()) SWIG_fail
;
26786 resultobj
= SWIG_Py_Void();
26793 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26794 PyObject
*resultobj
= 0;
26795 wxListItem
*arg1
= (wxListItem
*) 0 ;
26796 wxColour
*arg2
= 0 ;
26800 PyObject
* obj0
= 0 ;
26801 PyObject
* obj1
= 0 ;
26802 char * kwnames
[] = {
26803 (char *) "self",(char *) "colBack", NULL
26806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26808 if (!SWIG_IsOK(res1
)) {
26809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26811 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26814 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26818 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26819 wxPyEndAllowThreads(__tstate
);
26820 if (PyErr_Occurred()) SWIG_fail
;
26822 resultobj
= SWIG_Py_Void();
26829 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26830 PyObject
*resultobj
= 0;
26831 wxListItem
*arg1
= (wxListItem
*) 0 ;
26837 PyObject
* obj0
= 0 ;
26838 PyObject
* obj1
= 0 ;
26839 char * kwnames
[] = {
26840 (char *) "self",(char *) "font", NULL
26843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26845 if (!SWIG_IsOK(res1
)) {
26846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
26848 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26849 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26850 if (!SWIG_IsOK(res2
)) {
26851 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26854 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26856 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26859 (arg1
)->SetFont((wxFont
const &)*arg2
);
26860 wxPyEndAllowThreads(__tstate
);
26861 if (PyErr_Occurred()) SWIG_fail
;
26863 resultobj
= SWIG_Py_Void();
26870 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26871 PyObject
*resultobj
= 0;
26872 wxListItem
*arg1
= (wxListItem
*) 0 ;
26876 PyObject
*swig_obj
[1] ;
26878 if (!args
) SWIG_fail
;
26879 swig_obj
[0] = args
;
26880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26881 if (!SWIG_IsOK(res1
)) {
26882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26884 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26887 result
= (long)(arg1
)->GetMask();
26888 wxPyEndAllowThreads(__tstate
);
26889 if (PyErr_Occurred()) SWIG_fail
;
26891 resultobj
= SWIG_From_long(static_cast< long >(result
));
26898 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26899 PyObject
*resultobj
= 0;
26900 wxListItem
*arg1
= (wxListItem
*) 0 ;
26904 PyObject
*swig_obj
[1] ;
26906 if (!args
) SWIG_fail
;
26907 swig_obj
[0] = args
;
26908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26909 if (!SWIG_IsOK(res1
)) {
26910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26912 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26915 result
= (long)(arg1
)->GetId();
26916 wxPyEndAllowThreads(__tstate
);
26917 if (PyErr_Occurred()) SWIG_fail
;
26919 resultobj
= SWIG_From_long(static_cast< long >(result
));
26926 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26927 PyObject
*resultobj
= 0;
26928 wxListItem
*arg1
= (wxListItem
*) 0 ;
26932 PyObject
*swig_obj
[1] ;
26934 if (!args
) SWIG_fail
;
26935 swig_obj
[0] = args
;
26936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26937 if (!SWIG_IsOK(res1
)) {
26938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26940 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26943 result
= (int)(arg1
)->GetColumn();
26944 wxPyEndAllowThreads(__tstate
);
26945 if (PyErr_Occurred()) SWIG_fail
;
26947 resultobj
= SWIG_From_int(static_cast< int >(result
));
26954 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26955 PyObject
*resultobj
= 0;
26956 wxListItem
*arg1
= (wxListItem
*) 0 ;
26960 PyObject
*swig_obj
[1] ;
26962 if (!args
) SWIG_fail
;
26963 swig_obj
[0] = args
;
26964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26965 if (!SWIG_IsOK(res1
)) {
26966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26968 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26971 result
= (long)(arg1
)->GetState();
26972 wxPyEndAllowThreads(__tstate
);
26973 if (PyErr_Occurred()) SWIG_fail
;
26975 resultobj
= SWIG_From_long(static_cast< long >(result
));
26982 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26983 PyObject
*resultobj
= 0;
26984 wxListItem
*arg1
= (wxListItem
*) 0 ;
26985 wxString
*result
= 0 ;
26988 PyObject
*swig_obj
[1] ;
26990 if (!args
) SWIG_fail
;
26991 swig_obj
[0] = args
;
26992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26993 if (!SWIG_IsOK(res1
)) {
26994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26996 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27000 wxString
const &_result_ref
= (arg1
)->GetText();
27001 result
= (wxString
*) &_result_ref
;
27003 wxPyEndAllowThreads(__tstate
);
27004 if (PyErr_Occurred()) SWIG_fail
;
27008 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27010 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27019 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27020 PyObject
*resultobj
= 0;
27021 wxListItem
*arg1
= (wxListItem
*) 0 ;
27025 PyObject
*swig_obj
[1] ;
27027 if (!args
) SWIG_fail
;
27028 swig_obj
[0] = args
;
27029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27030 if (!SWIG_IsOK(res1
)) {
27031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27033 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27036 result
= (int)(arg1
)->GetImage();
27037 wxPyEndAllowThreads(__tstate
);
27038 if (PyErr_Occurred()) SWIG_fail
;
27040 resultobj
= SWIG_From_int(static_cast< int >(result
));
27047 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27048 PyObject
*resultobj
= 0;
27049 wxListItem
*arg1
= (wxListItem
*) 0 ;
27053 PyObject
*swig_obj
[1] ;
27055 if (!args
) SWIG_fail
;
27056 swig_obj
[0] = args
;
27057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27058 if (!SWIG_IsOK(res1
)) {
27059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27061 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27064 result
= (long)(arg1
)->GetData();
27065 wxPyEndAllowThreads(__tstate
);
27066 if (PyErr_Occurred()) SWIG_fail
;
27068 resultobj
= SWIG_From_long(static_cast< long >(result
));
27075 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27076 PyObject
*resultobj
= 0;
27077 wxListItem
*arg1
= (wxListItem
*) 0 ;
27081 PyObject
*swig_obj
[1] ;
27083 if (!args
) SWIG_fail
;
27084 swig_obj
[0] = args
;
27085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27086 if (!SWIG_IsOK(res1
)) {
27087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27089 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27092 result
= (int)(arg1
)->GetWidth();
27093 wxPyEndAllowThreads(__tstate
);
27094 if (PyErr_Occurred()) SWIG_fail
;
27096 resultobj
= SWIG_From_int(static_cast< int >(result
));
27103 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27104 PyObject
*resultobj
= 0;
27105 wxListItem
*arg1
= (wxListItem
*) 0 ;
27106 wxListColumnFormat result
;
27109 PyObject
*swig_obj
[1] ;
27111 if (!args
) SWIG_fail
;
27112 swig_obj
[0] = args
;
27113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27114 if (!SWIG_IsOK(res1
)) {
27115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27117 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27120 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27121 wxPyEndAllowThreads(__tstate
);
27122 if (PyErr_Occurred()) SWIG_fail
;
27124 resultobj
= SWIG_From_int(static_cast< int >(result
));
27131 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27132 PyObject
*resultobj
= 0;
27133 wxListItem
*arg1
= (wxListItem
*) 0 ;
27134 wxListItemAttr
*result
= 0 ;
27137 PyObject
*swig_obj
[1] ;
27139 if (!args
) SWIG_fail
;
27140 swig_obj
[0] = args
;
27141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27142 if (!SWIG_IsOK(res1
)) {
27143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27145 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27148 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27149 wxPyEndAllowThreads(__tstate
);
27150 if (PyErr_Occurred()) SWIG_fail
;
27152 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27159 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27160 PyObject
*resultobj
= 0;
27161 wxListItem
*arg1
= (wxListItem
*) 0 ;
27165 PyObject
*swig_obj
[1] ;
27167 if (!args
) SWIG_fail
;
27168 swig_obj
[0] = args
;
27169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27170 if (!SWIG_IsOK(res1
)) {
27171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27173 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27176 result
= (bool)(arg1
)->HasAttributes();
27177 wxPyEndAllowThreads(__tstate
);
27178 if (PyErr_Occurred()) SWIG_fail
;
27181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27189 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27190 PyObject
*resultobj
= 0;
27191 wxListItem
*arg1
= (wxListItem
*) 0 ;
27195 PyObject
*swig_obj
[1] ;
27197 if (!args
) SWIG_fail
;
27198 swig_obj
[0] = args
;
27199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27200 if (!SWIG_IsOK(res1
)) {
27201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27203 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27206 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27207 wxPyEndAllowThreads(__tstate
);
27208 if (PyErr_Occurred()) SWIG_fail
;
27210 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27217 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27218 PyObject
*resultobj
= 0;
27219 wxListItem
*arg1
= (wxListItem
*) 0 ;
27223 PyObject
*swig_obj
[1] ;
27225 if (!args
) SWIG_fail
;
27226 swig_obj
[0] = args
;
27227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27228 if (!SWIG_IsOK(res1
)) {
27229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27231 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27234 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27235 wxPyEndAllowThreads(__tstate
);
27236 if (PyErr_Occurred()) SWIG_fail
;
27238 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27245 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27246 PyObject
*resultobj
= 0;
27247 wxListItem
*arg1
= (wxListItem
*) 0 ;
27251 PyObject
*swig_obj
[1] ;
27253 if (!args
) SWIG_fail
;
27254 swig_obj
[0] = args
;
27255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27256 if (!SWIG_IsOK(res1
)) {
27257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27259 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27262 result
= ((wxListItem
const *)arg1
)->GetFont();
27263 wxPyEndAllowThreads(__tstate
);
27264 if (PyErr_Occurred()) SWIG_fail
;
27266 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27273 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27274 PyObject
*resultobj
= 0;
27275 wxListItem
*arg1
= (wxListItem
*) 0 ;
27281 PyObject
*swig_obj
[2] ;
27283 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27285 if (!SWIG_IsOK(res1
)) {
27286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27288 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27289 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27290 if (!SWIG_IsOK(ecode2
)) {
27291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27293 arg2
= static_cast< long >(val2
);
27294 if (arg1
) (arg1
)->m_mask
= arg2
;
27296 resultobj
= SWIG_Py_Void();
27303 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27304 PyObject
*resultobj
= 0;
27305 wxListItem
*arg1
= (wxListItem
*) 0 ;
27309 PyObject
*swig_obj
[1] ;
27311 if (!args
) SWIG_fail
;
27312 swig_obj
[0] = args
;
27313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27314 if (!SWIG_IsOK(res1
)) {
27315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27317 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27318 result
= (long) ((arg1
)->m_mask
);
27319 resultobj
= SWIG_From_long(static_cast< long >(result
));
27326 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27327 PyObject
*resultobj
= 0;
27328 wxListItem
*arg1
= (wxListItem
*) 0 ;
27334 PyObject
*swig_obj
[2] ;
27336 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27338 if (!SWIG_IsOK(res1
)) {
27339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27341 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27342 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27343 if (!SWIG_IsOK(ecode2
)) {
27344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27346 arg2
= static_cast< long >(val2
);
27347 if (arg1
) (arg1
)->m_itemId
= arg2
;
27349 resultobj
= SWIG_Py_Void();
27356 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27357 PyObject
*resultobj
= 0;
27358 wxListItem
*arg1
= (wxListItem
*) 0 ;
27362 PyObject
*swig_obj
[1] ;
27364 if (!args
) SWIG_fail
;
27365 swig_obj
[0] = args
;
27366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27367 if (!SWIG_IsOK(res1
)) {
27368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27370 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27371 result
= (long) ((arg1
)->m_itemId
);
27372 resultobj
= SWIG_From_long(static_cast< long >(result
));
27379 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27380 PyObject
*resultobj
= 0;
27381 wxListItem
*arg1
= (wxListItem
*) 0 ;
27387 PyObject
*swig_obj
[2] ;
27389 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27391 if (!SWIG_IsOK(res1
)) {
27392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27394 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27395 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27396 if (!SWIG_IsOK(ecode2
)) {
27397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27399 arg2
= static_cast< int >(val2
);
27400 if (arg1
) (arg1
)->m_col
= arg2
;
27402 resultobj
= SWIG_Py_Void();
27409 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27410 PyObject
*resultobj
= 0;
27411 wxListItem
*arg1
= (wxListItem
*) 0 ;
27415 PyObject
*swig_obj
[1] ;
27417 if (!args
) SWIG_fail
;
27418 swig_obj
[0] = args
;
27419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27420 if (!SWIG_IsOK(res1
)) {
27421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27423 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27424 result
= (int) ((arg1
)->m_col
);
27425 resultobj
= SWIG_From_int(static_cast< int >(result
));
27432 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27433 PyObject
*resultobj
= 0;
27434 wxListItem
*arg1
= (wxListItem
*) 0 ;
27440 PyObject
*swig_obj
[2] ;
27442 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27444 if (!SWIG_IsOK(res1
)) {
27445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27447 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27448 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27449 if (!SWIG_IsOK(ecode2
)) {
27450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27452 arg2
= static_cast< long >(val2
);
27453 if (arg1
) (arg1
)->m_state
= arg2
;
27455 resultobj
= SWIG_Py_Void();
27462 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27463 PyObject
*resultobj
= 0;
27464 wxListItem
*arg1
= (wxListItem
*) 0 ;
27468 PyObject
*swig_obj
[1] ;
27470 if (!args
) SWIG_fail
;
27471 swig_obj
[0] = args
;
27472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27473 if (!SWIG_IsOK(res1
)) {
27474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27476 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27477 result
= (long) ((arg1
)->m_state
);
27478 resultobj
= SWIG_From_long(static_cast< long >(result
));
27485 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27486 PyObject
*resultobj
= 0;
27487 wxListItem
*arg1
= (wxListItem
*) 0 ;
27493 PyObject
*swig_obj
[2] ;
27495 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27497 if (!SWIG_IsOK(res1
)) {
27498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27500 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27501 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27502 if (!SWIG_IsOK(ecode2
)) {
27503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27505 arg2
= static_cast< long >(val2
);
27506 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27508 resultobj
= SWIG_Py_Void();
27515 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27516 PyObject
*resultobj
= 0;
27517 wxListItem
*arg1
= (wxListItem
*) 0 ;
27521 PyObject
*swig_obj
[1] ;
27523 if (!args
) SWIG_fail
;
27524 swig_obj
[0] = args
;
27525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27526 if (!SWIG_IsOK(res1
)) {
27527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27529 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27530 result
= (long) ((arg1
)->m_stateMask
);
27531 resultobj
= SWIG_From_long(static_cast< long >(result
));
27538 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27539 PyObject
*resultobj
= 0;
27540 wxListItem
*arg1
= (wxListItem
*) 0 ;
27541 wxString
*arg2
= (wxString
*) 0 ;
27544 bool temp2
= false ;
27545 PyObject
*swig_obj
[2] ;
27547 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27549 if (!SWIG_IsOK(res1
)) {
27550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27552 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27554 arg2
= wxString_in_helper(swig_obj
[1]);
27555 if (arg2
== NULL
) SWIG_fail
;
27558 if (arg1
) (arg1
)->m_text
= *arg2
;
27560 resultobj
= SWIG_Py_Void();
27575 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27576 PyObject
*resultobj
= 0;
27577 wxListItem
*arg1
= (wxListItem
*) 0 ;
27578 wxString
*result
= 0 ;
27581 PyObject
*swig_obj
[1] ;
27583 if (!args
) SWIG_fail
;
27584 swig_obj
[0] = args
;
27585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27586 if (!SWIG_IsOK(res1
)) {
27587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27589 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27590 result
= (wxString
*)& ((arg1
)->m_text
);
27593 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27595 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27604 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27605 PyObject
*resultobj
= 0;
27606 wxListItem
*arg1
= (wxListItem
*) 0 ;
27612 PyObject
*swig_obj
[2] ;
27614 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27616 if (!SWIG_IsOK(res1
)) {
27617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27619 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27620 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27621 if (!SWIG_IsOK(ecode2
)) {
27622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27624 arg2
= static_cast< int >(val2
);
27625 if (arg1
) (arg1
)->m_image
= arg2
;
27627 resultobj
= SWIG_Py_Void();
27634 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27635 PyObject
*resultobj
= 0;
27636 wxListItem
*arg1
= (wxListItem
*) 0 ;
27640 PyObject
*swig_obj
[1] ;
27642 if (!args
) SWIG_fail
;
27643 swig_obj
[0] = args
;
27644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27645 if (!SWIG_IsOK(res1
)) {
27646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27648 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27649 result
= (int) ((arg1
)->m_image
);
27650 resultobj
= SWIG_From_int(static_cast< int >(result
));
27657 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27658 PyObject
*resultobj
= 0;
27659 wxListItem
*arg1
= (wxListItem
*) 0 ;
27665 PyObject
*swig_obj
[2] ;
27667 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27669 if (!SWIG_IsOK(res1
)) {
27670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27672 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27673 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27674 if (!SWIG_IsOK(ecode2
)) {
27675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27677 arg2
= static_cast< long >(val2
);
27678 if (arg1
) (arg1
)->m_data
= arg2
;
27680 resultobj
= SWIG_Py_Void();
27687 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27688 PyObject
*resultobj
= 0;
27689 wxListItem
*arg1
= (wxListItem
*) 0 ;
27693 PyObject
*swig_obj
[1] ;
27695 if (!args
) SWIG_fail
;
27696 swig_obj
[0] = args
;
27697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27698 if (!SWIG_IsOK(res1
)) {
27699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27701 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27702 result
= (long) ((arg1
)->m_data
);
27703 resultobj
= SWIG_From_long(static_cast< long >(result
));
27710 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27711 PyObject
*resultobj
= 0;
27712 wxListItem
*arg1
= (wxListItem
*) 0 ;
27718 PyObject
*swig_obj
[2] ;
27720 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27722 if (!SWIG_IsOK(res1
)) {
27723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27725 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27726 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27727 if (!SWIG_IsOK(ecode2
)) {
27728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27730 arg2
= static_cast< int >(val2
);
27731 if (arg1
) (arg1
)->m_format
= arg2
;
27733 resultobj
= SWIG_Py_Void();
27740 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27741 PyObject
*resultobj
= 0;
27742 wxListItem
*arg1
= (wxListItem
*) 0 ;
27746 PyObject
*swig_obj
[1] ;
27748 if (!args
) SWIG_fail
;
27749 swig_obj
[0] = args
;
27750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27751 if (!SWIG_IsOK(res1
)) {
27752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27754 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27755 result
= (int) ((arg1
)->m_format
);
27756 resultobj
= SWIG_From_int(static_cast< int >(result
));
27763 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27764 PyObject
*resultobj
= 0;
27765 wxListItem
*arg1
= (wxListItem
*) 0 ;
27771 PyObject
*swig_obj
[2] ;
27773 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27775 if (!SWIG_IsOK(res1
)) {
27776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27778 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27779 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27780 if (!SWIG_IsOK(ecode2
)) {
27781 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27783 arg2
= static_cast< int >(val2
);
27784 if (arg1
) (arg1
)->m_width
= arg2
;
27786 resultobj
= SWIG_Py_Void();
27793 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27794 PyObject
*resultobj
= 0;
27795 wxListItem
*arg1
= (wxListItem
*) 0 ;
27799 PyObject
*swig_obj
[1] ;
27801 if (!args
) SWIG_fail
;
27802 swig_obj
[0] = args
;
27803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27804 if (!SWIG_IsOK(res1
)) {
27805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27807 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27808 result
= (int) ((arg1
)->m_width
);
27809 resultobj
= SWIG_From_int(static_cast< int >(result
));
27816 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27818 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27819 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
27820 return SWIG_Py_Void();
27823 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27824 return SWIG_Python_InitShadowInstance(args
);
27827 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27828 PyObject
*resultobj
= 0;
27829 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27830 int arg2
= (int) 0 ;
27831 wxListEvent
*result
= 0 ;
27836 PyObject
* obj0
= 0 ;
27837 PyObject
* obj1
= 0 ;
27838 char * kwnames
[] = {
27839 (char *) "commandType",(char *) "id", NULL
27842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27844 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27845 if (!SWIG_IsOK(ecode1
)) {
27846 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27848 arg1
= static_cast< wxEventType
>(val1
);
27851 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27852 if (!SWIG_IsOK(ecode2
)) {
27853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
27855 arg2
= static_cast< int >(val2
);
27858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27859 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
27860 wxPyEndAllowThreads(__tstate
);
27861 if (PyErr_Occurred()) SWIG_fail
;
27863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
27870 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27871 PyObject
*resultobj
= 0;
27872 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27878 PyObject
*swig_obj
[2] ;
27880 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
27881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27882 if (!SWIG_IsOK(res1
)) {
27883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27885 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27886 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27887 if (!SWIG_IsOK(ecode2
)) {
27888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
27890 arg2
= static_cast< int >(val2
);
27891 if (arg1
) (arg1
)->m_code
= arg2
;
27893 resultobj
= SWIG_Py_Void();
27900 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27901 PyObject
*resultobj
= 0;
27902 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27906 PyObject
*swig_obj
[1] ;
27908 if (!args
) SWIG_fail
;
27909 swig_obj
[0] = args
;
27910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27911 if (!SWIG_IsOK(res1
)) {
27912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27914 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27915 result
= (int) ((arg1
)->m_code
);
27916 resultobj
= SWIG_From_int(static_cast< int >(result
));
27923 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27924 PyObject
*resultobj
= 0;
27925 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27931 PyObject
*swig_obj
[2] ;
27933 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27935 if (!SWIG_IsOK(res1
)) {
27936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27938 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27939 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27940 if (!SWIG_IsOK(ecode2
)) {
27941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
27943 arg2
= static_cast< long >(val2
);
27944 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
27946 resultobj
= SWIG_Py_Void();
27953 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27954 PyObject
*resultobj
= 0;
27955 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27959 PyObject
*swig_obj
[1] ;
27961 if (!args
) SWIG_fail
;
27962 swig_obj
[0] = args
;
27963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27964 if (!SWIG_IsOK(res1
)) {
27965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27967 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27968 result
= (long) ((arg1
)->m_oldItemIndex
);
27969 resultobj
= SWIG_From_long(static_cast< long >(result
));
27976 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27977 PyObject
*resultobj
= 0;
27978 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27984 PyObject
*swig_obj
[2] ;
27986 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27988 if (!SWIG_IsOK(res1
)) {
27989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27991 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27992 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27993 if (!SWIG_IsOK(ecode2
)) {
27994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
27996 arg2
= static_cast< long >(val2
);
27997 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
27999 resultobj
= SWIG_Py_Void();
28006 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28007 PyObject
*resultobj
= 0;
28008 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28012 PyObject
*swig_obj
[1] ;
28014 if (!args
) SWIG_fail
;
28015 swig_obj
[0] = args
;
28016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28017 if (!SWIG_IsOK(res1
)) {
28018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28020 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28021 result
= (long) ((arg1
)->m_itemIndex
);
28022 resultobj
= SWIG_From_long(static_cast< long >(result
));
28029 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28030 PyObject
*resultobj
= 0;
28031 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28037 PyObject
*swig_obj
[2] ;
28039 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28041 if (!SWIG_IsOK(res1
)) {
28042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28044 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28045 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28046 if (!SWIG_IsOK(ecode2
)) {
28047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28049 arg2
= static_cast< int >(val2
);
28050 if (arg1
) (arg1
)->m_col
= arg2
;
28052 resultobj
= SWIG_Py_Void();
28059 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28060 PyObject
*resultobj
= 0;
28061 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28065 PyObject
*swig_obj
[1] ;
28067 if (!args
) SWIG_fail
;
28068 swig_obj
[0] = args
;
28069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28070 if (!SWIG_IsOK(res1
)) {
28071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28073 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28074 result
= (int) ((arg1
)->m_col
);
28075 resultobj
= SWIG_From_int(static_cast< int >(result
));
28082 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28083 PyObject
*resultobj
= 0;
28084 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28085 wxPoint
*arg2
= (wxPoint
*) 0 ;
28090 PyObject
*swig_obj
[2] ;
28092 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28094 if (!SWIG_IsOK(res1
)) {
28095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28097 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28098 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28099 if (!SWIG_IsOK(res2
)) {
28100 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28102 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28103 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28105 resultobj
= SWIG_Py_Void();
28112 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28113 PyObject
*resultobj
= 0;
28114 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28115 wxPoint
*result
= 0 ;
28118 PyObject
*swig_obj
[1] ;
28120 if (!args
) SWIG_fail
;
28121 swig_obj
[0] = args
;
28122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28123 if (!SWIG_IsOK(res1
)) {
28124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28126 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28127 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28128 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28135 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28136 PyObject
*resultobj
= 0;
28137 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28138 wxListItem
*result
= 0 ;
28141 PyObject
*swig_obj
[1] ;
28143 if (!args
) SWIG_fail
;
28144 swig_obj
[0] = args
;
28145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28146 if (!SWIG_IsOK(res1
)) {
28147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28149 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28150 result
= (wxListItem
*)& ((arg1
)->m_item
);
28152 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28160 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28161 PyObject
*resultobj
= 0;
28162 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28166 PyObject
*swig_obj
[1] ;
28168 if (!args
) SWIG_fail
;
28169 swig_obj
[0] = args
;
28170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28171 if (!SWIG_IsOK(res1
)) {
28172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28174 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28177 result
= (int)(arg1
)->GetKeyCode();
28178 wxPyEndAllowThreads(__tstate
);
28179 if (PyErr_Occurred()) SWIG_fail
;
28181 resultobj
= SWIG_From_int(static_cast< int >(result
));
28188 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28189 PyObject
*resultobj
= 0;
28190 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28194 PyObject
*swig_obj
[1] ;
28196 if (!args
) SWIG_fail
;
28197 swig_obj
[0] = args
;
28198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28199 if (!SWIG_IsOK(res1
)) {
28200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28202 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28205 result
= (long)(arg1
)->GetIndex();
28206 wxPyEndAllowThreads(__tstate
);
28207 if (PyErr_Occurred()) SWIG_fail
;
28209 resultobj
= SWIG_From_long(static_cast< long >(result
));
28216 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28217 PyObject
*resultobj
= 0;
28218 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28222 PyObject
*swig_obj
[1] ;
28224 if (!args
) SWIG_fail
;
28225 swig_obj
[0] = args
;
28226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28227 if (!SWIG_IsOK(res1
)) {
28228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28230 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28233 result
= (int)(arg1
)->GetColumn();
28234 wxPyEndAllowThreads(__tstate
);
28235 if (PyErr_Occurred()) SWIG_fail
;
28237 resultobj
= SWIG_From_int(static_cast< int >(result
));
28244 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28245 PyObject
*resultobj
= 0;
28246 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28250 PyObject
*swig_obj
[1] ;
28252 if (!args
) SWIG_fail
;
28253 swig_obj
[0] = args
;
28254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28255 if (!SWIG_IsOK(res1
)) {
28256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28258 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28261 result
= (arg1
)->GetPoint();
28262 wxPyEndAllowThreads(__tstate
);
28263 if (PyErr_Occurred()) SWIG_fail
;
28265 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28272 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28273 PyObject
*resultobj
= 0;
28274 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28275 wxString
*result
= 0 ;
28278 PyObject
*swig_obj
[1] ;
28280 if (!args
) SWIG_fail
;
28281 swig_obj
[0] = args
;
28282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28283 if (!SWIG_IsOK(res1
)) {
28284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28286 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28290 wxString
const &_result_ref
= (arg1
)->GetLabel();
28291 result
= (wxString
*) &_result_ref
;
28293 wxPyEndAllowThreads(__tstate
);
28294 if (PyErr_Occurred()) SWIG_fail
;
28298 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28300 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28309 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28310 PyObject
*resultobj
= 0;
28311 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28312 wxString
*result
= 0 ;
28315 PyObject
*swig_obj
[1] ;
28317 if (!args
) SWIG_fail
;
28318 swig_obj
[0] = args
;
28319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28320 if (!SWIG_IsOK(res1
)) {
28321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28323 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28327 wxString
const &_result_ref
= (arg1
)->GetText();
28328 result
= (wxString
*) &_result_ref
;
28330 wxPyEndAllowThreads(__tstate
);
28331 if (PyErr_Occurred()) SWIG_fail
;
28335 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28337 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28346 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28347 PyObject
*resultobj
= 0;
28348 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28352 PyObject
*swig_obj
[1] ;
28354 if (!args
) SWIG_fail
;
28355 swig_obj
[0] = args
;
28356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28357 if (!SWIG_IsOK(res1
)) {
28358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28360 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28363 result
= (int)(arg1
)->GetImage();
28364 wxPyEndAllowThreads(__tstate
);
28365 if (PyErr_Occurred()) SWIG_fail
;
28367 resultobj
= SWIG_From_int(static_cast< int >(result
));
28374 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28375 PyObject
*resultobj
= 0;
28376 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28380 PyObject
*swig_obj
[1] ;
28382 if (!args
) SWIG_fail
;
28383 swig_obj
[0] = args
;
28384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28385 if (!SWIG_IsOK(res1
)) {
28386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28388 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28391 result
= (long)(arg1
)->GetData();
28392 wxPyEndAllowThreads(__tstate
);
28393 if (PyErr_Occurred()) SWIG_fail
;
28395 resultobj
= SWIG_From_long(static_cast< long >(result
));
28402 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28403 PyObject
*resultobj
= 0;
28404 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28408 PyObject
*swig_obj
[1] ;
28410 if (!args
) SWIG_fail
;
28411 swig_obj
[0] = args
;
28412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28413 if (!SWIG_IsOK(res1
)) {
28414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28416 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28419 result
= (long)(arg1
)->GetMask();
28420 wxPyEndAllowThreads(__tstate
);
28421 if (PyErr_Occurred()) SWIG_fail
;
28423 resultobj
= SWIG_From_long(static_cast< long >(result
));
28430 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28431 PyObject
*resultobj
= 0;
28432 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28433 wxListItem
*result
= 0 ;
28436 PyObject
*swig_obj
[1] ;
28438 if (!args
) SWIG_fail
;
28439 swig_obj
[0] = args
;
28440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28441 if (!SWIG_IsOK(res1
)) {
28442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28444 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28448 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28449 result
= (wxListItem
*) &_result_ref
;
28451 wxPyEndAllowThreads(__tstate
);
28452 if (PyErr_Occurred()) SWIG_fail
;
28454 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28461 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28462 PyObject
*resultobj
= 0;
28463 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28467 PyObject
*swig_obj
[1] ;
28469 if (!args
) SWIG_fail
;
28470 swig_obj
[0] = args
;
28471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28472 if (!SWIG_IsOK(res1
)) {
28473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28475 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28478 result
= (long)(arg1
)->GetCacheFrom();
28479 wxPyEndAllowThreads(__tstate
);
28480 if (PyErr_Occurred()) SWIG_fail
;
28482 resultobj
= SWIG_From_long(static_cast< long >(result
));
28489 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28490 PyObject
*resultobj
= 0;
28491 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28495 PyObject
*swig_obj
[1] ;
28497 if (!args
) SWIG_fail
;
28498 swig_obj
[0] = args
;
28499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28500 if (!SWIG_IsOK(res1
)) {
28501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28503 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28506 result
= (long)(arg1
)->GetCacheTo();
28507 wxPyEndAllowThreads(__tstate
);
28508 if (PyErr_Occurred()) SWIG_fail
;
28510 resultobj
= SWIG_From_long(static_cast< long >(result
));
28517 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28518 PyObject
*resultobj
= 0;
28519 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28523 PyObject
*swig_obj
[1] ;
28525 if (!args
) SWIG_fail
;
28526 swig_obj
[0] = args
;
28527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28528 if (!SWIG_IsOK(res1
)) {
28529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28531 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28534 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28535 wxPyEndAllowThreads(__tstate
);
28536 if (PyErr_Occurred()) SWIG_fail
;
28539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28547 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28548 PyObject
*resultobj
= 0;
28549 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28555 PyObject
* obj0
= 0 ;
28556 PyObject
* obj1
= 0 ;
28557 char * kwnames
[] = {
28558 (char *) "self",(char *) "editCancelled", NULL
28561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28563 if (!SWIG_IsOK(res1
)) {
28564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28566 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28567 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28568 if (!SWIG_IsOK(ecode2
)) {
28569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28571 arg2
= static_cast< bool >(val2
);
28573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28574 (arg1
)->SetEditCanceled(arg2
);
28575 wxPyEndAllowThreads(__tstate
);
28576 if (PyErr_Occurred()) SWIG_fail
;
28578 resultobj
= SWIG_Py_Void();
28585 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28587 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28588 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28589 return SWIG_Py_Void();
28592 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28593 return SWIG_Python_InitShadowInstance(args
);
28596 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28597 PyObject
*resultobj
= 0;
28598 wxWindow
*arg1
= (wxWindow
*) 0 ;
28599 int arg2
= (int) -1 ;
28600 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28601 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28602 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28603 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28604 long arg5
= (long) wxLC_ICON
;
28605 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28606 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28607 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28608 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28609 wxPyListCtrl
*result
= 0 ;
28620 bool temp7
= false ;
28621 PyObject
* obj0
= 0 ;
28622 PyObject
* obj1
= 0 ;
28623 PyObject
* obj2
= 0 ;
28624 PyObject
* obj3
= 0 ;
28625 PyObject
* obj4
= 0 ;
28626 PyObject
* obj5
= 0 ;
28627 PyObject
* obj6
= 0 ;
28628 char * kwnames
[] = {
28629 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28634 if (!SWIG_IsOK(res1
)) {
28635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28637 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28639 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28640 if (!SWIG_IsOK(ecode2
)) {
28641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28643 arg2
= static_cast< int >(val2
);
28648 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28654 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28658 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28659 if (!SWIG_IsOK(ecode5
)) {
28660 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28662 arg5
= static_cast< long >(val5
);
28665 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28666 if (!SWIG_IsOK(res6
)) {
28667 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28670 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28672 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28676 arg7
= wxString_in_helper(obj6
);
28677 if (arg7
== NULL
) SWIG_fail
;
28682 if (!wxPyCheckForApp()) SWIG_fail
;
28683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28684 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28685 wxPyEndAllowThreads(__tstate
);
28686 if (PyErr_Occurred()) SWIG_fail
;
28688 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28703 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28704 PyObject
*resultobj
= 0;
28705 wxPyListCtrl
*result
= 0 ;
28707 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28709 if (!wxPyCheckForApp()) SWIG_fail
;
28710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28711 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28712 wxPyEndAllowThreads(__tstate
);
28713 if (PyErr_Occurred()) SWIG_fail
;
28715 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28722 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28723 PyObject
*resultobj
= 0;
28724 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28725 wxWindow
*arg2
= (wxWindow
*) 0 ;
28726 int arg3
= (int) -1 ;
28727 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28728 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28729 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28730 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28731 long arg6
= (long) wxLC_ICON
;
28732 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28733 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28734 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28735 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28749 bool temp8
= false ;
28750 PyObject
* obj0
= 0 ;
28751 PyObject
* obj1
= 0 ;
28752 PyObject
* obj2
= 0 ;
28753 PyObject
* obj3
= 0 ;
28754 PyObject
* obj4
= 0 ;
28755 PyObject
* obj5
= 0 ;
28756 PyObject
* obj6
= 0 ;
28757 PyObject
* obj7
= 0 ;
28758 char * kwnames
[] = {
28759 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28764 if (!SWIG_IsOK(res1
)) {
28765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28767 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28768 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28769 if (!SWIG_IsOK(res2
)) {
28770 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28772 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28774 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28775 if (!SWIG_IsOK(ecode3
)) {
28776 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28778 arg3
= static_cast< int >(val3
);
28783 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28789 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28793 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28794 if (!SWIG_IsOK(ecode6
)) {
28795 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28797 arg6
= static_cast< long >(val6
);
28800 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
28801 if (!SWIG_IsOK(res7
)) {
28802 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28805 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28807 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
28811 arg8
= wxString_in_helper(obj7
);
28812 if (arg8
== NULL
) SWIG_fail
;
28817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28818 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28819 wxPyEndAllowThreads(__tstate
);
28820 if (PyErr_Occurred()) SWIG_fail
;
28823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28839 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28840 PyObject
*resultobj
= 0;
28841 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28842 PyObject
*arg2
= (PyObject
*) 0 ;
28843 PyObject
*arg3
= (PyObject
*) 0 ;
28846 PyObject
* obj0
= 0 ;
28847 PyObject
* obj1
= 0 ;
28848 PyObject
* obj2
= 0 ;
28849 char * kwnames
[] = {
28850 (char *) "self",(char *) "self",(char *) "_class", NULL
28853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28855 if (!SWIG_IsOK(res1
)) {
28856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28858 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28863 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28864 wxPyEndAllowThreads(__tstate
);
28865 if (PyErr_Occurred()) SWIG_fail
;
28867 resultobj
= SWIG_Py_Void();
28874 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28875 PyObject
*resultobj
= 0;
28876 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28878 wxListItem
*result
= 0 ;
28883 PyObject
* obj0
= 0 ;
28884 PyObject
* obj1
= 0 ;
28885 char * kwnames
[] = {
28886 (char *) "self",(char *) "col", NULL
28889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28891 if (!SWIG_IsOK(res1
)) {
28892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28894 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28895 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28896 if (!SWIG_IsOK(ecode2
)) {
28897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
28899 arg2
= static_cast< int >(val2
);
28901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28902 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
28903 wxPyEndAllowThreads(__tstate
);
28904 if (PyErr_Occurred()) SWIG_fail
;
28907 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28915 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28916 PyObject
*resultobj
= 0;
28917 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28919 wxListItem
*arg3
= 0 ;
28927 PyObject
* obj0
= 0 ;
28928 PyObject
* obj1
= 0 ;
28929 PyObject
* obj2
= 0 ;
28930 char * kwnames
[] = {
28931 (char *) "self",(char *) "col",(char *) "item", NULL
28934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28936 if (!SWIG_IsOK(res1
)) {
28937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28939 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28940 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28941 if (!SWIG_IsOK(ecode2
)) {
28942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
28944 arg2
= static_cast< int >(val2
);
28945 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
28946 if (!SWIG_IsOK(res3
)) {
28947 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28950 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28952 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
28954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28955 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
28956 wxPyEndAllowThreads(__tstate
);
28957 if (PyErr_Occurred()) SWIG_fail
;
28960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28968 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28969 PyObject
*resultobj
= 0;
28970 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28977 PyObject
* obj0
= 0 ;
28978 PyObject
* obj1
= 0 ;
28979 char * kwnames
[] = {
28980 (char *) "self",(char *) "col", NULL
28983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28985 if (!SWIG_IsOK(res1
)) {
28986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28988 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28989 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28990 if (!SWIG_IsOK(ecode2
)) {
28991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28993 arg2
= static_cast< int >(val2
);
28995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28996 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
28997 wxPyEndAllowThreads(__tstate
);
28998 if (PyErr_Occurred()) SWIG_fail
;
29000 resultobj
= SWIG_From_int(static_cast< int >(result
));
29007 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29008 PyObject
*resultobj
= 0;
29009 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29019 PyObject
* obj0
= 0 ;
29020 PyObject
* obj1
= 0 ;
29021 PyObject
* obj2
= 0 ;
29022 char * kwnames
[] = {
29023 (char *) "self",(char *) "col",(char *) "width", NULL
29026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29028 if (!SWIG_IsOK(res1
)) {
29029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29031 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29033 if (!SWIG_IsOK(ecode2
)) {
29034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29036 arg2
= static_cast< int >(val2
);
29037 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29038 if (!SWIG_IsOK(ecode3
)) {
29039 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29041 arg3
= static_cast< int >(val3
);
29043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29044 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
29045 wxPyEndAllowThreads(__tstate
);
29046 if (PyErr_Occurred()) SWIG_fail
;
29049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29057 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29058 PyObject
*resultobj
= 0;
29059 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29063 PyObject
*swig_obj
[1] ;
29065 if (!args
) SWIG_fail
;
29066 swig_obj
[0] = args
;
29067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29068 if (!SWIG_IsOK(res1
)) {
29069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29071 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29074 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29075 wxPyEndAllowThreads(__tstate
);
29076 if (PyErr_Occurred()) SWIG_fail
;
29078 resultobj
= SWIG_From_int(static_cast< int >(result
));
29085 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29086 PyObject
*resultobj
= 0;
29087 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29091 PyObject
*swig_obj
[1] ;
29093 if (!args
) SWIG_fail
;
29094 swig_obj
[0] = args
;
29095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29096 if (!SWIG_IsOK(res1
)) {
29097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29099 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29102 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29103 wxPyEndAllowThreads(__tstate
);
29104 if (PyErr_Occurred()) SWIG_fail
;
29106 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29113 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29114 PyObject
*resultobj
= 0;
29115 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29116 wxTextCtrl
*result
= 0 ;
29119 PyObject
*swig_obj
[1] ;
29121 if (!args
) SWIG_fail
;
29122 swig_obj
[0] = args
;
29123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29124 if (!SWIG_IsOK(res1
)) {
29125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29127 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29130 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29131 wxPyEndAllowThreads(__tstate
);
29132 if (PyErr_Occurred()) SWIG_fail
;
29135 resultobj
= wxPyMake_wxObject(result
, 0);
29143 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29144 PyObject
*resultobj
= 0;
29145 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29147 int arg3
= (int) 0 ;
29148 wxListItem
*result
= 0 ;
29155 PyObject
* obj0
= 0 ;
29156 PyObject
* obj1
= 0 ;
29157 PyObject
* obj2
= 0 ;
29158 char * kwnames
[] = {
29159 (char *) "self",(char *) "itemId",(char *) "col", NULL
29162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29164 if (!SWIG_IsOK(res1
)) {
29165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29167 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29168 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29169 if (!SWIG_IsOK(ecode2
)) {
29170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29172 arg2
= static_cast< long >(val2
);
29174 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29175 if (!SWIG_IsOK(ecode3
)) {
29176 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29178 arg3
= static_cast< int >(val3
);
29181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29182 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29183 wxPyEndAllowThreads(__tstate
);
29184 if (PyErr_Occurred()) SWIG_fail
;
29187 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29195 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29196 PyObject
*resultobj
= 0;
29197 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29198 wxListItem
*arg2
= 0 ;
29204 PyObject
* obj0
= 0 ;
29205 PyObject
* obj1
= 0 ;
29206 char * kwnames
[] = {
29207 (char *) "self",(char *) "info", NULL
29210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29212 if (!SWIG_IsOK(res1
)) {
29213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29215 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29216 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29217 if (!SWIG_IsOK(res2
)) {
29218 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29221 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29223 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29226 result
= (bool)(arg1
)->SetItem(*arg2
);
29227 wxPyEndAllowThreads(__tstate
);
29228 if (PyErr_Occurred()) SWIG_fail
;
29231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29239 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29240 PyObject
*resultobj
= 0;
29241 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29244 wxString
*arg4
= 0 ;
29245 int arg5
= (int) -1 ;
29253 bool temp4
= false ;
29256 PyObject
* obj0
= 0 ;
29257 PyObject
* obj1
= 0 ;
29258 PyObject
* obj2
= 0 ;
29259 PyObject
* obj3
= 0 ;
29260 PyObject
* obj4
= 0 ;
29261 char * kwnames
[] = {
29262 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29267 if (!SWIG_IsOK(res1
)) {
29268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29270 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29271 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29272 if (!SWIG_IsOK(ecode2
)) {
29273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29275 arg2
= static_cast< long >(val2
);
29276 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29277 if (!SWIG_IsOK(ecode3
)) {
29278 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29280 arg3
= static_cast< int >(val3
);
29282 arg4
= wxString_in_helper(obj3
);
29283 if (arg4
== NULL
) SWIG_fail
;
29287 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29288 if (!SWIG_IsOK(ecode5
)) {
29289 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29291 arg5
= static_cast< int >(val5
);
29294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29295 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29296 wxPyEndAllowThreads(__tstate
);
29297 if (PyErr_Occurred()) SWIG_fail
;
29299 resultobj
= SWIG_From_long(static_cast< long >(result
));
29314 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29315 PyObject
*resultobj
= 0;
29316 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29326 PyObject
* obj0
= 0 ;
29327 PyObject
* obj1
= 0 ;
29328 PyObject
* obj2
= 0 ;
29329 char * kwnames
[] = {
29330 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29335 if (!SWIG_IsOK(res1
)) {
29336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29338 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29339 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29340 if (!SWIG_IsOK(ecode2
)) {
29341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29343 arg2
= static_cast< long >(val2
);
29344 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29345 if (!SWIG_IsOK(ecode3
)) {
29346 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29348 arg3
= static_cast< long >(val3
);
29350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29351 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29352 wxPyEndAllowThreads(__tstate
);
29353 if (PyErr_Occurred()) SWIG_fail
;
29355 resultobj
= SWIG_From_int(static_cast< int >(result
));
29362 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29363 PyObject
*resultobj
= 0;
29364 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29377 PyObject
* obj0
= 0 ;
29378 PyObject
* obj1
= 0 ;
29379 PyObject
* obj2
= 0 ;
29380 PyObject
* obj3
= 0 ;
29381 char * kwnames
[] = {
29382 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29387 if (!SWIG_IsOK(res1
)) {
29388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29390 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29391 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29392 if (!SWIG_IsOK(ecode2
)) {
29393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29395 arg2
= static_cast< long >(val2
);
29396 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29397 if (!SWIG_IsOK(ecode3
)) {
29398 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29400 arg3
= static_cast< long >(val3
);
29401 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29402 if (!SWIG_IsOK(ecode4
)) {
29403 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29405 arg4
= static_cast< long >(val4
);
29407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29408 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29409 wxPyEndAllowThreads(__tstate
);
29410 if (PyErr_Occurred()) SWIG_fail
;
29413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29421 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29422 PyObject
*resultobj
= 0;
29423 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29426 int arg4
= (int) -1 ;
29436 PyObject
* obj0
= 0 ;
29437 PyObject
* obj1
= 0 ;
29438 PyObject
* obj2
= 0 ;
29439 PyObject
* obj3
= 0 ;
29440 char * kwnames
[] = {
29441 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29446 if (!SWIG_IsOK(res1
)) {
29447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29449 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29450 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29451 if (!SWIG_IsOK(ecode2
)) {
29452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29454 arg2
= static_cast< long >(val2
);
29455 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29456 if (!SWIG_IsOK(ecode3
)) {
29457 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29459 arg3
= static_cast< int >(val3
);
29461 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29462 if (!SWIG_IsOK(ecode4
)) {
29463 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29465 arg4
= static_cast< int >(val4
);
29468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29469 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29470 wxPyEndAllowThreads(__tstate
);
29471 if (PyErr_Occurred()) SWIG_fail
;
29474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29482 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29483 PyObject
*resultobj
= 0;
29484 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29497 PyObject
* obj0
= 0 ;
29498 PyObject
* obj1
= 0 ;
29499 PyObject
* obj2
= 0 ;
29500 PyObject
* obj3
= 0 ;
29501 char * kwnames
[] = {
29502 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29507 if (!SWIG_IsOK(res1
)) {
29508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29510 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29511 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29512 if (!SWIG_IsOK(ecode2
)) {
29513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29515 arg2
= static_cast< long >(val2
);
29516 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29517 if (!SWIG_IsOK(ecode3
)) {
29518 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29520 arg3
= static_cast< long >(val3
);
29521 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29522 if (!SWIG_IsOK(ecode4
)) {
29523 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29525 arg4
= static_cast< int >(val4
);
29527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29528 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29529 wxPyEndAllowThreads(__tstate
);
29530 if (PyErr_Occurred()) SWIG_fail
;
29533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29541 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29542 PyObject
*resultobj
= 0;
29543 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29550 PyObject
* obj0
= 0 ;
29551 PyObject
* obj1
= 0 ;
29552 char * kwnames
[] = {
29553 (char *) "self",(char *) "item", NULL
29556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29558 if (!SWIG_IsOK(res1
)) {
29559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29561 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29562 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29563 if (!SWIG_IsOK(ecode2
)) {
29564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29566 arg2
= static_cast< long >(val2
);
29568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29569 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29570 wxPyEndAllowThreads(__tstate
);
29571 if (PyErr_Occurred()) SWIG_fail
;
29575 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29577 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29586 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29587 PyObject
*resultobj
= 0;
29588 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29590 wxString
*arg3
= 0 ;
29595 bool temp3
= false ;
29596 PyObject
* obj0
= 0 ;
29597 PyObject
* obj1
= 0 ;
29598 PyObject
* obj2
= 0 ;
29599 char * kwnames
[] = {
29600 (char *) "self",(char *) "item",(char *) "str", NULL
29603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29605 if (!SWIG_IsOK(res1
)) {
29606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29608 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29609 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29610 if (!SWIG_IsOK(ecode2
)) {
29611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29613 arg2
= static_cast< long >(val2
);
29615 arg3
= wxString_in_helper(obj2
);
29616 if (arg3
== NULL
) SWIG_fail
;
29620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29621 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29622 wxPyEndAllowThreads(__tstate
);
29623 if (PyErr_Occurred()) SWIG_fail
;
29625 resultobj
= SWIG_Py_Void();
29640 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29641 PyObject
*resultobj
= 0;
29642 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29649 PyObject
* obj0
= 0 ;
29650 PyObject
* obj1
= 0 ;
29651 char * kwnames
[] = {
29652 (char *) "self",(char *) "item", NULL
29655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29657 if (!SWIG_IsOK(res1
)) {
29658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29660 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29661 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29662 if (!SWIG_IsOK(ecode2
)) {
29663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29665 arg2
= static_cast< long >(val2
);
29667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29668 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29669 wxPyEndAllowThreads(__tstate
);
29670 if (PyErr_Occurred()) SWIG_fail
;
29672 resultobj
= SWIG_From_long(static_cast< long >(result
));
29679 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29680 PyObject
*resultobj
= 0;
29681 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29691 PyObject
* obj0
= 0 ;
29692 PyObject
* obj1
= 0 ;
29693 PyObject
* obj2
= 0 ;
29694 char * kwnames
[] = {
29695 (char *) "self",(char *) "item",(char *) "data", NULL
29698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29700 if (!SWIG_IsOK(res1
)) {
29701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29703 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29704 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29705 if (!SWIG_IsOK(ecode2
)) {
29706 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29708 arg2
= static_cast< long >(val2
);
29709 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29710 if (!SWIG_IsOK(ecode3
)) {
29711 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29713 arg3
= static_cast< long >(val3
);
29715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29716 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29717 wxPyEndAllowThreads(__tstate
);
29718 if (PyErr_Occurred()) SWIG_fail
;
29721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29729 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29730 PyObject
*resultobj
= 0;
29731 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29738 PyObject
* obj0
= 0 ;
29739 PyObject
* obj1
= 0 ;
29740 char * kwnames
[] = {
29741 (char *) "self",(char *) "item", NULL
29744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29746 if (!SWIG_IsOK(res1
)) {
29747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29749 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29750 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29751 if (!SWIG_IsOK(ecode2
)) {
29752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29754 arg2
= static_cast< long >(val2
);
29756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29757 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29758 wxPyEndAllowThreads(__tstate
);
29759 if (PyErr_Occurred()) SWIG_fail
;
29761 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29768 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29769 PyObject
*resultobj
= 0;
29770 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29772 int arg3
= (int) wxLIST_RECT_BOUNDS
;
29780 PyObject
* obj0
= 0 ;
29781 PyObject
* obj1
= 0 ;
29782 PyObject
* obj2
= 0 ;
29783 char * kwnames
[] = {
29784 (char *) "self",(char *) "item",(char *) "code", NULL
29787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29789 if (!SWIG_IsOK(res1
)) {
29790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29792 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29793 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29794 if (!SWIG_IsOK(ecode2
)) {
29795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29797 arg2
= static_cast< long >(val2
);
29799 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29800 if (!SWIG_IsOK(ecode3
)) {
29801 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29803 arg3
= static_cast< int >(val3
);
29806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29807 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
29808 wxPyEndAllowThreads(__tstate
);
29809 if (PyErr_Occurred()) SWIG_fail
;
29811 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29818 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29819 PyObject
*resultobj
= 0;
29820 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29822 wxPoint
*arg3
= 0 ;
29829 PyObject
* obj0
= 0 ;
29830 PyObject
* obj1
= 0 ;
29831 PyObject
* obj2
= 0 ;
29832 char * kwnames
[] = {
29833 (char *) "self",(char *) "item",(char *) "pos", NULL
29836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29838 if (!SWIG_IsOK(res1
)) {
29839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29841 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29842 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29843 if (!SWIG_IsOK(ecode2
)) {
29844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
29846 arg2
= static_cast< long >(val2
);
29849 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29853 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
29854 wxPyEndAllowThreads(__tstate
);
29855 if (PyErr_Occurred()) SWIG_fail
;
29858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29866 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29867 PyObject
*resultobj
= 0;
29868 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29872 PyObject
*swig_obj
[1] ;
29874 if (!args
) SWIG_fail
;
29875 swig_obj
[0] = args
;
29876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29877 if (!SWIG_IsOK(res1
)) {
29878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29880 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29883 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
29884 wxPyEndAllowThreads(__tstate
);
29885 if (PyErr_Occurred()) SWIG_fail
;
29887 resultobj
= SWIG_From_int(static_cast< int >(result
));
29894 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29895 PyObject
*resultobj
= 0;
29896 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29900 PyObject
*swig_obj
[1] ;
29902 if (!args
) SWIG_fail
;
29903 swig_obj
[0] = args
;
29904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29905 if (!SWIG_IsOK(res1
)) {
29906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29908 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29911 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
29912 wxPyEndAllowThreads(__tstate
);
29913 if (PyErr_Occurred()) SWIG_fail
;
29915 resultobj
= SWIG_From_int(static_cast< int >(result
));
29922 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29923 PyObject
*resultobj
= 0;
29924 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29928 PyObject
*swig_obj
[1] ;
29930 if (!args
) SWIG_fail
;
29931 swig_obj
[0] = args
;
29932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29933 if (!SWIG_IsOK(res1
)) {
29934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29936 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29939 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
29940 wxPyEndAllowThreads(__tstate
);
29941 if (PyErr_Occurred()) SWIG_fail
;
29943 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
29950 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29951 PyObject
*resultobj
= 0;
29952 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29956 PyObject
*swig_obj
[1] ;
29958 if (!args
) SWIG_fail
;
29959 swig_obj
[0] = args
;
29960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29961 if (!SWIG_IsOK(res1
)) {
29962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29964 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29967 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
29968 wxPyEndAllowThreads(__tstate
);
29969 if (PyErr_Occurred()) SWIG_fail
;
29971 resultobj
= SWIG_From_int(static_cast< int >(result
));
29978 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29979 PyObject
*resultobj
= 0;
29980 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29984 PyObject
*swig_obj
[1] ;
29986 if (!args
) SWIG_fail
;
29987 swig_obj
[0] = args
;
29988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29989 if (!SWIG_IsOK(res1
)) {
29990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29992 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29995 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
29996 wxPyEndAllowThreads(__tstate
);
29997 if (PyErr_Occurred()) SWIG_fail
;
29999 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30006 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30007 PyObject
*resultobj
= 0;
30008 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30009 wxColour
*arg2
= 0 ;
30013 PyObject
* obj0
= 0 ;
30014 PyObject
* obj1
= 0 ;
30015 char * kwnames
[] = {
30016 (char *) "self",(char *) "col", NULL
30019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30021 if (!SWIG_IsOK(res1
)) {
30022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30024 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30027 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30031 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30032 wxPyEndAllowThreads(__tstate
);
30033 if (PyErr_Occurred()) SWIG_fail
;
30035 resultobj
= SWIG_Py_Void();
30042 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30043 PyObject
*resultobj
= 0;
30044 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30048 PyObject
*swig_obj
[1] ;
30050 if (!args
) SWIG_fail
;
30051 swig_obj
[0] = args
;
30052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30053 if (!SWIG_IsOK(res1
)) {
30054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30056 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30059 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30060 wxPyEndAllowThreads(__tstate
);
30061 if (PyErr_Occurred()) SWIG_fail
;
30063 resultobj
= SWIG_From_long(static_cast< long >(result
));
30070 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30071 PyObject
*resultobj
= 0;
30072 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30074 bool arg3
= (bool) true ;
30081 PyObject
* obj0
= 0 ;
30082 PyObject
* obj1
= 0 ;
30083 PyObject
* obj2
= 0 ;
30084 char * kwnames
[] = {
30085 (char *) "self",(char *) "style",(char *) "add", NULL
30088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30090 if (!SWIG_IsOK(res1
)) {
30091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30093 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30094 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30095 if (!SWIG_IsOK(ecode2
)) {
30096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30098 arg2
= static_cast< long >(val2
);
30100 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30101 if (!SWIG_IsOK(ecode3
)) {
30102 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30104 arg3
= static_cast< bool >(val3
);
30107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30108 (arg1
)->SetSingleStyle(arg2
,arg3
);
30109 wxPyEndAllowThreads(__tstate
);
30110 if (PyErr_Occurred()) SWIG_fail
;
30112 resultobj
= SWIG_Py_Void();
30119 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30120 PyObject
*resultobj
= 0;
30121 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30123 int arg3
= (int) wxLIST_NEXT_ALL
;
30124 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30134 PyObject
* obj0
= 0 ;
30135 PyObject
* obj1
= 0 ;
30136 PyObject
* obj2
= 0 ;
30137 PyObject
* obj3
= 0 ;
30138 char * kwnames
[] = {
30139 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30144 if (!SWIG_IsOK(res1
)) {
30145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30147 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30148 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30149 if (!SWIG_IsOK(ecode2
)) {
30150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30152 arg2
= static_cast< long >(val2
);
30154 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30155 if (!SWIG_IsOK(ecode3
)) {
30156 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30158 arg3
= static_cast< int >(val3
);
30161 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30162 if (!SWIG_IsOK(ecode4
)) {
30163 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30165 arg4
= static_cast< int >(val4
);
30168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30169 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30170 wxPyEndAllowThreads(__tstate
);
30171 if (PyErr_Occurred()) SWIG_fail
;
30173 resultobj
= SWIG_From_long(static_cast< long >(result
));
30180 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30181 PyObject
*resultobj
= 0;
30182 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30184 wxImageList
*result
= 0 ;
30189 PyObject
* obj0
= 0 ;
30190 PyObject
* obj1
= 0 ;
30191 char * kwnames
[] = {
30192 (char *) "self",(char *) "which", NULL
30195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30197 if (!SWIG_IsOK(res1
)) {
30198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30200 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30201 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30202 if (!SWIG_IsOK(ecode2
)) {
30203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30205 arg2
= static_cast< int >(val2
);
30207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30208 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30209 wxPyEndAllowThreads(__tstate
);
30210 if (PyErr_Occurred()) SWIG_fail
;
30213 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30221 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30222 PyObject
*resultobj
= 0;
30223 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30224 wxImageList
*arg2
= (wxImageList
*) 0 ;
30232 PyObject
* obj0
= 0 ;
30233 PyObject
* obj1
= 0 ;
30234 PyObject
* obj2
= 0 ;
30235 char * kwnames
[] = {
30236 (char *) "self",(char *) "imageList",(char *) "which", NULL
30239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30241 if (!SWIG_IsOK(res1
)) {
30242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30244 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30245 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30246 if (!SWIG_IsOK(res2
)) {
30247 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30249 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30250 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30251 if (!SWIG_IsOK(ecode3
)) {
30252 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30254 arg3
= static_cast< int >(val3
);
30256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30257 (arg1
)->SetImageList(arg2
,arg3
);
30258 wxPyEndAllowThreads(__tstate
);
30259 if (PyErr_Occurred()) SWIG_fail
;
30261 resultobj
= SWIG_Py_Void();
30268 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30269 PyObject
*resultobj
= 0;
30270 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30271 wxImageList
*arg2
= (wxImageList
*) 0 ;
30278 PyObject
* obj0
= 0 ;
30279 PyObject
* obj1
= 0 ;
30280 PyObject
* obj2
= 0 ;
30281 char * kwnames
[] = {
30282 (char *) "self",(char *) "imageList",(char *) "which", NULL
30285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30287 if (!SWIG_IsOK(res1
)) {
30288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30290 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30291 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30292 if (!SWIG_IsOK(res2
)) {
30293 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30295 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30296 if (!SWIG_IsOK(ecode3
)) {
30297 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30299 arg3
= static_cast< int >(val3
);
30301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30302 (arg1
)->AssignImageList(arg2
,arg3
);
30303 wxPyEndAllowThreads(__tstate
);
30304 if (PyErr_Occurred()) SWIG_fail
;
30306 resultobj
= SWIG_Py_Void();
30313 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30314 PyObject
*resultobj
= 0;
30315 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30319 PyObject
*swig_obj
[1] ;
30321 if (!args
) SWIG_fail
;
30322 swig_obj
[0] = args
;
30323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30324 if (!SWIG_IsOK(res1
)) {
30325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30327 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30330 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30331 wxPyEndAllowThreads(__tstate
);
30332 if (PyErr_Occurred()) SWIG_fail
;
30335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30343 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30344 PyObject
*resultobj
= 0;
30345 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30349 PyObject
*swig_obj
[1] ;
30351 if (!args
) SWIG_fail
;
30352 swig_obj
[0] = args
;
30353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30354 if (!SWIG_IsOK(res1
)) {
30355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30357 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30360 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30361 wxPyEndAllowThreads(__tstate
);
30362 if (PyErr_Occurred()) SWIG_fail
;
30365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30373 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30374 PyObject
*resultobj
= 0;
30375 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30381 PyObject
* obj0
= 0 ;
30382 PyObject
* obj1
= 0 ;
30383 char * kwnames
[] = {
30384 (char *) "self",(char *) "item", NULL
30387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30389 if (!SWIG_IsOK(res1
)) {
30390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30392 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30393 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30394 if (!SWIG_IsOK(ecode2
)) {
30395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30397 arg2
= static_cast< long >(val2
);
30399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30400 (arg1
)->RefreshItem(arg2
);
30401 wxPyEndAllowThreads(__tstate
);
30402 if (PyErr_Occurred()) SWIG_fail
;
30404 resultobj
= SWIG_Py_Void();
30411 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30412 PyObject
*resultobj
= 0;
30413 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30422 PyObject
* obj0
= 0 ;
30423 PyObject
* obj1
= 0 ;
30424 PyObject
* obj2
= 0 ;
30425 char * kwnames
[] = {
30426 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30431 if (!SWIG_IsOK(res1
)) {
30432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30434 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30435 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30436 if (!SWIG_IsOK(ecode2
)) {
30437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30439 arg2
= static_cast< long >(val2
);
30440 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30441 if (!SWIG_IsOK(ecode3
)) {
30442 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30444 arg3
= static_cast< long >(val3
);
30446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30447 (arg1
)->RefreshItems(arg2
,arg3
);
30448 wxPyEndAllowThreads(__tstate
);
30449 if (PyErr_Occurred()) SWIG_fail
;
30451 resultobj
= SWIG_Py_Void();
30458 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30459 PyObject
*resultobj
= 0;
30460 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30461 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30467 PyObject
* obj0
= 0 ;
30468 PyObject
* obj1
= 0 ;
30469 char * kwnames
[] = {
30470 (char *) "self",(char *) "flag", NULL
30473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30475 if (!SWIG_IsOK(res1
)) {
30476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30478 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30481 if (!SWIG_IsOK(ecode2
)) {
30482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30484 arg2
= static_cast< int >(val2
);
30487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30488 result
= (bool)(arg1
)->Arrange(arg2
);
30489 wxPyEndAllowThreads(__tstate
);
30490 if (PyErr_Occurred()) SWIG_fail
;
30493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30501 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30502 PyObject
*resultobj
= 0;
30503 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30510 PyObject
* obj0
= 0 ;
30511 PyObject
* obj1
= 0 ;
30512 char * kwnames
[] = {
30513 (char *) "self",(char *) "item", NULL
30516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30518 if (!SWIG_IsOK(res1
)) {
30519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30521 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30522 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30523 if (!SWIG_IsOK(ecode2
)) {
30524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30526 arg2
= static_cast< long >(val2
);
30528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30529 result
= (bool)(arg1
)->DeleteItem(arg2
);
30530 wxPyEndAllowThreads(__tstate
);
30531 if (PyErr_Occurred()) SWIG_fail
;
30534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30542 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30543 PyObject
*resultobj
= 0;
30544 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30548 PyObject
*swig_obj
[1] ;
30550 if (!args
) SWIG_fail
;
30551 swig_obj
[0] = args
;
30552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30553 if (!SWIG_IsOK(res1
)) {
30554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30556 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30559 result
= (bool)(arg1
)->DeleteAllItems();
30560 wxPyEndAllowThreads(__tstate
);
30561 if (PyErr_Occurred()) SWIG_fail
;
30564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30572 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30573 PyObject
*resultobj
= 0;
30574 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30581 PyObject
* obj0
= 0 ;
30582 PyObject
* obj1
= 0 ;
30583 char * kwnames
[] = {
30584 (char *) "self",(char *) "col", NULL
30587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30589 if (!SWIG_IsOK(res1
)) {
30590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30592 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30593 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30594 if (!SWIG_IsOK(ecode2
)) {
30595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30597 arg2
= static_cast< int >(val2
);
30599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30600 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30601 wxPyEndAllowThreads(__tstate
);
30602 if (PyErr_Occurred()) SWIG_fail
;
30605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30613 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30614 PyObject
*resultobj
= 0;
30615 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30619 PyObject
*swig_obj
[1] ;
30621 if (!args
) SWIG_fail
;
30622 swig_obj
[0] = args
;
30623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30624 if (!SWIG_IsOK(res1
)) {
30625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30627 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30630 result
= (bool)(arg1
)->DeleteAllColumns();
30631 wxPyEndAllowThreads(__tstate
);
30632 if (PyErr_Occurred()) SWIG_fail
;
30635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30643 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30644 PyObject
*resultobj
= 0;
30645 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30648 PyObject
*swig_obj
[1] ;
30650 if (!args
) SWIG_fail
;
30651 swig_obj
[0] = args
;
30652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30653 if (!SWIG_IsOK(res1
)) {
30654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30656 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30659 (arg1
)->ClearAll();
30660 wxPyEndAllowThreads(__tstate
);
30661 if (PyErr_Occurred()) SWIG_fail
;
30663 resultobj
= SWIG_Py_Void();
30670 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30671 PyObject
*resultobj
= 0;
30672 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30674 wxTextCtrl
*result
= 0 ;
30679 PyObject
* obj0
= 0 ;
30680 PyObject
* obj1
= 0 ;
30681 char * kwnames
[] = {
30682 (char *) "self",(char *) "item", NULL
30685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30687 if (!SWIG_IsOK(res1
)) {
30688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30690 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30691 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30692 if (!SWIG_IsOK(ecode2
)) {
30693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30695 arg2
= static_cast< long >(val2
);
30697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30698 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
30699 wxPyEndAllowThreads(__tstate
);
30700 if (PyErr_Occurred()) SWIG_fail
;
30703 resultobj
= wxPyMake_wxObject(result
, 0);
30711 SWIGINTERN PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30712 PyObject
*resultobj
= 0;
30713 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30720 PyObject
* obj0
= 0 ;
30721 PyObject
* obj1
= 0 ;
30722 char * kwnames
[] = {
30723 (char *) "self",(char *) "cancel", NULL
30726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30728 if (!SWIG_IsOK(res1
)) {
30729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30731 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30732 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30733 if (!SWIG_IsOK(ecode2
)) {
30734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "2"" of type '" "bool""'");
30736 arg2
= static_cast< bool >(val2
);
30738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30739 result
= (bool)(arg1
)->EndEditLabel(arg2
);
30740 wxPyEndAllowThreads(__tstate
);
30741 if (PyErr_Occurred()) SWIG_fail
;
30744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30752 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30753 PyObject
*resultobj
= 0;
30754 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30761 PyObject
* obj0
= 0 ;
30762 PyObject
* obj1
= 0 ;
30763 char * kwnames
[] = {
30764 (char *) "self",(char *) "item", NULL
30767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30769 if (!SWIG_IsOK(res1
)) {
30770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30772 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30773 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30774 if (!SWIG_IsOK(ecode2
)) {
30775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30777 arg2
= static_cast< long >(val2
);
30779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30780 result
= (bool)(arg1
)->EnsureVisible(arg2
);
30781 wxPyEndAllowThreads(__tstate
);
30782 if (PyErr_Occurred()) SWIG_fail
;
30785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30793 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30794 PyObject
*resultobj
= 0;
30795 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30797 wxString
*arg3
= 0 ;
30798 bool arg4
= (bool) false ;
30804 bool temp3
= false ;
30807 PyObject
* obj0
= 0 ;
30808 PyObject
* obj1
= 0 ;
30809 PyObject
* obj2
= 0 ;
30810 PyObject
* obj3
= 0 ;
30811 char * kwnames
[] = {
30812 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30817 if (!SWIG_IsOK(res1
)) {
30818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30820 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30821 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30822 if (!SWIG_IsOK(ecode2
)) {
30823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30825 arg2
= static_cast< long >(val2
);
30827 arg3
= wxString_in_helper(obj2
);
30828 if (arg3
== NULL
) SWIG_fail
;
30832 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30833 if (!SWIG_IsOK(ecode4
)) {
30834 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
30836 arg4
= static_cast< bool >(val4
);
30839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30840 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
30841 wxPyEndAllowThreads(__tstate
);
30842 if (PyErr_Occurred()) SWIG_fail
;
30844 resultobj
= SWIG_From_long(static_cast< long >(result
));
30859 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30860 PyObject
*resultobj
= 0;
30861 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30871 PyObject
* obj0
= 0 ;
30872 PyObject
* obj1
= 0 ;
30873 PyObject
* obj2
= 0 ;
30874 char * kwnames
[] = {
30875 (char *) "self",(char *) "start",(char *) "data", NULL
30878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30880 if (!SWIG_IsOK(res1
)) {
30881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30883 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30884 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30885 if (!SWIG_IsOK(ecode2
)) {
30886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
30888 arg2
= static_cast< long >(val2
);
30889 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30890 if (!SWIG_IsOK(ecode3
)) {
30891 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
30893 arg3
= static_cast< long >(val3
);
30895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30896 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
30897 wxPyEndAllowThreads(__tstate
);
30898 if (PyErr_Occurred()) SWIG_fail
;
30900 resultobj
= SWIG_From_long(static_cast< long >(result
));
30907 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30908 PyObject
*resultobj
= 0;
30909 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30911 wxPoint
*arg3
= 0 ;
30921 PyObject
* obj0
= 0 ;
30922 PyObject
* obj1
= 0 ;
30923 PyObject
* obj2
= 0 ;
30924 PyObject
* obj3
= 0 ;
30925 char * kwnames
[] = {
30926 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
30929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30931 if (!SWIG_IsOK(res1
)) {
30932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30934 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30935 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30936 if (!SWIG_IsOK(ecode2
)) {
30937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
30939 arg2
= static_cast< long >(val2
);
30942 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30944 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30945 if (!SWIG_IsOK(ecode4
)) {
30946 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
30948 arg4
= static_cast< int >(val4
);
30950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30951 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
30952 wxPyEndAllowThreads(__tstate
);
30953 if (PyErr_Occurred()) SWIG_fail
;
30955 resultobj
= SWIG_From_long(static_cast< long >(result
));
30962 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30963 PyObject
*resultobj
= 0;
30964 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30965 wxPoint
*arg2
= 0 ;
30972 int res3
= SWIG_TMPOBJ
;
30973 PyObject
* obj0
= 0 ;
30974 PyObject
* obj1
= 0 ;
30975 char * kwnames
[] = {
30976 (char *) "self",(char *) "point", NULL
30980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30982 if (!SWIG_IsOK(res1
)) {
30983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30985 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30988 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30992 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30993 wxPyEndAllowThreads(__tstate
);
30994 if (PyErr_Occurred()) SWIG_fail
;
30996 resultobj
= SWIG_From_long(static_cast< long >(result
));
30997 if (SWIG_IsTmpObj(res3
)) {
30998 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31000 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31001 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31009 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31010 PyObject
*resultobj
= 0;
31011 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31012 wxPoint
*arg2
= 0 ;
31014 long *arg4
= (long *) 0 ;
31020 int res3
= SWIG_TMPOBJ
;
31022 int res4
= SWIG_TMPOBJ
;
31023 PyObject
* obj0
= 0 ;
31024 PyObject
* obj1
= 0 ;
31025 char * kwnames
[] = {
31026 (char *) "self",(char *) "point", NULL
31031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31033 if (!SWIG_IsOK(res1
)) {
31034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31036 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31039 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31043 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
31044 wxPyEndAllowThreads(__tstate
);
31045 if (PyErr_Occurred()) SWIG_fail
;
31047 resultobj
= SWIG_From_long(static_cast< long >(result
));
31048 if (SWIG_IsTmpObj(res3
)) {
31049 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31051 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31052 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31054 if (SWIG_IsTmpObj(res4
)) {
31055 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31057 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31058 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31066 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31067 PyObject
*resultobj
= 0;
31068 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31069 wxListItem
*arg2
= 0 ;
31075 PyObject
* obj0
= 0 ;
31076 PyObject
* obj1
= 0 ;
31077 char * kwnames
[] = {
31078 (char *) "self",(char *) "info", NULL
31081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31083 if (!SWIG_IsOK(res1
)) {
31084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31086 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31087 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31088 if (!SWIG_IsOK(res2
)) {
31089 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31092 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31094 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31097 result
= (long)(arg1
)->InsertItem(*arg2
);
31098 wxPyEndAllowThreads(__tstate
);
31099 if (PyErr_Occurred()) SWIG_fail
;
31101 resultobj
= SWIG_From_long(static_cast< long >(result
));
31108 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31109 PyObject
*resultobj
= 0;
31110 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31112 wxString
*arg3
= 0 ;
31113 int arg4
= (int) -1 ;
31119 bool temp3
= false ;
31122 PyObject
* obj0
= 0 ;
31123 PyObject
* obj1
= 0 ;
31124 PyObject
* obj2
= 0 ;
31125 PyObject
* obj3
= 0 ;
31126 char * kwnames
[] = {
31127 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31132 if (!SWIG_IsOK(res1
)) {
31133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31135 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31136 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31137 if (!SWIG_IsOK(ecode2
)) {
31138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31140 arg2
= static_cast< long >(val2
);
31142 arg3
= wxString_in_helper(obj2
);
31143 if (arg3
== NULL
) SWIG_fail
;
31147 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31148 if (!SWIG_IsOK(ecode4
)) {
31149 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31151 arg4
= static_cast< int >(val4
);
31154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31155 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31156 wxPyEndAllowThreads(__tstate
);
31157 if (PyErr_Occurred()) SWIG_fail
;
31159 resultobj
= SWIG_From_long(static_cast< long >(result
));
31174 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31175 PyObject
*resultobj
= 0;
31176 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31186 PyObject
* obj0
= 0 ;
31187 PyObject
* obj1
= 0 ;
31188 PyObject
* obj2
= 0 ;
31189 char * kwnames
[] = {
31190 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31195 if (!SWIG_IsOK(res1
)) {
31196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31198 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31199 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31200 if (!SWIG_IsOK(ecode2
)) {
31201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31203 arg2
= static_cast< long >(val2
);
31204 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31205 if (!SWIG_IsOK(ecode3
)) {
31206 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31208 arg3
= static_cast< int >(val3
);
31210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31211 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31212 wxPyEndAllowThreads(__tstate
);
31213 if (PyErr_Occurred()) SWIG_fail
;
31215 resultobj
= SWIG_From_long(static_cast< long >(result
));
31222 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31223 PyObject
*resultobj
= 0;
31224 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31226 wxString
*arg3
= 0 ;
31233 bool temp3
= false ;
31236 PyObject
* obj0
= 0 ;
31237 PyObject
* obj1
= 0 ;
31238 PyObject
* obj2
= 0 ;
31239 PyObject
* obj3
= 0 ;
31240 char * kwnames
[] = {
31241 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31246 if (!SWIG_IsOK(res1
)) {
31247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31249 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31250 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31251 if (!SWIG_IsOK(ecode2
)) {
31252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31254 arg2
= static_cast< long >(val2
);
31256 arg3
= wxString_in_helper(obj2
);
31257 if (arg3
== NULL
) SWIG_fail
;
31260 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31261 if (!SWIG_IsOK(ecode4
)) {
31262 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31264 arg4
= static_cast< int >(val4
);
31266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31267 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31268 wxPyEndAllowThreads(__tstate
);
31269 if (PyErr_Occurred()) SWIG_fail
;
31271 resultobj
= SWIG_From_long(static_cast< long >(result
));
31286 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31287 PyObject
*resultobj
= 0;
31288 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31290 wxListItem
*arg3
= 0 ;
31298 PyObject
* obj0
= 0 ;
31299 PyObject
* obj1
= 0 ;
31300 PyObject
* obj2
= 0 ;
31301 char * kwnames
[] = {
31302 (char *) "self",(char *) "col",(char *) "info", NULL
31305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31307 if (!SWIG_IsOK(res1
)) {
31308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31310 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31311 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31312 if (!SWIG_IsOK(ecode2
)) {
31313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31315 arg2
= static_cast< long >(val2
);
31316 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31317 if (!SWIG_IsOK(res3
)) {
31318 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31321 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31323 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31326 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31327 wxPyEndAllowThreads(__tstate
);
31328 if (PyErr_Occurred()) SWIG_fail
;
31330 resultobj
= SWIG_From_long(static_cast< long >(result
));
31337 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31338 PyObject
*resultobj
= 0;
31339 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31341 wxString
*arg3
= 0 ;
31342 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31343 int arg5
= (int) -1 ;
31349 bool temp3
= false ;
31354 PyObject
* obj0
= 0 ;
31355 PyObject
* obj1
= 0 ;
31356 PyObject
* obj2
= 0 ;
31357 PyObject
* obj3
= 0 ;
31358 PyObject
* obj4
= 0 ;
31359 char * kwnames
[] = {
31360 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31365 if (!SWIG_IsOK(res1
)) {
31366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31368 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31369 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31370 if (!SWIG_IsOK(ecode2
)) {
31371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31373 arg2
= static_cast< long >(val2
);
31375 arg3
= wxString_in_helper(obj2
);
31376 if (arg3
== NULL
) SWIG_fail
;
31380 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31381 if (!SWIG_IsOK(ecode4
)) {
31382 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31384 arg4
= static_cast< int >(val4
);
31387 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31388 if (!SWIG_IsOK(ecode5
)) {
31389 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31391 arg5
= static_cast< int >(val5
);
31394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31395 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31396 wxPyEndAllowThreads(__tstate
);
31397 if (PyErr_Occurred()) SWIG_fail
;
31399 resultobj
= SWIG_From_long(static_cast< long >(result
));
31414 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31415 PyObject
*resultobj
= 0;
31416 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31422 PyObject
* obj0
= 0 ;
31423 PyObject
* obj1
= 0 ;
31424 char * kwnames
[] = {
31425 (char *) "self",(char *) "count", NULL
31428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31430 if (!SWIG_IsOK(res1
)) {
31431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31433 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31434 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31435 if (!SWIG_IsOK(ecode2
)) {
31436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31438 arg2
= static_cast< long >(val2
);
31440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31441 (arg1
)->SetItemCount(arg2
);
31442 wxPyEndAllowThreads(__tstate
);
31443 if (PyErr_Occurred()) SWIG_fail
;
31445 resultobj
= SWIG_Py_Void();
31452 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31453 PyObject
*resultobj
= 0;
31454 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31464 PyObject
* obj0
= 0 ;
31465 PyObject
* obj1
= 0 ;
31466 PyObject
* obj2
= 0 ;
31467 char * kwnames
[] = {
31468 (char *) "self",(char *) "dx",(char *) "dy", NULL
31471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31473 if (!SWIG_IsOK(res1
)) {
31474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31476 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31477 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31478 if (!SWIG_IsOK(ecode2
)) {
31479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31481 arg2
= static_cast< int >(val2
);
31482 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31483 if (!SWIG_IsOK(ecode3
)) {
31484 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31486 arg3
= static_cast< int >(val3
);
31488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31489 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31490 wxPyEndAllowThreads(__tstate
);
31491 if (PyErr_Occurred()) SWIG_fail
;
31494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31502 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31503 PyObject
*resultobj
= 0;
31504 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31506 wxColour
*arg3
= 0 ;
31512 PyObject
* obj0
= 0 ;
31513 PyObject
* obj1
= 0 ;
31514 PyObject
* obj2
= 0 ;
31515 char * kwnames
[] = {
31516 (char *) "self",(char *) "item",(char *) "col", NULL
31519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31521 if (!SWIG_IsOK(res1
)) {
31522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31524 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31525 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31526 if (!SWIG_IsOK(ecode2
)) {
31527 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31529 arg2
= static_cast< long >(val2
);
31532 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31536 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31537 wxPyEndAllowThreads(__tstate
);
31538 if (PyErr_Occurred()) SWIG_fail
;
31540 resultobj
= SWIG_Py_Void();
31547 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31548 PyObject
*resultobj
= 0;
31549 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31556 PyObject
* obj0
= 0 ;
31557 PyObject
* obj1
= 0 ;
31558 char * kwnames
[] = {
31559 (char *) "self",(char *) "item", NULL
31562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31564 if (!SWIG_IsOK(res1
)) {
31565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31567 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31568 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31569 if (!SWIG_IsOK(ecode2
)) {
31570 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31572 arg2
= static_cast< long >(val2
);
31574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31575 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31576 wxPyEndAllowThreads(__tstate
);
31577 if (PyErr_Occurred()) SWIG_fail
;
31579 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31586 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31587 PyObject
*resultobj
= 0;
31588 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31590 wxColour
*arg3
= 0 ;
31596 PyObject
* obj0
= 0 ;
31597 PyObject
* obj1
= 0 ;
31598 PyObject
* obj2
= 0 ;
31599 char * kwnames
[] = {
31600 (char *) "self",(char *) "item",(char *) "col", NULL
31603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31605 if (!SWIG_IsOK(res1
)) {
31606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31608 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31609 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31610 if (!SWIG_IsOK(ecode2
)) {
31611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31613 arg2
= static_cast< long >(val2
);
31616 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31620 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31621 wxPyEndAllowThreads(__tstate
);
31622 if (PyErr_Occurred()) SWIG_fail
;
31624 resultobj
= SWIG_Py_Void();
31631 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31632 PyObject
*resultobj
= 0;
31633 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31640 PyObject
* obj0
= 0 ;
31641 PyObject
* obj1
= 0 ;
31642 char * kwnames
[] = {
31643 (char *) "self",(char *) "item", NULL
31646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31648 if (!SWIG_IsOK(res1
)) {
31649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31651 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31652 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31653 if (!SWIG_IsOK(ecode2
)) {
31654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31656 arg2
= static_cast< long >(val2
);
31658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31659 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31660 wxPyEndAllowThreads(__tstate
);
31661 if (PyErr_Occurred()) SWIG_fail
;
31663 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31670 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31671 PyObject
*resultobj
= 0;
31672 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31681 PyObject
* obj0
= 0 ;
31682 PyObject
* obj1
= 0 ;
31683 PyObject
* obj2
= 0 ;
31684 char * kwnames
[] = {
31685 (char *) "self",(char *) "item",(char *) "f", NULL
31688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31690 if (!SWIG_IsOK(res1
)) {
31691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31693 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31694 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31695 if (!SWIG_IsOK(ecode2
)) {
31696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31698 arg2
= static_cast< long >(val2
);
31699 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31700 if (!SWIG_IsOK(res3
)) {
31701 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31704 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31706 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31709 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31710 wxPyEndAllowThreads(__tstate
);
31711 if (PyErr_Occurred()) SWIG_fail
;
31713 resultobj
= SWIG_Py_Void();
31720 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31721 PyObject
*resultobj
= 0;
31722 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31729 PyObject
* obj0
= 0 ;
31730 PyObject
* obj1
= 0 ;
31731 char * kwnames
[] = {
31732 (char *) "self",(char *) "item", NULL
31735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31737 if (!SWIG_IsOK(res1
)) {
31738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31740 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31741 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31742 if (!SWIG_IsOK(ecode2
)) {
31743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31745 arg2
= static_cast< long >(val2
);
31747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31748 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31749 wxPyEndAllowThreads(__tstate
);
31750 if (PyErr_Occurred()) SWIG_fail
;
31752 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31759 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31760 PyObject
*resultobj
= 0;
31761 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31762 PyObject
*arg2
= (PyObject
*) 0 ;
31766 PyObject
* obj0
= 0 ;
31767 PyObject
* obj1
= 0 ;
31768 char * kwnames
[] = {
31769 (char *) "self",(char *) "func", NULL
31772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31774 if (!SWIG_IsOK(res1
)) {
31775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31777 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31781 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
31782 wxPyEndAllowThreads(__tstate
);
31783 if (PyErr_Occurred()) SWIG_fail
;
31786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31794 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31795 PyObject
*resultobj
= 0;
31796 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31797 wxWindow
*result
= 0 ;
31800 PyObject
*swig_obj
[1] ;
31802 if (!args
) SWIG_fail
;
31803 swig_obj
[0] = args
;
31804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31805 if (!SWIG_IsOK(res1
)) {
31806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31808 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31811 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
31812 wxPyEndAllowThreads(__tstate
);
31813 if (PyErr_Occurred()) SWIG_fail
;
31816 resultobj
= wxPyMake_wxObject(result
, 0);
31824 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31825 PyObject
*resultobj
= 0;
31826 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31827 SwigValueWrapper
<wxVisualAttributes
> result
;
31830 PyObject
* obj0
= 0 ;
31831 char * kwnames
[] = {
31832 (char *) "variant", NULL
31835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
31837 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31838 if (!SWIG_IsOK(ecode1
)) {
31839 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
31841 arg1
= static_cast< wxWindowVariant
>(val1
);
31844 if (!wxPyCheckForApp()) SWIG_fail
;
31845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31846 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
31847 wxPyEndAllowThreads(__tstate
);
31848 if (PyErr_Occurred()) SWIG_fail
;
31850 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
31857 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31859 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31860 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
31861 return SWIG_Py_Void();
31864 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31865 return SWIG_Python_InitShadowInstance(args
);
31868 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31869 PyObject
*resultobj
= 0;
31870 wxWindow
*arg1
= (wxWindow
*) 0 ;
31871 int arg2
= (int) -1 ;
31872 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31873 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31874 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31875 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31876 long arg5
= (long) wxLC_REPORT
;
31877 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31878 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31879 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
31880 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31881 wxListView
*result
= 0 ;
31892 bool temp7
= false ;
31893 PyObject
* obj0
= 0 ;
31894 PyObject
* obj1
= 0 ;
31895 PyObject
* obj2
= 0 ;
31896 PyObject
* obj3
= 0 ;
31897 PyObject
* obj4
= 0 ;
31898 PyObject
* obj5
= 0 ;
31899 PyObject
* obj6
= 0 ;
31900 char * kwnames
[] = {
31901 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31906 if (!SWIG_IsOK(res1
)) {
31907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
31909 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31911 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31912 if (!SWIG_IsOK(ecode2
)) {
31913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
31915 arg2
= static_cast< int >(val2
);
31920 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31926 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31930 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
31931 if (!SWIG_IsOK(ecode5
)) {
31932 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
31934 arg5
= static_cast< long >(val5
);
31937 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
31938 if (!SWIG_IsOK(res6
)) {
31939 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31942 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31944 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
31948 arg7
= wxString_in_helper(obj6
);
31949 if (arg7
== NULL
) SWIG_fail
;
31954 if (!wxPyCheckForApp()) SWIG_fail
;
31955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31956 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31957 wxPyEndAllowThreads(__tstate
);
31958 if (PyErr_Occurred()) SWIG_fail
;
31960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
31975 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31976 PyObject
*resultobj
= 0;
31977 wxListView
*result
= 0 ;
31979 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
31981 if (!wxPyCheckForApp()) SWIG_fail
;
31982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31983 result
= (wxListView
*)new wxListView();
31984 wxPyEndAllowThreads(__tstate
);
31985 if (PyErr_Occurred()) SWIG_fail
;
31987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
31994 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31995 PyObject
*resultobj
= 0;
31996 wxListView
*arg1
= (wxListView
*) 0 ;
31997 wxWindow
*arg2
= (wxWindow
*) 0 ;
31998 int arg3
= (int) -1 ;
31999 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32000 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32001 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32002 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32003 long arg6
= (long) wxLC_REPORT
;
32004 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32005 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32006 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
32007 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32021 bool temp8
= false ;
32022 PyObject
* obj0
= 0 ;
32023 PyObject
* obj1
= 0 ;
32024 PyObject
* obj2
= 0 ;
32025 PyObject
* obj3
= 0 ;
32026 PyObject
* obj4
= 0 ;
32027 PyObject
* obj5
= 0 ;
32028 PyObject
* obj6
= 0 ;
32029 PyObject
* obj7
= 0 ;
32030 char * kwnames
[] = {
32031 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32036 if (!SWIG_IsOK(res1
)) {
32037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32039 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32040 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32041 if (!SWIG_IsOK(res2
)) {
32042 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32044 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32046 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32047 if (!SWIG_IsOK(ecode3
)) {
32048 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32050 arg3
= static_cast< int >(val3
);
32055 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32061 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32065 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32066 if (!SWIG_IsOK(ecode6
)) {
32067 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32069 arg6
= static_cast< long >(val6
);
32072 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32073 if (!SWIG_IsOK(res7
)) {
32074 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32077 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32079 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32083 arg8
= wxString_in_helper(obj7
);
32084 if (arg8
== NULL
) SWIG_fail
;
32089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32090 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32091 wxPyEndAllowThreads(__tstate
);
32092 if (PyErr_Occurred()) SWIG_fail
;
32095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32111 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32112 PyObject
*resultobj
= 0;
32113 wxListView
*arg1
= (wxListView
*) 0 ;
32115 bool arg3
= (bool) true ;
32122 PyObject
* obj0
= 0 ;
32123 PyObject
* obj1
= 0 ;
32124 PyObject
* obj2
= 0 ;
32125 char * kwnames
[] = {
32126 (char *) "self",(char *) "n",(char *) "on", NULL
32129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32131 if (!SWIG_IsOK(res1
)) {
32132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32134 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32135 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32136 if (!SWIG_IsOK(ecode2
)) {
32137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32139 arg2
= static_cast< long >(val2
);
32141 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32142 if (!SWIG_IsOK(ecode3
)) {
32143 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32145 arg3
= static_cast< bool >(val3
);
32148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32149 (arg1
)->Select(arg2
,arg3
);
32150 wxPyEndAllowThreads(__tstate
);
32151 if (PyErr_Occurred()) SWIG_fail
;
32153 resultobj
= SWIG_Py_Void();
32160 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32161 PyObject
*resultobj
= 0;
32162 wxListView
*arg1
= (wxListView
*) 0 ;
32168 PyObject
* obj0
= 0 ;
32169 PyObject
* obj1
= 0 ;
32170 char * kwnames
[] = {
32171 (char *) "self",(char *) "index", NULL
32174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32176 if (!SWIG_IsOK(res1
)) {
32177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32179 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32180 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32181 if (!SWIG_IsOK(ecode2
)) {
32182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32184 arg2
= static_cast< long >(val2
);
32186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32187 (arg1
)->Focus(arg2
);
32188 wxPyEndAllowThreads(__tstate
);
32189 if (PyErr_Occurred()) SWIG_fail
;
32191 resultobj
= SWIG_Py_Void();
32198 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32199 PyObject
*resultobj
= 0;
32200 wxListView
*arg1
= (wxListView
*) 0 ;
32204 PyObject
*swig_obj
[1] ;
32206 if (!args
) SWIG_fail
;
32207 swig_obj
[0] = args
;
32208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32209 if (!SWIG_IsOK(res1
)) {
32210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32212 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32215 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32216 wxPyEndAllowThreads(__tstate
);
32217 if (PyErr_Occurred()) SWIG_fail
;
32219 resultobj
= SWIG_From_long(static_cast< long >(result
));
32226 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32227 PyObject
*resultobj
= 0;
32228 wxListView
*arg1
= (wxListView
*) 0 ;
32235 PyObject
* obj0
= 0 ;
32236 PyObject
* obj1
= 0 ;
32237 char * kwnames
[] = {
32238 (char *) "self",(char *) "item", NULL
32241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32243 if (!SWIG_IsOK(res1
)) {
32244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32246 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32247 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32248 if (!SWIG_IsOK(ecode2
)) {
32249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32251 arg2
= static_cast< long >(val2
);
32253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32254 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32255 wxPyEndAllowThreads(__tstate
);
32256 if (PyErr_Occurred()) SWIG_fail
;
32258 resultobj
= SWIG_From_long(static_cast< long >(result
));
32265 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32266 PyObject
*resultobj
= 0;
32267 wxListView
*arg1
= (wxListView
*) 0 ;
32271 PyObject
*swig_obj
[1] ;
32273 if (!args
) SWIG_fail
;
32274 swig_obj
[0] = args
;
32275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32276 if (!SWIG_IsOK(res1
)) {
32277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32279 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32282 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32283 wxPyEndAllowThreads(__tstate
);
32284 if (PyErr_Occurred()) SWIG_fail
;
32286 resultobj
= SWIG_From_long(static_cast< long >(result
));
32293 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32294 PyObject
*resultobj
= 0;
32295 wxListView
*arg1
= (wxListView
*) 0 ;
32302 PyObject
* obj0
= 0 ;
32303 PyObject
* obj1
= 0 ;
32304 char * kwnames
[] = {
32305 (char *) "self",(char *) "index", NULL
32308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32310 if (!SWIG_IsOK(res1
)) {
32311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32313 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32314 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32315 if (!SWIG_IsOK(ecode2
)) {
32316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32318 arg2
= static_cast< long >(val2
);
32320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32321 result
= (bool)(arg1
)->IsSelected(arg2
);
32322 wxPyEndAllowThreads(__tstate
);
32323 if (PyErr_Occurred()) SWIG_fail
;
32326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32334 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32335 PyObject
*resultobj
= 0;
32336 wxListView
*arg1
= (wxListView
*) 0 ;
32345 PyObject
* obj0
= 0 ;
32346 PyObject
* obj1
= 0 ;
32347 PyObject
* obj2
= 0 ;
32348 char * kwnames
[] = {
32349 (char *) "self",(char *) "col",(char *) "image", NULL
32352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32354 if (!SWIG_IsOK(res1
)) {
32355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32357 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32359 if (!SWIG_IsOK(ecode2
)) {
32360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32362 arg2
= static_cast< int >(val2
);
32363 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32364 if (!SWIG_IsOK(ecode3
)) {
32365 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32367 arg3
= static_cast< int >(val3
);
32369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32370 (arg1
)->SetColumnImage(arg2
,arg3
);
32371 wxPyEndAllowThreads(__tstate
);
32372 if (PyErr_Occurred()) SWIG_fail
;
32374 resultobj
= SWIG_Py_Void();
32381 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32382 PyObject
*resultobj
= 0;
32383 wxListView
*arg1
= (wxListView
*) 0 ;
32389 PyObject
* obj0
= 0 ;
32390 PyObject
* obj1
= 0 ;
32391 char * kwnames
[] = {
32392 (char *) "self",(char *) "col", NULL
32395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32397 if (!SWIG_IsOK(res1
)) {
32398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32400 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32402 if (!SWIG_IsOK(ecode2
)) {
32403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32405 arg2
= static_cast< int >(val2
);
32407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32408 (arg1
)->ClearColumnImage(arg2
);
32409 wxPyEndAllowThreads(__tstate
);
32410 if (PyErr_Occurred()) SWIG_fail
;
32412 resultobj
= SWIG_Py_Void();
32419 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32421 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32422 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32423 return SWIG_Py_Void();
32426 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32427 return SWIG_Python_InitShadowInstance(args
);
32430 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32431 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32436 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32437 PyObject
*pyobj
= 0;
32441 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32443 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32450 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32451 PyObject
*resultobj
= 0;
32452 wxTreeItemId
*result
= 0 ;
32454 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32457 result
= (wxTreeItemId
*)new wxTreeItemId();
32458 wxPyEndAllowThreads(__tstate
);
32459 if (PyErr_Occurred()) SWIG_fail
;
32461 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32468 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32469 PyObject
*resultobj
= 0;
32470 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32473 PyObject
*swig_obj
[1] ;
32475 if (!args
) SWIG_fail
;
32476 swig_obj
[0] = args
;
32477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32478 if (!SWIG_IsOK(res1
)) {
32479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32481 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32486 wxPyEndAllowThreads(__tstate
);
32487 if (PyErr_Occurred()) SWIG_fail
;
32489 resultobj
= SWIG_Py_Void();
32496 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32497 PyObject
*resultobj
= 0;
32498 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32502 PyObject
*swig_obj
[1] ;
32504 if (!args
) SWIG_fail
;
32505 swig_obj
[0] = args
;
32506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32507 if (!SWIG_IsOK(res1
)) {
32508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32510 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32513 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32514 wxPyEndAllowThreads(__tstate
);
32515 if (PyErr_Occurred()) SWIG_fail
;
32518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32526 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32527 PyObject
*resultobj
= 0;
32528 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32529 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32535 PyObject
* obj0
= 0 ;
32536 PyObject
* obj1
= 0 ;
32537 char * kwnames
[] = {
32538 (char *) "self",(char *) "other", NULL
32541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32543 if (!SWIG_IsOK(res1
)) {
32544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32546 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32547 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32548 if (!SWIG_IsOK(res2
)) {
32549 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32551 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32554 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32555 wxPyEndAllowThreads(__tstate
);
32556 if (PyErr_Occurred()) SWIG_fail
;
32559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32567 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32568 PyObject
*resultobj
= 0;
32569 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32570 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32576 PyObject
* obj0
= 0 ;
32577 PyObject
* obj1
= 0 ;
32578 char * kwnames
[] = {
32579 (char *) "self",(char *) "other", NULL
32582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32584 if (!SWIG_IsOK(res1
)) {
32585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32587 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32588 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32589 if (!SWIG_IsOK(res2
)) {
32590 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32592 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32595 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32596 wxPyEndAllowThreads(__tstate
);
32597 if (PyErr_Occurred()) SWIG_fail
;
32600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32608 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32609 PyObject
*resultobj
= 0;
32610 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32611 void *arg2
= (void *) 0 ;
32615 PyObject
*swig_obj
[2] ;
32617 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32619 if (!SWIG_IsOK(res1
)) {
32620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32622 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32623 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32624 if (!SWIG_IsOK(res2
)) {
32625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32627 if (arg1
) (arg1
)->m_pItem
= arg2
;
32629 resultobj
= SWIG_Py_Void();
32636 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32637 PyObject
*resultobj
= 0;
32638 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32642 PyObject
*swig_obj
[1] ;
32644 if (!args
) SWIG_fail
;
32645 swig_obj
[0] = args
;
32646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32647 if (!SWIG_IsOK(res1
)) {
32648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32650 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32651 result
= (void *) ((arg1
)->m_pItem
);
32652 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32659 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32661 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32662 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32663 return SWIG_Py_Void();
32666 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32667 return SWIG_Python_InitShadowInstance(args
);
32670 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32671 PyObject
*resultobj
= 0;
32672 PyObject
*arg1
= (PyObject
*) NULL
;
32673 wxPyTreeItemData
*result
= 0 ;
32674 PyObject
* obj0
= 0 ;
32675 char * kwnames
[] = {
32676 (char *) "obj", NULL
32679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32685 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32686 wxPyEndAllowThreads(__tstate
);
32687 if (PyErr_Occurred()) SWIG_fail
;
32689 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32696 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32697 PyObject
*resultobj
= 0;
32698 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32701 PyObject
*swig_obj
[1] ;
32703 if (!args
) SWIG_fail
;
32704 swig_obj
[0] = args
;
32705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32706 if (!SWIG_IsOK(res1
)) {
32707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32709 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32714 wxPyEndAllowThreads(__tstate
);
32715 if (PyErr_Occurred()) SWIG_fail
;
32717 resultobj
= SWIG_Py_Void();
32724 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32725 PyObject
*resultobj
= 0;
32726 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32727 PyObject
*result
= 0 ;
32730 PyObject
*swig_obj
[1] ;
32732 if (!args
) SWIG_fail
;
32733 swig_obj
[0] = args
;
32734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32735 if (!SWIG_IsOK(res1
)) {
32736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32738 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32741 result
= (PyObject
*)(arg1
)->GetData();
32742 wxPyEndAllowThreads(__tstate
);
32743 if (PyErr_Occurred()) SWIG_fail
;
32745 resultobj
= result
;
32752 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32753 PyObject
*resultobj
= 0;
32754 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32755 PyObject
*arg2
= (PyObject
*) 0 ;
32758 PyObject
* obj0
= 0 ;
32759 PyObject
* obj1
= 0 ;
32760 char * kwnames
[] = {
32761 (char *) "self",(char *) "obj", NULL
32764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32766 if (!SWIG_IsOK(res1
)) {
32767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32769 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32773 (arg1
)->SetData(arg2
);
32774 wxPyEndAllowThreads(__tstate
);
32775 if (PyErr_Occurred()) SWIG_fail
;
32777 resultobj
= SWIG_Py_Void();
32784 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32785 PyObject
*resultobj
= 0;
32786 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32787 wxTreeItemId
*result
= 0 ;
32790 PyObject
*swig_obj
[1] ;
32792 if (!args
) SWIG_fail
;
32793 swig_obj
[0] = args
;
32794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32795 if (!SWIG_IsOK(res1
)) {
32796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32798 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32802 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
32803 result
= (wxTreeItemId
*) &_result_ref
;
32805 wxPyEndAllowThreads(__tstate
);
32806 if (PyErr_Occurred()) SWIG_fail
;
32808 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32815 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32816 PyObject
*resultobj
= 0;
32817 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32818 wxTreeItemId
*arg2
= 0 ;
32823 PyObject
* obj0
= 0 ;
32824 PyObject
* obj1
= 0 ;
32825 char * kwnames
[] = {
32826 (char *) "self",(char *) "id", NULL
32829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32831 if (!SWIG_IsOK(res1
)) {
32832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32834 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32835 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32836 if (!SWIG_IsOK(res2
)) {
32837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32842 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32845 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
32846 wxPyEndAllowThreads(__tstate
);
32847 if (PyErr_Occurred()) SWIG_fail
;
32849 resultobj
= SWIG_Py_Void();
32856 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32857 PyObject
*resultobj
= 0;
32858 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32861 PyObject
*swig_obj
[1] ;
32863 if (!args
) SWIG_fail
;
32864 swig_obj
[0] = args
;
32865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32866 if (!SWIG_IsOK(res1
)) {
32867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32869 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32872 wxPyTreeItemData_Destroy(arg1
);
32873 wxPyEndAllowThreads(__tstate
);
32874 if (PyErr_Occurred()) SWIG_fail
;
32876 resultobj
= SWIG_Py_Void();
32883 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32885 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32886 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
32887 return SWIG_Py_Void();
32890 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32891 return SWIG_Python_InitShadowInstance(args
);
32894 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32895 PyObject
*resultobj
= 0;
32896 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32897 int arg2
= (int) 0 ;
32898 wxTreeEvent
*result
= 0 ;
32903 PyObject
* obj0
= 0 ;
32904 PyObject
* obj1
= 0 ;
32905 char * kwnames
[] = {
32906 (char *) "commandType",(char *) "id", NULL
32909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32911 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32912 if (!SWIG_IsOK(ecode1
)) {
32913 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32915 arg1
= static_cast< wxEventType
>(val1
);
32918 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32919 if (!SWIG_IsOK(ecode2
)) {
32920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
32922 arg2
= static_cast< int >(val2
);
32925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32926 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
32927 wxPyEndAllowThreads(__tstate
);
32928 if (PyErr_Occurred()) SWIG_fail
;
32930 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
32937 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32938 PyObject
*resultobj
= 0;
32939 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32940 wxTreeItemId result
;
32943 PyObject
*swig_obj
[1] ;
32945 if (!args
) SWIG_fail
;
32946 swig_obj
[0] = args
;
32947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32948 if (!SWIG_IsOK(res1
)) {
32949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32951 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32954 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
32955 wxPyEndAllowThreads(__tstate
);
32956 if (PyErr_Occurred()) SWIG_fail
;
32958 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32965 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32966 PyObject
*resultobj
= 0;
32967 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32968 wxTreeItemId
*arg2
= 0 ;
32973 PyObject
* obj0
= 0 ;
32974 PyObject
* obj1
= 0 ;
32975 char * kwnames
[] = {
32976 (char *) "self",(char *) "item", NULL
32979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32981 if (!SWIG_IsOK(res1
)) {
32982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32984 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32985 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32986 if (!SWIG_IsOK(res2
)) {
32987 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32990 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32992 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32995 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
32996 wxPyEndAllowThreads(__tstate
);
32997 if (PyErr_Occurred()) SWIG_fail
;
32999 resultobj
= SWIG_Py_Void();
33006 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33007 PyObject
*resultobj
= 0;
33008 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33009 wxTreeItemId result
;
33012 PyObject
*swig_obj
[1] ;
33014 if (!args
) SWIG_fail
;
33015 swig_obj
[0] = args
;
33016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33017 if (!SWIG_IsOK(res1
)) {
33018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33020 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33023 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33024 wxPyEndAllowThreads(__tstate
);
33025 if (PyErr_Occurred()) SWIG_fail
;
33027 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33034 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33035 PyObject
*resultobj
= 0;
33036 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33037 wxTreeItemId
*arg2
= 0 ;
33042 PyObject
* obj0
= 0 ;
33043 PyObject
* obj1
= 0 ;
33044 char * kwnames
[] = {
33045 (char *) "self",(char *) "item", NULL
33048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33050 if (!SWIG_IsOK(res1
)) {
33051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33053 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33054 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33055 if (!SWIG_IsOK(res2
)) {
33056 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33059 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33061 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33064 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33065 wxPyEndAllowThreads(__tstate
);
33066 if (PyErr_Occurred()) SWIG_fail
;
33068 resultobj
= SWIG_Py_Void();
33075 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33076 PyObject
*resultobj
= 0;
33077 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33081 PyObject
*swig_obj
[1] ;
33083 if (!args
) SWIG_fail
;
33084 swig_obj
[0] = args
;
33085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33086 if (!SWIG_IsOK(res1
)) {
33087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33089 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33092 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33093 wxPyEndAllowThreads(__tstate
);
33094 if (PyErr_Occurred()) SWIG_fail
;
33096 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33103 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33104 PyObject
*resultobj
= 0;
33105 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33106 wxPoint
*arg2
= 0 ;
33110 PyObject
* obj0
= 0 ;
33111 PyObject
* obj1
= 0 ;
33112 char * kwnames
[] = {
33113 (char *) "self",(char *) "pt", NULL
33116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33118 if (!SWIG_IsOK(res1
)) {
33119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33121 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33124 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33128 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33129 wxPyEndAllowThreads(__tstate
);
33130 if (PyErr_Occurred()) SWIG_fail
;
33132 resultobj
= SWIG_Py_Void();
33139 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33140 PyObject
*resultobj
= 0;
33141 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33142 wxKeyEvent
*result
= 0 ;
33145 PyObject
*swig_obj
[1] ;
33147 if (!args
) SWIG_fail
;
33148 swig_obj
[0] = args
;
33149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33150 if (!SWIG_IsOK(res1
)) {
33151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33153 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33157 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33158 result
= (wxKeyEvent
*) &_result_ref
;
33160 wxPyEndAllowThreads(__tstate
);
33161 if (PyErr_Occurred()) SWIG_fail
;
33163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33170 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33171 PyObject
*resultobj
= 0;
33172 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33176 PyObject
*swig_obj
[1] ;
33178 if (!args
) SWIG_fail
;
33179 swig_obj
[0] = args
;
33180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33181 if (!SWIG_IsOK(res1
)) {
33182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33184 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33187 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33188 wxPyEndAllowThreads(__tstate
);
33189 if (PyErr_Occurred()) SWIG_fail
;
33191 resultobj
= SWIG_From_int(static_cast< int >(result
));
33198 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33199 PyObject
*resultobj
= 0;
33200 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33201 wxKeyEvent
*arg2
= 0 ;
33206 PyObject
* obj0
= 0 ;
33207 PyObject
* obj1
= 0 ;
33208 char * kwnames
[] = {
33209 (char *) "self",(char *) "evt", NULL
33212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33214 if (!SWIG_IsOK(res1
)) {
33215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33217 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33218 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33219 if (!SWIG_IsOK(res2
)) {
33220 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33223 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33225 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33228 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33229 wxPyEndAllowThreads(__tstate
);
33230 if (PyErr_Occurred()) SWIG_fail
;
33232 resultobj
= SWIG_Py_Void();
33239 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33240 PyObject
*resultobj
= 0;
33241 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33242 wxString
*result
= 0 ;
33245 PyObject
*swig_obj
[1] ;
33247 if (!args
) SWIG_fail
;
33248 swig_obj
[0] = args
;
33249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33250 if (!SWIG_IsOK(res1
)) {
33251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33253 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33257 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33258 result
= (wxString
*) &_result_ref
;
33260 wxPyEndAllowThreads(__tstate
);
33261 if (PyErr_Occurred()) SWIG_fail
;
33265 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33267 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33276 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33277 PyObject
*resultobj
= 0;
33278 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33279 wxString
*arg2
= 0 ;
33282 bool temp2
= false ;
33283 PyObject
* obj0
= 0 ;
33284 PyObject
* obj1
= 0 ;
33285 char * kwnames
[] = {
33286 (char *) "self",(char *) "label", NULL
33289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33291 if (!SWIG_IsOK(res1
)) {
33292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33294 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33296 arg2
= wxString_in_helper(obj1
);
33297 if (arg2
== NULL
) SWIG_fail
;
33301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33302 (arg1
)->SetLabel((wxString
const &)*arg2
);
33303 wxPyEndAllowThreads(__tstate
);
33304 if (PyErr_Occurred()) SWIG_fail
;
33306 resultobj
= SWIG_Py_Void();
33321 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33322 PyObject
*resultobj
= 0;
33323 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33327 PyObject
*swig_obj
[1] ;
33329 if (!args
) SWIG_fail
;
33330 swig_obj
[0] = args
;
33331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33332 if (!SWIG_IsOK(res1
)) {
33333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33335 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33338 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33339 wxPyEndAllowThreads(__tstate
);
33340 if (PyErr_Occurred()) SWIG_fail
;
33343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33351 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33352 PyObject
*resultobj
= 0;
33353 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33359 PyObject
* obj0
= 0 ;
33360 PyObject
* obj1
= 0 ;
33361 char * kwnames
[] = {
33362 (char *) "self",(char *) "editCancelled", NULL
33365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33367 if (!SWIG_IsOK(res1
)) {
33368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33370 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33371 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33372 if (!SWIG_IsOK(ecode2
)) {
33373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33375 arg2
= static_cast< bool >(val2
);
33377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33378 (arg1
)->SetEditCanceled(arg2
);
33379 wxPyEndAllowThreads(__tstate
);
33380 if (PyErr_Occurred()) SWIG_fail
;
33382 resultobj
= SWIG_Py_Void();
33389 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33390 PyObject
*resultobj
= 0;
33391 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33392 wxString
*arg2
= 0 ;
33395 bool temp2
= false ;
33396 PyObject
* obj0
= 0 ;
33397 PyObject
* obj1
= 0 ;
33398 char * kwnames
[] = {
33399 (char *) "self",(char *) "toolTip", NULL
33402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33404 if (!SWIG_IsOK(res1
)) {
33405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33407 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33409 arg2
= wxString_in_helper(obj1
);
33410 if (arg2
== NULL
) SWIG_fail
;
33414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33415 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33416 wxPyEndAllowThreads(__tstate
);
33417 if (PyErr_Occurred()) SWIG_fail
;
33419 resultobj
= SWIG_Py_Void();
33434 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33435 PyObject
*resultobj
= 0;
33436 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33440 PyObject
*swig_obj
[1] ;
33442 if (!args
) SWIG_fail
;
33443 swig_obj
[0] = args
;
33444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33445 if (!SWIG_IsOK(res1
)) {
33446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33448 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33451 result
= (arg1
)->GetToolTip();
33452 wxPyEndAllowThreads(__tstate
);
33453 if (PyErr_Occurred()) SWIG_fail
;
33457 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33459 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33468 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33470 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33471 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33472 return SWIG_Py_Void();
33475 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33476 return SWIG_Python_InitShadowInstance(args
);
33479 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33480 PyObject
*resultobj
= 0;
33481 wxWindow
*arg1
= (wxWindow
*) 0 ;
33482 int arg2
= (int) -1 ;
33483 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33484 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33485 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33486 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33487 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33488 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33489 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33490 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33491 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33492 wxPyTreeCtrl
*result
= 0 ;
33503 bool temp7
= false ;
33504 PyObject
* obj0
= 0 ;
33505 PyObject
* obj1
= 0 ;
33506 PyObject
* obj2
= 0 ;
33507 PyObject
* obj3
= 0 ;
33508 PyObject
* obj4
= 0 ;
33509 PyObject
* obj5
= 0 ;
33510 PyObject
* obj6
= 0 ;
33511 char * kwnames
[] = {
33512 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33517 if (!SWIG_IsOK(res1
)) {
33518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33520 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33523 if (!SWIG_IsOK(ecode2
)) {
33524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33526 arg2
= static_cast< int >(val2
);
33531 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33537 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33541 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33542 if (!SWIG_IsOK(ecode5
)) {
33543 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33545 arg5
= static_cast< long >(val5
);
33548 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33549 if (!SWIG_IsOK(res6
)) {
33550 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33553 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33555 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33559 arg7
= wxString_in_helper(obj6
);
33560 if (arg7
== NULL
) SWIG_fail
;
33565 if (!wxPyCheckForApp()) SWIG_fail
;
33566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33567 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33568 wxPyEndAllowThreads(__tstate
);
33569 if (PyErr_Occurred()) SWIG_fail
;
33571 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33586 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33587 PyObject
*resultobj
= 0;
33588 wxPyTreeCtrl
*result
= 0 ;
33590 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33592 if (!wxPyCheckForApp()) SWIG_fail
;
33593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33594 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33595 wxPyEndAllowThreads(__tstate
);
33596 if (PyErr_Occurred()) SWIG_fail
;
33598 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33605 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33606 PyObject
*resultobj
= 0;
33607 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33608 wxWindow
*arg2
= (wxWindow
*) 0 ;
33609 int arg3
= (int) -1 ;
33610 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33611 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33612 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33613 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33614 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33615 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33616 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33617 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33618 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33632 bool temp8
= false ;
33633 PyObject
* obj0
= 0 ;
33634 PyObject
* obj1
= 0 ;
33635 PyObject
* obj2
= 0 ;
33636 PyObject
* obj3
= 0 ;
33637 PyObject
* obj4
= 0 ;
33638 PyObject
* obj5
= 0 ;
33639 PyObject
* obj6
= 0 ;
33640 PyObject
* obj7
= 0 ;
33641 char * kwnames
[] = {
33642 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33647 if (!SWIG_IsOK(res1
)) {
33648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33650 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33651 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33652 if (!SWIG_IsOK(res2
)) {
33653 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33655 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33657 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33658 if (!SWIG_IsOK(ecode3
)) {
33659 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33661 arg3
= static_cast< int >(val3
);
33666 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33672 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33676 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33677 if (!SWIG_IsOK(ecode6
)) {
33678 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33680 arg6
= static_cast< long >(val6
);
33683 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
33684 if (!SWIG_IsOK(res7
)) {
33685 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33688 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33690 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
33694 arg8
= wxString_in_helper(obj7
);
33695 if (arg8
== NULL
) SWIG_fail
;
33700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33701 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33702 wxPyEndAllowThreads(__tstate
);
33703 if (PyErr_Occurred()) SWIG_fail
;
33706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33722 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33723 PyObject
*resultobj
= 0;
33724 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33725 PyObject
*arg2
= (PyObject
*) 0 ;
33726 PyObject
*arg3
= (PyObject
*) 0 ;
33729 PyObject
* obj0
= 0 ;
33730 PyObject
* obj1
= 0 ;
33731 PyObject
* obj2
= 0 ;
33732 char * kwnames
[] = {
33733 (char *) "self",(char *) "self",(char *) "_class", NULL
33736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33738 if (!SWIG_IsOK(res1
)) {
33739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33741 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33746 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33747 wxPyEndAllowThreads(__tstate
);
33748 if (PyErr_Occurred()) SWIG_fail
;
33750 resultobj
= SWIG_Py_Void();
33757 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33758 PyObject
*resultobj
= 0;
33759 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33760 unsigned int result
;
33763 PyObject
*swig_obj
[1] ;
33765 if (!args
) SWIG_fail
;
33766 swig_obj
[0] = args
;
33767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33768 if (!SWIG_IsOK(res1
)) {
33769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33771 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33774 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
33775 wxPyEndAllowThreads(__tstate
);
33776 if (PyErr_Occurred()) SWIG_fail
;
33778 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33785 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33786 PyObject
*resultobj
= 0;
33787 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33788 unsigned int result
;
33791 PyObject
*swig_obj
[1] ;
33793 if (!args
) SWIG_fail
;
33794 swig_obj
[0] = args
;
33795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33796 if (!SWIG_IsOK(res1
)) {
33797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33799 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33802 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
33803 wxPyEndAllowThreads(__tstate
);
33804 if (PyErr_Occurred()) SWIG_fail
;
33806 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33813 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33814 PyObject
*resultobj
= 0;
33815 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33816 unsigned int arg2
;
33819 unsigned int val2
;
33821 PyObject
* obj0
= 0 ;
33822 PyObject
* obj1
= 0 ;
33823 char * kwnames
[] = {
33824 (char *) "self",(char *) "indent", NULL
33827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33829 if (!SWIG_IsOK(res1
)) {
33830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33832 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33833 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33834 if (!SWIG_IsOK(ecode2
)) {
33835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
33837 arg2
= static_cast< unsigned int >(val2
);
33839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33840 (arg1
)->SetIndent(arg2
);
33841 wxPyEndAllowThreads(__tstate
);
33842 if (PyErr_Occurred()) SWIG_fail
;
33844 resultobj
= SWIG_Py_Void();
33851 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33852 PyObject
*resultobj
= 0;
33853 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33854 unsigned int result
;
33857 PyObject
*swig_obj
[1] ;
33859 if (!args
) SWIG_fail
;
33860 swig_obj
[0] = args
;
33861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33862 if (!SWIG_IsOK(res1
)) {
33863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33865 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33868 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
33869 wxPyEndAllowThreads(__tstate
);
33870 if (PyErr_Occurred()) SWIG_fail
;
33872 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33879 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33880 PyObject
*resultobj
= 0;
33881 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33882 unsigned int arg2
;
33885 unsigned int val2
;
33887 PyObject
* obj0
= 0 ;
33888 PyObject
* obj1
= 0 ;
33889 char * kwnames
[] = {
33890 (char *) "self",(char *) "spacing", NULL
33893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33895 if (!SWIG_IsOK(res1
)) {
33896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33898 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33899 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33900 if (!SWIG_IsOK(ecode2
)) {
33901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
33903 arg2
= static_cast< unsigned int >(val2
);
33905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33906 (arg1
)->SetSpacing(arg2
);
33907 wxPyEndAllowThreads(__tstate
);
33908 if (PyErr_Occurred()) SWIG_fail
;
33910 resultobj
= SWIG_Py_Void();
33917 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33918 PyObject
*resultobj
= 0;
33919 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33920 wxImageList
*result
= 0 ;
33923 PyObject
*swig_obj
[1] ;
33925 if (!args
) SWIG_fail
;
33926 swig_obj
[0] = args
;
33927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33928 if (!SWIG_IsOK(res1
)) {
33929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33931 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33934 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
33935 wxPyEndAllowThreads(__tstate
);
33936 if (PyErr_Occurred()) SWIG_fail
;
33939 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33947 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33948 PyObject
*resultobj
= 0;
33949 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33950 wxImageList
*result
= 0 ;
33953 PyObject
*swig_obj
[1] ;
33955 if (!args
) SWIG_fail
;
33956 swig_obj
[0] = args
;
33957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33958 if (!SWIG_IsOK(res1
)) {
33959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33961 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33964 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
33965 wxPyEndAllowThreads(__tstate
);
33966 if (PyErr_Occurred()) SWIG_fail
;
33969 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33977 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33978 PyObject
*resultobj
= 0;
33979 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33980 wxImageList
*arg2
= (wxImageList
*) 0 ;
33985 PyObject
* obj0
= 0 ;
33986 PyObject
* obj1
= 0 ;
33987 char * kwnames
[] = {
33988 (char *) "self",(char *) "imageList", NULL
33991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33993 if (!SWIG_IsOK(res1
)) {
33994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33996 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33997 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33998 if (!SWIG_IsOK(res2
)) {
33999 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34001 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34004 (arg1
)->SetImageList(arg2
);
34005 wxPyEndAllowThreads(__tstate
);
34006 if (PyErr_Occurred()) SWIG_fail
;
34008 resultobj
= SWIG_Py_Void();
34015 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34016 PyObject
*resultobj
= 0;
34017 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34018 wxImageList
*arg2
= (wxImageList
*) 0 ;
34023 PyObject
* obj0
= 0 ;
34024 PyObject
* obj1
= 0 ;
34025 char * kwnames
[] = {
34026 (char *) "self",(char *) "imageList", NULL
34029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34031 if (!SWIG_IsOK(res1
)) {
34032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34034 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34035 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34036 if (!SWIG_IsOK(res2
)) {
34037 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34039 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34042 (arg1
)->SetStateImageList(arg2
);
34043 wxPyEndAllowThreads(__tstate
);
34044 if (PyErr_Occurred()) SWIG_fail
;
34046 resultobj
= SWIG_Py_Void();
34053 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34054 PyObject
*resultobj
= 0;
34055 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34056 wxImageList
*arg2
= (wxImageList
*) 0 ;
34060 PyObject
* obj0
= 0 ;
34061 PyObject
* obj1
= 0 ;
34062 char * kwnames
[] = {
34063 (char *) "self",(char *) "imageList", NULL
34066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34068 if (!SWIG_IsOK(res1
)) {
34069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34071 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34072 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34073 if (!SWIG_IsOK(res2
)) {
34074 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34078 (arg1
)->AssignImageList(arg2
);
34079 wxPyEndAllowThreads(__tstate
);
34080 if (PyErr_Occurred()) SWIG_fail
;
34082 resultobj
= SWIG_Py_Void();
34089 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34090 PyObject
*resultobj
= 0;
34091 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34092 wxImageList
*arg2
= (wxImageList
*) 0 ;
34096 PyObject
* obj0
= 0 ;
34097 PyObject
* obj1
= 0 ;
34098 char * kwnames
[] = {
34099 (char *) "self",(char *) "imageList", NULL
34102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34104 if (!SWIG_IsOK(res1
)) {
34105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34107 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34108 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34109 if (!SWIG_IsOK(res2
)) {
34110 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34114 (arg1
)->AssignStateImageList(arg2
);
34115 wxPyEndAllowThreads(__tstate
);
34116 if (PyErr_Occurred()) SWIG_fail
;
34118 resultobj
= SWIG_Py_Void();
34125 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34126 PyObject
*resultobj
= 0;
34127 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34128 wxTreeItemId
*arg2
= 0 ;
34134 PyObject
* obj0
= 0 ;
34135 PyObject
* obj1
= 0 ;
34136 char * kwnames
[] = {
34137 (char *) "self",(char *) "item", NULL
34140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34142 if (!SWIG_IsOK(res1
)) {
34143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34145 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34146 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34147 if (!SWIG_IsOK(res2
)) {
34148 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34151 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34153 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34156 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34157 wxPyEndAllowThreads(__tstate
);
34158 if (PyErr_Occurred()) SWIG_fail
;
34162 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34164 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34173 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34174 PyObject
*resultobj
= 0;
34175 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34176 wxTreeItemId
*arg2
= 0 ;
34177 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34185 PyObject
* obj0
= 0 ;
34186 PyObject
* obj1
= 0 ;
34187 PyObject
* obj2
= 0 ;
34188 char * kwnames
[] = {
34189 (char *) "self",(char *) "item",(char *) "which", NULL
34192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34194 if (!SWIG_IsOK(res1
)) {
34195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34197 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34198 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34199 if (!SWIG_IsOK(res2
)) {
34200 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34203 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34205 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34207 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34208 if (!SWIG_IsOK(ecode3
)) {
34209 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34211 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34215 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34216 wxPyEndAllowThreads(__tstate
);
34217 if (PyErr_Occurred()) SWIG_fail
;
34219 resultobj
= SWIG_From_int(static_cast< int >(result
));
34226 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34227 PyObject
*resultobj
= 0;
34228 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34229 wxTreeItemId
*arg2
= 0 ;
34230 wxPyTreeItemData
*result
= 0 ;
34235 PyObject
* obj0
= 0 ;
34236 PyObject
* obj1
= 0 ;
34237 char * kwnames
[] = {
34238 (char *) "self",(char *) "item", NULL
34241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34243 if (!SWIG_IsOK(res1
)) {
34244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34246 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34247 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34248 if (!SWIG_IsOK(res2
)) {
34249 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34252 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34254 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34257 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34258 wxPyEndAllowThreads(__tstate
);
34259 if (PyErr_Occurred()) SWIG_fail
;
34261 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34268 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34269 PyObject
*resultobj
= 0;
34270 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34271 wxTreeItemId
*arg2
= 0 ;
34272 PyObject
*result
= 0 ;
34277 PyObject
* obj0
= 0 ;
34278 PyObject
* obj1
= 0 ;
34279 char * kwnames
[] = {
34280 (char *) "self",(char *) "item", NULL
34283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34285 if (!SWIG_IsOK(res1
)) {
34286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34288 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34289 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34290 if (!SWIG_IsOK(res2
)) {
34291 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34294 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34296 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34299 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34300 wxPyEndAllowThreads(__tstate
);
34301 if (PyErr_Occurred()) SWIG_fail
;
34303 resultobj
= result
;
34310 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34311 PyObject
*resultobj
= 0;
34312 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34313 wxTreeItemId
*arg2
= 0 ;
34319 PyObject
* obj0
= 0 ;
34320 PyObject
* obj1
= 0 ;
34321 char * kwnames
[] = {
34322 (char *) "self",(char *) "item", NULL
34325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34327 if (!SWIG_IsOK(res1
)) {
34328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34330 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34331 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34332 if (!SWIG_IsOK(res2
)) {
34333 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34336 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34338 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34341 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34342 wxPyEndAllowThreads(__tstate
);
34343 if (PyErr_Occurred()) SWIG_fail
;
34345 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34352 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34353 PyObject
*resultobj
= 0;
34354 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34355 wxTreeItemId
*arg2
= 0 ;
34361 PyObject
* obj0
= 0 ;
34362 PyObject
* obj1
= 0 ;
34363 char * kwnames
[] = {
34364 (char *) "self",(char *) "item", NULL
34367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34369 if (!SWIG_IsOK(res1
)) {
34370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34372 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34373 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34374 if (!SWIG_IsOK(res2
)) {
34375 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34378 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34380 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34383 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34384 wxPyEndAllowThreads(__tstate
);
34385 if (PyErr_Occurred()) SWIG_fail
;
34387 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34394 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34395 PyObject
*resultobj
= 0;
34396 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34397 wxTreeItemId
*arg2
= 0 ;
34403 PyObject
* obj0
= 0 ;
34404 PyObject
* obj1
= 0 ;
34405 char * kwnames
[] = {
34406 (char *) "self",(char *) "item", NULL
34409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34411 if (!SWIG_IsOK(res1
)) {
34412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34414 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34415 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34416 if (!SWIG_IsOK(res2
)) {
34417 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34420 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34422 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34425 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34426 wxPyEndAllowThreads(__tstate
);
34427 if (PyErr_Occurred()) SWIG_fail
;
34429 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34436 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34437 PyObject
*resultobj
= 0;
34438 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34439 wxTreeItemId
*arg2
= 0 ;
34440 wxString
*arg3
= 0 ;
34445 bool temp3
= false ;
34446 PyObject
* obj0
= 0 ;
34447 PyObject
* obj1
= 0 ;
34448 PyObject
* obj2
= 0 ;
34449 char * kwnames
[] = {
34450 (char *) "self",(char *) "item",(char *) "text", NULL
34453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34455 if (!SWIG_IsOK(res1
)) {
34456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34458 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34459 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34460 if (!SWIG_IsOK(res2
)) {
34461 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34464 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34466 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34468 arg3
= wxString_in_helper(obj2
);
34469 if (arg3
== NULL
) SWIG_fail
;
34473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34474 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34475 wxPyEndAllowThreads(__tstate
);
34476 if (PyErr_Occurred()) SWIG_fail
;
34478 resultobj
= SWIG_Py_Void();
34493 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34494 PyObject
*resultobj
= 0;
34495 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34496 wxTreeItemId
*arg2
= 0 ;
34498 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34507 PyObject
* obj0
= 0 ;
34508 PyObject
* obj1
= 0 ;
34509 PyObject
* obj2
= 0 ;
34510 PyObject
* obj3
= 0 ;
34511 char * kwnames
[] = {
34512 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34517 if (!SWIG_IsOK(res1
)) {
34518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34520 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34521 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34522 if (!SWIG_IsOK(res2
)) {
34523 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34526 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34528 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34529 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34530 if (!SWIG_IsOK(ecode3
)) {
34531 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34533 arg3
= static_cast< int >(val3
);
34535 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34536 if (!SWIG_IsOK(ecode4
)) {
34537 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34539 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34543 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34544 wxPyEndAllowThreads(__tstate
);
34545 if (PyErr_Occurred()) SWIG_fail
;
34547 resultobj
= SWIG_Py_Void();
34554 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34555 PyObject
*resultobj
= 0;
34556 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34557 wxTreeItemId
*arg2
= 0 ;
34558 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34564 PyObject
* obj0
= 0 ;
34565 PyObject
* obj1
= 0 ;
34566 PyObject
* obj2
= 0 ;
34567 char * kwnames
[] = {
34568 (char *) "self",(char *) "item",(char *) "data", NULL
34571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34573 if (!SWIG_IsOK(res1
)) {
34574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34576 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34577 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34578 if (!SWIG_IsOK(res2
)) {
34579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34584 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34585 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34586 if (!SWIG_IsOK(res3
)) {
34587 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34591 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34592 wxPyEndAllowThreads(__tstate
);
34593 if (PyErr_Occurred()) SWIG_fail
;
34595 resultobj
= SWIG_Py_Void();
34602 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34603 PyObject
*resultobj
= 0;
34604 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34605 wxTreeItemId
*arg2
= 0 ;
34606 PyObject
*arg3
= (PyObject
*) 0 ;
34611 PyObject
* obj0
= 0 ;
34612 PyObject
* obj1
= 0 ;
34613 PyObject
* obj2
= 0 ;
34614 char * kwnames
[] = {
34615 (char *) "self",(char *) "item",(char *) "obj", NULL
34618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34620 if (!SWIG_IsOK(res1
)) {
34621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34623 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34624 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34625 if (!SWIG_IsOK(res2
)) {
34626 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34629 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34631 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34635 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34636 wxPyEndAllowThreads(__tstate
);
34637 if (PyErr_Occurred()) SWIG_fail
;
34639 resultobj
= SWIG_Py_Void();
34646 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34647 PyObject
*resultobj
= 0;
34648 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34649 wxTreeItemId
*arg2
= 0 ;
34650 bool arg3
= (bool) true ;
34657 PyObject
* obj0
= 0 ;
34658 PyObject
* obj1
= 0 ;
34659 PyObject
* obj2
= 0 ;
34660 char * kwnames
[] = {
34661 (char *) "self",(char *) "item",(char *) "has", NULL
34664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34666 if (!SWIG_IsOK(res1
)) {
34667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34669 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34670 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34671 if (!SWIG_IsOK(res2
)) {
34672 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34675 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34677 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34679 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34680 if (!SWIG_IsOK(ecode3
)) {
34681 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34683 arg3
= static_cast< bool >(val3
);
34686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34687 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
34688 wxPyEndAllowThreads(__tstate
);
34689 if (PyErr_Occurred()) SWIG_fail
;
34691 resultobj
= SWIG_Py_Void();
34698 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34699 PyObject
*resultobj
= 0;
34700 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34701 wxTreeItemId
*arg2
= 0 ;
34702 bool arg3
= (bool) true ;
34709 PyObject
* obj0
= 0 ;
34710 PyObject
* obj1
= 0 ;
34711 PyObject
* obj2
= 0 ;
34712 char * kwnames
[] = {
34713 (char *) "self",(char *) "item",(char *) "bold", NULL
34716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34718 if (!SWIG_IsOK(res1
)) {
34719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34721 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34722 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34723 if (!SWIG_IsOK(res2
)) {
34724 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34727 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34729 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34731 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34732 if (!SWIG_IsOK(ecode3
)) {
34733 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
34735 arg3
= static_cast< bool >(val3
);
34738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34739 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
34740 wxPyEndAllowThreads(__tstate
);
34741 if (PyErr_Occurred()) SWIG_fail
;
34743 resultobj
= SWIG_Py_Void();
34750 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34751 PyObject
*resultobj
= 0;
34752 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34753 wxTreeItemId
*arg2
= 0 ;
34754 bool arg3
= (bool) true ;
34761 PyObject
* obj0
= 0 ;
34762 PyObject
* obj1
= 0 ;
34763 PyObject
* obj2
= 0 ;
34764 char * kwnames
[] = {
34765 (char *) "self",(char *) "item",(char *) "highlight", NULL
34768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34770 if (!SWIG_IsOK(res1
)) {
34771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34773 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34774 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34775 if (!SWIG_IsOK(res2
)) {
34776 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34779 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34781 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34783 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34784 if (!SWIG_IsOK(ecode3
)) {
34785 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
34787 arg3
= static_cast< bool >(val3
);
34790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34791 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
34792 wxPyEndAllowThreads(__tstate
);
34793 if (PyErr_Occurred()) SWIG_fail
;
34795 resultobj
= SWIG_Py_Void();
34802 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34803 PyObject
*resultobj
= 0;
34804 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34805 wxTreeItemId
*arg2
= 0 ;
34806 wxColour
*arg3
= 0 ;
34812 PyObject
* obj0
= 0 ;
34813 PyObject
* obj1
= 0 ;
34814 PyObject
* obj2
= 0 ;
34815 char * kwnames
[] = {
34816 (char *) "self",(char *) "item",(char *) "col", NULL
34819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34821 if (!SWIG_IsOK(res1
)) {
34822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34824 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34825 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34826 if (!SWIG_IsOK(res2
)) {
34827 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34830 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34832 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34835 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34839 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34840 wxPyEndAllowThreads(__tstate
);
34841 if (PyErr_Occurred()) SWIG_fail
;
34843 resultobj
= SWIG_Py_Void();
34850 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34851 PyObject
*resultobj
= 0;
34852 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34853 wxTreeItemId
*arg2
= 0 ;
34854 wxColour
*arg3
= 0 ;
34860 PyObject
* obj0
= 0 ;
34861 PyObject
* obj1
= 0 ;
34862 PyObject
* obj2
= 0 ;
34863 char * kwnames
[] = {
34864 (char *) "self",(char *) "item",(char *) "col", NULL
34867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34869 if (!SWIG_IsOK(res1
)) {
34870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34872 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34873 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34874 if (!SWIG_IsOK(res2
)) {
34875 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34878 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34880 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34883 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34887 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34888 wxPyEndAllowThreads(__tstate
);
34889 if (PyErr_Occurred()) SWIG_fail
;
34891 resultobj
= SWIG_Py_Void();
34898 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34899 PyObject
*resultobj
= 0;
34900 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34901 wxTreeItemId
*arg2
= 0 ;
34909 PyObject
* obj0
= 0 ;
34910 PyObject
* obj1
= 0 ;
34911 PyObject
* obj2
= 0 ;
34912 char * kwnames
[] = {
34913 (char *) "self",(char *) "item",(char *) "font", NULL
34916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34918 if (!SWIG_IsOK(res1
)) {
34919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34921 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34922 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34923 if (!SWIG_IsOK(res2
)) {
34924 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34927 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34929 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34930 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
34931 if (!SWIG_IsOK(res3
)) {
34932 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34935 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34937 arg3
= reinterpret_cast< wxFont
* >(argp3
);
34939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34940 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
34941 wxPyEndAllowThreads(__tstate
);
34942 if (PyErr_Occurred()) SWIG_fail
;
34944 resultobj
= SWIG_Py_Void();
34951 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34952 PyObject
*resultobj
= 0;
34953 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34954 wxTreeItemId
*arg2
= 0 ;
34960 PyObject
* obj0
= 0 ;
34961 PyObject
* obj1
= 0 ;
34962 char * kwnames
[] = {
34963 (char *) "self",(char *) "item", NULL
34966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34968 if (!SWIG_IsOK(res1
)) {
34969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34971 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34972 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34973 if (!SWIG_IsOK(res2
)) {
34974 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34977 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34979 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34982 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
34983 wxPyEndAllowThreads(__tstate
);
34984 if (PyErr_Occurred()) SWIG_fail
;
34987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34995 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34996 PyObject
*resultobj
= 0;
34997 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34998 wxTreeItemId
*arg2
= 0 ;
35004 PyObject
* obj0
= 0 ;
35005 PyObject
* obj1
= 0 ;
35006 char * kwnames
[] = {
35007 (char *) "self",(char *) "item", NULL
35010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35012 if (!SWIG_IsOK(res1
)) {
35013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35015 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35016 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35017 if (!SWIG_IsOK(res2
)) {
35018 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35021 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35023 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35026 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35027 wxPyEndAllowThreads(__tstate
);
35028 if (PyErr_Occurred()) SWIG_fail
;
35031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35039 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35040 PyObject
*resultobj
= 0;
35041 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35042 wxTreeItemId
*arg2
= 0 ;
35048 PyObject
* obj0
= 0 ;
35049 PyObject
* obj1
= 0 ;
35050 char * kwnames
[] = {
35051 (char *) "self",(char *) "item", NULL
35054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35056 if (!SWIG_IsOK(res1
)) {
35057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35059 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35060 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35061 if (!SWIG_IsOK(res2
)) {
35062 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35065 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35067 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35070 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35071 wxPyEndAllowThreads(__tstate
);
35072 if (PyErr_Occurred()) SWIG_fail
;
35075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35083 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35084 PyObject
*resultobj
= 0;
35085 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35086 wxTreeItemId
*arg2
= 0 ;
35092 PyObject
* obj0
= 0 ;
35093 PyObject
* obj1
= 0 ;
35094 char * kwnames
[] = {
35095 (char *) "self",(char *) "item", NULL
35098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35100 if (!SWIG_IsOK(res1
)) {
35101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35103 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35104 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35105 if (!SWIG_IsOK(res2
)) {
35106 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35109 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35111 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35114 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35115 wxPyEndAllowThreads(__tstate
);
35116 if (PyErr_Occurred()) SWIG_fail
;
35119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35127 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35128 PyObject
*resultobj
= 0;
35129 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35130 wxTreeItemId
*arg2
= 0 ;
35136 PyObject
* obj0
= 0 ;
35137 PyObject
* obj1
= 0 ;
35138 char * kwnames
[] = {
35139 (char *) "self",(char *) "item", NULL
35142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35144 if (!SWIG_IsOK(res1
)) {
35145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35147 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35148 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35149 if (!SWIG_IsOK(res2
)) {
35150 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35153 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35155 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35158 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35159 wxPyEndAllowThreads(__tstate
);
35160 if (PyErr_Occurred()) SWIG_fail
;
35163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35171 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35172 PyObject
*resultobj
= 0;
35173 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35174 wxTreeItemId
*arg2
= 0 ;
35175 bool arg3
= (bool) true ;
35183 PyObject
* obj0
= 0 ;
35184 PyObject
* obj1
= 0 ;
35185 PyObject
* obj2
= 0 ;
35186 char * kwnames
[] = {
35187 (char *) "self",(char *) "item",(char *) "recursively", NULL
35190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35192 if (!SWIG_IsOK(res1
)) {
35193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35195 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35196 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35197 if (!SWIG_IsOK(res2
)) {
35198 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35201 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35203 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35205 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35206 if (!SWIG_IsOK(ecode3
)) {
35207 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35209 arg3
= static_cast< bool >(val3
);
35212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35213 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35214 wxPyEndAllowThreads(__tstate
);
35215 if (PyErr_Occurred()) SWIG_fail
;
35217 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35224 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35225 PyObject
*resultobj
= 0;
35226 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35227 wxTreeItemId result
;
35230 PyObject
*swig_obj
[1] ;
35232 if (!args
) SWIG_fail
;
35233 swig_obj
[0] = args
;
35234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35235 if (!SWIG_IsOK(res1
)) {
35236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35238 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35241 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35242 wxPyEndAllowThreads(__tstate
);
35243 if (PyErr_Occurred()) SWIG_fail
;
35245 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35252 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35253 PyObject
*resultobj
= 0;
35254 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35255 wxTreeItemId result
;
35258 PyObject
*swig_obj
[1] ;
35260 if (!args
) SWIG_fail
;
35261 swig_obj
[0] = args
;
35262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35263 if (!SWIG_IsOK(res1
)) {
35264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35266 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35269 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35270 wxPyEndAllowThreads(__tstate
);
35271 if (PyErr_Occurred()) SWIG_fail
;
35273 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35280 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35281 PyObject
*resultobj
= 0;
35282 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35283 PyObject
*result
= 0 ;
35286 PyObject
*swig_obj
[1] ;
35288 if (!args
) SWIG_fail
;
35289 swig_obj
[0] = args
;
35290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35291 if (!SWIG_IsOK(res1
)) {
35292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35294 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35297 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35298 wxPyEndAllowThreads(__tstate
);
35299 if (PyErr_Occurred()) SWIG_fail
;
35301 resultobj
= result
;
35308 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35309 PyObject
*resultobj
= 0;
35310 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35311 wxTreeItemId
*arg2
= 0 ;
35312 wxTreeItemId result
;
35317 PyObject
* obj0
= 0 ;
35318 PyObject
* obj1
= 0 ;
35319 char * kwnames
[] = {
35320 (char *) "self",(char *) "item", NULL
35323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35325 if (!SWIG_IsOK(res1
)) {
35326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35328 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35329 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35330 if (!SWIG_IsOK(res2
)) {
35331 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35334 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35336 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35339 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35340 wxPyEndAllowThreads(__tstate
);
35341 if (PyErr_Occurred()) SWIG_fail
;
35343 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35350 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35351 PyObject
*resultobj
= 0;
35352 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35353 wxTreeItemId
*arg2
= 0 ;
35354 PyObject
*result
= 0 ;
35359 PyObject
* obj0
= 0 ;
35360 PyObject
* obj1
= 0 ;
35361 char * kwnames
[] = {
35362 (char *) "self",(char *) "item", NULL
35365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35367 if (!SWIG_IsOK(res1
)) {
35368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35370 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35371 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35372 if (!SWIG_IsOK(res2
)) {
35373 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35376 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35378 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35381 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35382 wxPyEndAllowThreads(__tstate
);
35383 if (PyErr_Occurred()) SWIG_fail
;
35385 resultobj
= result
;
35392 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35393 PyObject
*resultobj
= 0;
35394 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35395 wxTreeItemId
*arg2
= 0 ;
35396 void *arg3
= (void *) 0 ;
35397 PyObject
*result
= 0 ;
35403 PyObject
* obj0
= 0 ;
35404 PyObject
* obj1
= 0 ;
35405 PyObject
* obj2
= 0 ;
35406 char * kwnames
[] = {
35407 (char *) "self",(char *) "item",(char *) "cookie", NULL
35410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35412 if (!SWIG_IsOK(res1
)) {
35413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35415 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35416 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35417 if (!SWIG_IsOK(res2
)) {
35418 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35421 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35423 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35424 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35425 if (!SWIG_IsOK(res3
)) {
35426 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35430 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35431 wxPyEndAllowThreads(__tstate
);
35432 if (PyErr_Occurred()) SWIG_fail
;
35434 resultobj
= result
;
35441 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35442 PyObject
*resultobj
= 0;
35443 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35444 wxTreeItemId
*arg2
= 0 ;
35445 wxTreeItemId result
;
35450 PyObject
* obj0
= 0 ;
35451 PyObject
* obj1
= 0 ;
35452 char * kwnames
[] = {
35453 (char *) "self",(char *) "item", NULL
35456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35458 if (!SWIG_IsOK(res1
)) {
35459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35461 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35462 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35463 if (!SWIG_IsOK(res2
)) {
35464 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35467 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35469 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35472 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35473 wxPyEndAllowThreads(__tstate
);
35474 if (PyErr_Occurred()) SWIG_fail
;
35476 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35483 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35484 PyObject
*resultobj
= 0;
35485 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35486 wxTreeItemId
*arg2
= 0 ;
35487 wxTreeItemId result
;
35492 PyObject
* obj0
= 0 ;
35493 PyObject
* obj1
= 0 ;
35494 char * kwnames
[] = {
35495 (char *) "self",(char *) "item", NULL
35498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35500 if (!SWIG_IsOK(res1
)) {
35501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35503 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35504 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35505 if (!SWIG_IsOK(res2
)) {
35506 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35509 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35511 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35514 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35515 wxPyEndAllowThreads(__tstate
);
35516 if (PyErr_Occurred()) SWIG_fail
;
35518 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35525 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35526 PyObject
*resultobj
= 0;
35527 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35528 wxTreeItemId
*arg2
= 0 ;
35529 wxTreeItemId result
;
35534 PyObject
* obj0
= 0 ;
35535 PyObject
* obj1
= 0 ;
35536 char * kwnames
[] = {
35537 (char *) "self",(char *) "item", NULL
35540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35542 if (!SWIG_IsOK(res1
)) {
35543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35545 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35546 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35547 if (!SWIG_IsOK(res2
)) {
35548 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35551 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35553 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35556 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35557 wxPyEndAllowThreads(__tstate
);
35558 if (PyErr_Occurred()) SWIG_fail
;
35560 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35567 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35568 PyObject
*resultobj
= 0;
35569 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35570 wxTreeItemId result
;
35573 PyObject
*swig_obj
[1] ;
35575 if (!args
) SWIG_fail
;
35576 swig_obj
[0] = args
;
35577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35578 if (!SWIG_IsOK(res1
)) {
35579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35581 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35584 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35585 wxPyEndAllowThreads(__tstate
);
35586 if (PyErr_Occurred()) SWIG_fail
;
35588 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35595 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35596 PyObject
*resultobj
= 0;
35597 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35598 wxTreeItemId
*arg2
= 0 ;
35599 wxTreeItemId result
;
35604 PyObject
* obj0
= 0 ;
35605 PyObject
* obj1
= 0 ;
35606 char * kwnames
[] = {
35607 (char *) "self",(char *) "item", NULL
35610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35612 if (!SWIG_IsOK(res1
)) {
35613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35615 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35616 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35617 if (!SWIG_IsOK(res2
)) {
35618 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35621 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35623 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35626 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35627 wxPyEndAllowThreads(__tstate
);
35628 if (PyErr_Occurred()) SWIG_fail
;
35630 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35637 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35638 PyObject
*resultobj
= 0;
35639 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35640 wxTreeItemId
*arg2
= 0 ;
35641 wxTreeItemId result
;
35646 PyObject
* obj0
= 0 ;
35647 PyObject
* obj1
= 0 ;
35648 char * kwnames
[] = {
35649 (char *) "self",(char *) "item", NULL
35652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35654 if (!SWIG_IsOK(res1
)) {
35655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35657 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35658 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35659 if (!SWIG_IsOK(res2
)) {
35660 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35663 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35665 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35668 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
35669 wxPyEndAllowThreads(__tstate
);
35670 if (PyErr_Occurred()) SWIG_fail
;
35672 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35679 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35680 PyObject
*resultobj
= 0;
35681 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35682 wxString
*arg2
= 0 ;
35683 int arg3
= (int) -1 ;
35684 int arg4
= (int) -1 ;
35685 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
35686 wxTreeItemId result
;
35689 bool temp2
= false ;
35695 PyObject
* obj0
= 0 ;
35696 PyObject
* obj1
= 0 ;
35697 PyObject
* obj2
= 0 ;
35698 PyObject
* obj3
= 0 ;
35699 PyObject
* obj4
= 0 ;
35700 char * kwnames
[] = {
35701 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35706 if (!SWIG_IsOK(res1
)) {
35707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35709 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35711 arg2
= wxString_in_helper(obj1
);
35712 if (arg2
== NULL
) SWIG_fail
;
35716 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35717 if (!SWIG_IsOK(ecode3
)) {
35718 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35720 arg3
= static_cast< int >(val3
);
35723 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35724 if (!SWIG_IsOK(ecode4
)) {
35725 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
35727 arg4
= static_cast< int >(val4
);
35730 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35731 if (!SWIG_IsOK(res5
)) {
35732 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
35736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35737 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
35738 wxPyEndAllowThreads(__tstate
);
35739 if (PyErr_Occurred()) SWIG_fail
;
35741 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35756 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35757 PyObject
*resultobj
= 0;
35758 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35759 wxTreeItemId
*arg2
= 0 ;
35760 wxString
*arg3
= 0 ;
35761 int arg4
= (int) -1 ;
35762 int arg5
= (int) -1 ;
35763 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35764 wxTreeItemId result
;
35769 bool temp3
= false ;
35775 PyObject
* obj0
= 0 ;
35776 PyObject
* obj1
= 0 ;
35777 PyObject
* obj2
= 0 ;
35778 PyObject
* obj3
= 0 ;
35779 PyObject
* obj4
= 0 ;
35780 PyObject
* obj5
= 0 ;
35781 char * kwnames
[] = {
35782 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35787 if (!SWIG_IsOK(res1
)) {
35788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35790 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35791 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35792 if (!SWIG_IsOK(res2
)) {
35793 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35796 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35798 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35800 arg3
= wxString_in_helper(obj2
);
35801 if (arg3
== NULL
) SWIG_fail
;
35805 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35806 if (!SWIG_IsOK(ecode4
)) {
35807 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
35809 arg4
= static_cast< int >(val4
);
35812 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35813 if (!SWIG_IsOK(ecode5
)) {
35814 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
35816 arg5
= static_cast< int >(val5
);
35819 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35820 if (!SWIG_IsOK(res6
)) {
35821 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35826 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35827 wxPyEndAllowThreads(__tstate
);
35828 if (PyErr_Occurred()) SWIG_fail
;
35830 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35845 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35846 PyObject
*resultobj
= 0;
35847 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35848 wxTreeItemId
*arg2
= 0 ;
35849 wxTreeItemId
*arg3
= 0 ;
35850 wxString
*arg4
= 0 ;
35851 int arg5
= (int) -1 ;
35852 int arg6
= (int) -1 ;
35853 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35854 wxTreeItemId result
;
35861 bool temp4
= false ;
35867 PyObject
* obj0
= 0 ;
35868 PyObject
* obj1
= 0 ;
35869 PyObject
* obj2
= 0 ;
35870 PyObject
* obj3
= 0 ;
35871 PyObject
* obj4
= 0 ;
35872 PyObject
* obj5
= 0 ;
35873 PyObject
* obj6
= 0 ;
35874 char * kwnames
[] = {
35875 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35880 if (!SWIG_IsOK(res1
)) {
35881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35883 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35884 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35885 if (!SWIG_IsOK(res2
)) {
35886 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35889 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35891 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35892 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35893 if (!SWIG_IsOK(res3
)) {
35894 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35897 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35899 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
35901 arg4
= wxString_in_helper(obj3
);
35902 if (arg4
== NULL
) SWIG_fail
;
35906 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35907 if (!SWIG_IsOK(ecode5
)) {
35908 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
35910 arg5
= static_cast< int >(val5
);
35913 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35914 if (!SWIG_IsOK(ecode6
)) {
35915 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
35917 arg6
= static_cast< int >(val6
);
35920 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35921 if (!SWIG_IsOK(res7
)) {
35922 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35927 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35928 wxPyEndAllowThreads(__tstate
);
35929 if (PyErr_Occurred()) SWIG_fail
;
35931 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35946 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35947 PyObject
*resultobj
= 0;
35948 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35949 wxTreeItemId
*arg2
= 0 ;
35951 wxString
*arg4
= 0 ;
35952 int arg5
= (int) -1 ;
35953 int arg6
= (int) -1 ;
35954 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35955 wxTreeItemId result
;
35962 bool temp4
= false ;
35968 PyObject
* obj0
= 0 ;
35969 PyObject
* obj1
= 0 ;
35970 PyObject
* obj2
= 0 ;
35971 PyObject
* obj3
= 0 ;
35972 PyObject
* obj4
= 0 ;
35973 PyObject
* obj5
= 0 ;
35974 PyObject
* obj6
= 0 ;
35975 char * kwnames
[] = {
35976 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35981 if (!SWIG_IsOK(res1
)) {
35982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35984 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35985 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35986 if (!SWIG_IsOK(res2
)) {
35987 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35990 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35992 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35993 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
35994 if (!SWIG_IsOK(ecode3
)) {
35995 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
35997 arg3
= static_cast< size_t >(val3
);
35999 arg4
= wxString_in_helper(obj3
);
36000 if (arg4
== NULL
) SWIG_fail
;
36004 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36005 if (!SWIG_IsOK(ecode5
)) {
36006 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36008 arg5
= static_cast< int >(val5
);
36011 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36012 if (!SWIG_IsOK(ecode6
)) {
36013 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36015 arg6
= static_cast< int >(val6
);
36018 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36019 if (!SWIG_IsOK(res7
)) {
36020 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36025 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36026 wxPyEndAllowThreads(__tstate
);
36027 if (PyErr_Occurred()) SWIG_fail
;
36029 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36044 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36045 PyObject
*resultobj
= 0;
36046 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36047 wxTreeItemId
*arg2
= 0 ;
36048 wxString
*arg3
= 0 ;
36049 int arg4
= (int) -1 ;
36050 int arg5
= (int) -1 ;
36051 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36052 wxTreeItemId result
;
36057 bool temp3
= false ;
36063 PyObject
* obj0
= 0 ;
36064 PyObject
* obj1
= 0 ;
36065 PyObject
* obj2
= 0 ;
36066 PyObject
* obj3
= 0 ;
36067 PyObject
* obj4
= 0 ;
36068 PyObject
* obj5
= 0 ;
36069 char * kwnames
[] = {
36070 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36075 if (!SWIG_IsOK(res1
)) {
36076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36078 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36079 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36080 if (!SWIG_IsOK(res2
)) {
36081 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36084 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36086 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36088 arg3
= wxString_in_helper(obj2
);
36089 if (arg3
== NULL
) SWIG_fail
;
36093 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36094 if (!SWIG_IsOK(ecode4
)) {
36095 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36097 arg4
= static_cast< int >(val4
);
36100 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36101 if (!SWIG_IsOK(ecode5
)) {
36102 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36104 arg5
= static_cast< int >(val5
);
36107 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36108 if (!SWIG_IsOK(res6
)) {
36109 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36114 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36115 wxPyEndAllowThreads(__tstate
);
36116 if (PyErr_Occurred()) SWIG_fail
;
36118 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36133 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36134 PyObject
*resultobj
= 0;
36135 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36136 wxTreeItemId
*arg2
= 0 ;
36141 PyObject
* obj0
= 0 ;
36142 PyObject
* obj1
= 0 ;
36143 char * kwnames
[] = {
36144 (char *) "self",(char *) "item", NULL
36147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36149 if (!SWIG_IsOK(res1
)) {
36150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36152 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36153 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36154 if (!SWIG_IsOK(res2
)) {
36155 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36158 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36160 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36163 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36164 wxPyEndAllowThreads(__tstate
);
36165 if (PyErr_Occurred()) SWIG_fail
;
36167 resultobj
= SWIG_Py_Void();
36174 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36175 PyObject
*resultobj
= 0;
36176 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36177 wxTreeItemId
*arg2
= 0 ;
36182 PyObject
* obj0
= 0 ;
36183 PyObject
* obj1
= 0 ;
36184 char * kwnames
[] = {
36185 (char *) "self",(char *) "item", NULL
36188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36190 if (!SWIG_IsOK(res1
)) {
36191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36193 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36194 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36195 if (!SWIG_IsOK(res2
)) {
36196 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36199 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36201 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36204 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36205 wxPyEndAllowThreads(__tstate
);
36206 if (PyErr_Occurred()) SWIG_fail
;
36208 resultobj
= SWIG_Py_Void();
36215 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36216 PyObject
*resultobj
= 0;
36217 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36220 PyObject
*swig_obj
[1] ;
36222 if (!args
) SWIG_fail
;
36223 swig_obj
[0] = args
;
36224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36225 if (!SWIG_IsOK(res1
)) {
36226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36228 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36231 (arg1
)->DeleteAllItems();
36232 wxPyEndAllowThreads(__tstate
);
36233 if (PyErr_Occurred()) SWIG_fail
;
36235 resultobj
= SWIG_Py_Void();
36242 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36243 PyObject
*resultobj
= 0;
36244 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36245 wxTreeItemId
*arg2
= 0 ;
36250 PyObject
* obj0
= 0 ;
36251 PyObject
* obj1
= 0 ;
36252 char * kwnames
[] = {
36253 (char *) "self",(char *) "item", NULL
36256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36258 if (!SWIG_IsOK(res1
)) {
36259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36261 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36262 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36263 if (!SWIG_IsOK(res2
)) {
36264 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36267 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36269 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36272 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36273 wxPyEndAllowThreads(__tstate
);
36274 if (PyErr_Occurred()) SWIG_fail
;
36276 resultobj
= SWIG_Py_Void();
36283 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36284 PyObject
*resultobj
= 0;
36285 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36286 wxTreeItemId
*arg2
= 0 ;
36291 PyObject
* obj0
= 0 ;
36292 PyObject
* obj1
= 0 ;
36293 char * kwnames
[] = {
36294 (char *) "self",(char *) "item", NULL
36297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36299 if (!SWIG_IsOK(res1
)) {
36300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36302 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36303 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36304 if (!SWIG_IsOK(res2
)) {
36305 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36308 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36310 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36313 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36314 wxPyEndAllowThreads(__tstate
);
36315 if (PyErr_Occurred()) SWIG_fail
;
36317 resultobj
= SWIG_Py_Void();
36324 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36325 PyObject
*resultobj
= 0;
36326 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36327 wxTreeItemId
*arg2
= 0 ;
36332 PyObject
* obj0
= 0 ;
36333 PyObject
* obj1
= 0 ;
36334 char * kwnames
[] = {
36335 (char *) "self",(char *) "item", NULL
36338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36340 if (!SWIG_IsOK(res1
)) {
36341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36343 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36344 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36345 if (!SWIG_IsOK(res2
)) {
36346 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36349 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36351 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36354 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36355 wxPyEndAllowThreads(__tstate
);
36356 if (PyErr_Occurred()) SWIG_fail
;
36358 resultobj
= SWIG_Py_Void();
36365 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36366 PyObject
*resultobj
= 0;
36367 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36368 wxTreeItemId
*arg2
= 0 ;
36373 PyObject
* obj0
= 0 ;
36374 PyObject
* obj1
= 0 ;
36375 char * kwnames
[] = {
36376 (char *) "self",(char *) "item", NULL
36379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36381 if (!SWIG_IsOK(res1
)) {
36382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36384 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36385 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36386 if (!SWIG_IsOK(res2
)) {
36387 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36390 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36392 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36395 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36396 wxPyEndAllowThreads(__tstate
);
36397 if (PyErr_Occurred()) SWIG_fail
;
36399 resultobj
= SWIG_Py_Void();
36406 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36407 PyObject
*resultobj
= 0;
36408 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36411 PyObject
*swig_obj
[1] ;
36413 if (!args
) SWIG_fail
;
36414 swig_obj
[0] = args
;
36415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36416 if (!SWIG_IsOK(res1
)) {
36417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36419 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36422 (arg1
)->Unselect();
36423 wxPyEndAllowThreads(__tstate
);
36424 if (PyErr_Occurred()) SWIG_fail
;
36426 resultobj
= SWIG_Py_Void();
36433 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36434 PyObject
*resultobj
= 0;
36435 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36436 wxTreeItemId
*arg2
= 0 ;
36441 PyObject
* obj0
= 0 ;
36442 PyObject
* obj1
= 0 ;
36443 char * kwnames
[] = {
36444 (char *) "self",(char *) "item", NULL
36447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36449 if (!SWIG_IsOK(res1
)) {
36450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36452 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36453 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36454 if (!SWIG_IsOK(res2
)) {
36455 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36458 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36460 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36463 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36464 wxPyEndAllowThreads(__tstate
);
36465 if (PyErr_Occurred()) SWIG_fail
;
36467 resultobj
= SWIG_Py_Void();
36474 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36475 PyObject
*resultobj
= 0;
36476 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36479 PyObject
*swig_obj
[1] ;
36481 if (!args
) SWIG_fail
;
36482 swig_obj
[0] = args
;
36483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36484 if (!SWIG_IsOK(res1
)) {
36485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36487 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36490 (arg1
)->UnselectAll();
36491 wxPyEndAllowThreads(__tstate
);
36492 if (PyErr_Occurred()) SWIG_fail
;
36494 resultobj
= SWIG_Py_Void();
36501 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36502 PyObject
*resultobj
= 0;
36503 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36504 wxTreeItemId
*arg2
= 0 ;
36505 bool arg3
= (bool) true ;
36512 PyObject
* obj0
= 0 ;
36513 PyObject
* obj1
= 0 ;
36514 PyObject
* obj2
= 0 ;
36515 char * kwnames
[] = {
36516 (char *) "self",(char *) "item",(char *) "select", NULL
36519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36521 if (!SWIG_IsOK(res1
)) {
36522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36524 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36525 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36526 if (!SWIG_IsOK(res2
)) {
36527 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36530 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36532 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36534 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36535 if (!SWIG_IsOK(ecode3
)) {
36536 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36538 arg3
= static_cast< bool >(val3
);
36541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36542 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36543 wxPyEndAllowThreads(__tstate
);
36544 if (PyErr_Occurred()) SWIG_fail
;
36546 resultobj
= SWIG_Py_Void();
36553 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36554 PyObject
*resultobj
= 0;
36555 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36556 wxTreeItemId
*arg2
= 0 ;
36561 PyObject
* obj0
= 0 ;
36562 PyObject
* obj1
= 0 ;
36563 char * kwnames
[] = {
36564 (char *) "self",(char *) "item", NULL
36567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36569 if (!SWIG_IsOK(res1
)) {
36570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36572 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36573 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36574 if (!SWIG_IsOK(res2
)) {
36575 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36578 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36580 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36583 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36584 wxPyEndAllowThreads(__tstate
);
36585 if (PyErr_Occurred()) SWIG_fail
;
36587 resultobj
= SWIG_Py_Void();
36594 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36595 PyObject
*resultobj
= 0;
36596 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36597 wxTreeItemId
*arg2
= 0 ;
36602 PyObject
* obj0
= 0 ;
36603 PyObject
* obj1
= 0 ;
36604 char * kwnames
[] = {
36605 (char *) "self",(char *) "item", NULL
36608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36610 if (!SWIG_IsOK(res1
)) {
36611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36613 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36614 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36615 if (!SWIG_IsOK(res2
)) {
36616 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36619 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36621 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36624 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
36625 wxPyEndAllowThreads(__tstate
);
36626 if (PyErr_Occurred()) SWIG_fail
;
36628 resultobj
= SWIG_Py_Void();
36635 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36636 PyObject
*resultobj
= 0;
36637 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36638 wxTreeItemId
*arg2
= 0 ;
36643 PyObject
* obj0
= 0 ;
36644 PyObject
* obj1
= 0 ;
36645 char * kwnames
[] = {
36646 (char *) "self",(char *) "item", NULL
36649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36651 if (!SWIG_IsOK(res1
)) {
36652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36654 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36655 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36656 if (!SWIG_IsOK(res2
)) {
36657 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36660 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36662 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36665 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
36666 wxPyEndAllowThreads(__tstate
);
36667 if (PyErr_Occurred()) SWIG_fail
;
36669 resultobj
= SWIG_Py_Void();
36676 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36677 PyObject
*resultobj
= 0;
36678 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36679 wxTreeItemId
*arg2
= 0 ;
36684 PyObject
* obj0
= 0 ;
36685 PyObject
* obj1
= 0 ;
36686 char * kwnames
[] = {
36687 (char *) "self",(char *) "item", NULL
36690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36692 if (!SWIG_IsOK(res1
)) {
36693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36695 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36696 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36697 if (!SWIG_IsOK(res2
)) {
36698 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36701 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36703 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36706 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
36707 wxPyEndAllowThreads(__tstate
);
36708 if (PyErr_Occurred()) SWIG_fail
;
36710 resultobj
= SWIG_Py_Void();
36717 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36718 PyObject
*resultobj
= 0;
36719 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36720 wxTextCtrl
*result
= 0 ;
36723 PyObject
*swig_obj
[1] ;
36725 if (!args
) SWIG_fail
;
36726 swig_obj
[0] = args
;
36727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36728 if (!SWIG_IsOK(res1
)) {
36729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36731 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36734 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
36735 wxPyEndAllowThreads(__tstate
);
36736 if (PyErr_Occurred()) SWIG_fail
;
36739 resultobj
= wxPyMake_wxObject(result
, 0);
36747 SWIGINTERN PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36748 PyObject
*resultobj
= 0;
36749 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36750 wxTreeItemId
*arg2
= 0 ;
36751 bool arg3
= (bool) false ;
36758 PyObject
* obj0
= 0 ;
36759 PyObject
* obj1
= 0 ;
36760 PyObject
* obj2
= 0 ;
36761 char * kwnames
[] = {
36762 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
36765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36767 if (!SWIG_IsOK(res1
)) {
36768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36770 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36771 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36772 if (!SWIG_IsOK(res2
)) {
36773 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36776 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36778 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36780 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36781 if (!SWIG_IsOK(ecode3
)) {
36782 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "3"" of type '" "bool""'");
36784 arg3
= static_cast< bool >(val3
);
36787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36788 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
36789 wxPyEndAllowThreads(__tstate
);
36790 if (PyErr_Occurred()) SWIG_fail
;
36792 resultobj
= SWIG_Py_Void();
36799 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36800 PyObject
*resultobj
= 0;
36801 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36802 wxTreeItemId
*arg2
= 0 ;
36807 PyObject
* obj0
= 0 ;
36808 PyObject
* obj1
= 0 ;
36809 char * kwnames
[] = {
36810 (char *) "self",(char *) "item", NULL
36813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36815 if (!SWIG_IsOK(res1
)) {
36816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36818 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36819 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36820 if (!SWIG_IsOK(res2
)) {
36821 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36824 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36826 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36829 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
36830 wxPyEndAllowThreads(__tstate
);
36831 if (PyErr_Occurred()) SWIG_fail
;
36833 resultobj
= SWIG_Py_Void();
36840 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36841 PyObject
*resultobj
= 0;
36842 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36843 wxPoint
*arg2
= 0 ;
36845 wxTreeItemId result
;
36850 int res3
= SWIG_TMPOBJ
;
36851 PyObject
* obj0
= 0 ;
36852 PyObject
* obj1
= 0 ;
36853 char * kwnames
[] = {
36854 (char *) "self",(char *) "point", NULL
36858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36860 if (!SWIG_IsOK(res1
)) {
36861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36863 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36866 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36870 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
36871 wxPyEndAllowThreads(__tstate
);
36872 if (PyErr_Occurred()) SWIG_fail
;
36874 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36875 if (SWIG_IsTmpObj(res3
)) {
36876 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
36878 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36879 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
36887 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36888 PyObject
*resultobj
= 0;
36889 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36890 wxTreeItemId
*arg2
= 0 ;
36891 bool arg3
= (bool) false ;
36892 PyObject
*result
= 0 ;
36899 PyObject
* obj0
= 0 ;
36900 PyObject
* obj1
= 0 ;
36901 PyObject
* obj2
= 0 ;
36902 char * kwnames
[] = {
36903 (char *) "self",(char *) "item",(char *) "textOnly", NULL
36906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36908 if (!SWIG_IsOK(res1
)) {
36909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36911 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36912 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36913 if (!SWIG_IsOK(res2
)) {
36914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36917 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36919 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36921 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36922 if (!SWIG_IsOK(ecode3
)) {
36923 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
36925 arg3
= static_cast< bool >(val3
);
36928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36929 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
36930 wxPyEndAllowThreads(__tstate
);
36931 if (PyErr_Occurred()) SWIG_fail
;
36933 resultobj
= result
;
36940 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36941 PyObject
*resultobj
= 0;
36942 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36943 wxTreeItemId
*arg2
= 0 ;
36951 PyObject
* obj0
= 0 ;
36952 PyObject
* obj1
= 0 ;
36953 PyObject
* obj2
= 0 ;
36954 char * kwnames
[] = {
36955 (char *) "self",(char *) "node",(char *) "state", NULL
36958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36960 if (!SWIG_IsOK(res1
)) {
36961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36963 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36964 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36965 if (!SWIG_IsOK(res2
)) {
36966 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36969 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36971 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36972 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36973 if (!SWIG_IsOK(ecode3
)) {
36974 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetState" "', expected argument " "3"" of type '" "int""'");
36976 arg3
= static_cast< int >(val3
);
36978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36979 (arg1
)->SetState((wxTreeItemId
const &)*arg2
,arg3
);
36980 wxPyEndAllowThreads(__tstate
);
36981 if (PyErr_Occurred()) SWIG_fail
;
36983 resultobj
= SWIG_Py_Void();
36990 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36991 PyObject
*resultobj
= 0;
36992 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36993 wxTreeItemId
*arg2
= 0 ;
36999 PyObject
* obj0
= 0 ;
37000 PyObject
* obj1
= 0 ;
37001 char * kwnames
[] = {
37002 (char *) "self",(char *) "node", NULL
37005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37007 if (!SWIG_IsOK(res1
)) {
37008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37010 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37011 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37012 if (!SWIG_IsOK(res2
)) {
37013 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37016 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37018 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37021 result
= (int)(arg1
)->GetState((wxTreeItemId
const &)*arg2
);
37022 wxPyEndAllowThreads(__tstate
);
37023 if (PyErr_Occurred()) SWIG_fail
;
37025 resultobj
= SWIG_From_int(static_cast< int >(result
));
37032 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37033 PyObject
*resultobj
= 0;
37034 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37035 SwigValueWrapper
<wxVisualAttributes
> result
;
37038 PyObject
* obj0
= 0 ;
37039 char * kwnames
[] = {
37040 (char *) "variant", NULL
37043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
37045 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37046 if (!SWIG_IsOK(ecode1
)) {
37047 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37049 arg1
= static_cast< wxWindowVariant
>(val1
);
37052 if (!wxPyCheckForApp()) SWIG_fail
;
37053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37054 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37055 wxPyEndAllowThreads(__tstate
);
37056 if (PyErr_Occurred()) SWIG_fail
;
37058 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37065 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37066 PyObject
*resultobj
= 0;
37067 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37073 PyObject
* obj0
= 0 ;
37074 PyObject
* obj1
= 0 ;
37075 char * kwnames
[] = {
37076 (char *) "self",(char *) "q", NULL
37079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37081 if (!SWIG_IsOK(res1
)) {
37082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37084 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37085 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37086 if (!SWIG_IsOK(ecode2
)) {
37087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37089 arg2
= static_cast< bool >(val2
);
37091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37092 (arg1
)->SetQuickBestSize(arg2
);
37093 wxPyEndAllowThreads(__tstate
);
37094 if (PyErr_Occurred()) SWIG_fail
;
37096 resultobj
= SWIG_Py_Void();
37103 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37104 PyObject
*resultobj
= 0;
37105 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37109 PyObject
*swig_obj
[1] ;
37111 if (!args
) SWIG_fail
;
37112 swig_obj
[0] = args
;
37113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37114 if (!SWIG_IsOK(res1
)) {
37115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37117 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37120 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37121 wxPyEndAllowThreads(__tstate
);
37122 if (PyErr_Occurred()) SWIG_fail
;
37125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37133 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37135 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37136 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37137 return SWIG_Py_Void();
37140 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37141 return SWIG_Python_InitShadowInstance(args
);
37144 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37145 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37150 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37151 PyObject
*pyobj
= 0;
37155 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37157 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37164 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37165 PyObject
*resultobj
= 0;
37166 wxWindow
*arg1
= (wxWindow
*) 0 ;
37167 int arg2
= (int) (int)-1 ;
37168 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37169 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37170 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37171 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37172 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37173 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37174 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37175 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37176 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37177 int arg8
= (int) 0 ;
37178 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37179 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37180 wxGenericDirCtrl
*result
= 0 ;
37185 bool temp3
= false ;
37190 bool temp7
= false ;
37193 bool temp9
= false ;
37194 PyObject
* obj0
= 0 ;
37195 PyObject
* obj1
= 0 ;
37196 PyObject
* obj2
= 0 ;
37197 PyObject
* obj3
= 0 ;
37198 PyObject
* obj4
= 0 ;
37199 PyObject
* obj5
= 0 ;
37200 PyObject
* obj6
= 0 ;
37201 PyObject
* obj7
= 0 ;
37202 PyObject
* obj8
= 0 ;
37203 char * kwnames
[] = {
37204 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37209 if (!SWIG_IsOK(res1
)) {
37210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37212 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37214 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37215 if (!SWIG_IsOK(ecode2
)) {
37216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37218 arg2
= static_cast< int >(val2
);
37222 arg3
= wxString_in_helper(obj2
);
37223 if (arg3
== NULL
) SWIG_fail
;
37230 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37236 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37240 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37241 if (!SWIG_IsOK(ecode6
)) {
37242 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37244 arg6
= static_cast< long >(val6
);
37248 arg7
= wxString_in_helper(obj6
);
37249 if (arg7
== NULL
) SWIG_fail
;
37254 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37255 if (!SWIG_IsOK(ecode8
)) {
37256 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37258 arg8
= static_cast< int >(val8
);
37262 arg9
= wxString_in_helper(obj8
);
37263 if (arg9
== NULL
) SWIG_fail
;
37268 if (!wxPyCheckForApp()) SWIG_fail
;
37269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37270 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37271 wxPyEndAllowThreads(__tstate
);
37272 if (PyErr_Occurred()) SWIG_fail
;
37274 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37305 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37306 PyObject
*resultobj
= 0;
37307 wxGenericDirCtrl
*result
= 0 ;
37309 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37311 if (!wxPyCheckForApp()) SWIG_fail
;
37312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37313 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37314 wxPyEndAllowThreads(__tstate
);
37315 if (PyErr_Occurred()) SWIG_fail
;
37317 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37324 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37325 PyObject
*resultobj
= 0;
37326 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37327 wxWindow
*arg2
= (wxWindow
*) 0 ;
37328 int arg3
= (int) (int)-1 ;
37329 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37330 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37331 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37332 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37333 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37334 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37335 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37336 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37337 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37338 int arg9
= (int) 0 ;
37339 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37340 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37348 bool temp4
= false ;
37353 bool temp8
= false ;
37356 bool temp10
= false ;
37357 PyObject
* obj0
= 0 ;
37358 PyObject
* obj1
= 0 ;
37359 PyObject
* obj2
= 0 ;
37360 PyObject
* obj3
= 0 ;
37361 PyObject
* obj4
= 0 ;
37362 PyObject
* obj5
= 0 ;
37363 PyObject
* obj6
= 0 ;
37364 PyObject
* obj7
= 0 ;
37365 PyObject
* obj8
= 0 ;
37366 PyObject
* obj9
= 0 ;
37367 char * kwnames
[] = {
37368 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37373 if (!SWIG_IsOK(res1
)) {
37374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37376 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37377 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37378 if (!SWIG_IsOK(res2
)) {
37379 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37381 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37383 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37384 if (!SWIG_IsOK(ecode3
)) {
37385 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37387 arg3
= static_cast< int >(val3
);
37391 arg4
= wxString_in_helper(obj3
);
37392 if (arg4
== NULL
) SWIG_fail
;
37399 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37405 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37409 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37410 if (!SWIG_IsOK(ecode7
)) {
37411 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37413 arg7
= static_cast< long >(val7
);
37417 arg8
= wxString_in_helper(obj7
);
37418 if (arg8
== NULL
) SWIG_fail
;
37423 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37424 if (!SWIG_IsOK(ecode9
)) {
37425 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37427 arg9
= static_cast< int >(val9
);
37431 arg10
= wxString_in_helper(obj9
);
37432 if (arg10
== NULL
) SWIG_fail
;
37437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37438 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37439 wxPyEndAllowThreads(__tstate
);
37440 if (PyErr_Occurred()) SWIG_fail
;
37443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37475 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37476 PyObject
*resultobj
= 0;
37477 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37478 wxString
*arg2
= 0 ;
37482 bool temp2
= false ;
37483 PyObject
* obj0
= 0 ;
37484 PyObject
* obj1
= 0 ;
37485 char * kwnames
[] = {
37486 (char *) "self",(char *) "path", NULL
37489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37491 if (!SWIG_IsOK(res1
)) {
37492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37494 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37496 arg2
= wxString_in_helper(obj1
);
37497 if (arg2
== NULL
) SWIG_fail
;
37501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37502 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37503 wxPyEndAllowThreads(__tstate
);
37504 if (PyErr_Occurred()) SWIG_fail
;
37507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37523 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37524 PyObject
*resultobj
= 0;
37525 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37526 wxString
*arg2
= 0 ;
37530 bool temp2
= false ;
37531 PyObject
* obj0
= 0 ;
37532 PyObject
* obj1
= 0 ;
37533 char * kwnames
[] = {
37534 (char *) "self",(char *) "path", NULL
37537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37539 if (!SWIG_IsOK(res1
)) {
37540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37542 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37544 arg2
= wxString_in_helper(obj1
);
37545 if (arg2
== NULL
) SWIG_fail
;
37549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37550 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
37551 wxPyEndAllowThreads(__tstate
);
37552 if (PyErr_Occurred()) SWIG_fail
;
37555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37571 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37572 PyObject
*resultobj
= 0;
37573 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37577 PyObject
*swig_obj
[1] ;
37579 if (!args
) SWIG_fail
;
37580 swig_obj
[0] = args
;
37581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37582 if (!SWIG_IsOK(res1
)) {
37583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37585 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37588 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37589 wxPyEndAllowThreads(__tstate
);
37590 if (PyErr_Occurred()) SWIG_fail
;
37594 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37596 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37605 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37606 PyObject
*resultobj
= 0;
37607 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37608 wxString
*arg2
= 0 ;
37611 bool temp2
= false ;
37612 PyObject
* obj0
= 0 ;
37613 PyObject
* obj1
= 0 ;
37614 char * kwnames
[] = {
37615 (char *) "self",(char *) "path", NULL
37618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37620 if (!SWIG_IsOK(res1
)) {
37621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37623 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37625 arg2
= wxString_in_helper(obj1
);
37626 if (arg2
== NULL
) SWIG_fail
;
37630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37631 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37632 wxPyEndAllowThreads(__tstate
);
37633 if (PyErr_Occurred()) SWIG_fail
;
37635 resultobj
= SWIG_Py_Void();
37650 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37651 PyObject
*resultobj
= 0;
37652 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37656 PyObject
*swig_obj
[1] ;
37658 if (!args
) SWIG_fail
;
37659 swig_obj
[0] = args
;
37660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37661 if (!SWIG_IsOK(res1
)) {
37662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37664 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37667 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37668 wxPyEndAllowThreads(__tstate
);
37669 if (PyErr_Occurred()) SWIG_fail
;
37673 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37675 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37684 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37685 PyObject
*resultobj
= 0;
37686 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37690 PyObject
*swig_obj
[1] ;
37692 if (!args
) SWIG_fail
;
37693 swig_obj
[0] = args
;
37694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37695 if (!SWIG_IsOK(res1
)) {
37696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37698 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37701 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37702 wxPyEndAllowThreads(__tstate
);
37703 if (PyErr_Occurred()) SWIG_fail
;
37707 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37709 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37718 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37719 PyObject
*resultobj
= 0;
37720 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37721 wxString
*arg2
= 0 ;
37724 bool temp2
= false ;
37725 PyObject
* obj0
= 0 ;
37726 PyObject
* obj1
= 0 ;
37727 char * kwnames
[] = {
37728 (char *) "self",(char *) "path", NULL
37731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37733 if (!SWIG_IsOK(res1
)) {
37734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37736 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37738 arg2
= wxString_in_helper(obj1
);
37739 if (arg2
== NULL
) SWIG_fail
;
37743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37744 (arg1
)->SetPath((wxString
const &)*arg2
);
37745 wxPyEndAllowThreads(__tstate
);
37746 if (PyErr_Occurred()) SWIG_fail
;
37748 resultobj
= SWIG_Py_Void();
37763 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37764 PyObject
*resultobj
= 0;
37765 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37771 PyObject
* obj0
= 0 ;
37772 PyObject
* obj1
= 0 ;
37773 char * kwnames
[] = {
37774 (char *) "self",(char *) "show", NULL
37777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37779 if (!SWIG_IsOK(res1
)) {
37780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37782 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37783 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37784 if (!SWIG_IsOK(ecode2
)) {
37785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
37787 arg2
= static_cast< bool >(val2
);
37789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37790 (arg1
)->ShowHidden(arg2
);
37791 wxPyEndAllowThreads(__tstate
);
37792 if (PyErr_Occurred()) SWIG_fail
;
37794 resultobj
= SWIG_Py_Void();
37801 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37802 PyObject
*resultobj
= 0;
37803 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37807 PyObject
*swig_obj
[1] ;
37809 if (!args
) SWIG_fail
;
37810 swig_obj
[0] = args
;
37811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37812 if (!SWIG_IsOK(res1
)) {
37813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37815 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37818 result
= (bool)(arg1
)->GetShowHidden();
37819 wxPyEndAllowThreads(__tstate
);
37820 if (PyErr_Occurred()) SWIG_fail
;
37823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37831 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37832 PyObject
*resultobj
= 0;
37833 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37837 PyObject
*swig_obj
[1] ;
37839 if (!args
) SWIG_fail
;
37840 swig_obj
[0] = args
;
37841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37842 if (!SWIG_IsOK(res1
)) {
37843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37845 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37848 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
37849 wxPyEndAllowThreads(__tstate
);
37850 if (PyErr_Occurred()) SWIG_fail
;
37854 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37856 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37865 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37866 PyObject
*resultobj
= 0;
37867 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37868 wxString
*arg2
= 0 ;
37871 bool temp2
= false ;
37872 PyObject
* obj0
= 0 ;
37873 PyObject
* obj1
= 0 ;
37874 char * kwnames
[] = {
37875 (char *) "self",(char *) "filter", NULL
37878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37880 if (!SWIG_IsOK(res1
)) {
37881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37883 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37885 arg2
= wxString_in_helper(obj1
);
37886 if (arg2
== NULL
) SWIG_fail
;
37890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37891 (arg1
)->SetFilter((wxString
const &)*arg2
);
37892 wxPyEndAllowThreads(__tstate
);
37893 if (PyErr_Occurred()) SWIG_fail
;
37895 resultobj
= SWIG_Py_Void();
37910 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37911 PyObject
*resultobj
= 0;
37912 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37916 PyObject
*swig_obj
[1] ;
37918 if (!args
) SWIG_fail
;
37919 swig_obj
[0] = args
;
37920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37921 if (!SWIG_IsOK(res1
)) {
37922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37924 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37927 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
37928 wxPyEndAllowThreads(__tstate
);
37929 if (PyErr_Occurred()) SWIG_fail
;
37931 resultobj
= SWIG_From_int(static_cast< int >(result
));
37938 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37939 PyObject
*resultobj
= 0;
37940 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37946 PyObject
* obj0
= 0 ;
37947 PyObject
* obj1
= 0 ;
37948 char * kwnames
[] = {
37949 (char *) "self",(char *) "n", NULL
37952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37954 if (!SWIG_IsOK(res1
)) {
37955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37957 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37958 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37959 if (!SWIG_IsOK(ecode2
)) {
37960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
37962 arg2
= static_cast< int >(val2
);
37964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37965 (arg1
)->SetFilterIndex(arg2
);
37966 wxPyEndAllowThreads(__tstate
);
37967 if (PyErr_Occurred()) SWIG_fail
;
37969 resultobj
= SWIG_Py_Void();
37976 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37977 PyObject
*resultobj
= 0;
37978 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37979 wxTreeItemId result
;
37982 PyObject
*swig_obj
[1] ;
37984 if (!args
) SWIG_fail
;
37985 swig_obj
[0] = args
;
37986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37987 if (!SWIG_IsOK(res1
)) {
37988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37990 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37993 result
= (arg1
)->GetRootId();
37994 wxPyEndAllowThreads(__tstate
);
37995 if (PyErr_Occurred()) SWIG_fail
;
37997 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38004 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38005 PyObject
*resultobj
= 0;
38006 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38007 wxPyTreeCtrl
*result
= 0 ;
38010 PyObject
*swig_obj
[1] ;
38012 if (!args
) SWIG_fail
;
38013 swig_obj
[0] = args
;
38014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38015 if (!SWIG_IsOK(res1
)) {
38016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38018 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38021 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
38022 wxPyEndAllowThreads(__tstate
);
38023 if (PyErr_Occurred()) SWIG_fail
;
38026 resultobj
= wxPyMake_wxObject(result
, 0);
38034 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38035 PyObject
*resultobj
= 0;
38036 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38037 wxDirFilterListCtrl
*result
= 0 ;
38040 PyObject
*swig_obj
[1] ;
38042 if (!args
) SWIG_fail
;
38043 swig_obj
[0] = args
;
38044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38045 if (!SWIG_IsOK(res1
)) {
38046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38048 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38051 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38052 wxPyEndAllowThreads(__tstate
);
38053 if (PyErr_Occurred()) SWIG_fail
;
38055 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38062 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38063 PyObject
*resultobj
= 0;
38064 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38065 wxTreeItemId arg2
;
38066 wxString
*arg3
= 0 ;
38068 wxTreeItemId result
;
38073 bool temp3
= false ;
38075 int res4
= SWIG_TMPOBJ
;
38076 PyObject
* obj0
= 0 ;
38077 PyObject
* obj1
= 0 ;
38078 PyObject
* obj2
= 0 ;
38079 char * kwnames
[] = {
38080 (char *) "self",(char *) "parentId",(char *) "path", NULL
38084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38086 if (!SWIG_IsOK(res1
)) {
38087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38089 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38091 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38092 if (!SWIG_IsOK(res2
)) {
38093 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38096 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38098 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38100 if (SWIG_IsNewObj(res2
)) delete temp
;
38104 arg3
= wxString_in_helper(obj2
);
38105 if (arg3
== NULL
) SWIG_fail
;
38109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38110 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38111 wxPyEndAllowThreads(__tstate
);
38112 if (PyErr_Occurred()) SWIG_fail
;
38114 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38115 if (SWIG_IsTmpObj(res4
)) {
38116 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38118 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38119 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38135 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38136 PyObject
*resultobj
= 0;
38137 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38140 PyObject
*swig_obj
[1] ;
38142 if (!args
) SWIG_fail
;
38143 swig_obj
[0] = args
;
38144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38145 if (!SWIG_IsOK(res1
)) {
38146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38148 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38151 (arg1
)->DoResize();
38152 wxPyEndAllowThreads(__tstate
);
38153 if (PyErr_Occurred()) SWIG_fail
;
38155 resultobj
= SWIG_Py_Void();
38162 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38163 PyObject
*resultobj
= 0;
38164 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38167 PyObject
*swig_obj
[1] ;
38169 if (!args
) SWIG_fail
;
38170 swig_obj
[0] = args
;
38171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38172 if (!SWIG_IsOK(res1
)) {
38173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38175 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38178 (arg1
)->ReCreateTree();
38179 wxPyEndAllowThreads(__tstate
);
38180 if (PyErr_Occurred()) SWIG_fail
;
38182 resultobj
= SWIG_Py_Void();
38189 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38191 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38192 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38193 return SWIG_Py_Void();
38196 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38197 return SWIG_Python_InitShadowInstance(args
);
38200 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38201 PyObject
*resultobj
= 0;
38202 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38203 int arg2
= (int) (int)-1 ;
38204 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38205 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38206 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38207 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38208 long arg5
= (long) 0 ;
38209 wxDirFilterListCtrl
*result
= 0 ;
38218 PyObject
* obj0
= 0 ;
38219 PyObject
* obj1
= 0 ;
38220 PyObject
* obj2
= 0 ;
38221 PyObject
* obj3
= 0 ;
38222 PyObject
* obj4
= 0 ;
38223 char * kwnames
[] = {
38224 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38229 if (!SWIG_IsOK(res1
)) {
38230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38232 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38234 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38235 if (!SWIG_IsOK(ecode2
)) {
38236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38238 arg2
= static_cast< int >(val2
);
38243 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38249 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38253 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38254 if (!SWIG_IsOK(ecode5
)) {
38255 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38257 arg5
= static_cast< long >(val5
);
38260 if (!wxPyCheckForApp()) SWIG_fail
;
38261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38262 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38263 wxPyEndAllowThreads(__tstate
);
38264 if (PyErr_Occurred()) SWIG_fail
;
38266 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38273 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38274 PyObject
*resultobj
= 0;
38275 wxDirFilterListCtrl
*result
= 0 ;
38277 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38279 if (!wxPyCheckForApp()) SWIG_fail
;
38280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38281 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38282 wxPyEndAllowThreads(__tstate
);
38283 if (PyErr_Occurred()) SWIG_fail
;
38285 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38292 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38293 PyObject
*resultobj
= 0;
38294 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38295 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38296 int arg3
= (int) (int)-1 ;
38297 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38298 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38299 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38300 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38301 long arg6
= (long) 0 ;
38313 PyObject
* obj0
= 0 ;
38314 PyObject
* obj1
= 0 ;
38315 PyObject
* obj2
= 0 ;
38316 PyObject
* obj3
= 0 ;
38317 PyObject
* obj4
= 0 ;
38318 PyObject
* obj5
= 0 ;
38319 char * kwnames
[] = {
38320 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38325 if (!SWIG_IsOK(res1
)) {
38326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38328 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38329 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38330 if (!SWIG_IsOK(res2
)) {
38331 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38333 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38335 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38336 if (!SWIG_IsOK(ecode3
)) {
38337 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38339 arg3
= static_cast< int >(val3
);
38344 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38350 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38354 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38355 if (!SWIG_IsOK(ecode6
)) {
38356 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38358 arg6
= static_cast< long >(val6
);
38361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38362 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38363 wxPyEndAllowThreads(__tstate
);
38364 if (PyErr_Occurred()) SWIG_fail
;
38367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38375 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38376 PyObject
*resultobj
= 0;
38377 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38378 wxString
*arg2
= 0 ;
38382 bool temp2
= false ;
38385 PyObject
* obj0
= 0 ;
38386 PyObject
* obj1
= 0 ;
38387 PyObject
* obj2
= 0 ;
38388 char * kwnames
[] = {
38389 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38394 if (!SWIG_IsOK(res1
)) {
38395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38397 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38399 arg2
= wxString_in_helper(obj1
);
38400 if (arg2
== NULL
) SWIG_fail
;
38403 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38404 if (!SWIG_IsOK(ecode3
)) {
38405 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38407 arg3
= static_cast< int >(val3
);
38409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38410 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38411 wxPyEndAllowThreads(__tstate
);
38412 if (PyErr_Occurred()) SWIG_fail
;
38414 resultobj
= SWIG_Py_Void();
38429 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38431 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38432 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38433 return SWIG_Py_Void();
38436 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38437 return SWIG_Python_InitShadowInstance(args
);
38440 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38441 PyObject
*resultobj
= 0;
38442 wxWindow
*arg1
= (wxWindow
*) 0 ;
38443 int arg2
= (int) (int)-1 ;
38444 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38445 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38446 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38447 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38448 long arg5
= (long) 0 ;
38449 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38450 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38451 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38452 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38453 wxPyControl
*result
= 0 ;
38464 bool temp7
= false ;
38465 PyObject
* obj0
= 0 ;
38466 PyObject
* obj1
= 0 ;
38467 PyObject
* obj2
= 0 ;
38468 PyObject
* obj3
= 0 ;
38469 PyObject
* obj4
= 0 ;
38470 PyObject
* obj5
= 0 ;
38471 PyObject
* obj6
= 0 ;
38472 char * kwnames
[] = {
38473 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38478 if (!SWIG_IsOK(res1
)) {
38479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38481 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38483 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38484 if (!SWIG_IsOK(ecode2
)) {
38485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38487 arg2
= static_cast< int >(val2
);
38492 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38498 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38502 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38503 if (!SWIG_IsOK(ecode5
)) {
38504 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38506 arg5
= static_cast< long >(val5
);
38509 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38510 if (!SWIG_IsOK(res6
)) {
38511 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38514 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38516 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38520 arg7
= wxString_in_helper(obj6
);
38521 if (arg7
== NULL
) SWIG_fail
;
38526 if (!wxPyCheckForApp()) SWIG_fail
;
38527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38528 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38529 wxPyEndAllowThreads(__tstate
);
38530 if (PyErr_Occurred()) SWIG_fail
;
38532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38547 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38548 PyObject
*resultobj
= 0;
38549 wxPyControl
*result
= 0 ;
38551 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38553 if (!wxPyCheckForApp()) SWIG_fail
;
38554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38555 result
= (wxPyControl
*)new wxPyControl();
38556 wxPyEndAllowThreads(__tstate
);
38557 if (PyErr_Occurred()) SWIG_fail
;
38559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38566 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38567 PyObject
*resultobj
= 0;
38568 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38569 PyObject
*arg2
= (PyObject
*) 0 ;
38570 PyObject
*arg3
= (PyObject
*) 0 ;
38573 PyObject
* obj0
= 0 ;
38574 PyObject
* obj1
= 0 ;
38575 PyObject
* obj2
= 0 ;
38576 char * kwnames
[] = {
38577 (char *) "self",(char *) "self",(char *) "_class", NULL
38580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38582 if (!SWIG_IsOK(res1
)) {
38583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38585 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38590 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38591 wxPyEndAllowThreads(__tstate
);
38592 if (PyErr_Occurred()) SWIG_fail
;
38594 resultobj
= SWIG_Py_Void();
38601 SWIGINTERN PyObject
*_wrap_PyControl_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38602 PyObject
*resultobj
= 0;
38603 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38608 PyObject
* obj0
= 0 ;
38609 PyObject
* obj1
= 0 ;
38610 char * kwnames
[] = {
38611 (char *) "self",(char *) "size", NULL
38614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38616 if (!SWIG_IsOK(res1
)) {
38617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38619 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38622 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38626 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
38627 wxPyEndAllowThreads(__tstate
);
38628 if (PyErr_Occurred()) SWIG_fail
;
38630 resultobj
= SWIG_Py_Void();
38637 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38638 PyObject
*resultobj
= 0;
38639 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38640 wxDC
*arg2
= (wxDC
*) 0 ;
38646 PyObject
* obj0
= 0 ;
38647 PyObject
* obj1
= 0 ;
38648 char * kwnames
[] = {
38649 (char *) "self",(char *) "dc", NULL
38652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38654 if (!SWIG_IsOK(res1
)) {
38655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38657 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38658 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38659 if (!SWIG_IsOK(res2
)) {
38660 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38662 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38665 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38666 wxPyEndAllowThreads(__tstate
);
38667 if (PyErr_Occurred()) SWIG_fail
;
38670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38678 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38679 PyObject
*resultobj
= 0;
38680 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38695 PyObject
* obj0
= 0 ;
38696 PyObject
* obj1
= 0 ;
38697 PyObject
* obj2
= 0 ;
38698 PyObject
* obj3
= 0 ;
38699 PyObject
* obj4
= 0 ;
38700 char * kwnames
[] = {
38701 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38706 if (!SWIG_IsOK(res1
)) {
38707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38709 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38710 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38711 if (!SWIG_IsOK(ecode2
)) {
38712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38714 arg2
= static_cast< int >(val2
);
38715 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38716 if (!SWIG_IsOK(ecode3
)) {
38717 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38719 arg3
= static_cast< int >(val3
);
38720 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38721 if (!SWIG_IsOK(ecode4
)) {
38722 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38724 arg4
= static_cast< int >(val4
);
38725 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38726 if (!SWIG_IsOK(ecode5
)) {
38727 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38729 arg5
= static_cast< int >(val5
);
38731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38732 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38733 wxPyEndAllowThreads(__tstate
);
38734 if (PyErr_Occurred()) SWIG_fail
;
38736 resultobj
= SWIG_Py_Void();
38743 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38744 PyObject
*resultobj
= 0;
38745 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38750 int arg6
= (int) wxSIZE_AUTO
;
38763 PyObject
* obj0
= 0 ;
38764 PyObject
* obj1
= 0 ;
38765 PyObject
* obj2
= 0 ;
38766 PyObject
* obj3
= 0 ;
38767 PyObject
* obj4
= 0 ;
38768 PyObject
* obj5
= 0 ;
38769 char * kwnames
[] = {
38770 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38775 if (!SWIG_IsOK(res1
)) {
38776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38778 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38779 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38780 if (!SWIG_IsOK(ecode2
)) {
38781 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38783 arg2
= static_cast< int >(val2
);
38784 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38785 if (!SWIG_IsOK(ecode3
)) {
38786 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38788 arg3
= static_cast< int >(val3
);
38789 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38790 if (!SWIG_IsOK(ecode4
)) {
38791 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
38793 arg4
= static_cast< int >(val4
);
38794 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38795 if (!SWIG_IsOK(ecode5
)) {
38796 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
38798 arg5
= static_cast< int >(val5
);
38800 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38801 if (!SWIG_IsOK(ecode6
)) {
38802 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
38804 arg6
= static_cast< int >(val6
);
38807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38808 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
38809 wxPyEndAllowThreads(__tstate
);
38810 if (PyErr_Occurred()) SWIG_fail
;
38812 resultobj
= SWIG_Py_Void();
38819 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38820 PyObject
*resultobj
= 0;
38821 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38830 PyObject
* obj0
= 0 ;
38831 PyObject
* obj1
= 0 ;
38832 PyObject
* obj2
= 0 ;
38833 char * kwnames
[] = {
38834 (char *) "self",(char *) "width",(char *) "height", NULL
38837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38839 if (!SWIG_IsOK(res1
)) {
38840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38842 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38844 if (!SWIG_IsOK(ecode2
)) {
38845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
38847 arg2
= static_cast< int >(val2
);
38848 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38849 if (!SWIG_IsOK(ecode3
)) {
38850 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
38852 arg3
= static_cast< int >(val3
);
38854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38855 (arg1
)->DoSetClientSize(arg2
,arg3
);
38856 wxPyEndAllowThreads(__tstate
);
38857 if (PyErr_Occurred()) SWIG_fail
;
38859 resultobj
= SWIG_Py_Void();
38866 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38867 PyObject
*resultobj
= 0;
38868 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38877 PyObject
* obj0
= 0 ;
38878 PyObject
* obj1
= 0 ;
38879 PyObject
* obj2
= 0 ;
38880 char * kwnames
[] = {
38881 (char *) "self",(char *) "x",(char *) "y", NULL
38884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38886 if (!SWIG_IsOK(res1
)) {
38887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38889 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38891 if (!SWIG_IsOK(ecode2
)) {
38892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
38894 arg2
= static_cast< int >(val2
);
38895 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38896 if (!SWIG_IsOK(ecode3
)) {
38897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
38899 arg3
= static_cast< int >(val3
);
38901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38902 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
38903 wxPyEndAllowThreads(__tstate
);
38904 if (PyErr_Occurred()) SWIG_fail
;
38906 resultobj
= SWIG_Py_Void();
38913 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38914 PyObject
*resultobj
= 0;
38915 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38916 int *arg2
= (int *) 0 ;
38917 int *arg3
= (int *) 0 ;
38921 int res2
= SWIG_TMPOBJ
;
38923 int res3
= SWIG_TMPOBJ
;
38924 PyObject
*swig_obj
[1] ;
38928 if (!args
) SWIG_fail
;
38929 swig_obj
[0] = args
;
38930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38931 if (!SWIG_IsOK(res1
)) {
38932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38934 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38937 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
38938 wxPyEndAllowThreads(__tstate
);
38939 if (PyErr_Occurred()) SWIG_fail
;
38941 resultobj
= SWIG_Py_Void();
38942 if (SWIG_IsTmpObj(res2
)) {
38943 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38945 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38946 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38948 if (SWIG_IsTmpObj(res3
)) {
38949 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38951 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38952 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38960 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38961 PyObject
*resultobj
= 0;
38962 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38963 int *arg2
= (int *) 0 ;
38964 int *arg3
= (int *) 0 ;
38968 int res2
= SWIG_TMPOBJ
;
38970 int res3
= SWIG_TMPOBJ
;
38971 PyObject
*swig_obj
[1] ;
38975 if (!args
) SWIG_fail
;
38976 swig_obj
[0] = args
;
38977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38978 if (!SWIG_IsOK(res1
)) {
38979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38981 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38984 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
38985 wxPyEndAllowThreads(__tstate
);
38986 if (PyErr_Occurred()) SWIG_fail
;
38988 resultobj
= SWIG_Py_Void();
38989 if (SWIG_IsTmpObj(res2
)) {
38990 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38992 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38993 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38995 if (SWIG_IsTmpObj(res3
)) {
38996 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38998 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38999 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39007 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39008 PyObject
*resultobj
= 0;
39009 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39010 int *arg2
= (int *) 0 ;
39011 int *arg3
= (int *) 0 ;
39015 int res2
= SWIG_TMPOBJ
;
39017 int res3
= SWIG_TMPOBJ
;
39018 PyObject
*swig_obj
[1] ;
39022 if (!args
) SWIG_fail
;
39023 swig_obj
[0] = args
;
39024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39025 if (!SWIG_IsOK(res1
)) {
39026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39028 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39031 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
39032 wxPyEndAllowThreads(__tstate
);
39033 if (PyErr_Occurred()) SWIG_fail
;
39035 resultobj
= SWIG_Py_Void();
39036 if (SWIG_IsTmpObj(res2
)) {
39037 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39039 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39040 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39042 if (SWIG_IsTmpObj(res3
)) {
39043 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39045 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39046 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39054 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39055 PyObject
*resultobj
= 0;
39056 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39060 PyObject
*swig_obj
[1] ;
39062 if (!args
) SWIG_fail
;
39063 swig_obj
[0] = args
;
39064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39065 if (!SWIG_IsOK(res1
)) {
39066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39068 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39071 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39072 wxPyEndAllowThreads(__tstate
);
39073 if (PyErr_Occurred()) SWIG_fail
;
39075 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39082 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39083 PyObject
*resultobj
= 0;
39084 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39088 PyObject
*swig_obj
[1] ;
39090 if (!args
) SWIG_fail
;
39091 swig_obj
[0] = args
;
39092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39093 if (!SWIG_IsOK(res1
)) {
39094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39096 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39099 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39100 wxPyEndAllowThreads(__tstate
);
39101 if (PyErr_Occurred()) SWIG_fail
;
39103 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39110 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39111 PyObject
*resultobj
= 0;
39112 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39113 SwigValueWrapper
<wxVisualAttributes
> result
;
39116 PyObject
*swig_obj
[1] ;
39118 if (!args
) SWIG_fail
;
39119 swig_obj
[0] = args
;
39120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39121 if (!SWIG_IsOK(res1
)) {
39122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39124 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39127 result
= (arg1
)->GetDefaultAttributes();
39128 wxPyEndAllowThreads(__tstate
);
39129 if (PyErr_Occurred()) SWIG_fail
;
39131 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39138 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39139 PyObject
*resultobj
= 0;
39140 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39143 PyObject
*swig_obj
[1] ;
39145 if (!args
) SWIG_fail
;
39146 swig_obj
[0] = args
;
39147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39148 if (!SWIG_IsOK(res1
)) {
39149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39151 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39154 (arg1
)->OnInternalIdle();
39155 wxPyEndAllowThreads(__tstate
);
39156 if (PyErr_Occurred()) SWIG_fail
;
39158 resultobj
= SWIG_Py_Void();
39165 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39167 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39168 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39169 return SWIG_Py_Void();
39172 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39173 return SWIG_Python_InitShadowInstance(args
);
39176 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39177 PyObject
*resultobj
= 0;
39178 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39179 int arg2
= (int) 0 ;
39180 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39181 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39182 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39183 wxHelpEvent
*result
= 0 ;
39191 PyObject
* obj0
= 0 ;
39192 PyObject
* obj1
= 0 ;
39193 PyObject
* obj2
= 0 ;
39194 PyObject
* obj3
= 0 ;
39195 char * kwnames
[] = {
39196 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39201 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39202 if (!SWIG_IsOK(ecode1
)) {
39203 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39205 arg1
= static_cast< wxEventType
>(val1
);
39208 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39209 if (!SWIG_IsOK(ecode2
)) {
39210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39212 arg2
= static_cast< int >(val2
);
39217 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39221 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39222 if (!SWIG_IsOK(ecode4
)) {
39223 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39225 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39229 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39230 wxPyEndAllowThreads(__tstate
);
39231 if (PyErr_Occurred()) SWIG_fail
;
39233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39240 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39241 PyObject
*resultobj
= 0;
39242 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39246 PyObject
*swig_obj
[1] ;
39248 if (!args
) SWIG_fail
;
39249 swig_obj
[0] = args
;
39250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39251 if (!SWIG_IsOK(res1
)) {
39252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39254 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39257 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39258 wxPyEndAllowThreads(__tstate
);
39259 if (PyErr_Occurred()) SWIG_fail
;
39261 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39268 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39269 PyObject
*resultobj
= 0;
39270 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39271 wxPoint
*arg2
= 0 ;
39275 PyObject
* obj0
= 0 ;
39276 PyObject
* obj1
= 0 ;
39277 char * kwnames
[] = {
39278 (char *) "self",(char *) "pos", NULL
39281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39283 if (!SWIG_IsOK(res1
)) {
39284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39286 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39289 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39293 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39294 wxPyEndAllowThreads(__tstate
);
39295 if (PyErr_Occurred()) SWIG_fail
;
39297 resultobj
= SWIG_Py_Void();
39304 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39305 PyObject
*resultobj
= 0;
39306 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39307 wxString
*result
= 0 ;
39310 PyObject
*swig_obj
[1] ;
39312 if (!args
) SWIG_fail
;
39313 swig_obj
[0] = args
;
39314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39315 if (!SWIG_IsOK(res1
)) {
39316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39318 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39322 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39323 result
= (wxString
*) &_result_ref
;
39325 wxPyEndAllowThreads(__tstate
);
39326 if (PyErr_Occurred()) SWIG_fail
;
39330 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39332 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39341 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39342 PyObject
*resultobj
= 0;
39343 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39344 wxString
*arg2
= 0 ;
39347 bool temp2
= false ;
39348 PyObject
* obj0
= 0 ;
39349 PyObject
* obj1
= 0 ;
39350 char * kwnames
[] = {
39351 (char *) "self",(char *) "link", NULL
39354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39356 if (!SWIG_IsOK(res1
)) {
39357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39359 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39361 arg2
= wxString_in_helper(obj1
);
39362 if (arg2
== NULL
) SWIG_fail
;
39366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39367 (arg1
)->SetLink((wxString
const &)*arg2
);
39368 wxPyEndAllowThreads(__tstate
);
39369 if (PyErr_Occurred()) SWIG_fail
;
39371 resultobj
= SWIG_Py_Void();
39386 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39387 PyObject
*resultobj
= 0;
39388 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39389 wxString
*result
= 0 ;
39392 PyObject
*swig_obj
[1] ;
39394 if (!args
) SWIG_fail
;
39395 swig_obj
[0] = args
;
39396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39397 if (!SWIG_IsOK(res1
)) {
39398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39400 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39404 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39405 result
= (wxString
*) &_result_ref
;
39407 wxPyEndAllowThreads(__tstate
);
39408 if (PyErr_Occurred()) SWIG_fail
;
39412 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39414 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39423 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39424 PyObject
*resultobj
= 0;
39425 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39426 wxString
*arg2
= 0 ;
39429 bool temp2
= false ;
39430 PyObject
* obj0
= 0 ;
39431 PyObject
* obj1
= 0 ;
39432 char * kwnames
[] = {
39433 (char *) "self",(char *) "target", NULL
39436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39438 if (!SWIG_IsOK(res1
)) {
39439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39441 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39443 arg2
= wxString_in_helper(obj1
);
39444 if (arg2
== NULL
) SWIG_fail
;
39448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39449 (arg1
)->SetTarget((wxString
const &)*arg2
);
39450 wxPyEndAllowThreads(__tstate
);
39451 if (PyErr_Occurred()) SWIG_fail
;
39453 resultobj
= SWIG_Py_Void();
39468 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39469 PyObject
*resultobj
= 0;
39470 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39471 wxHelpEvent::Origin result
;
39474 PyObject
*swig_obj
[1] ;
39476 if (!args
) SWIG_fail
;
39477 swig_obj
[0] = args
;
39478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39479 if (!SWIG_IsOK(res1
)) {
39480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39482 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39485 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39486 wxPyEndAllowThreads(__tstate
);
39487 if (PyErr_Occurred()) SWIG_fail
;
39489 resultobj
= SWIG_From_int(static_cast< int >(result
));
39496 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39497 PyObject
*resultobj
= 0;
39498 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39499 wxHelpEvent::Origin arg2
;
39504 PyObject
* obj0
= 0 ;
39505 PyObject
* obj1
= 0 ;
39506 char * kwnames
[] = {
39507 (char *) "self",(char *) "origin", NULL
39510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39512 if (!SWIG_IsOK(res1
)) {
39513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39515 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39516 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39517 if (!SWIG_IsOK(ecode2
)) {
39518 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39520 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39523 (arg1
)->SetOrigin(arg2
);
39524 wxPyEndAllowThreads(__tstate
);
39525 if (PyErr_Occurred()) SWIG_fail
;
39527 resultobj
= SWIG_Py_Void();
39534 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39536 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39537 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39538 return SWIG_Py_Void();
39541 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39542 return SWIG_Python_InitShadowInstance(args
);
39545 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39546 PyObject
*resultobj
= 0;
39547 wxWindow
*arg1
= (wxWindow
*) NULL
;
39548 bool arg2
= (bool) true ;
39549 wxContextHelp
*result
= 0 ;
39554 PyObject
* obj0
= 0 ;
39555 PyObject
* obj1
= 0 ;
39556 char * kwnames
[] = {
39557 (char *) "window",(char *) "doNow", NULL
39560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39563 if (!SWIG_IsOK(res1
)) {
39564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39566 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39569 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39570 if (!SWIG_IsOK(ecode2
)) {
39571 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39573 arg2
= static_cast< bool >(val2
);
39576 if (!wxPyCheckForApp()) SWIG_fail
;
39577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39578 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39579 wxPyEndAllowThreads(__tstate
);
39580 if (PyErr_Occurred()) SWIG_fail
;
39582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39589 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39590 PyObject
*resultobj
= 0;
39591 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39594 PyObject
*swig_obj
[1] ;
39596 if (!args
) SWIG_fail
;
39597 swig_obj
[0] = args
;
39598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39599 if (!SWIG_IsOK(res1
)) {
39600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39602 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39607 wxPyEndAllowThreads(__tstate
);
39608 if (PyErr_Occurred()) SWIG_fail
;
39610 resultobj
= SWIG_Py_Void();
39617 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39618 PyObject
*resultobj
= 0;
39619 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39620 wxWindow
*arg2
= (wxWindow
*) NULL
;
39626 PyObject
* obj0
= 0 ;
39627 PyObject
* obj1
= 0 ;
39628 char * kwnames
[] = {
39629 (char *) "self",(char *) "window", NULL
39632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39634 if (!SWIG_IsOK(res1
)) {
39635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39637 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39639 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39640 if (!SWIG_IsOK(res2
)) {
39641 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39643 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39647 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39648 wxPyEndAllowThreads(__tstate
);
39649 if (PyErr_Occurred()) SWIG_fail
;
39652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39660 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39661 PyObject
*resultobj
= 0;
39662 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39666 PyObject
*swig_obj
[1] ;
39668 if (!args
) SWIG_fail
;
39669 swig_obj
[0] = args
;
39670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39671 if (!SWIG_IsOK(res1
)) {
39672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39674 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39677 result
= (bool)(arg1
)->EndContextHelp();
39678 wxPyEndAllowThreads(__tstate
);
39679 if (PyErr_Occurred()) SWIG_fail
;
39682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39690 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39692 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39693 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39694 return SWIG_Py_Void();
39697 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39698 return SWIG_Python_InitShadowInstance(args
);
39701 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39702 PyObject
*resultobj
= 0;
39703 wxWindow
*arg1
= (wxWindow
*) 0 ;
39704 int arg2
= (int) wxID_CONTEXT_HELP
;
39705 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39706 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39707 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39708 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39709 long arg5
= (long) wxBU_AUTODRAW
;
39710 wxContextHelpButton
*result
= 0 ;
39719 PyObject
* obj0
= 0 ;
39720 PyObject
* obj1
= 0 ;
39721 PyObject
* obj2
= 0 ;
39722 PyObject
* obj3
= 0 ;
39723 PyObject
* obj4
= 0 ;
39724 char * kwnames
[] = {
39725 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39730 if (!SWIG_IsOK(res1
)) {
39731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39733 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39735 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39736 if (!SWIG_IsOK(ecode2
)) {
39737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39739 arg2
= static_cast< int >(val2
);
39744 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39750 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39754 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39755 if (!SWIG_IsOK(ecode5
)) {
39756 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39758 arg5
= static_cast< long >(val5
);
39761 if (!wxPyCheckForApp()) SWIG_fail
;
39762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39763 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
39764 wxPyEndAllowThreads(__tstate
);
39765 if (PyErr_Occurred()) SWIG_fail
;
39767 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
39774 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39776 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39777 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
39778 return SWIG_Py_Void();
39781 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39782 return SWIG_Python_InitShadowInstance(args
);
39785 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39786 PyObject
*resultobj
= 0;
39787 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39790 PyObject
*swig_obj
[1] ;
39792 if (!args
) SWIG_fail
;
39793 swig_obj
[0] = args
;
39794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39795 if (!SWIG_IsOK(res1
)) {
39796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39798 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39803 wxPyEndAllowThreads(__tstate
);
39804 if (PyErr_Occurred()) SWIG_fail
;
39806 resultobj
= SWIG_Py_Void();
39813 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39814 PyObject
*resultobj
= 0;
39815 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39816 wxHelpProvider
*result
= 0 ;
39818 PyObject
* obj0
= 0 ;
39819 char * kwnames
[] = {
39820 (char *) "helpProvider", NULL
39823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
39824 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39825 if (!SWIG_IsOK(res1
)) {
39826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39830 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
39831 wxPyEndAllowThreads(__tstate
);
39832 if (PyErr_Occurred()) SWIG_fail
;
39834 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
39841 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39842 PyObject
*resultobj
= 0;
39843 wxHelpProvider
*result
= 0 ;
39845 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
39847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39848 result
= (wxHelpProvider
*)wxHelpProvider::Get();
39849 wxPyEndAllowThreads(__tstate
);
39850 if (PyErr_Occurred()) SWIG_fail
;
39852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39859 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39860 PyObject
*resultobj
= 0;
39861 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39862 wxWindow
*arg2
= (wxWindow
*) 0 ;
39868 PyObject
* obj0
= 0 ;
39869 PyObject
* obj1
= 0 ;
39870 char * kwnames
[] = {
39871 (char *) "self",(char *) "window", NULL
39874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39876 if (!SWIG_IsOK(res1
)) {
39877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39879 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39880 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39881 if (!SWIG_IsOK(res2
)) {
39882 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
39884 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39887 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
39888 wxPyEndAllowThreads(__tstate
);
39889 if (PyErr_Occurred()) SWIG_fail
;
39893 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
39895 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
39904 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39905 PyObject
*resultobj
= 0;
39906 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39907 wxWindow
*arg2
= (wxWindow
*) 0 ;
39913 PyObject
* obj0
= 0 ;
39914 PyObject
* obj1
= 0 ;
39915 char * kwnames
[] = {
39916 (char *) "self",(char *) "window", NULL
39919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39921 if (!SWIG_IsOK(res1
)) {
39922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39924 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39925 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39926 if (!SWIG_IsOK(res2
)) {
39927 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39929 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39932 result
= (bool)(arg1
)->ShowHelp(arg2
);
39933 wxPyEndAllowThreads(__tstate
);
39934 if (PyErr_Occurred()) SWIG_fail
;
39937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39945 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39946 PyObject
*resultobj
= 0;
39947 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39948 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
39949 wxPoint
*arg3
= 0 ;
39950 wxHelpEvent::Origin arg4
;
39959 PyObject
* obj0
= 0 ;
39960 PyObject
* obj1
= 0 ;
39961 PyObject
* obj2
= 0 ;
39962 PyObject
* obj3
= 0 ;
39963 char * kwnames
[] = {
39964 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
39967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39969 if (!SWIG_IsOK(res1
)) {
39970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39972 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39973 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
39974 if (!SWIG_IsOK(res2
)) {
39975 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
39977 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
39980 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39982 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39983 if (!SWIG_IsOK(ecode4
)) {
39984 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39986 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39989 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
39990 wxPyEndAllowThreads(__tstate
);
39991 if (PyErr_Occurred()) SWIG_fail
;
39994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40002 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40003 PyObject
*resultobj
= 0;
40004 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40005 wxWindow
*arg2
= (wxWindow
*) 0 ;
40006 wxString
*arg3
= 0 ;
40011 bool temp3
= false ;
40012 PyObject
* obj0
= 0 ;
40013 PyObject
* obj1
= 0 ;
40014 PyObject
* obj2
= 0 ;
40015 char * kwnames
[] = {
40016 (char *) "self",(char *) "window",(char *) "text", NULL
40019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40021 if (!SWIG_IsOK(res1
)) {
40022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40024 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40025 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40026 if (!SWIG_IsOK(res2
)) {
40027 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40029 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40031 arg3
= wxString_in_helper(obj2
);
40032 if (arg3
== NULL
) SWIG_fail
;
40036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40037 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40038 wxPyEndAllowThreads(__tstate
);
40039 if (PyErr_Occurred()) SWIG_fail
;
40041 resultobj
= SWIG_Py_Void();
40056 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40057 PyObject
*resultobj
= 0;
40058 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40060 wxString
*arg3
= 0 ;
40065 bool temp3
= false ;
40066 PyObject
* obj0
= 0 ;
40067 PyObject
* obj1
= 0 ;
40068 PyObject
* obj2
= 0 ;
40069 char * kwnames
[] = {
40070 (char *) "self",(char *) "id",(char *) "text", NULL
40073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40075 if (!SWIG_IsOK(res1
)) {
40076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40078 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40080 if (!SWIG_IsOK(ecode2
)) {
40081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40083 arg2
= static_cast< int >(val2
);
40085 arg3
= wxString_in_helper(obj2
);
40086 if (arg3
== NULL
) SWIG_fail
;
40090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40091 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40092 wxPyEndAllowThreads(__tstate
);
40093 if (PyErr_Occurred()) SWIG_fail
;
40095 resultobj
= SWIG_Py_Void();
40110 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40111 PyObject
*resultobj
= 0;
40112 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40113 wxWindow
*arg2
= (wxWindow
*) 0 ;
40118 PyObject
* obj0
= 0 ;
40119 PyObject
* obj1
= 0 ;
40120 char * kwnames
[] = {
40121 (char *) "self",(char *) "window", NULL
40124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40126 if (!SWIG_IsOK(res1
)) {
40127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40129 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40130 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40131 if (!SWIG_IsOK(res2
)) {
40132 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40134 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40137 (arg1
)->RemoveHelp(arg2
);
40138 wxPyEndAllowThreads(__tstate
);
40139 if (PyErr_Occurred()) SWIG_fail
;
40141 resultobj
= SWIG_Py_Void();
40148 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40149 PyObject
*resultobj
= 0;
40150 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40153 PyObject
*swig_obj
[1] ;
40155 if (!args
) SWIG_fail
;
40156 swig_obj
[0] = args
;
40157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40158 if (!SWIG_IsOK(res1
)) {
40159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40161 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40164 wxHelpProvider_Destroy(arg1
);
40165 wxPyEndAllowThreads(__tstate
);
40166 if (PyErr_Occurred()) SWIG_fail
;
40168 resultobj
= SWIG_Py_Void();
40175 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40177 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40178 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40179 return SWIG_Py_Void();
40182 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40183 PyObject
*resultobj
= 0;
40184 wxSimpleHelpProvider
*result
= 0 ;
40186 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40189 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40190 wxPyEndAllowThreads(__tstate
);
40191 if (PyErr_Occurred()) SWIG_fail
;
40193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40200 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40202 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40203 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40204 return SWIG_Py_Void();
40207 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40208 return SWIG_Python_InitShadowInstance(args
);
40211 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40212 PyObject
*resultobj
= 0;
40213 wxBitmap
*arg1
= 0 ;
40214 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40215 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40216 wxGenericDragImage
*result
= 0 ;
40221 PyObject
* obj0
= 0 ;
40222 PyObject
* obj1
= 0 ;
40223 char * kwnames
[] = {
40224 (char *) "image",(char *) "cursor", NULL
40227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40228 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40229 if (!SWIG_IsOK(res1
)) {
40230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40233 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40235 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40237 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40238 if (!SWIG_IsOK(res2
)) {
40239 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40242 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40244 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40247 if (!wxPyCheckForApp()) SWIG_fail
;
40248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40249 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40250 wxPyEndAllowThreads(__tstate
);
40251 if (PyErr_Occurred()) SWIG_fail
;
40253 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40260 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40261 PyObject
*resultobj
= 0;
40263 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40264 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40265 wxGenericDragImage
*result
= 0 ;
40270 PyObject
* obj0
= 0 ;
40271 PyObject
* obj1
= 0 ;
40272 char * kwnames
[] = {
40273 (char *) "image",(char *) "cursor", NULL
40276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40277 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40278 if (!SWIG_IsOK(res1
)) {
40279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40282 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40284 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40286 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40287 if (!SWIG_IsOK(res2
)) {
40288 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40291 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40293 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40296 if (!wxPyCheckForApp()) SWIG_fail
;
40297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40298 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40299 wxPyEndAllowThreads(__tstate
);
40300 if (PyErr_Occurred()) SWIG_fail
;
40302 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40309 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40310 PyObject
*resultobj
= 0;
40311 wxString
*arg1
= 0 ;
40312 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40313 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40314 wxGenericDragImage
*result
= 0 ;
40315 bool temp1
= false ;
40318 PyObject
* obj0
= 0 ;
40319 PyObject
* obj1
= 0 ;
40320 char * kwnames
[] = {
40321 (char *) "str",(char *) "cursor", NULL
40324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40326 arg1
= wxString_in_helper(obj0
);
40327 if (arg1
== NULL
) SWIG_fail
;
40331 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40332 if (!SWIG_IsOK(res2
)) {
40333 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40336 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40338 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40341 if (!wxPyCheckForApp()) SWIG_fail
;
40342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40343 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40344 wxPyEndAllowThreads(__tstate
);
40345 if (PyErr_Occurred()) SWIG_fail
;
40347 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40362 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40363 PyObject
*resultobj
= 0;
40364 wxPyTreeCtrl
*arg1
= 0 ;
40365 wxTreeItemId
*arg2
= 0 ;
40366 wxGenericDragImage
*result
= 0 ;
40371 PyObject
* obj0
= 0 ;
40372 PyObject
* obj1
= 0 ;
40373 char * kwnames
[] = {
40374 (char *) "treeCtrl",(char *) "id", NULL
40377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40378 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40379 if (!SWIG_IsOK(res1
)) {
40380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40383 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40385 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40386 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40387 if (!SWIG_IsOK(res2
)) {
40388 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40391 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40393 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40395 if (!wxPyCheckForApp()) SWIG_fail
;
40396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40397 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40398 wxPyEndAllowThreads(__tstate
);
40399 if (PyErr_Occurred()) SWIG_fail
;
40401 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40408 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40409 PyObject
*resultobj
= 0;
40410 wxPyListCtrl
*arg1
= 0 ;
40412 wxGenericDragImage
*result
= 0 ;
40417 PyObject
* obj0
= 0 ;
40418 PyObject
* obj1
= 0 ;
40419 char * kwnames
[] = {
40420 (char *) "listCtrl",(char *) "id", NULL
40423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40424 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40425 if (!SWIG_IsOK(res1
)) {
40426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40429 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40431 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40432 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40433 if (!SWIG_IsOK(ecode2
)) {
40434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40436 arg2
= static_cast< long >(val2
);
40438 if (!wxPyCheckForApp()) SWIG_fail
;
40439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40440 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40441 wxPyEndAllowThreads(__tstate
);
40442 if (PyErr_Occurred()) SWIG_fail
;
40444 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40451 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40452 PyObject
*resultobj
= 0;
40453 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40456 PyObject
*swig_obj
[1] ;
40458 if (!args
) SWIG_fail
;
40459 swig_obj
[0] = args
;
40460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40461 if (!SWIG_IsOK(res1
)) {
40462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40464 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40469 wxPyEndAllowThreads(__tstate
);
40470 if (PyErr_Occurred()) SWIG_fail
;
40472 resultobj
= SWIG_Py_Void();
40479 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40480 PyObject
*resultobj
= 0;
40481 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40482 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40487 PyObject
* obj0
= 0 ;
40488 PyObject
* obj1
= 0 ;
40489 char * kwnames
[] = {
40490 (char *) "self",(char *) "bitmap", NULL
40493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40495 if (!SWIG_IsOK(res1
)) {
40496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40498 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40499 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40500 if (!SWIG_IsOK(res2
)) {
40501 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40503 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40506 (arg1
)->SetBackingBitmap(arg2
);
40507 wxPyEndAllowThreads(__tstate
);
40508 if (PyErr_Occurred()) SWIG_fail
;
40510 resultobj
= SWIG_Py_Void();
40517 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40518 PyObject
*resultobj
= 0;
40519 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40520 wxPoint
*arg2
= 0 ;
40521 wxWindow
*arg3
= (wxWindow
*) 0 ;
40522 bool arg4
= (bool) false ;
40523 wxRect
*arg5
= (wxRect
*) NULL
;
40534 PyObject
* obj0
= 0 ;
40535 PyObject
* obj1
= 0 ;
40536 PyObject
* obj2
= 0 ;
40537 PyObject
* obj3
= 0 ;
40538 PyObject
* obj4
= 0 ;
40539 char * kwnames
[] = {
40540 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40545 if (!SWIG_IsOK(res1
)) {
40546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40548 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40551 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40553 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40554 if (!SWIG_IsOK(res3
)) {
40555 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40557 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40559 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40560 if (!SWIG_IsOK(ecode4
)) {
40561 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40563 arg4
= static_cast< bool >(val4
);
40566 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
40567 if (!SWIG_IsOK(res5
)) {
40568 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40570 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40574 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40575 wxPyEndAllowThreads(__tstate
);
40576 if (PyErr_Occurred()) SWIG_fail
;
40579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40587 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40588 PyObject
*resultobj
= 0;
40589 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40590 wxPoint
*arg2
= 0 ;
40591 wxWindow
*arg3
= (wxWindow
*) 0 ;
40592 wxWindow
*arg4
= (wxWindow
*) 0 ;
40601 PyObject
* obj0
= 0 ;
40602 PyObject
* obj1
= 0 ;
40603 PyObject
* obj2
= 0 ;
40604 PyObject
* obj3
= 0 ;
40605 char * kwnames
[] = {
40606 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40611 if (!SWIG_IsOK(res1
)) {
40612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40614 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40617 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40619 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40620 if (!SWIG_IsOK(res3
)) {
40621 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40623 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40624 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40625 if (!SWIG_IsOK(res4
)) {
40626 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40628 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40631 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40632 wxPyEndAllowThreads(__tstate
);
40633 if (PyErr_Occurred()) SWIG_fail
;
40636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40644 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40645 PyObject
*resultobj
= 0;
40646 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40650 PyObject
*swig_obj
[1] ;
40652 if (!args
) SWIG_fail
;
40653 swig_obj
[0] = args
;
40654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40655 if (!SWIG_IsOK(res1
)) {
40656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40658 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40661 result
= (bool)(arg1
)->EndDrag();
40662 wxPyEndAllowThreads(__tstate
);
40663 if (PyErr_Occurred()) SWIG_fail
;
40666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40674 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40675 PyObject
*resultobj
= 0;
40676 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40677 wxPoint
*arg2
= 0 ;
40682 PyObject
* obj0
= 0 ;
40683 PyObject
* obj1
= 0 ;
40684 char * kwnames
[] = {
40685 (char *) "self",(char *) "pt", NULL
40688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40690 if (!SWIG_IsOK(res1
)) {
40691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40693 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40696 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40700 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40701 wxPyEndAllowThreads(__tstate
);
40702 if (PyErr_Occurred()) SWIG_fail
;
40705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40713 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40714 PyObject
*resultobj
= 0;
40715 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40719 PyObject
*swig_obj
[1] ;
40721 if (!args
) SWIG_fail
;
40722 swig_obj
[0] = args
;
40723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40724 if (!SWIG_IsOK(res1
)) {
40725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40727 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40730 result
= (bool)(arg1
)->Show();
40731 wxPyEndAllowThreads(__tstate
);
40732 if (PyErr_Occurred()) SWIG_fail
;
40735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40743 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40744 PyObject
*resultobj
= 0;
40745 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40749 PyObject
*swig_obj
[1] ;
40751 if (!args
) SWIG_fail
;
40752 swig_obj
[0] = args
;
40753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40754 if (!SWIG_IsOK(res1
)) {
40755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40757 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40760 result
= (bool)(arg1
)->Hide();
40761 wxPyEndAllowThreads(__tstate
);
40762 if (PyErr_Occurred()) SWIG_fail
;
40765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40773 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40774 PyObject
*resultobj
= 0;
40775 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40776 wxPoint
*arg2
= 0 ;
40781 PyObject
* obj0
= 0 ;
40782 PyObject
* obj1
= 0 ;
40783 char * kwnames
[] = {
40784 (char *) "self",(char *) "pos", NULL
40787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40789 if (!SWIG_IsOK(res1
)) {
40790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40792 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40795 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40799 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
40800 wxPyEndAllowThreads(__tstate
);
40801 if (PyErr_Occurred()) SWIG_fail
;
40803 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
40810 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40811 PyObject
*resultobj
= 0;
40812 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40814 wxPoint
*arg3
= 0 ;
40821 PyObject
* obj0
= 0 ;
40822 PyObject
* obj1
= 0 ;
40823 PyObject
* obj2
= 0 ;
40824 char * kwnames
[] = {
40825 (char *) "self",(char *) "dc",(char *) "pos", NULL
40828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40830 if (!SWIG_IsOK(res1
)) {
40831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40833 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40834 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40835 if (!SWIG_IsOK(res2
)) {
40836 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40839 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40841 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40844 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40848 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
40849 wxPyEndAllowThreads(__tstate
);
40850 if (PyErr_Occurred()) SWIG_fail
;
40853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40861 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40862 PyObject
*resultobj
= 0;
40863 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40865 wxMemoryDC
*arg3
= 0 ;
40877 PyObject
* obj0
= 0 ;
40878 PyObject
* obj1
= 0 ;
40879 PyObject
* obj2
= 0 ;
40880 PyObject
* obj3
= 0 ;
40881 PyObject
* obj4
= 0 ;
40882 char * kwnames
[] = {
40883 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
40886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40888 if (!SWIG_IsOK(res1
)) {
40889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40891 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40892 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40893 if (!SWIG_IsOK(res2
)) {
40894 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40897 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40899 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40900 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
40901 if (!SWIG_IsOK(res3
)) {
40902 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40905 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40907 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
40910 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
40914 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
40917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40918 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
40919 wxPyEndAllowThreads(__tstate
);
40920 if (PyErr_Occurred()) SWIG_fail
;
40923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40931 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40932 PyObject
*resultobj
= 0;
40933 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40934 wxPoint
*arg2
= 0 ;
40935 wxPoint
*arg3
= 0 ;
40947 PyObject
* obj0
= 0 ;
40948 PyObject
* obj1
= 0 ;
40949 PyObject
* obj2
= 0 ;
40950 PyObject
* obj3
= 0 ;
40951 PyObject
* obj4
= 0 ;
40952 char * kwnames
[] = {
40953 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
40956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40958 if (!SWIG_IsOK(res1
)) {
40959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40961 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40964 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40968 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40970 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40971 if (!SWIG_IsOK(ecode4
)) {
40972 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
40974 arg4
= static_cast< bool >(val4
);
40975 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
40976 if (!SWIG_IsOK(ecode5
)) {
40977 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
40979 arg5
= static_cast< bool >(val5
);
40981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40982 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
40983 wxPyEndAllowThreads(__tstate
);
40984 if (PyErr_Occurred()) SWIG_fail
;
40987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40995 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40997 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40998 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
40999 return SWIG_Py_Void();
41002 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41003 return SWIG_Python_InitShadowInstance(args
);
41006 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
41007 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
41012 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
41013 PyObject
*pyobj
= 0;
41017 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41019 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41026 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41027 PyObject
*resultobj
= 0;
41028 wxWindow
*arg1
= (wxWindow
*) 0 ;
41029 int arg2
= (int) -1 ;
41030 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
41031 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
41032 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
41033 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
41034 wxSize
const &arg5_defvalue
= wxDefaultSize
;
41035 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
41036 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41037 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
41038 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
41039 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
41040 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41041 wxDatePickerCtrl
*result
= 0 ;
41054 bool temp8
= false ;
41055 PyObject
* obj0
= 0 ;
41056 PyObject
* obj1
= 0 ;
41057 PyObject
* obj2
= 0 ;
41058 PyObject
* obj3
= 0 ;
41059 PyObject
* obj4
= 0 ;
41060 PyObject
* obj5
= 0 ;
41061 PyObject
* obj6
= 0 ;
41062 PyObject
* obj7
= 0 ;
41063 char * kwnames
[] = {
41064 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41069 if (!SWIG_IsOK(res1
)) {
41070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41072 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41075 if (!SWIG_IsOK(ecode2
)) {
41076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41078 arg2
= static_cast< int >(val2
);
41081 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41082 if (!SWIG_IsOK(res3
)) {
41083 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41086 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41088 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41093 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41099 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41103 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41104 if (!SWIG_IsOK(ecode6
)) {
41105 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41107 arg6
= static_cast< long >(val6
);
41110 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41111 if (!SWIG_IsOK(res7
)) {
41112 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41115 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41117 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41121 arg8
= wxString_in_helper(obj7
);
41122 if (arg8
== NULL
) SWIG_fail
;
41127 if (!wxPyCheckForApp()) SWIG_fail
;
41128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41129 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41130 wxPyEndAllowThreads(__tstate
);
41131 if (PyErr_Occurred()) SWIG_fail
;
41133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41148 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41149 PyObject
*resultobj
= 0;
41150 wxDatePickerCtrl
*result
= 0 ;
41152 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41154 if (!wxPyCheckForApp()) SWIG_fail
;
41155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41156 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41157 wxPyEndAllowThreads(__tstate
);
41158 if (PyErr_Occurred()) SWIG_fail
;
41160 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41167 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41168 PyObject
*resultobj
= 0;
41169 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41170 wxWindow
*arg2
= (wxWindow
*) 0 ;
41171 int arg3
= (int) -1 ;
41172 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41173 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41174 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41175 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41176 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41177 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41178 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41179 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41180 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41181 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41182 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41198 bool temp9
= false ;
41199 PyObject
* obj0
= 0 ;
41200 PyObject
* obj1
= 0 ;
41201 PyObject
* obj2
= 0 ;
41202 PyObject
* obj3
= 0 ;
41203 PyObject
* obj4
= 0 ;
41204 PyObject
* obj5
= 0 ;
41205 PyObject
* obj6
= 0 ;
41206 PyObject
* obj7
= 0 ;
41207 PyObject
* obj8
= 0 ;
41208 char * kwnames
[] = {
41209 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41214 if (!SWIG_IsOK(res1
)) {
41215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41217 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41218 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41219 if (!SWIG_IsOK(res2
)) {
41220 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41222 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41224 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41225 if (!SWIG_IsOK(ecode3
)) {
41226 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41228 arg3
= static_cast< int >(val3
);
41231 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41232 if (!SWIG_IsOK(res4
)) {
41233 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41236 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41238 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41243 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41249 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41253 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41254 if (!SWIG_IsOK(ecode7
)) {
41255 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41257 arg7
= static_cast< long >(val7
);
41260 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41261 if (!SWIG_IsOK(res8
)) {
41262 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41265 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41267 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41271 arg9
= wxString_in_helper(obj8
);
41272 if (arg9
== NULL
) SWIG_fail
;
41277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41278 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41279 wxPyEndAllowThreads(__tstate
);
41280 if (PyErr_Occurred()) SWIG_fail
;
41283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41299 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41300 PyObject
*resultobj
= 0;
41301 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41302 wxDateTime
*arg2
= 0 ;
41307 PyObject
* obj0
= 0 ;
41308 PyObject
* obj1
= 0 ;
41309 char * kwnames
[] = {
41310 (char *) "self",(char *) "dt", NULL
41313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41315 if (!SWIG_IsOK(res1
)) {
41316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41318 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41319 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41320 if (!SWIG_IsOK(res2
)) {
41321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41326 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41329 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41330 wxPyEndAllowThreads(__tstate
);
41331 if (PyErr_Occurred()) SWIG_fail
;
41333 resultobj
= SWIG_Py_Void();
41340 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41341 PyObject
*resultobj
= 0;
41342 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41346 PyObject
*swig_obj
[1] ;
41348 if (!args
) SWIG_fail
;
41349 swig_obj
[0] = args
;
41350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41351 if (!SWIG_IsOK(res1
)) {
41352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41354 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41357 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41358 wxPyEndAllowThreads(__tstate
);
41359 if (PyErr_Occurred()) SWIG_fail
;
41361 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41368 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41369 PyObject
*resultobj
= 0;
41370 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41371 wxDateTime
*arg2
= 0 ;
41372 wxDateTime
*arg3
= 0 ;
41379 PyObject
* obj0
= 0 ;
41380 PyObject
* obj1
= 0 ;
41381 PyObject
* obj2
= 0 ;
41382 char * kwnames
[] = {
41383 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41388 if (!SWIG_IsOK(res1
)) {
41389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41391 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41392 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41393 if (!SWIG_IsOK(res2
)) {
41394 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41397 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41399 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41400 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41401 if (!SWIG_IsOK(res3
)) {
41402 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41405 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41407 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41410 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41411 wxPyEndAllowThreads(__tstate
);
41412 if (PyErr_Occurred()) SWIG_fail
;
41414 resultobj
= SWIG_Py_Void();
41421 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41422 PyObject
*resultobj
= 0;
41423 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41427 PyObject
*swig_obj
[1] ;
41429 if (!args
) SWIG_fail
;
41430 swig_obj
[0] = args
;
41431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41432 if (!SWIG_IsOK(res1
)) {
41433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41435 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41438 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41439 wxPyEndAllowThreads(__tstate
);
41440 if (PyErr_Occurred()) SWIG_fail
;
41442 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41449 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41450 PyObject
*resultobj
= 0;
41451 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41455 PyObject
*swig_obj
[1] ;
41457 if (!args
) SWIG_fail
;
41458 swig_obj
[0] = args
;
41459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41460 if (!SWIG_IsOK(res1
)) {
41461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41463 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41466 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41467 wxPyEndAllowThreads(__tstate
);
41468 if (PyErr_Occurred()) SWIG_fail
;
41470 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41477 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41479 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41480 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41481 return SWIG_Py_Void();
41484 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41485 return SWIG_Python_InitShadowInstance(args
);
41488 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41489 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41494 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41495 PyObject
*pyobj
= 0;
41499 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41501 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41508 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41509 PyObject
*resultobj
= 0;
41510 wxWindow
*arg1
= (wxWindow
*) 0 ;
41512 wxString
*arg3
= 0 ;
41513 wxString
*arg4
= 0 ;
41514 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41515 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41516 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41517 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41518 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41519 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41520 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41521 wxHyperlinkCtrl
*result
= 0 ;
41526 bool temp3
= false ;
41527 bool temp4
= false ;
41532 bool temp8
= false ;
41533 PyObject
* obj0
= 0 ;
41534 PyObject
* obj1
= 0 ;
41535 PyObject
* obj2
= 0 ;
41536 PyObject
* obj3
= 0 ;
41537 PyObject
* obj4
= 0 ;
41538 PyObject
* obj5
= 0 ;
41539 PyObject
* obj6
= 0 ;
41540 PyObject
* obj7
= 0 ;
41541 char * kwnames
[] = {
41542 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41547 if (!SWIG_IsOK(res1
)) {
41548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41550 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41551 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41552 if (!SWIG_IsOK(ecode2
)) {
41553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41555 arg2
= static_cast< int >(val2
);
41557 arg3
= wxString_in_helper(obj2
);
41558 if (arg3
== NULL
) SWIG_fail
;
41562 arg4
= wxString_in_helper(obj3
);
41563 if (arg4
== NULL
) SWIG_fail
;
41569 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41575 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41579 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41580 if (!SWIG_IsOK(ecode7
)) {
41581 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41583 arg7
= static_cast< long >(val7
);
41587 arg8
= wxString_in_helper(obj7
);
41588 if (arg8
== NULL
) SWIG_fail
;
41593 if (!wxPyCheckForApp()) SWIG_fail
;
41594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41595 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
41596 wxPyEndAllowThreads(__tstate
);
41597 if (PyErr_Occurred()) SWIG_fail
;
41599 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
41630 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41631 PyObject
*resultobj
= 0;
41632 wxHyperlinkCtrl
*result
= 0 ;
41634 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
41636 if (!wxPyCheckForApp()) SWIG_fail
;
41637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41638 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
41639 wxPyEndAllowThreads(__tstate
);
41640 if (PyErr_Occurred()) SWIG_fail
;
41642 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
41649 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41650 PyObject
*resultobj
= 0;
41651 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41652 wxWindow
*arg2
= (wxWindow
*) 0 ;
41654 wxString
*arg4
= 0 ;
41655 wxString
*arg5
= 0 ;
41656 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
41657 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
41658 wxSize
const &arg7_defvalue
= wxDefaultSize
;
41659 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
41660 long arg8
= (long) wxHL_DEFAULT_STYLE
;
41661 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
41662 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41670 bool temp4
= false ;
41671 bool temp5
= false ;
41676 bool temp9
= false ;
41677 PyObject
* obj0
= 0 ;
41678 PyObject
* obj1
= 0 ;
41679 PyObject
* obj2
= 0 ;
41680 PyObject
* obj3
= 0 ;
41681 PyObject
* obj4
= 0 ;
41682 PyObject
* obj5
= 0 ;
41683 PyObject
* obj6
= 0 ;
41684 PyObject
* obj7
= 0 ;
41685 PyObject
* obj8
= 0 ;
41686 char * kwnames
[] = {
41687 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41692 if (!SWIG_IsOK(res1
)) {
41693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41695 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41696 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41697 if (!SWIG_IsOK(res2
)) {
41698 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41700 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41701 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41702 if (!SWIG_IsOK(ecode3
)) {
41703 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41705 arg3
= static_cast< int >(val3
);
41707 arg4
= wxString_in_helper(obj3
);
41708 if (arg4
== NULL
) SWIG_fail
;
41712 arg5
= wxString_in_helper(obj4
);
41713 if (arg5
== NULL
) SWIG_fail
;
41719 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
41725 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
41729 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
41730 if (!SWIG_IsOK(ecode8
)) {
41731 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41733 arg8
= static_cast< long >(val8
);
41737 arg9
= wxString_in_helper(obj8
);
41738 if (arg9
== NULL
) SWIG_fail
;
41743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41744 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
41745 wxPyEndAllowThreads(__tstate
);
41746 if (PyErr_Occurred()) SWIG_fail
;
41749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41781 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41782 PyObject
*resultobj
= 0;
41783 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41787 PyObject
*swig_obj
[1] ;
41789 if (!args
) SWIG_fail
;
41790 swig_obj
[0] = args
;
41791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41792 if (!SWIG_IsOK(res1
)) {
41793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41795 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41798 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
41799 wxPyEndAllowThreads(__tstate
);
41800 if (PyErr_Occurred()) SWIG_fail
;
41802 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41809 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41810 PyObject
*resultobj
= 0;
41811 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41812 wxColour
*arg2
= 0 ;
41816 PyObject
* obj0
= 0 ;
41817 PyObject
* obj1
= 0 ;
41818 char * kwnames
[] = {
41819 (char *) "self",(char *) "colour", NULL
41822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41824 if (!SWIG_IsOK(res1
)) {
41825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41827 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41830 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41834 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
41835 wxPyEndAllowThreads(__tstate
);
41836 if (PyErr_Occurred()) SWIG_fail
;
41838 resultobj
= SWIG_Py_Void();
41845 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41846 PyObject
*resultobj
= 0;
41847 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41851 PyObject
*swig_obj
[1] ;
41853 if (!args
) SWIG_fail
;
41854 swig_obj
[0] = args
;
41855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41856 if (!SWIG_IsOK(res1
)) {
41857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41859 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41862 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
41863 wxPyEndAllowThreads(__tstate
);
41864 if (PyErr_Occurred()) SWIG_fail
;
41866 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41873 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41874 PyObject
*resultobj
= 0;
41875 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41876 wxColour
*arg2
= 0 ;
41880 PyObject
* obj0
= 0 ;
41881 PyObject
* obj1
= 0 ;
41882 char * kwnames
[] = {
41883 (char *) "self",(char *) "colour", NULL
41886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41888 if (!SWIG_IsOK(res1
)) {
41889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41891 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41894 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41898 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
41899 wxPyEndAllowThreads(__tstate
);
41900 if (PyErr_Occurred()) SWIG_fail
;
41902 resultobj
= SWIG_Py_Void();
41909 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41910 PyObject
*resultobj
= 0;
41911 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41915 PyObject
*swig_obj
[1] ;
41917 if (!args
) SWIG_fail
;
41918 swig_obj
[0] = args
;
41919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41920 if (!SWIG_IsOK(res1
)) {
41921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41923 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41926 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
41927 wxPyEndAllowThreads(__tstate
);
41928 if (PyErr_Occurred()) SWIG_fail
;
41930 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41937 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41938 PyObject
*resultobj
= 0;
41939 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41940 wxColour
*arg2
= 0 ;
41944 PyObject
* obj0
= 0 ;
41945 PyObject
* obj1
= 0 ;
41946 char * kwnames
[] = {
41947 (char *) "self",(char *) "colour", NULL
41950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41952 if (!SWIG_IsOK(res1
)) {
41953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41955 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41958 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41962 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
41963 wxPyEndAllowThreads(__tstate
);
41964 if (PyErr_Occurred()) SWIG_fail
;
41966 resultobj
= SWIG_Py_Void();
41973 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41974 PyObject
*resultobj
= 0;
41975 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41979 PyObject
*swig_obj
[1] ;
41981 if (!args
) SWIG_fail
;
41982 swig_obj
[0] = args
;
41983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41984 if (!SWIG_IsOK(res1
)) {
41985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41987 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41990 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
41991 wxPyEndAllowThreads(__tstate
);
41992 if (PyErr_Occurred()) SWIG_fail
;
41996 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41998 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42007 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42008 PyObject
*resultobj
= 0;
42009 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42010 wxString
*arg2
= 0 ;
42013 bool temp2
= false ;
42014 PyObject
* obj0
= 0 ;
42015 PyObject
* obj1
= 0 ;
42016 char * kwnames
[] = {
42017 (char *) "self",(char *) "url", NULL
42020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42022 if (!SWIG_IsOK(res1
)) {
42023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42025 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42027 arg2
= wxString_in_helper(obj1
);
42028 if (arg2
== NULL
) SWIG_fail
;
42032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42033 (arg1
)->SetURL((wxString
const &)*arg2
);
42034 wxPyEndAllowThreads(__tstate
);
42035 if (PyErr_Occurred()) SWIG_fail
;
42037 resultobj
= SWIG_Py_Void();
42052 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42053 PyObject
*resultobj
= 0;
42054 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42055 bool arg2
= (bool) true ;
42060 PyObject
* obj0
= 0 ;
42061 PyObject
* obj1
= 0 ;
42062 char * kwnames
[] = {
42063 (char *) "self",(char *) "visited", NULL
42066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42068 if (!SWIG_IsOK(res1
)) {
42069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42071 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42073 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42074 if (!SWIG_IsOK(ecode2
)) {
42075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42077 arg2
= static_cast< bool >(val2
);
42080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42081 (arg1
)->SetVisited(arg2
);
42082 wxPyEndAllowThreads(__tstate
);
42083 if (PyErr_Occurred()) SWIG_fail
;
42085 resultobj
= SWIG_Py_Void();
42092 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42093 PyObject
*resultobj
= 0;
42094 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42098 PyObject
*swig_obj
[1] ;
42100 if (!args
) SWIG_fail
;
42101 swig_obj
[0] = args
;
42102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42103 if (!SWIG_IsOK(res1
)) {
42104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42106 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42109 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42110 wxPyEndAllowThreads(__tstate
);
42111 if (PyErr_Occurred()) SWIG_fail
;
42114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42122 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42124 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42125 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42126 return SWIG_Py_Void();
42129 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42130 return SWIG_Python_InitShadowInstance(args
);
42133 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42134 PyObject
*resultobj
= 0;
42135 wxObject
*arg1
= (wxObject
*) 0 ;
42137 wxString
*arg3
= 0 ;
42138 wxHyperlinkEvent
*result
= 0 ;
42143 bool temp3
= false ;
42144 PyObject
* obj0
= 0 ;
42145 PyObject
* obj1
= 0 ;
42146 PyObject
* obj2
= 0 ;
42147 char * kwnames
[] = {
42148 (char *) "generator",(char *) "id",(char *) "url", NULL
42151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42153 if (!SWIG_IsOK(res1
)) {
42154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42156 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42157 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42158 if (!SWIG_IsOK(ecode2
)) {
42159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42161 arg2
= static_cast< int >(val2
);
42163 arg3
= wxString_in_helper(obj2
);
42164 if (arg3
== NULL
) SWIG_fail
;
42168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42169 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42170 wxPyEndAllowThreads(__tstate
);
42171 if (PyErr_Occurred()) SWIG_fail
;
42173 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42188 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42189 PyObject
*resultobj
= 0;
42190 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42194 PyObject
*swig_obj
[1] ;
42196 if (!args
) SWIG_fail
;
42197 swig_obj
[0] = args
;
42198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42199 if (!SWIG_IsOK(res1
)) {
42200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42202 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42205 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42206 wxPyEndAllowThreads(__tstate
);
42207 if (PyErr_Occurred()) SWIG_fail
;
42211 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42213 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42222 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42223 PyObject
*resultobj
= 0;
42224 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42225 wxString
*arg2
= 0 ;
42228 bool temp2
= false ;
42229 PyObject
* obj0
= 0 ;
42230 PyObject
* obj1
= 0 ;
42231 char * kwnames
[] = {
42232 (char *) "self",(char *) "url", NULL
42235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42237 if (!SWIG_IsOK(res1
)) {
42238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42240 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42242 arg2
= wxString_in_helper(obj1
);
42243 if (arg2
== NULL
) SWIG_fail
;
42247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42248 (arg1
)->SetURL((wxString
const &)*arg2
);
42249 wxPyEndAllowThreads(__tstate
);
42250 if (PyErr_Occurred()) SWIG_fail
;
42252 resultobj
= SWIG_Py_Void();
42267 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42269 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42270 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42271 return SWIG_Py_Void();
42274 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42275 return SWIG_Python_InitShadowInstance(args
);
42278 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42279 PyObject
*resultobj
= 0;
42280 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42281 wxWindow
*arg2
= (wxWindow
*) 0 ;
42283 wxString
const &arg4_defvalue
= wxEmptyString
;
42284 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42285 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42286 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42287 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42288 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42289 long arg7
= (long) 0 ;
42290 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42291 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42292 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42293 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42301 bool temp4
= false ;
42308 bool temp9
= false ;
42309 PyObject
* obj0
= 0 ;
42310 PyObject
* obj1
= 0 ;
42311 PyObject
* obj2
= 0 ;
42312 PyObject
* obj3
= 0 ;
42313 PyObject
* obj4
= 0 ;
42314 PyObject
* obj5
= 0 ;
42315 PyObject
* obj6
= 0 ;
42316 PyObject
* obj7
= 0 ;
42317 PyObject
* obj8
= 0 ;
42318 char * kwnames
[] = {
42319 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42324 if (!SWIG_IsOK(res1
)) {
42325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42327 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42328 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42329 if (!SWIG_IsOK(res2
)) {
42330 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42332 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42333 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42334 if (!SWIG_IsOK(ecode3
)) {
42335 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42337 arg3
= static_cast< int >(val3
);
42340 arg4
= wxString_in_helper(obj3
);
42341 if (arg4
== NULL
) SWIG_fail
;
42348 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42354 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42358 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42359 if (!SWIG_IsOK(ecode7
)) {
42360 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42362 arg7
= static_cast< long >(val7
);
42365 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42366 if (!SWIG_IsOK(res8
)) {
42367 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42370 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42372 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42376 arg9
= wxString_in_helper(obj8
);
42377 if (arg9
== NULL
) SWIG_fail
;
42382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42383 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42384 wxPyEndAllowThreads(__tstate
);
42385 if (PyErr_Occurred()) SWIG_fail
;
42388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42412 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42413 PyObject
*resultobj
= 0;
42414 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42420 PyObject
* obj0
= 0 ;
42421 PyObject
* obj1
= 0 ;
42422 char * kwnames
[] = {
42423 (char *) "self",(char *) "newmargin", NULL
42426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42428 if (!SWIG_IsOK(res1
)) {
42429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42431 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42432 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42433 if (!SWIG_IsOK(ecode2
)) {
42434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42436 arg2
= static_cast< int >(val2
);
42438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42439 (arg1
)->SetInternalMargin(arg2
);
42440 wxPyEndAllowThreads(__tstate
);
42441 if (PyErr_Occurred()) SWIG_fail
;
42443 resultobj
= SWIG_Py_Void();
42450 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42451 PyObject
*resultobj
= 0;
42452 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42456 PyObject
*swig_obj
[1] ;
42458 if (!args
) SWIG_fail
;
42459 swig_obj
[0] = args
;
42460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42461 if (!SWIG_IsOK(res1
)) {
42462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42464 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42467 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
42468 wxPyEndAllowThreads(__tstate
);
42469 if (PyErr_Occurred()) SWIG_fail
;
42471 resultobj
= SWIG_From_int(static_cast< int >(result
));
42478 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42479 PyObject
*resultobj
= 0;
42480 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42486 PyObject
* obj0
= 0 ;
42487 PyObject
* obj1
= 0 ;
42488 char * kwnames
[] = {
42489 (char *) "self",(char *) "prop", NULL
42492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42494 if (!SWIG_IsOK(res1
)) {
42495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42497 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42498 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42499 if (!SWIG_IsOK(ecode2
)) {
42500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42502 arg2
= static_cast< int >(val2
);
42504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42505 (arg1
)->SetTextCtrlProportion(arg2
);
42506 wxPyEndAllowThreads(__tstate
);
42507 if (PyErr_Occurred()) SWIG_fail
;
42509 resultobj
= SWIG_Py_Void();
42516 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42517 PyObject
*resultobj
= 0;
42518 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42522 PyObject
*swig_obj
[1] ;
42524 if (!args
) SWIG_fail
;
42525 swig_obj
[0] = args
;
42526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42527 if (!SWIG_IsOK(res1
)) {
42528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42530 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42533 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
42534 wxPyEndAllowThreads(__tstate
);
42535 if (PyErr_Occurred()) SWIG_fail
;
42537 resultobj
= SWIG_From_int(static_cast< int >(result
));
42544 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42545 PyObject
*resultobj
= 0;
42546 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42550 PyObject
*swig_obj
[1] ;
42552 if (!args
) SWIG_fail
;
42553 swig_obj
[0] = args
;
42554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42555 if (!SWIG_IsOK(res1
)) {
42556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42558 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42561 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
42562 wxPyEndAllowThreads(__tstate
);
42563 if (PyErr_Occurred()) SWIG_fail
;
42566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42574 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42575 PyObject
*resultobj
= 0;
42576 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42577 wxTextCtrl
*result
= 0 ;
42580 PyObject
*swig_obj
[1] ;
42582 if (!args
) SWIG_fail
;
42583 swig_obj
[0] = args
;
42584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42585 if (!SWIG_IsOK(res1
)) {
42586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42588 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42591 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
42592 wxPyEndAllowThreads(__tstate
);
42593 if (PyErr_Occurred()) SWIG_fail
;
42596 resultobj
= wxPyMake_wxObject(result
, 0);
42604 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42605 PyObject
*resultobj
= 0;
42606 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42607 wxControl
*result
= 0 ;
42610 PyObject
*swig_obj
[1] ;
42612 if (!args
) SWIG_fail
;
42613 swig_obj
[0] = args
;
42614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42615 if (!SWIG_IsOK(res1
)) {
42616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42618 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42621 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
42622 wxPyEndAllowThreads(__tstate
);
42623 if (PyErr_Occurred()) SWIG_fail
;
42626 resultobj
= wxPyMake_wxObject(result
, 0);
42634 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42636 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42637 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
42638 return SWIG_Py_Void();
42641 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
42642 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
42647 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
42648 PyObject
*pyobj
= 0;
42652 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
42654 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
42661 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42662 PyObject
*resultobj
= 0;
42663 wxWindow
*arg1
= (wxWindow
*) 0 ;
42664 int arg2
= (int) -1 ;
42665 wxColour
const &arg3_defvalue
= *wxBLACK
;
42666 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
42667 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
42668 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
42669 wxSize
const &arg5_defvalue
= wxDefaultSize
;
42670 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
42671 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
42672 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
42673 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
42674 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
42675 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
42676 wxColourPickerCtrl
*result
= 0 ;
42688 bool temp8
= false ;
42689 PyObject
* obj0
= 0 ;
42690 PyObject
* obj1
= 0 ;
42691 PyObject
* obj2
= 0 ;
42692 PyObject
* obj3
= 0 ;
42693 PyObject
* obj4
= 0 ;
42694 PyObject
* obj5
= 0 ;
42695 PyObject
* obj6
= 0 ;
42696 PyObject
* obj7
= 0 ;
42697 char * kwnames
[] = {
42698 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
42702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42703 if (!SWIG_IsOK(res1
)) {
42704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
42706 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
42708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42709 if (!SWIG_IsOK(ecode2
)) {
42710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
42712 arg2
= static_cast< int >(val2
);
42717 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
42723 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
42729 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
42733 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
42734 if (!SWIG_IsOK(ecode6
)) {
42735 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
42737 arg6
= static_cast< long >(val6
);
42740 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
42741 if (!SWIG_IsOK(res7
)) {
42742 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
42745 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
42747 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
42751 arg8
= wxString_in_helper(obj7
);
42752 if (arg8
== NULL
) SWIG_fail
;
42757 if (!wxPyCheckForApp()) SWIG_fail
;
42758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42759 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
42760 wxPyEndAllowThreads(__tstate
);
42761 if (PyErr_Occurred()) SWIG_fail
;
42763 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
42778 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42779 PyObject
*resultobj
= 0;
42780 wxColourPickerCtrl
*result
= 0 ;
42782 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
42784 if (!wxPyCheckForApp()) SWIG_fail
;
42785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42786 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
42787 wxPyEndAllowThreads(__tstate
);
42788 if (PyErr_Occurred()) SWIG_fail
;
42790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
42797 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42798 PyObject
*resultobj
= 0;
42799 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
42800 wxWindow
*arg2
= (wxWindow
*) 0 ;
42802 wxColour
const &arg4_defvalue
= *wxBLACK
;
42803 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
42804 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42805 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42806 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42807 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42808 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
42809 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42810 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42811 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
42812 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42827 bool temp9
= false ;
42828 PyObject
* obj0
= 0 ;
42829 PyObject
* obj1
= 0 ;
42830 PyObject
* obj2
= 0 ;
42831 PyObject
* obj3
= 0 ;
42832 PyObject
* obj4
= 0 ;
42833 PyObject
* obj5
= 0 ;
42834 PyObject
* obj6
= 0 ;
42835 PyObject
* obj7
= 0 ;
42836 PyObject
* obj8
= 0 ;
42837 char * kwnames
[] = {
42838 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
42843 if (!SWIG_IsOK(res1
)) {
42844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
42846 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
42847 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42848 if (!SWIG_IsOK(res2
)) {
42849 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42851 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42852 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42853 if (!SWIG_IsOK(ecode3
)) {
42854 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42856 arg3
= static_cast< int >(val3
);
42860 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
42866 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42872 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42876 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42877 if (!SWIG_IsOK(ecode7
)) {
42878 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
42880 arg7
= static_cast< long >(val7
);
42883 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42884 if (!SWIG_IsOK(res8
)) {
42885 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
42888 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
42890 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42894 arg9
= wxString_in_helper(obj8
);
42895 if (arg9
== NULL
) SWIG_fail
;
42900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42901 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42902 wxPyEndAllowThreads(__tstate
);
42903 if (PyErr_Occurred()) SWIG_fail
;
42906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42922 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42923 PyObject
*resultobj
= 0;
42924 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
42928 PyObject
*swig_obj
[1] ;
42930 if (!args
) SWIG_fail
;
42931 swig_obj
[0] = args
;
42932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
42933 if (!SWIG_IsOK(res1
)) {
42934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
42936 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
42938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42939 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
42940 wxPyEndAllowThreads(__tstate
);
42941 if (PyErr_Occurred()) SWIG_fail
;
42943 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42950 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42951 PyObject
*resultobj
= 0;
42952 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
42953 wxColour
*arg2
= 0 ;
42957 PyObject
* obj0
= 0 ;
42958 PyObject
* obj1
= 0 ;
42959 char * kwnames
[] = {
42960 (char *) "self",(char *) "col", NULL
42963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
42965 if (!SWIG_IsOK(res1
)) {
42966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
42968 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
42971 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42975 (arg1
)->SetColour((wxColour
const &)*arg2
);
42976 wxPyEndAllowThreads(__tstate
);
42977 if (PyErr_Occurred()) SWIG_fail
;
42979 resultobj
= SWIG_Py_Void();
42986 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42988 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42989 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
42990 return SWIG_Py_Void();
42993 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42994 return SWIG_Python_InitShadowInstance(args
);
42997 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42998 PyObject
*resultobj
= 0;
42999 wxObject
*arg1
= (wxObject
*) 0 ;
43001 wxColour
*arg3
= 0 ;
43002 wxColourPickerEvent
*result
= 0 ;
43008 PyObject
* obj0
= 0 ;
43009 PyObject
* obj1
= 0 ;
43010 PyObject
* obj2
= 0 ;
43011 char * kwnames
[] = {
43012 (char *) "generator",(char *) "id",(char *) "col", NULL
43015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43017 if (!SWIG_IsOK(res1
)) {
43018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43020 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43022 if (!SWIG_IsOK(ecode2
)) {
43023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43025 arg2
= static_cast< int >(val2
);
43028 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43032 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43033 wxPyEndAllowThreads(__tstate
);
43034 if (PyErr_Occurred()) SWIG_fail
;
43036 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43043 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43044 PyObject
*resultobj
= 0;
43045 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43049 PyObject
*swig_obj
[1] ;
43051 if (!args
) SWIG_fail
;
43052 swig_obj
[0] = args
;
43053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43054 if (!SWIG_IsOK(res1
)) {
43055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43057 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43060 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43061 wxPyEndAllowThreads(__tstate
);
43062 if (PyErr_Occurred()) SWIG_fail
;
43064 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43071 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43072 PyObject
*resultobj
= 0;
43073 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43074 wxColour
*arg2
= 0 ;
43078 PyObject
* obj0
= 0 ;
43079 PyObject
* obj1
= 0 ;
43080 char * kwnames
[] = {
43081 (char *) "self",(char *) "c", NULL
43084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43086 if (!SWIG_IsOK(res1
)) {
43087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43089 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43092 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43096 (arg1
)->SetColour((wxColour
const &)*arg2
);
43097 wxPyEndAllowThreads(__tstate
);
43098 if (PyErr_Occurred()) SWIG_fail
;
43100 resultobj
= SWIG_Py_Void();
43107 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43109 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43110 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43111 return SWIG_Py_Void();
43114 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43115 return SWIG_Python_InitShadowInstance(args
);
43118 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43119 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43124 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43125 PyObject
*pyobj
= 0;
43129 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43131 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43138 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43139 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43144 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43145 PyObject
*pyobj
= 0;
43149 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43151 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43158 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43159 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43164 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43165 PyObject
*pyobj
= 0;
43169 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43171 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43178 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43179 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43184 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43185 PyObject
*pyobj
= 0;
43189 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43191 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43198 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43199 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43204 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43205 PyObject
*pyobj
= 0;
43209 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43211 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43218 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43219 PyObject
*resultobj
= 0;
43220 wxWindow
*arg1
= (wxWindow
*) 0 ;
43221 int arg2
= (int) -1 ;
43222 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43223 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43224 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
43225 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43226 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43227 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43228 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43229 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43230 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43231 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43232 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
43233 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43234 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43235 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
43236 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43237 wxFilePickerCtrl
*result
= 0 ;
43242 bool temp3
= false ;
43243 bool temp4
= false ;
43244 bool temp5
= false ;
43251 bool temp10
= false ;
43252 PyObject
* obj0
= 0 ;
43253 PyObject
* obj1
= 0 ;
43254 PyObject
* obj2
= 0 ;
43255 PyObject
* obj3
= 0 ;
43256 PyObject
* obj4
= 0 ;
43257 PyObject
* obj5
= 0 ;
43258 PyObject
* obj6
= 0 ;
43259 PyObject
* obj7
= 0 ;
43260 PyObject
* obj8
= 0 ;
43261 PyObject
* obj9
= 0 ;
43262 char * kwnames
[] = {
43263 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43268 if (!SWIG_IsOK(res1
)) {
43269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43271 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43273 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43274 if (!SWIG_IsOK(ecode2
)) {
43275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43277 arg2
= static_cast< int >(val2
);
43281 arg3
= wxString_in_helper(obj2
);
43282 if (arg3
== NULL
) SWIG_fail
;
43288 arg4
= wxString_in_helper(obj3
);
43289 if (arg4
== NULL
) SWIG_fail
;
43295 arg5
= wxString_in_helper(obj4
);
43296 if (arg5
== NULL
) SWIG_fail
;
43303 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43309 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43313 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43314 if (!SWIG_IsOK(ecode8
)) {
43315 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43317 arg8
= static_cast< long >(val8
);
43320 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43321 if (!SWIG_IsOK(res9
)) {
43322 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43325 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43327 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
43331 arg10
= wxString_in_helper(obj9
);
43332 if (arg10
== NULL
) SWIG_fail
;
43337 if (!wxPyCheckForApp()) SWIG_fail
;
43338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43339 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
);
43340 wxPyEndAllowThreads(__tstate
);
43341 if (PyErr_Occurred()) SWIG_fail
;
43343 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
43382 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43383 PyObject
*resultobj
= 0;
43384 wxFilePickerCtrl
*result
= 0 ;
43386 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
43388 if (!wxPyCheckForApp()) SWIG_fail
;
43389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43390 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
43391 wxPyEndAllowThreads(__tstate
);
43392 if (PyErr_Occurred()) SWIG_fail
;
43394 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
43401 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43402 PyObject
*resultobj
= 0;
43403 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43404 wxWindow
*arg2
= (wxWindow
*) 0 ;
43405 int arg3
= (int) -1 ;
43406 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43407 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43408 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
43409 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43410 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43411 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
43412 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
43413 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
43414 wxSize
const &arg8_defvalue
= wxDefaultSize
;
43415 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
43416 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
43417 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
43418 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
43419 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
43420 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
43428 bool temp4
= false ;
43429 bool temp5
= false ;
43430 bool temp6
= false ;
43437 bool temp11
= false ;
43438 PyObject
* obj0
= 0 ;
43439 PyObject
* obj1
= 0 ;
43440 PyObject
* obj2
= 0 ;
43441 PyObject
* obj3
= 0 ;
43442 PyObject
* obj4
= 0 ;
43443 PyObject
* obj5
= 0 ;
43444 PyObject
* obj6
= 0 ;
43445 PyObject
* obj7
= 0 ;
43446 PyObject
* obj8
= 0 ;
43447 PyObject
* obj9
= 0 ;
43448 PyObject
* obj10
= 0 ;
43449 char * kwnames
[] = {
43450 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
43454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43455 if (!SWIG_IsOK(res1
)) {
43456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43458 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43459 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43460 if (!SWIG_IsOK(res2
)) {
43461 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43463 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43465 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43466 if (!SWIG_IsOK(ecode3
)) {
43467 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43469 arg3
= static_cast< int >(val3
);
43473 arg4
= wxString_in_helper(obj3
);
43474 if (arg4
== NULL
) SWIG_fail
;
43480 arg5
= wxString_in_helper(obj4
);
43481 if (arg5
== NULL
) SWIG_fail
;
43487 arg6
= wxString_in_helper(obj5
);
43488 if (arg6
== NULL
) SWIG_fail
;
43495 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
43501 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
43505 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
43506 if (!SWIG_IsOK(ecode9
)) {
43507 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
43509 arg9
= static_cast< long >(val9
);
43512 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
43513 if (!SWIG_IsOK(res10
)) {
43514 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43517 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43519 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
43523 arg11
= wxString_in_helper(obj10
);
43524 if (arg11
== NULL
) SWIG_fail
;
43529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43530 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
);
43531 wxPyEndAllowThreads(__tstate
);
43532 if (PyErr_Occurred()) SWIG_fail
;
43535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43575 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43576 PyObject
*resultobj
= 0;
43577 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43581 PyObject
*swig_obj
[1] ;
43583 if (!args
) SWIG_fail
;
43584 swig_obj
[0] = args
;
43585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43586 if (!SWIG_IsOK(res1
)) {
43587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43589 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43592 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
43593 wxPyEndAllowThreads(__tstate
);
43594 if (PyErr_Occurred()) SWIG_fail
;
43598 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43600 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43609 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43610 PyObject
*resultobj
= 0;
43611 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43612 wxString
*arg2
= 0 ;
43615 bool temp2
= false ;
43616 PyObject
* obj0
= 0 ;
43617 PyObject
* obj1
= 0 ;
43618 char * kwnames
[] = {
43619 (char *) "self",(char *) "str", NULL
43622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43624 if (!SWIG_IsOK(res1
)) {
43625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43627 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43629 arg2
= wxString_in_helper(obj1
);
43630 if (arg2
== NULL
) SWIG_fail
;
43634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43635 (arg1
)->SetPath((wxString
const &)*arg2
);
43636 wxPyEndAllowThreads(__tstate
);
43637 if (PyErr_Occurred()) SWIG_fail
;
43639 resultobj
= SWIG_Py_Void();
43654 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43656 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43657 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
43658 return SWIG_Py_Void();
43661 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43662 return SWIG_Python_InitShadowInstance(args
);
43665 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43666 PyObject
*resultobj
= 0;
43667 wxWindow
*arg1
= (wxWindow
*) 0 ;
43668 int arg2
= (int) -1 ;
43669 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43670 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43671 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
43672 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43673 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43674 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43675 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43676 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43677 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
43678 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43679 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43680 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
43681 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43682 wxDirPickerCtrl
*result
= 0 ;
43687 bool temp3
= false ;
43688 bool temp4
= false ;
43695 bool temp9
= false ;
43696 PyObject
* obj0
= 0 ;
43697 PyObject
* obj1
= 0 ;
43698 PyObject
* obj2
= 0 ;
43699 PyObject
* obj3
= 0 ;
43700 PyObject
* obj4
= 0 ;
43701 PyObject
* obj5
= 0 ;
43702 PyObject
* obj6
= 0 ;
43703 PyObject
* obj7
= 0 ;
43704 PyObject
* obj8
= 0 ;
43705 char * kwnames
[] = {
43706 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43711 if (!SWIG_IsOK(res1
)) {
43712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43714 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43716 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43717 if (!SWIG_IsOK(ecode2
)) {
43718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43720 arg2
= static_cast< int >(val2
);
43724 arg3
= wxString_in_helper(obj2
);
43725 if (arg3
== NULL
) SWIG_fail
;
43731 arg4
= wxString_in_helper(obj3
);
43732 if (arg4
== NULL
) SWIG_fail
;
43739 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43745 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43749 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43750 if (!SWIG_IsOK(ecode7
)) {
43751 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
43753 arg7
= static_cast< long >(val7
);
43756 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43757 if (!SWIG_IsOK(res8
)) {
43758 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
43761 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
43763 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43767 arg9
= wxString_in_helper(obj8
);
43768 if (arg9
== NULL
) SWIG_fail
;
43773 if (!wxPyCheckForApp()) SWIG_fail
;
43774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43775 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
);
43776 wxPyEndAllowThreads(__tstate
);
43777 if (PyErr_Occurred()) SWIG_fail
;
43779 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43810 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43811 PyObject
*resultobj
= 0;
43812 wxDirPickerCtrl
*result
= 0 ;
43814 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
43816 if (!wxPyCheckForApp()) SWIG_fail
;
43817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43818 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
43819 wxPyEndAllowThreads(__tstate
);
43820 if (PyErr_Occurred()) SWIG_fail
;
43822 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43829 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43830 PyObject
*resultobj
= 0;
43831 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
43832 wxWindow
*arg2
= (wxWindow
*) 0 ;
43833 int arg3
= (int) -1 ;
43834 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43835 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43836 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
43837 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43838 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43839 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43840 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43841 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43842 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
43843 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43844 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43845 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
43846 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43854 bool temp4
= false ;
43855 bool temp5
= false ;
43862 bool temp10
= false ;
43863 PyObject
* obj0
= 0 ;
43864 PyObject
* obj1
= 0 ;
43865 PyObject
* obj2
= 0 ;
43866 PyObject
* obj3
= 0 ;
43867 PyObject
* obj4
= 0 ;
43868 PyObject
* obj5
= 0 ;
43869 PyObject
* obj6
= 0 ;
43870 PyObject
* obj7
= 0 ;
43871 PyObject
* obj8
= 0 ;
43872 PyObject
* obj9
= 0 ;
43873 char * kwnames
[] = {
43874 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
43879 if (!SWIG_IsOK(res1
)) {
43880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
43882 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
43883 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43884 if (!SWIG_IsOK(res2
)) {
43885 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43887 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43889 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43890 if (!SWIG_IsOK(ecode3
)) {
43891 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43893 arg3
= static_cast< int >(val3
);
43897 arg4
= wxString_in_helper(obj3
);
43898 if (arg4
== NULL
) SWIG_fail
;
43904 arg5
= wxString_in_helper(obj4
);
43905 if (arg5
== NULL
) SWIG_fail
;
43912 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43918 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43922 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43923 if (!SWIG_IsOK(ecode8
)) {
43924 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
43926 arg8
= static_cast< long >(val8
);
43929 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43930 if (!SWIG_IsOK(res9
)) {
43931 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
43934 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
43936 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
43940 arg10
= wxString_in_helper(obj9
);
43941 if (arg10
== NULL
) SWIG_fail
;
43946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43947 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
);
43948 wxPyEndAllowThreads(__tstate
);
43949 if (PyErr_Occurred()) SWIG_fail
;
43952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43984 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43985 PyObject
*resultobj
= 0;
43986 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
43990 PyObject
*swig_obj
[1] ;
43992 if (!args
) SWIG_fail
;
43993 swig_obj
[0] = args
;
43994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
43995 if (!SWIG_IsOK(res1
)) {
43996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
43998 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44001 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44002 wxPyEndAllowThreads(__tstate
);
44003 if (PyErr_Occurred()) SWIG_fail
;
44007 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44009 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44018 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44019 PyObject
*resultobj
= 0;
44020 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44021 wxString
*arg2
= 0 ;
44024 bool temp2
= false ;
44025 PyObject
* obj0
= 0 ;
44026 PyObject
* obj1
= 0 ;
44027 char * kwnames
[] = {
44028 (char *) "self",(char *) "str", NULL
44031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44033 if (!SWIG_IsOK(res1
)) {
44034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44036 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44038 arg2
= wxString_in_helper(obj1
);
44039 if (arg2
== NULL
) SWIG_fail
;
44043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44044 (arg1
)->SetPath((wxString
const &)*arg2
);
44045 wxPyEndAllowThreads(__tstate
);
44046 if (PyErr_Occurred()) SWIG_fail
;
44048 resultobj
= SWIG_Py_Void();
44063 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44065 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44066 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
44067 return SWIG_Py_Void();
44070 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44071 return SWIG_Python_InitShadowInstance(args
);
44074 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44075 PyObject
*resultobj
= 0;
44077 wxObject
*arg2
= (wxObject
*) 0 ;
44079 wxString
*arg4
= 0 ;
44080 wxFileDirPickerEvent
*result
= 0 ;
44087 bool temp4
= false ;
44088 PyObject
* obj0
= 0 ;
44089 PyObject
* obj1
= 0 ;
44090 PyObject
* obj2
= 0 ;
44091 PyObject
* obj3
= 0 ;
44092 char * kwnames
[] = {
44093 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44097 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44098 if (!SWIG_IsOK(ecode1
)) {
44099 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44101 arg1
= static_cast< wxEventType
>(val1
);
44102 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
44103 if (!SWIG_IsOK(res2
)) {
44104 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44106 arg2
= reinterpret_cast< wxObject
* >(argp2
);
44107 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44108 if (!SWIG_IsOK(ecode3
)) {
44109 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44111 arg3
= static_cast< int >(val3
);
44113 arg4
= wxString_in_helper(obj3
);
44114 if (arg4
== NULL
) SWIG_fail
;
44118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44119 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
44120 wxPyEndAllowThreads(__tstate
);
44121 if (PyErr_Occurred()) SWIG_fail
;
44123 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
44138 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44139 PyObject
*resultobj
= 0;
44140 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44144 PyObject
*swig_obj
[1] ;
44146 if (!args
) SWIG_fail
;
44147 swig_obj
[0] = args
;
44148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44149 if (!SWIG_IsOK(res1
)) {
44150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44152 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44155 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
44156 wxPyEndAllowThreads(__tstate
);
44157 if (PyErr_Occurred()) SWIG_fail
;
44161 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44163 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44172 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44173 PyObject
*resultobj
= 0;
44174 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44175 wxString
*arg2
= 0 ;
44178 bool temp2
= false ;
44179 PyObject
* obj0
= 0 ;
44180 PyObject
* obj1
= 0 ;
44181 char * kwnames
[] = {
44182 (char *) "self",(char *) "p", NULL
44185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44187 if (!SWIG_IsOK(res1
)) {
44188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
44190 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44192 arg2
= wxString_in_helper(obj1
);
44193 if (arg2
== NULL
) SWIG_fail
;
44197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44198 (arg1
)->SetPath((wxString
const &)*arg2
);
44199 wxPyEndAllowThreads(__tstate
);
44200 if (PyErr_Occurred()) SWIG_fail
;
44202 resultobj
= SWIG_Py_Void();
44217 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44219 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44220 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
44221 return SWIG_Py_Void();
44224 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44225 return SWIG_Python_InitShadowInstance(args
);
44228 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
44229 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
44234 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
44235 PyObject
*pyobj
= 0;
44239 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44241 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44248 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44249 PyObject
*resultobj
= 0;
44250 wxWindow
*arg1
= (wxWindow
*) 0 ;
44251 int arg2
= (int) -1 ;
44252 wxFont
const &arg3_defvalue
= *wxNORMAL_FONT
;
44253 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
44254 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
44255 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
44256 wxSize
const &arg5_defvalue
= wxDefaultSize
;
44257 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
44258 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
44259 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
44260 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
44261 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
44262 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
44263 wxFontPickerCtrl
*result
= 0 ;
44276 bool temp8
= false ;
44277 PyObject
* obj0
= 0 ;
44278 PyObject
* obj1
= 0 ;
44279 PyObject
* obj2
= 0 ;
44280 PyObject
* obj3
= 0 ;
44281 PyObject
* obj4
= 0 ;
44282 PyObject
* obj5
= 0 ;
44283 PyObject
* obj6
= 0 ;
44284 PyObject
* obj7
= 0 ;
44285 char * kwnames
[] = {
44286 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
44290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44291 if (!SWIG_IsOK(res1
)) {
44292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44294 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44296 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44297 if (!SWIG_IsOK(ecode2
)) {
44298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44300 arg2
= static_cast< int >(val2
);
44303 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
44304 if (!SWIG_IsOK(res3
)) {
44305 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44308 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44310 arg3
= reinterpret_cast< wxFont
* >(argp3
);
44315 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
44321 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
44325 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
44326 if (!SWIG_IsOK(ecode6
)) {
44327 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
44329 arg6
= static_cast< long >(val6
);
44332 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
44333 if (!SWIG_IsOK(res7
)) {
44334 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44337 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44339 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
44343 arg8
= wxString_in_helper(obj7
);
44344 if (arg8
== NULL
) SWIG_fail
;
44349 if (!wxPyCheckForApp()) SWIG_fail
;
44350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44351 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
44352 wxPyEndAllowThreads(__tstate
);
44353 if (PyErr_Occurred()) SWIG_fail
;
44355 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44370 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44371 PyObject
*resultobj
= 0;
44372 wxFontPickerCtrl
*result
= 0 ;
44374 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
44376 if (!wxPyCheckForApp()) SWIG_fail
;
44377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44378 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
44379 wxPyEndAllowThreads(__tstate
);
44380 if (PyErr_Occurred()) SWIG_fail
;
44382 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44389 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44390 PyObject
*resultobj
= 0;
44391 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44392 wxWindow
*arg2
= (wxWindow
*) 0 ;
44393 int arg3
= (int) -1 ;
44394 wxFont
const &arg4_defvalue
= *wxNORMAL_FONT
;
44395 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
44396 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44397 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44398 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44399 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44400 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
44401 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44402 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44403 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
44404 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44420 bool temp9
= false ;
44421 PyObject
* obj0
= 0 ;
44422 PyObject
* obj1
= 0 ;
44423 PyObject
* obj2
= 0 ;
44424 PyObject
* obj3
= 0 ;
44425 PyObject
* obj4
= 0 ;
44426 PyObject
* obj5
= 0 ;
44427 PyObject
* obj6
= 0 ;
44428 PyObject
* obj7
= 0 ;
44429 PyObject
* obj8
= 0 ;
44430 char * kwnames
[] = {
44431 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44436 if (!SWIG_IsOK(res1
)) {
44437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44439 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44440 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44441 if (!SWIG_IsOK(res2
)) {
44442 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44444 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44446 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44447 if (!SWIG_IsOK(ecode3
)) {
44448 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44450 arg3
= static_cast< int >(val3
);
44453 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
44454 if (!SWIG_IsOK(res4
)) {
44455 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
44458 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
44460 arg4
= reinterpret_cast< wxFont
* >(argp4
);
44465 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44471 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44475 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44476 if (!SWIG_IsOK(ecode7
)) {
44477 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
44479 arg7
= static_cast< long >(val7
);
44482 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44483 if (!SWIG_IsOK(res8
)) {
44484 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
44487 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
44489 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44493 arg9
= wxString_in_helper(obj8
);
44494 if (arg9
== NULL
) SWIG_fail
;
44499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44500 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
44501 wxPyEndAllowThreads(__tstate
);
44502 if (PyErr_Occurred()) SWIG_fail
;
44505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44521 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44522 PyObject
*resultobj
= 0;
44523 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44527 PyObject
*swig_obj
[1] ;
44529 if (!args
) SWIG_fail
;
44530 swig_obj
[0] = args
;
44531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44532 if (!SWIG_IsOK(res1
)) {
44533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
44535 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44538 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
44539 wxPyEndAllowThreads(__tstate
);
44540 if (PyErr_Occurred()) SWIG_fail
;
44542 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
44549 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44550 PyObject
*resultobj
= 0;
44551 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44557 PyObject
* obj0
= 0 ;
44558 PyObject
* obj1
= 0 ;
44559 char * kwnames
[] = {
44560 (char *) "self",(char *) "f", NULL
44563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44565 if (!SWIG_IsOK(res1
)) {
44566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44568 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44569 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
44570 if (!SWIG_IsOK(res2
)) {
44571 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44574 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44576 arg2
= reinterpret_cast< wxFont
* >(argp2
);
44578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44579 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
44580 wxPyEndAllowThreads(__tstate
);
44581 if (PyErr_Occurred()) SWIG_fail
;
44583 resultobj
= SWIG_Py_Void();
44590 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44591 PyObject
*resultobj
= 0;
44592 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44593 unsigned int arg2
;
44596 unsigned int val2
;
44598 PyObject
* obj0
= 0 ;
44599 PyObject
* obj1
= 0 ;
44600 char * kwnames
[] = {
44601 (char *) "self",(char *) "max", NULL
44604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44606 if (!SWIG_IsOK(res1
)) {
44607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44609 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44610 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
44611 if (!SWIG_IsOK(ecode2
)) {
44612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
44614 arg2
= static_cast< unsigned int >(val2
);
44616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44617 (arg1
)->SetMaxPointSize(arg2
);
44618 wxPyEndAllowThreads(__tstate
);
44619 if (PyErr_Occurred()) SWIG_fail
;
44621 resultobj
= SWIG_Py_Void();
44628 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44629 PyObject
*resultobj
= 0;
44630 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44631 unsigned int result
;
44634 PyObject
*swig_obj
[1] ;
44636 if (!args
) SWIG_fail
;
44637 swig_obj
[0] = args
;
44638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44639 if (!SWIG_IsOK(res1
)) {
44640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
44642 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44645 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
44646 wxPyEndAllowThreads(__tstate
);
44647 if (PyErr_Occurred()) SWIG_fail
;
44649 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
44656 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44658 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44659 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
44660 return SWIG_Py_Void();
44663 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44664 return SWIG_Python_InitShadowInstance(args
);
44667 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44668 PyObject
*resultobj
= 0;
44669 wxObject
*arg1
= (wxObject
*) 0 ;
44672 wxFontPickerEvent
*result
= 0 ;
44679 PyObject
* obj0
= 0 ;
44680 PyObject
* obj1
= 0 ;
44681 PyObject
* obj2
= 0 ;
44682 char * kwnames
[] = {
44683 (char *) "generator",(char *) "id",(char *) "f", NULL
44686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
44687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
44688 if (!SWIG_IsOK(res1
)) {
44689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
44691 arg1
= reinterpret_cast< wxObject
* >(argp1
);
44692 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44693 if (!SWIG_IsOK(ecode2
)) {
44694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
44696 arg2
= static_cast< int >(val2
);
44697 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
44698 if (!SWIG_IsOK(res3
)) {
44699 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
44702 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
44704 arg3
= reinterpret_cast< wxFont
* >(argp3
);
44706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44707 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
44708 wxPyEndAllowThreads(__tstate
);
44709 if (PyErr_Occurred()) SWIG_fail
;
44711 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
44718 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44719 PyObject
*resultobj
= 0;
44720 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
44724 PyObject
*swig_obj
[1] ;
44726 if (!args
) SWIG_fail
;
44727 swig_obj
[0] = args
;
44728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
44729 if (!SWIG_IsOK(res1
)) {
44730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
44732 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
44734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44735 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
44736 wxPyEndAllowThreads(__tstate
);
44737 if (PyErr_Occurred()) SWIG_fail
;
44739 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
44746 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44747 PyObject
*resultobj
= 0;
44748 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
44754 PyObject
* obj0
= 0 ;
44755 PyObject
* obj1
= 0 ;
44756 char * kwnames
[] = {
44757 (char *) "self",(char *) "c", NULL
44760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
44762 if (!SWIG_IsOK(res1
)) {
44763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
44765 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
44766 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
44767 if (!SWIG_IsOK(res2
)) {
44768 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44771 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44773 arg2
= reinterpret_cast< wxFont
* >(argp2
);
44775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44776 (arg1
)->SetFont((wxFont
const &)*arg2
);
44777 wxPyEndAllowThreads(__tstate
);
44778 if (PyErr_Occurred()) SWIG_fail
;
44780 resultobj
= SWIG_Py_Void();
44787 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44789 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44790 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
44791 return SWIG_Py_Void();
44794 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44795 return SWIG_Python_InitShadowInstance(args
);
44798 static PyMethodDef SwigMethods
[] = {
44799 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44800 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
44801 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44802 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
44803 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
44804 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44805 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
44806 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
44807 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44808 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
44809 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44810 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
44811 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
44812 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
44813 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
44814 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
44815 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44816 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44817 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44818 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44819 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44820 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44821 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
44822 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
44823 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
44824 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
44825 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44826 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
44827 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44828 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
44829 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
44830 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44831 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
44832 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44833 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
44834 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
44835 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44836 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
44837 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
44838 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44839 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
44840 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44841 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
44842 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44843 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
44844 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
44845 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44846 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
44847 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44848 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
44849 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44850 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
44851 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
44852 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
44853 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44854 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
44855 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
44856 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44857 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44858 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
44859 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
44860 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44861 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44862 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44863 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
44864 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44865 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
44866 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
44867 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
44868 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
44869 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
44870 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
44871 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
44872 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
44873 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
44874 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44875 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
44876 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
44877 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44878 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
44879 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44880 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44881 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
44882 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44883 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
44884 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
44885 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44886 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
44887 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44888 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
44889 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44890 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
44891 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
44892 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44893 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
44894 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44895 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44896 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
44897 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
44898 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44899 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
44900 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44901 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
44902 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
44903 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44904 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
44905 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
44906 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44907 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
44908 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44909 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44910 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44911 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
44912 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
44913 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44914 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
44915 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44916 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
44917 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44918 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44919 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44920 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
44921 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
44922 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44923 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
44924 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44925 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44926 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44927 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44928 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44929 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44930 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44931 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44932 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44933 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44934 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
44935 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44936 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44937 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44938 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44939 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
44940 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44941 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44942 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44943 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44944 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44945 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
44946 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
44947 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44948 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
44949 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44950 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44951 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44952 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
44953 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
44954 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
44955 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44956 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
44957 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
44958 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44959 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44960 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44961 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44962 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44963 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44964 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44965 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44966 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44967 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
44968 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
44969 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
44970 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
44971 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
44972 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
44973 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
44974 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44975 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
44976 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
44977 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
44978 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
44979 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
44980 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
44981 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
44982 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
44983 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
44984 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
44985 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44986 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
44987 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
44988 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44989 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
44990 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44991 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
44992 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44993 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44994 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44995 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44996 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
44997 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
44998 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
44999 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
45000 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
45001 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
45002 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
45003 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
45004 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45005 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45006 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45007 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45008 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
45009 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
45010 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45011 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45012 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45013 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45014 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45015 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45016 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45017 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
45018 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45019 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45020 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45021 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45022 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45023 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
45024 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
45025 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
45026 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
45027 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
45028 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
45029 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
45030 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
45031 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
45032 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
45033 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45034 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
45035 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
45036 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
45037 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45038 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
45039 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45040 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45041 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
)_wrap_TextCtrl_HideNativeCaret
, METH_O
, NULL
},
45042 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45043 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45044 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45045 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
45046 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
45047 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45048 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
45049 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
45050 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
45051 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
45052 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
45053 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45054 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
45055 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45056 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
45057 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
45058 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
45059 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
45060 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
45061 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45062 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45063 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
45064 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
45065 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45066 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
45067 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45068 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
45069 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
45070 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
45071 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45072 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45073 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45074 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45075 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
45076 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45077 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
45078 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
45079 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45080 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
45081 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45082 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
45083 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45084 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45085 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45086 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
45087 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
45088 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45089 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45090 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
45091 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
45092 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45093 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
45094 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45095 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
45096 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
45097 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45098 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
45099 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45100 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45101 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
45102 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
45103 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45104 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
45105 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45106 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45107 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45108 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45109 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45110 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45111 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45112 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
45113 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
45114 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45115 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45116 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45117 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45118 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45119 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45120 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
45121 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
45122 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45123 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
45124 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45125 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
45126 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45127 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45128 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
45129 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
45130 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45131 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
45132 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45133 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
45134 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45135 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45136 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
45137 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
45138 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45139 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45140 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45141 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45142 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
45143 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
45144 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45145 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
45146 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45147 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
45148 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
45149 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45150 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
45151 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
45152 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
45153 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45154 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45155 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
45156 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
45157 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45158 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
45159 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45160 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45161 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
45162 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45163 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
45164 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
45165 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
45166 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45167 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
45168 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
45169 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45170 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45171 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45172 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45173 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
45174 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45175 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45176 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45177 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45178 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
45179 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45180 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
45181 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45182 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
45183 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45184 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
45185 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
45186 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45187 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45188 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
45189 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45190 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45191 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45192 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45193 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45194 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45195 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
45196 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45197 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
45198 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45199 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
45200 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45201 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
45202 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
45203 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45204 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
45205 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45206 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
45207 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45208 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45209 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
45210 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45211 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
45212 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
45213 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45214 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
45215 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
45216 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45217 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
45218 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45219 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
45220 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
45221 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
45222 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45223 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
45224 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
45225 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45226 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
45227 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45228 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
45229 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
45230 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
45231 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45232 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
45233 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
45234 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45235 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
45236 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45237 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45238 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45239 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45240 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45241 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45242 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45243 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
45244 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
45245 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
45246 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45247 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
45248 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
45249 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45250 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
45251 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45252 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
45253 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
45254 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
45255 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
45256 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45257 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
45258 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
45259 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
45260 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
45261 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
45262 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
45263 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
45264 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
45265 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
45266 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
45267 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
45268 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
45269 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
45270 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
45271 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
45272 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
45273 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
45274 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
45275 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
45276 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45277 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
45278 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45279 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45280 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45281 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45282 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45283 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45284 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
45285 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45286 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
45287 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45288 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
45289 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45290 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45291 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45292 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45293 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45294 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45295 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45296 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
45297 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45298 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45299 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45300 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45301 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
45302 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
45303 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45304 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45305 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45306 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45307 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45308 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45309 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45310 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45311 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45312 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45313 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45314 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45315 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45316 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45317 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45318 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45319 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
45320 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
45321 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
45322 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
45323 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45324 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45325 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
45326 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
45327 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45328 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
45329 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
45330 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45331 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45332 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
45333 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
45334 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
45335 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45336 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
45337 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45338 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45339 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
45340 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
45341 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45342 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
45343 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45344 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45345 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45346 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
45347 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
45348 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
45349 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
45350 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
45351 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
45352 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45353 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
45354 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
45355 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
45356 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
45357 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
45358 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
45359 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
45360 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45362 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45363 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45364 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45365 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45366 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45367 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45368 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45369 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45370 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45371 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45372 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45373 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
45374 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
45375 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
45376 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
45377 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
45378 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
45379 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
45380 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
45381 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
45382 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
45383 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
45384 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
45385 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
45386 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
45387 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
45388 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
45389 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
45390 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
45391 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
45392 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
45393 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
45394 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
45395 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
45396 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
45397 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
45398 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
45399 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
45400 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
45401 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
45402 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
45403 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
45404 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
45405 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
45406 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
45407 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
45408 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
45409 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45410 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
45411 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
45412 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
45413 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
45414 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
45415 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
45416 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
45417 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
45418 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
45419 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
45420 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
45421 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
45422 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
45423 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
45424 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
45425 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
45426 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
45427 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
45428 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
45429 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
45430 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
45431 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
45432 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
45433 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
45434 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45435 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
45436 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
45437 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45438 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
45439 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45440 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45441 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45442 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45444 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
45446 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
45447 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
45448 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45449 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45450 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45451 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45453 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45454 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45455 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45456 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45457 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45458 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
45463 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
45464 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
45465 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
45466 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
45467 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
45469 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45470 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45472 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45473 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45474 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
45475 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
45476 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45477 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45479 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45480 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
45481 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
45483 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
45484 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45485 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45486 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45487 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45488 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45489 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45490 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45492 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45494 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45495 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45496 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45497 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45499 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45500 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45502 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45503 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45504 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45505 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45506 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
45508 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
45510 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
45511 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
45513 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45514 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45516 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
45517 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45518 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
45519 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45522 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
45523 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
45524 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
45525 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
45526 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
45527 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45528 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45529 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
45530 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
45531 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
45532 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
45533 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45534 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
45535 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
45536 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
45538 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45539 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
45540 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
45541 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
45542 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45543 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
45544 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
45546 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45547 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
45548 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45549 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
45550 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
45551 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45552 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
45553 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
45555 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45556 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45557 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
45558 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
45559 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
45560 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45561 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
45562 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45563 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45564 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
45565 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
45566 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45567 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
45568 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45569 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
45570 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
45571 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45572 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45573 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45574 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45575 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45576 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45577 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45579 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45580 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45581 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45582 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45583 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45584 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45585 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45586 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45587 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45588 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45590 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45592 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45594 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45595 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45596 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45597 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
45599 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
45600 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
45601 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45603 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45604 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45605 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45606 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45607 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
45608 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45609 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45610 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45611 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45612 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45613 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45614 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45615 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45616 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45617 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
45618 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45619 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45620 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45621 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45622 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
45623 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45624 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
45625 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45626 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45627 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45628 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45629 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45630 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
45631 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45632 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45633 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45634 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45635 { (char *)"TreeCtrl_SetState", (PyCFunction
) _wrap_TreeCtrl_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45636 { (char *)"TreeCtrl_GetState", (PyCFunction
) _wrap_TreeCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45637 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45638 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45639 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
45640 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
45641 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
45642 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45643 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
45644 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45645 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45646 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45647 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
45648 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45649 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
45650 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
45651 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45652 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45653 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
45654 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
45655 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45656 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
45657 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45658 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
45659 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
45660 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
45661 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45662 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
45663 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
45664 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
45665 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
45666 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45667 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
45668 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45669 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45670 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
45671 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
45672 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45673 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
45674 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45675 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45676 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45677 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45678 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45679 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45680 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45681 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
45682 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
45683 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
45684 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
45685 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
45686 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
45687 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
45688 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
45689 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
45690 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45691 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
45692 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45693 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
45694 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45695 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
45696 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45697 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
45698 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45699 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
45700 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
45701 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45702 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
45703 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45704 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
45705 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
45706 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
45707 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45708 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
45709 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
45710 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
45711 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45712 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
45713 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45714 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45715 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45716 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45717 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45718 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45719 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
45720 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
45721 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
45722 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
45723 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
45724 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45725 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45726 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45727 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45728 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45729 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
45730 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45731 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45732 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
45734 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45735 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
45736 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
45737 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45738 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45739 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45740 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45741 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
45742 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
45743 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45744 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
45745 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45746 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45747 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
45748 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45749 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
45750 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
45751 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
45752 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
45753 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
45755 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45756 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
45757 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45758 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
45759 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45760 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
45761 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45762 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
45763 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45764 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45765 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
45766 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
45767 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
45768 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45769 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
45770 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45771 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
45772 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
45773 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45774 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
45776 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45777 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
45778 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
45779 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
45780 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
45781 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
45782 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45783 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
45784 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45785 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
45786 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45787 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
45788 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
45789 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45790 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
45791 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45792 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
45793 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
45794 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45795 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
45796 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45797 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
45798 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45799 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
45800 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
45801 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45802 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
45803 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45804 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
45805 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45806 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
45807 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
45808 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
45810 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
45812 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
45813 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45814 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
45815 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45816 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
45817 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45818 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
45820 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
45821 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
45822 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
45824 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45825 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
45826 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
45827 { NULL
, NULL
, 0, NULL
}
45831 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
45833 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
45834 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
45836 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
45837 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
45839 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
45840 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
45842 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
45843 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
45845 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
45846 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
45848 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
45849 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
45851 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
45852 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
45854 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
45855 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
45857 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
45858 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
45860 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
45861 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
45863 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
45864 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
45866 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
45867 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
45869 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
45870 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
45872 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
45873 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
45875 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
45876 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
45878 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
45879 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
45881 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
45882 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
45884 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
45885 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
45887 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
45888 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
45890 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
45891 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
45893 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
45894 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
45896 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
45897 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
45899 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
45900 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
45902 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
45903 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
45905 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
45906 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
45908 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
45909 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
45911 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
45912 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
45914 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
45915 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
45917 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
45918 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
45920 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
45921 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
45923 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
45924 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
45926 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
45927 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
45929 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
45930 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
45932 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
45933 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
45935 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
45936 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
45938 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
45939 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
45941 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
45942 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
45944 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
45945 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
45947 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
45948 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
45950 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
45951 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
45953 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
45954 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
45956 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
45957 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
45959 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
45960 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
45962 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
45963 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
45965 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
45966 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
45968 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
45969 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
45971 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
45972 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
45974 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
45975 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
45977 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
45978 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
45980 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
45981 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
45983 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
45984 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
45986 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
45987 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
45989 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
45990 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
45992 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
45993 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
45995 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
45996 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
45998 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
45999 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46001 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
46002 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
46004 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
46005 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46007 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
46008 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
46010 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46011 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46013 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
46014 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
46016 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
46017 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46019 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
46020 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
46022 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
46023 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
46025 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
46026 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
46028 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
46029 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
46031 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
46032 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
46034 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
46035 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
46037 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
46038 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
46040 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
46041 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
46043 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
46044 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46046 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
46047 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
46049 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
46050 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
46052 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
46053 return (void *)((wxControl
*) ((wxPyControl
*) x
));
46055 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
46056 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
46058 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
46059 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
46061 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46062 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46064 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
46065 return (void *)((wxControl
*) ((wxGauge
*) x
));
46067 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
46068 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
46070 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
46071 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46073 static void *_p_wxListbookTo_p_wxControl(void *x
) {
46074 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
46076 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
46077 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
46079 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
46080 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
46082 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
46083 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
46085 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
46086 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
46088 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
46089 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
46091 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
46092 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
46094 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
46095 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46097 static void *_p_wxListViewTo_p_wxControl(void *x
) {
46098 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
46100 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
46101 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
46103 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
46104 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
46106 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
46107 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
46109 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
46110 return (void *)((wxControl
*) ((wxStaticText
*) x
));
46112 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
46113 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
46115 static void *_p_wxSliderTo_p_wxControl(void *x
) {
46116 return (void *)((wxControl
*) ((wxSlider
*) x
));
46118 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
46119 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
46121 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
46122 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
46124 static void *_p_wxButtonTo_p_wxControl(void *x
) {
46125 return (void *)((wxControl
*) ((wxButton
*) x
));
46127 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
46128 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
46130 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
46131 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46133 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
46134 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
46136 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
46137 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46139 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
46140 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46142 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
46143 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46145 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
46146 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46148 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
46149 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
46151 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
46152 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
46154 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
46155 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
46157 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
46158 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46160 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
46161 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46163 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
46164 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46166 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
46167 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
46169 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
46170 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46172 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
46173 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46175 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
46176 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46178 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
46179 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46181 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
46182 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46184 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
46185 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46187 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
46188 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46190 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
46191 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
46193 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
46194 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
46196 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
46197 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
46199 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
46200 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
46202 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46203 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46205 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
46206 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
46208 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46209 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46211 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46212 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46214 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
46215 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
46217 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
46218 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
46220 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46221 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46223 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
46224 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
46226 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
46227 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
46229 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
46230 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
46232 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46233 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46235 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46236 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46238 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
46239 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
46241 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
46242 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
46244 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
46245 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
46247 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
46248 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46250 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
46251 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
46253 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46254 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46256 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
46257 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
46259 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
46260 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
46262 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46263 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46265 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
46266 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
46268 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
46269 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
46271 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
46272 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46274 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
46275 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
46277 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
46278 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
46280 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
46281 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
46283 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
46284 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
46286 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
46287 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
46289 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
46290 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46292 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
46293 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
46295 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
46296 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
46298 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
46299 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
46301 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
46302 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
46304 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
46305 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
46307 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
46308 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
46310 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
46311 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
46313 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
46314 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
46316 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
46317 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
46319 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
46320 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
46322 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
46323 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
46325 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
46326 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
46328 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
46329 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
46331 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
46332 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46334 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
46335 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
46337 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
46338 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46340 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
46341 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46343 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
46344 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46346 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
46347 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46349 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
46350 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
46352 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
46353 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
46355 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
46356 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
46358 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
46359 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46361 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
46362 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46364 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
46365 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
46367 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46368 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46370 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
46371 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
46373 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46374 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46376 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46377 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46379 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46380 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46382 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46383 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46385 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
46386 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
46388 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46389 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46391 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46392 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46394 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46395 return (void *)((wxObject
*) ((wxSizer
*) x
));
46397 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46398 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46400 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
46401 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
46403 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
46404 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
46406 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46407 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46409 static void *_p_wxEventTo_p_wxObject(void *x
) {
46410 return (void *)((wxObject
*) ((wxEvent
*) x
));
46412 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46413 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46415 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46416 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46418 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46419 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46421 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
46422 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
46424 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
46425 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
46427 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
46428 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
46430 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
46431 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46433 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
46434 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
46436 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46437 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46439 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46440 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46442 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46443 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46445 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46446 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46448 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46449 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46451 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46452 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46454 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
46455 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
46457 static void *_p_wxControlTo_p_wxObject(void *x
) {
46458 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
46460 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
46461 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
46463 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
46464 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
46466 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
46467 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
46469 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
46470 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
46472 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
46473 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
46475 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
46476 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
46478 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
46479 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
46481 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
46482 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
46484 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
46485 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
46487 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
46488 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
46490 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
46491 return (void *)((wxObject
*) ((wxFSFile
*) x
));
46493 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
46494 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
46496 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
46497 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
46499 static void *_p_wxListViewTo_p_wxObject(void *x
) {
46500 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
46502 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
46503 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
46505 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
46506 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
46508 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
46509 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
46511 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
46512 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
46514 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
46515 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46517 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
46518 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46520 static void *_p_wxListbookTo_p_wxObject(void *x
) {
46521 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
46523 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
46524 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
46526 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
46527 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
46529 static void *_p_wxSliderTo_p_wxObject(void *x
) {
46530 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
46532 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
46533 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
46535 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
46536 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
46538 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
46539 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
46541 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
46542 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46544 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
46545 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46547 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
46548 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
46550 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
46551 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
46553 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
46554 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
46556 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
46557 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
46559 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
46560 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
46562 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
46563 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
46565 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
46566 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
46568 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
46569 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
46571 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
46572 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
46574 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
46575 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
46577 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
46578 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
46580 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
46581 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
46583 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
46584 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
46586 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
46587 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46589 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
46590 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46592 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
46593 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
46595 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
46596 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
46598 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
46599 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
46601 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
46602 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
46604 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
46605 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
46607 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
46608 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
46610 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
46611 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
46613 static void *_p_wxListEventTo_p_wxObject(void *x
) {
46614 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
46616 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
46617 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
46619 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
46620 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46622 static void *_p_wxButtonTo_p_wxObject(void *x
) {
46623 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
46625 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
46626 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
46628 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
46629 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
46631 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
46632 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46634 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
46635 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46637 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
46638 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
46640 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
46641 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
46643 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
46644 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
46646 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
46647 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
46649 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
46650 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
46652 static void *_p_wxListItemTo_p_wxObject(void *x
) {
46653 return (void *)((wxObject
*) ((wxListItem
*) x
));
46655 static void *_p_wxImageTo_p_wxObject(void *x
) {
46656 return (void *)((wxObject
*) ((wxImage
*) x
));
46658 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
46659 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
46661 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
46662 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46664 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
46665 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
46667 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
46668 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
46670 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
46671 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46673 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
46674 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46676 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
46677 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46679 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
46680 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46682 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
46683 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46685 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
46686 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46688 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
46689 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46691 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
46692 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
46694 static void *_p_wxWindowTo_p_wxObject(void *x
) {
46695 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
46697 static void *_p_wxMenuTo_p_wxObject(void *x
) {
46698 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
46700 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
46701 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
46703 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
46704 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
46706 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
46707 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46709 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
46710 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
46712 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
46713 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
46715 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
46716 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
46718 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
46719 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
46721 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
46722 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
46724 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
46725 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46727 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
46728 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46730 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
46731 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46733 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
46734 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
46736 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
46737 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
46739 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
46740 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
46742 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
46743 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
46745 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
46746 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46748 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
46749 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
46751 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
46752 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46754 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
46755 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46757 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
46758 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46760 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
46761 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46763 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
46764 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46766 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
46767 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
46769 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
46770 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
46772 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
46773 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
46775 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
46776 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
46778 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
46779 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
46781 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
46782 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
46784 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
46785 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
46787 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
46788 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
46790 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
46791 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
46793 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
46794 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
46796 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
46797 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
46799 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
46800 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
46802 static void *_p_wxControlTo_p_wxWindow(void *x
) {
46803 return (void *)((wxWindow
*) ((wxControl
*) x
));
46805 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
46806 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
46808 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
46809 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
46811 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
46812 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
46814 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
46815 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46817 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
46818 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
46820 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
46821 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
46823 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
46824 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
46826 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
46827 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
46829 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
46830 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
46832 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
46833 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
46835 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
46836 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46838 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
46839 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
46841 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
46842 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
46844 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
46845 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
46847 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
46848 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
46850 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
46851 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
46853 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
46854 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46856 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
46857 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
46859 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
46860 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
46862 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
46863 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
46865 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
46866 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
46868 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
46869 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
46871 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
46872 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
46874 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
46875 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
46877 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
46878 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
46880 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
46881 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
46883 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
46884 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
46886 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
46887 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
46889 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
46890 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
46892 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
46893 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
46895 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
46896 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46898 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
46899 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
46901 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
46902 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46904 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
46905 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46907 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
46908 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46910 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
46911 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46913 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
46914 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
46916 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
46917 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46919 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
46920 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46922 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
46923 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46925 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
46926 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46928 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
46929 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46931 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
46932 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46934 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
46935 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
46937 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
46938 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
46940 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
46941 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
46943 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
46944 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
46946 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
46947 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
46949 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
46950 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
46952 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
46953 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
46955 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
46956 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46958 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
46959 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46961 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
46962 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46964 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
46965 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46967 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
46968 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46970 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
46971 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46973 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
46974 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46976 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
46977 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46979 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
46980 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
46982 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
46983 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46985 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
46986 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
46988 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
46989 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46991 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
46992 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46994 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
46995 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46997 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
46998 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
47000 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
47001 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47003 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
47004 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47006 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
47007 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
47009 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
47010 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47012 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
47013 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
47015 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
47016 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
47018 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
47019 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
47021 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
47022 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
47024 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
47025 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
47026 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};
47027 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
47028 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
47029 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
47030 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
47031 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
47032 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
47033 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
47034 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
47035 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
47036 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
47037 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
47038 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
47039 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
47040 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
47041 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
47042 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
47043 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
47044 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
47045 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
47046 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
47047 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
47048 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
47049 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
47050 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
47051 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
47052 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
47053 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
47054 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
47055 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
47056 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
47057 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
47058 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
47059 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
47060 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
47061 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
47062 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
47063 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
47064 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
47065 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
47066 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
47067 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
47068 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
47069 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
47070 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
47071 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
47072 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
47073 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
47074 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
47075 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
47076 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
47077 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
47078 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
47079 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
47080 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
47081 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
47082 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
47083 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
47084 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
47085 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
47086 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
47087 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
47088 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
47089 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
47090 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
47091 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
47092 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
47093 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
47094 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
47095 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
47096 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
47097 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
47098 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
47099 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
47100 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
47101 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
47102 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
47103 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
47104 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
47105 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
47106 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
47107 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
47108 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
47109 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
47110 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
47111 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
47112 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
47113 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
47114 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
47115 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
47116 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
47117 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
47118 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
47119 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
47120 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
47121 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
47122 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
47123 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
47124 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
47125 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
47126 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
47127 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
47128 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
47129 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
47130 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
47131 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
47132 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
47133 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
47134 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
47135 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
47136 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
47137 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
47138 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
47139 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
47140 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
47141 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
47142 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
47143 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
47144 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
47145 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
47146 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
47147 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
47148 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
47149 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
47150 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
47151 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
47152 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
47153 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
47154 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
47155 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
47156 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
47157 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
47158 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
47159 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
47160 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
47161 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
47162 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
47163 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
47164 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
47165 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
47166 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
47167 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
47168 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
47169 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
47170 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
47171 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
47172 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
47173 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
47174 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
47175 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
47176 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
47177 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
47178 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
47179 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
47180 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
47181 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
47182 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
47183 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
47184 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
47185 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
47186 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
47187 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
47188 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
47189 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
47190 static swig_type_info _swigt__p_wxTreeCtrl
= {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
47191 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
47192 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
47193 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
47194 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
47195 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
47196 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
47197 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
47198 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
47200 static swig_type_info
*swig_type_initial
[] = {
47203 &_swigt__p_form_ops_t
,
47206 &_swigt__p_unsigned_char
,
47207 &_swigt__p_unsigned_int
,
47208 &_swigt__p_unsigned_long
,
47210 &_swigt__p_wxANIHandler
,
47211 &_swigt__p_wxAcceleratorTable
,
47212 &_swigt__p_wxActivateEvent
,
47213 &_swigt__p_wxArrayInt
,
47214 &_swigt__p_wxArrayString
,
47215 &_swigt__p_wxBMPHandler
,
47216 &_swigt__p_wxBitmap
,
47217 &_swigt__p_wxBitmapButton
,
47218 &_swigt__p_wxBookCtrlBase
,
47219 &_swigt__p_wxBookCtrlBaseEvent
,
47220 &_swigt__p_wxBoxSizer
,
47221 &_swigt__p_wxButton
,
47222 &_swigt__p_wxCURHandler
,
47223 &_swigt__p_wxCheckBox
,
47224 &_swigt__p_wxCheckListBox
,
47225 &_swigt__p_wxChildFocusEvent
,
47226 &_swigt__p_wxChoice
,
47227 &_swigt__p_wxChoicebook
,
47228 &_swigt__p_wxChoicebookEvent
,
47229 &_swigt__p_wxClipboardTextEvent
,
47230 &_swigt__p_wxCloseEvent
,
47231 &_swigt__p_wxColour
,
47232 &_swigt__p_wxColourPickerCtrl
,
47233 &_swigt__p_wxColourPickerEvent
,
47234 &_swigt__p_wxComboBox
,
47235 &_swigt__p_wxCommandEvent
,
47236 &_swigt__p_wxContextHelp
,
47237 &_swigt__p_wxContextHelpButton
,
47238 &_swigt__p_wxContextMenuEvent
,
47239 &_swigt__p_wxControl
,
47240 &_swigt__p_wxControlWithItems
,
47241 &_swigt__p_wxCursor
,
47243 &_swigt__p_wxDateEvent
,
47244 &_swigt__p_wxDatePickerCtrl
,
47245 &_swigt__p_wxDateTime
,
47246 &_swigt__p_wxDirFilterListCtrl
,
47247 &_swigt__p_wxDirPickerCtrl
,
47248 &_swigt__p_wxDisplayChangedEvent
,
47249 &_swigt__p_wxDropFilesEvent
,
47250 &_swigt__p_wxDuplexMode
,
47251 &_swigt__p_wxEraseEvent
,
47252 &_swigt__p_wxEvent
,
47253 &_swigt__p_wxEvtHandler
,
47254 &_swigt__p_wxFSFile
,
47255 &_swigt__p_wxFileDirPickerEvent
,
47256 &_swigt__p_wxFilePickerCtrl
,
47257 &_swigt__p_wxFileSystem
,
47258 &_swigt__p_wxFlexGridSizer
,
47259 &_swigt__p_wxFocusEvent
,
47261 &_swigt__p_wxFontPickerCtrl
,
47262 &_swigt__p_wxFontPickerEvent
,
47263 &_swigt__p_wxGBSizerItem
,
47264 &_swigt__p_wxGIFHandler
,
47265 &_swigt__p_wxGauge
,
47266 &_swigt__p_wxGenericDirCtrl
,
47267 &_swigt__p_wxGenericDragImage
,
47268 &_swigt__p_wxGridBagSizer
,
47269 &_swigt__p_wxGridSizer
,
47270 &_swigt__p_wxHelpEvent
,
47271 &_swigt__p_wxHelpProvider
,
47272 &_swigt__p_wxHyperlinkCtrl
,
47273 &_swigt__p_wxHyperlinkEvent
,
47274 &_swigt__p_wxICOHandler
,
47276 &_swigt__p_wxIconizeEvent
,
47277 &_swigt__p_wxIdleEvent
,
47278 &_swigt__p_wxImage
,
47279 &_swigt__p_wxImageHandler
,
47280 &_swigt__p_wxImageList
,
47281 &_swigt__p_wxIndividualLayoutConstraint
,
47282 &_swigt__p_wxInitDialogEvent
,
47283 &_swigt__p_wxItemContainer
,
47284 &_swigt__p_wxJPEGHandler
,
47285 &_swigt__p_wxKeyEvent
,
47286 &_swigt__p_wxLayoutConstraints
,
47287 &_swigt__p_wxListBox
,
47288 &_swigt__p_wxListEvent
,
47289 &_swigt__p_wxListItem
,
47290 &_swigt__p_wxListItemAttr
,
47291 &_swigt__p_wxListView
,
47292 &_swigt__p_wxListbook
,
47293 &_swigt__p_wxListbookEvent
,
47294 &_swigt__p_wxMaximizeEvent
,
47295 &_swigt__p_wxMemoryDC
,
47297 &_swigt__p_wxMenuBar
,
47298 &_swigt__p_wxMenuEvent
,
47299 &_swigt__p_wxMenuItem
,
47300 &_swigt__p_wxMouseCaptureChangedEvent
,
47301 &_swigt__p_wxMouseEvent
,
47302 &_swigt__p_wxMoveEvent
,
47303 &_swigt__p_wxNavigationKeyEvent
,
47304 &_swigt__p_wxNcPaintEvent
,
47305 &_swigt__p_wxNotebook
,
47306 &_swigt__p_wxNotebookEvent
,
47307 &_swigt__p_wxNotifyEvent
,
47308 &_swigt__p_wxObject
,
47309 &_swigt__p_wxPCXHandler
,
47310 &_swigt__p_wxPNGHandler
,
47311 &_swigt__p_wxPNMHandler
,
47312 &_swigt__p_wxPaintEvent
,
47313 &_swigt__p_wxPaletteChangedEvent
,
47314 &_swigt__p_wxPaperSize
,
47315 &_swigt__p_wxPickerBase
,
47316 &_swigt__p_wxPoint
,
47317 &_swigt__p_wxPyApp
,
47318 &_swigt__p_wxPyCommandEvent
,
47319 &_swigt__p_wxPyControl
,
47320 &_swigt__p_wxPyEvent
,
47321 &_swigt__p_wxPyImageHandler
,
47322 &_swigt__p_wxPyListCtrl
,
47323 &_swigt__p_wxPySizer
,
47324 &_swigt__p_wxPyTreeCtrl
,
47325 &_swigt__p_wxPyTreeItemData
,
47326 &_swigt__p_wxPyValidator
,
47327 &_swigt__p_wxQueryNewPaletteEvent
,
47328 &_swigt__p_wxRadioBox
,
47329 &_swigt__p_wxRadioButton
,
47331 &_swigt__p_wxScrollBar
,
47332 &_swigt__p_wxScrollEvent
,
47333 &_swigt__p_wxScrollWinEvent
,
47334 &_swigt__p_wxSetCursorEvent
,
47335 &_swigt__p_wxShowEvent
,
47336 &_swigt__p_wxSimpleHelpProvider
,
47338 &_swigt__p_wxSizeEvent
,
47339 &_swigt__p_wxSizer
,
47340 &_swigt__p_wxSizerItem
,
47341 &_swigt__p_wxSlider
,
47342 &_swigt__p_wxSpinButton
,
47343 &_swigt__p_wxSpinCtrl
,
47344 &_swigt__p_wxSpinEvent
,
47345 &_swigt__p_wxStaticBitmap
,
47346 &_swigt__p_wxStaticBox
,
47347 &_swigt__p_wxStaticBoxSizer
,
47348 &_swigt__p_wxStaticLine
,
47349 &_swigt__p_wxStaticText
,
47350 &_swigt__p_wxStdDialogButtonSizer
,
47351 &_swigt__p_wxString
,
47352 &_swigt__p_wxSysColourChangedEvent
,
47353 &_swigt__p_wxTIFFHandler
,
47354 &_swigt__p_wxTextAttr
,
47355 &_swigt__p_wxTextCtrl
,
47356 &_swigt__p_wxTextUrlEvent
,
47357 &_swigt__p_wxToggleButton
,
47358 &_swigt__p_wxToolBar
,
47359 &_swigt__p_wxToolBarBase
,
47360 &_swigt__p_wxToolBarToolBase
,
47361 &_swigt__p_wxToolbook
,
47362 &_swigt__p_wxToolbookEvent
,
47363 &_swigt__p_wxTreeCtrl
,
47364 &_swigt__p_wxTreeEvent
,
47365 &_swigt__p_wxTreeItemId
,
47366 &_swigt__p_wxTreebook
,
47367 &_swigt__p_wxTreebookEvent
,
47368 &_swigt__p_wxUpdateUIEvent
,
47369 &_swigt__p_wxValidator
,
47370 &_swigt__p_wxVisualAttributes
,
47371 &_swigt__p_wxWindow
,
47372 &_swigt__p_wxWindowBase
,
47373 &_swigt__p_wxWindowCreateEvent
,
47374 &_swigt__p_wxWindowDestroyEvent
,
47375 &_swigt__p_wxXPMHandler
,
47378 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
47379 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
47380 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
47381 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
47382 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
47383 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
47384 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
47385 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
47386 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
47387 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
47388 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
47389 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
47390 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}};
47391 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}};
47392 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}};
47393 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}};
47394 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
47395 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
47396 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}};
47397 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
47398 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47399 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
47400 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47401 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47402 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
47403 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47404 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
47405 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
47406 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
47407 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
47408 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
47409 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47410 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47411 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
47412 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}};
47413 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
47414 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
47415 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}};
47416 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}};
47417 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
47418 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
47419 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47420 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
47421 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47422 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47423 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
47424 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
47425 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47426 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47427 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
47428 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
47429 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47430 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
47431 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
47432 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47433 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47434 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47435 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47436 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
47437 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
47438 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
47439 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47440 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47441 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47442 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47443 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
47444 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
47445 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
47446 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47447 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
47448 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}};
47449 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
47450 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
47451 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
47452 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
47453 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}};
47454 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47455 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47456 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
47457 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47458 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47459 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
47460 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47461 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
47462 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
47463 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}};
47464 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47465 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
47466 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
47467 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
47468 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}};
47469 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47470 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}};
47471 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
47472 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
47473 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
47474 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
47475 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
47476 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47477 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
47478 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47479 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
47480 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47481 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}};
47482 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
47483 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
47484 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
47485 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
47486 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
47487 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
47488 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
47489 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
47490 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
47491 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
47492 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
47493 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
47494 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
47495 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
47496 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
47497 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
47498 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
47499 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
47500 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
47501 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
47502 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
47503 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
47504 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
47505 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
47506 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
47507 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
47508 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
47509 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
47510 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
47511 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
47512 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}};
47513 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
47514 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}};
47515 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
47516 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
47517 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}};
47518 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47519 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
47520 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
47521 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
47522 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
47523 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
47524 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
47525 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
47526 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
47527 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
47528 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47529 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
47530 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
47531 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
47532 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
47533 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
47534 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
47535 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
47536 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47537 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
47538 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
47539 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
47540 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}};
47541 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
47542 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
47543 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47544 static swig_cast_info _swigc__p_wxTreeCtrl
[] = { {&_swigt__p_wxTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47545 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47546 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
47547 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
47548 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47549 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}};
47550 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
47551 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}};
47552 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
47554 static swig_cast_info
*swig_cast_initial
[] = {
47557 _swigc__p_form_ops_t
,
47560 _swigc__p_unsigned_char
,
47561 _swigc__p_unsigned_int
,
47562 _swigc__p_unsigned_long
,
47564 _swigc__p_wxANIHandler
,
47565 _swigc__p_wxAcceleratorTable
,
47566 _swigc__p_wxActivateEvent
,
47567 _swigc__p_wxArrayInt
,
47568 _swigc__p_wxArrayString
,
47569 _swigc__p_wxBMPHandler
,
47570 _swigc__p_wxBitmap
,
47571 _swigc__p_wxBitmapButton
,
47572 _swigc__p_wxBookCtrlBase
,
47573 _swigc__p_wxBookCtrlBaseEvent
,
47574 _swigc__p_wxBoxSizer
,
47575 _swigc__p_wxButton
,
47576 _swigc__p_wxCURHandler
,
47577 _swigc__p_wxCheckBox
,
47578 _swigc__p_wxCheckListBox
,
47579 _swigc__p_wxChildFocusEvent
,
47580 _swigc__p_wxChoice
,
47581 _swigc__p_wxChoicebook
,
47582 _swigc__p_wxChoicebookEvent
,
47583 _swigc__p_wxClipboardTextEvent
,
47584 _swigc__p_wxCloseEvent
,
47585 _swigc__p_wxColour
,
47586 _swigc__p_wxColourPickerCtrl
,
47587 _swigc__p_wxColourPickerEvent
,
47588 _swigc__p_wxComboBox
,
47589 _swigc__p_wxCommandEvent
,
47590 _swigc__p_wxContextHelp
,
47591 _swigc__p_wxContextHelpButton
,
47592 _swigc__p_wxContextMenuEvent
,
47593 _swigc__p_wxControl
,
47594 _swigc__p_wxControlWithItems
,
47595 _swigc__p_wxCursor
,
47597 _swigc__p_wxDateEvent
,
47598 _swigc__p_wxDatePickerCtrl
,
47599 _swigc__p_wxDateTime
,
47600 _swigc__p_wxDirFilterListCtrl
,
47601 _swigc__p_wxDirPickerCtrl
,
47602 _swigc__p_wxDisplayChangedEvent
,
47603 _swigc__p_wxDropFilesEvent
,
47604 _swigc__p_wxDuplexMode
,
47605 _swigc__p_wxEraseEvent
,
47607 _swigc__p_wxEvtHandler
,
47608 _swigc__p_wxFSFile
,
47609 _swigc__p_wxFileDirPickerEvent
,
47610 _swigc__p_wxFilePickerCtrl
,
47611 _swigc__p_wxFileSystem
,
47612 _swigc__p_wxFlexGridSizer
,
47613 _swigc__p_wxFocusEvent
,
47615 _swigc__p_wxFontPickerCtrl
,
47616 _swigc__p_wxFontPickerEvent
,
47617 _swigc__p_wxGBSizerItem
,
47618 _swigc__p_wxGIFHandler
,
47620 _swigc__p_wxGenericDirCtrl
,
47621 _swigc__p_wxGenericDragImage
,
47622 _swigc__p_wxGridBagSizer
,
47623 _swigc__p_wxGridSizer
,
47624 _swigc__p_wxHelpEvent
,
47625 _swigc__p_wxHelpProvider
,
47626 _swigc__p_wxHyperlinkCtrl
,
47627 _swigc__p_wxHyperlinkEvent
,
47628 _swigc__p_wxICOHandler
,
47630 _swigc__p_wxIconizeEvent
,
47631 _swigc__p_wxIdleEvent
,
47633 _swigc__p_wxImageHandler
,
47634 _swigc__p_wxImageList
,
47635 _swigc__p_wxIndividualLayoutConstraint
,
47636 _swigc__p_wxInitDialogEvent
,
47637 _swigc__p_wxItemContainer
,
47638 _swigc__p_wxJPEGHandler
,
47639 _swigc__p_wxKeyEvent
,
47640 _swigc__p_wxLayoutConstraints
,
47641 _swigc__p_wxListBox
,
47642 _swigc__p_wxListEvent
,
47643 _swigc__p_wxListItem
,
47644 _swigc__p_wxListItemAttr
,
47645 _swigc__p_wxListView
,
47646 _swigc__p_wxListbook
,
47647 _swigc__p_wxListbookEvent
,
47648 _swigc__p_wxMaximizeEvent
,
47649 _swigc__p_wxMemoryDC
,
47651 _swigc__p_wxMenuBar
,
47652 _swigc__p_wxMenuEvent
,
47653 _swigc__p_wxMenuItem
,
47654 _swigc__p_wxMouseCaptureChangedEvent
,
47655 _swigc__p_wxMouseEvent
,
47656 _swigc__p_wxMoveEvent
,
47657 _swigc__p_wxNavigationKeyEvent
,
47658 _swigc__p_wxNcPaintEvent
,
47659 _swigc__p_wxNotebook
,
47660 _swigc__p_wxNotebookEvent
,
47661 _swigc__p_wxNotifyEvent
,
47662 _swigc__p_wxObject
,
47663 _swigc__p_wxPCXHandler
,
47664 _swigc__p_wxPNGHandler
,
47665 _swigc__p_wxPNMHandler
,
47666 _swigc__p_wxPaintEvent
,
47667 _swigc__p_wxPaletteChangedEvent
,
47668 _swigc__p_wxPaperSize
,
47669 _swigc__p_wxPickerBase
,
47672 _swigc__p_wxPyCommandEvent
,
47673 _swigc__p_wxPyControl
,
47674 _swigc__p_wxPyEvent
,
47675 _swigc__p_wxPyImageHandler
,
47676 _swigc__p_wxPyListCtrl
,
47677 _swigc__p_wxPySizer
,
47678 _swigc__p_wxPyTreeCtrl
,
47679 _swigc__p_wxPyTreeItemData
,
47680 _swigc__p_wxPyValidator
,
47681 _swigc__p_wxQueryNewPaletteEvent
,
47682 _swigc__p_wxRadioBox
,
47683 _swigc__p_wxRadioButton
,
47685 _swigc__p_wxScrollBar
,
47686 _swigc__p_wxScrollEvent
,
47687 _swigc__p_wxScrollWinEvent
,
47688 _swigc__p_wxSetCursorEvent
,
47689 _swigc__p_wxShowEvent
,
47690 _swigc__p_wxSimpleHelpProvider
,
47692 _swigc__p_wxSizeEvent
,
47694 _swigc__p_wxSizerItem
,
47695 _swigc__p_wxSlider
,
47696 _swigc__p_wxSpinButton
,
47697 _swigc__p_wxSpinCtrl
,
47698 _swigc__p_wxSpinEvent
,
47699 _swigc__p_wxStaticBitmap
,
47700 _swigc__p_wxStaticBox
,
47701 _swigc__p_wxStaticBoxSizer
,
47702 _swigc__p_wxStaticLine
,
47703 _swigc__p_wxStaticText
,
47704 _swigc__p_wxStdDialogButtonSizer
,
47705 _swigc__p_wxString
,
47706 _swigc__p_wxSysColourChangedEvent
,
47707 _swigc__p_wxTIFFHandler
,
47708 _swigc__p_wxTextAttr
,
47709 _swigc__p_wxTextCtrl
,
47710 _swigc__p_wxTextUrlEvent
,
47711 _swigc__p_wxToggleButton
,
47712 _swigc__p_wxToolBar
,
47713 _swigc__p_wxToolBarBase
,
47714 _swigc__p_wxToolBarToolBase
,
47715 _swigc__p_wxToolbook
,
47716 _swigc__p_wxToolbookEvent
,
47717 _swigc__p_wxTreeCtrl
,
47718 _swigc__p_wxTreeEvent
,
47719 _swigc__p_wxTreeItemId
,
47720 _swigc__p_wxTreebook
,
47721 _swigc__p_wxTreebookEvent
,
47722 _swigc__p_wxUpdateUIEvent
,
47723 _swigc__p_wxValidator
,
47724 _swigc__p_wxVisualAttributes
,
47725 _swigc__p_wxWindow
,
47726 _swigc__p_wxWindowBase
,
47727 _swigc__p_wxWindowCreateEvent
,
47728 _swigc__p_wxWindowDestroyEvent
,
47729 _swigc__p_wxXPMHandler
,
47733 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
47735 static swig_const_info swig_const_table
[] = {
47736 {0, 0, 0, 0.0, 0, 0}};
47741 /* -----------------------------------------------------------------------------
47742 * Type initialization:
47743 * This problem is tough by the requirement that no dynamic
47744 * memory is used. Also, since swig_type_info structures store pointers to
47745 * swig_cast_info structures and swig_cast_info structures store pointers back
47746 * to swig_type_info structures, we need some lookup code at initialization.
47747 * The idea is that swig generates all the structures that are needed.
47748 * The runtime then collects these partially filled structures.
47749 * The SWIG_InitializeModule function takes these initial arrays out of
47750 * swig_module, and does all the lookup, filling in the swig_module.types
47751 * array with the correct data and linking the correct swig_cast_info
47752 * structures together.
47754 * The generated swig_type_info structures are assigned staticly to an initial
47755 * array. We just loop though that array, and handle each type individually.
47756 * First we lookup if this type has been already loaded, and if so, use the
47757 * loaded structure instead of the generated one. Then we have to fill in the
47758 * cast linked list. The cast data is initially stored in something like a
47759 * two-dimensional array. Each row corresponds to a type (there are the same
47760 * number of rows as there are in the swig_type_initial array). Each entry in
47761 * a column is one of the swig_cast_info structures for that type.
47762 * The cast_initial array is actually an array of arrays, because each row has
47763 * a variable number of columns. So to actually build the cast linked list,
47764 * we find the array of casts associated with the type, and loop through it
47765 * adding the casts to the list. The one last trick we need to do is making
47766 * sure the type pointer in the swig_cast_info struct is correct.
47768 * First off, we lookup the cast->type name to see if it is already loaded.
47769 * There are three cases to handle:
47770 * 1) If the cast->type has already been loaded AND the type we are adding
47771 * casting info to has not been loaded (it is in this module), THEN we
47772 * replace the cast->type pointer with the type pointer that has already
47774 * 2) If BOTH types (the one we are adding casting info to, and the
47775 * cast->type) are loaded, THEN the cast info has already been loaded by
47776 * the previous module so we just ignore it.
47777 * 3) Finally, if cast->type has not already been loaded, then we add that
47778 * swig_cast_info to the linked list (because the cast->type) pointer will
47780 * ----------------------------------------------------------------------------- */
47790 #define SWIGRUNTIME_DEBUG
47794 SWIG_InitializeModule(void *clientdata
) {
47796 swig_module_info
*module_head
;
47797 static int init_run
= 0;
47799 clientdata
= clientdata
;
47801 if (init_run
) return;
47804 /* Initialize the swig_module */
47805 swig_module
.type_initial
= swig_type_initial
;
47806 swig_module
.cast_initial
= swig_cast_initial
;
47808 /* Try and load any already created modules */
47809 module_head
= SWIG_GetModule(clientdata
);
47811 swig_module
.next
= module_head
->next
;
47812 module_head
->next
= &swig_module
;
47814 /* This is the first module loaded */
47815 swig_module
.next
= &swig_module
;
47816 SWIG_SetModule(clientdata
, &swig_module
);
47819 /* Now work on filling in swig_module.types */
47820 #ifdef SWIGRUNTIME_DEBUG
47821 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
47823 for (i
= 0; i
< swig_module
.size
; ++i
) {
47824 swig_type_info
*type
= 0;
47825 swig_type_info
*ret
;
47826 swig_cast_info
*cast
;
47828 #ifdef SWIGRUNTIME_DEBUG
47829 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
47832 /* if there is another module already loaded */
47833 if (swig_module
.next
!= &swig_module
) {
47834 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
47837 /* Overwrite clientdata field */
47838 #ifdef SWIGRUNTIME_DEBUG
47839 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
47841 if (swig_module
.type_initial
[i
]->clientdata
) {
47842 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
47843 #ifdef SWIGRUNTIME_DEBUG
47844 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
47848 type
= swig_module
.type_initial
[i
];
47851 /* Insert casting types */
47852 cast
= swig_module
.cast_initial
[i
];
47853 while (cast
->type
) {
47854 /* Don't need to add information already in the list */
47856 #ifdef SWIGRUNTIME_DEBUG
47857 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
47859 if (swig_module
.next
!= &swig_module
) {
47860 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
47861 #ifdef SWIGRUNTIME_DEBUG
47862 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
47866 if (type
== swig_module
.type_initial
[i
]) {
47867 #ifdef SWIGRUNTIME_DEBUG
47868 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
47873 /* Check for casting already in the list */
47874 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
47875 #ifdef SWIGRUNTIME_DEBUG
47876 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
47878 if (!ocast
) ret
= 0;
47883 #ifdef SWIGRUNTIME_DEBUG
47884 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
47887 type
->cast
->prev
= cast
;
47888 cast
->next
= type
->cast
;
47894 /* Set entry in modules->types array equal to the type */
47895 swig_module
.types
[i
] = type
;
47897 swig_module
.types
[i
] = 0;
47899 #ifdef SWIGRUNTIME_DEBUG
47900 printf("**** SWIG_InitializeModule: Cast List ******\n");
47901 for (i
= 0; i
< swig_module
.size
; ++i
) {
47903 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
47904 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
47905 while (cast
->type
) {
47906 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
47910 printf("---- Total casts: %d\n",j
);
47912 printf("**** SWIG_InitializeModule: Cast List ******\n");
47916 /* This function will propagate the clientdata field of type to
47917 * any new swig_type_info structures that have been added into the list
47918 * of equivalent types. It is like calling
47919 * SWIG_TypeClientData(type, clientdata) a second time.
47922 SWIG_PropagateClientData(void) {
47924 swig_cast_info
*equiv
;
47925 static int init_run
= 0;
47927 if (init_run
) return;
47930 for (i
= 0; i
< swig_module
.size
; i
++) {
47931 if (swig_module
.types
[i
]->clientdata
) {
47932 equiv
= swig_module
.types
[i
]->cast
;
47934 if (!equiv
->converter
) {
47935 if (equiv
->type
&& !equiv
->type
->clientdata
)
47936 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
47938 equiv
= equiv
->next
;
47958 /* Python-specific SWIG API */
47959 #define SWIG_newvarlink() SWIG_Python_newvarlink()
47960 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
47961 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
47963 /* -----------------------------------------------------------------------------
47964 * global variable support code.
47965 * ----------------------------------------------------------------------------- */
47967 typedef struct swig_globalvar
{
47968 char *name
; /* Name of global variable */
47969 PyObject
*(*get_attr
)(void); /* Return the current value */
47970 int (*set_attr
)(PyObject
*); /* Set the value */
47971 struct swig_globalvar
*next
;
47974 typedef struct swig_varlinkobject
{
47976 swig_globalvar
*vars
;
47977 } swig_varlinkobject
;
47979 SWIGINTERN PyObject
*
47980 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
47981 return PyString_FromString("<Swig global variables>");
47984 SWIGINTERN PyObject
*
47985 swig_varlink_str(swig_varlinkobject
*v
) {
47986 PyObject
*str
= PyString_FromString("(");
47987 swig_globalvar
*var
;
47988 for (var
= v
->vars
; var
; var
=var
->next
) {
47989 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
47990 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
47992 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
47997 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
47998 PyObject
*str
= swig_varlink_str(v
);
47999 fprintf(fp
,"Swig global variables ");
48000 fprintf(fp
,"%s\n", PyString_AsString(str
));
48006 swig_varlink_dealloc(swig_varlinkobject
*v
) {
48007 swig_globalvar
*var
= v
->vars
;
48009 swig_globalvar
*n
= var
->next
;
48016 SWIGINTERN PyObject
*
48017 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
48018 PyObject
*res
= NULL
;
48019 swig_globalvar
*var
= v
->vars
;
48021 if (strcmp(var
->name
,n
) == 0) {
48022 res
= (*var
->get_attr
)();
48027 if (res
== NULL
&& !PyErr_Occurred()) {
48028 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48034 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
48036 swig_globalvar
*var
= v
->vars
;
48038 if (strcmp(var
->name
,n
) == 0) {
48039 res
= (*var
->set_attr
)(p
);
48044 if (res
== 1 && !PyErr_Occurred()) {
48045 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48050 SWIGINTERN PyTypeObject
*
48051 swig_varlink_type(void) {
48052 static char varlink__doc__
[] = "Swig var link object";
48053 static PyTypeObject varlink_type
;
48054 static int type_init
= 0;
48056 const PyTypeObject tmp
48058 PyObject_HEAD_INIT(NULL
)
48059 0, /* Number of items in variable part (ob_size) */
48060 (char *)"swigvarlink", /* Type name (tp_name) */
48061 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
48062 0, /* Itemsize (tp_itemsize) */
48063 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
48064 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
48065 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
48066 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
48067 0, /* tp_compare */
48068 (reprfunc
) swig_varlink_repr
, /* tp_repr */
48069 0, /* tp_as_number */
48070 0, /* tp_as_sequence */
48071 0, /* tp_as_mapping */
48074 (reprfunc
)swig_varlink_str
, /* tp_str */
48075 0, /* tp_getattro */
48076 0, /* tp_setattro */
48077 0, /* tp_as_buffer */
48079 varlink__doc__
, /* tp_doc */
48080 0, /* tp_traverse */
48082 0, /* tp_richcompare */
48083 0, /* tp_weaklistoffset */
48084 #if PY_VERSION_HEX >= 0x02020000
48085 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
48087 #if PY_VERSION_HEX >= 0x02030000
48090 #ifdef COUNT_ALLOCS
48091 0,0,0,0 /* tp_alloc -> tp_next */
48094 varlink_type
= tmp
;
48095 varlink_type
.ob_type
= &PyType_Type
;
48098 return &varlink_type
;
48101 /* Create a variable linking object for use later */
48102 SWIGINTERN PyObject
*
48103 SWIG_Python_newvarlink(void) {
48104 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
48108 return ((PyObject
*) result
);
48112 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
48113 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
48114 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
48116 size_t size
= strlen(name
)+1;
48117 gv
->name
= (char *)malloc(size
);
48119 strncpy(gv
->name
,name
,size
);
48120 gv
->get_attr
= get_attr
;
48121 gv
->set_attr
= set_attr
;
48122 gv
->next
= v
->vars
;
48128 SWIGINTERN PyObject
*
48130 static PyObject
*_SWIG_globals
= 0;
48131 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
48132 return _SWIG_globals
;
48135 /* -----------------------------------------------------------------------------
48136 * constants/methods manipulation
48137 * ----------------------------------------------------------------------------- */
48139 /* Install Constants */
48141 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
48144 for (i
= 0; constants
[i
].type
; ++i
) {
48145 switch(constants
[i
].type
) {
48146 case SWIG_PY_POINTER
:
48147 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
48149 case SWIG_PY_BINARY
:
48150 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
48157 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
48163 /* -----------------------------------------------------------------------------*/
48164 /* Fix SwigMethods to carry the callback ptrs when needed */
48165 /* -----------------------------------------------------------------------------*/
48168 SWIG_Python_FixMethods(PyMethodDef
*methods
,
48169 swig_const_info
*const_table
,
48170 swig_type_info
**types
,
48171 swig_type_info
**types_initial
) {
48173 for (i
= 0; methods
[i
].ml_name
; ++i
) {
48174 char *c
= methods
[i
].ml_doc
;
48175 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
48177 swig_const_info
*ci
= 0;
48178 char *name
= c
+ 10;
48179 for (j
= 0; const_table
[j
].type
; ++j
) {
48180 if (strncmp(const_table
[j
].name
, name
,
48181 strlen(const_table
[j
].name
)) == 0) {
48182 ci
= &(const_table
[j
]);
48187 size_t shift
= (ci
->ptype
) - types
;
48188 swig_type_info
*ty
= types_initial
[shift
];
48189 size_t ldoc
= (c
- methods
[i
].ml_doc
);
48190 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
48191 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
48194 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
48196 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
48198 strncpy(buff
, "swig_ptr: ", 10);
48200 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
48201 methods
[i
].ml_doc
= ndoc
;
48213 /* -----------------------------------------------------------------------------*
48214 * Partial Init method
48215 * -----------------------------------------------------------------------------*/
48220 SWIGEXPORT
void SWIG_init(void) {
48223 /* Fix SwigMethods to carry the callback ptrs when needed */
48224 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
48226 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
48227 d
= PyModule_GetDict(m
);
48229 SWIG_InitializeModule(0);
48230 SWIG_InstallConstants(d
,swig_const_table
);
48233 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
48234 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
48235 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
48236 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
48237 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
48238 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
48239 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
48240 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
48241 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
48242 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
48243 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
48244 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
48245 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
48246 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
48247 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
48248 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
48249 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
48250 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
48251 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
48252 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
48253 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
48254 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
48255 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
48256 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
48257 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
48258 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
48259 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
48260 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
48261 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
48262 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
48263 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
48264 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
48265 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
48266 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
48267 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
48268 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
48269 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
48270 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
48271 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
48272 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
48273 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
48274 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
48275 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
48276 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
48277 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
48278 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
48279 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
48280 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
48281 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
48282 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
48283 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
48284 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
48285 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
48286 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
48287 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
48288 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
48289 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
48290 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
48291 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
48292 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
48293 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
48294 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
48295 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
48296 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
48297 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
48298 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
48299 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
48300 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
48301 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
48302 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
48303 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
48304 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
48305 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
48306 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
48307 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
48308 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
48309 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
48310 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
48311 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
48312 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
48313 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
48314 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
48315 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
48316 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
48317 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
48318 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
48319 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
48320 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
48321 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
48322 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
48323 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
48324 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
48325 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
48326 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
48327 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
48328 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
48329 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
48330 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
48331 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
48332 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
48333 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
48334 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
48335 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
48336 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
48337 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
48338 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
48339 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
48340 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
48341 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
48342 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
48343 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
48344 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
48345 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
48346 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
48347 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
48348 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
48349 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
48350 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
48351 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
48352 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
48353 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
48354 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
48355 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
48356 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
48357 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
48358 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
48359 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
48360 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
48361 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
48362 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
48363 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
48364 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
48365 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
48366 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
48367 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
48368 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
48369 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
48370 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
48371 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
48372 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
48373 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
48374 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
48375 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
48376 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
48377 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
48378 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
48379 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
48380 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
48381 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
48382 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
48383 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
48384 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
48385 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
48386 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
48387 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
48388 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
48389 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
48390 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
48391 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
48392 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
48393 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
48394 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
48395 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
48396 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
48397 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
48398 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
48399 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
48400 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
48401 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
48402 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
48403 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
48404 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
48405 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
48406 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
48407 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
48408 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
48409 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
48410 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
48411 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
48412 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
48413 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
48414 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
48415 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
48416 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
48417 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
48418 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
48419 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
48420 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
48421 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
48422 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
48423 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
48424 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
48425 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
48426 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
48427 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
48428 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
48429 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
48430 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
48431 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
48432 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
48433 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
48434 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
48435 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
48436 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
48437 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
48438 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
48439 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
48440 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
48441 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
48442 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
48443 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
48444 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
48445 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
48446 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
48447 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
48448 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
48449 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
48450 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
48451 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
48452 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
48453 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
48454 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
48455 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
48456 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
48457 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
48458 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
48459 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
48460 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
48461 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
48462 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
48463 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
48464 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
48465 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
48466 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
48467 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
48468 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
48469 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
48470 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
48471 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
48472 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
48473 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
48474 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
48475 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
48476 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
48477 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
48478 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
48479 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
48480 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
48481 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
48483 // Map renamed classes back to their common name for OOR
48484 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
48486 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
48487 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
48488 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
48489 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
48490 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
48491 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
48492 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
48493 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
48494 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
48495 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
48496 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
48497 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
48498 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
48499 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
48500 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
48501 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
48502 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
48503 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
48504 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
48505 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
48506 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
48507 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
48508 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
48509 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
48510 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
48511 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
48512 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
48513 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
48514 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
48515 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
48516 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
48517 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
48518 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
48519 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
48520 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
48521 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
48522 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
48523 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
48524 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
48525 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
48526 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
48527 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
48528 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
48529 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
48530 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
48531 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
48532 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
48533 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
48534 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
48535 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
48536 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
48537 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
48538 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
48539 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
48540 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
48542 // Map renamed classes back to their common name for OOR
48543 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
48544 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
48546 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
48547 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
48548 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
48549 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
48550 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
48551 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
48552 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
48553 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
48554 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
48555 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
48556 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
48557 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
48558 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
48560 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
48562 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
48563 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
48564 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
48565 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
48566 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
48567 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
48568 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
48569 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
48570 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
48571 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
48572 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
48573 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
48574 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
48575 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
48576 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
48577 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
48578 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
48579 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
48580 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
48581 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
48582 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
48583 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
48584 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
48585 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
48586 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
48587 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
48588 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
48589 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
48590 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
48591 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
48592 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
48593 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
48594 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
48595 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
48596 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
48597 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
48598 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
48599 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
48600 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
48601 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));