1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_long swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2479 #define SWIGTYPE_p_wxArrayString swig_types[13]
2480 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481 #define SWIGTYPE_p_wxBitmap swig_types[15]
2482 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2483 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2484 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2486 #define SWIGTYPE_p_wxButton swig_types[20]
2487 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2488 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2489 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxChoice swig_types[25]
2492 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2493 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2494 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2495 #define SWIGTYPE_p_wxCloseEvent swig_types[29]
2496 #define SWIGTYPE_p_wxCollapsiblePane swig_types[30]
2497 #define SWIGTYPE_p_wxCollapsiblePaneEvent swig_types[31]
2498 #define SWIGTYPE_p_wxColour swig_types[32]
2499 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[33]
2500 #define SWIGTYPE_p_wxColourPickerEvent swig_types[34]
2501 #define SWIGTYPE_p_wxComboBox swig_types[35]
2502 #define SWIGTYPE_p_wxCommandEvent swig_types[36]
2503 #define SWIGTYPE_p_wxContextHelp swig_types[37]
2504 #define SWIGTYPE_p_wxContextHelpButton swig_types[38]
2505 #define SWIGTYPE_p_wxContextMenuEvent swig_types[39]
2506 #define SWIGTYPE_p_wxControl swig_types[40]
2507 #define SWIGTYPE_p_wxControlWithItems swig_types[41]
2508 #define SWIGTYPE_p_wxCursor swig_types[42]
2509 #define SWIGTYPE_p_wxDC swig_types[43]
2510 #define SWIGTYPE_p_wxDateEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[45]
2512 #define SWIGTYPE_p_wxDateTime swig_types[46]
2513 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[47]
2514 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[48]
2515 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[49]
2516 #define SWIGTYPE_p_wxDropFilesEvent swig_types[50]
2517 #define SWIGTYPE_p_wxDuplexMode swig_types[51]
2518 #define SWIGTYPE_p_wxEraseEvent swig_types[52]
2519 #define SWIGTYPE_p_wxEvent swig_types[53]
2520 #define SWIGTYPE_p_wxEvtHandler swig_types[54]
2521 #define SWIGTYPE_p_wxFSFile swig_types[55]
2522 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[56]
2523 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[57]
2524 #define SWIGTYPE_p_wxFileSystem swig_types[58]
2525 #define SWIGTYPE_p_wxFlexGridSizer swig_types[59]
2526 #define SWIGTYPE_p_wxFocusEvent swig_types[60]
2527 #define SWIGTYPE_p_wxFont swig_types[61]
2528 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[62]
2529 #define SWIGTYPE_p_wxFontPickerEvent swig_types[63]
2530 #define SWIGTYPE_p_wxGBSizerItem swig_types[64]
2531 #define SWIGTYPE_p_wxGIFHandler swig_types[65]
2532 #define SWIGTYPE_p_wxGauge swig_types[66]
2533 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[67]
2534 #define SWIGTYPE_p_wxGenericDragImage swig_types[68]
2535 #define SWIGTYPE_p_wxGridBagSizer swig_types[69]
2536 #define SWIGTYPE_p_wxGridSizer swig_types[70]
2537 #define SWIGTYPE_p_wxHelpEvent swig_types[71]
2538 #define SWIGTYPE_p_wxHelpProvider swig_types[72]
2539 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[73]
2540 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[74]
2541 #define SWIGTYPE_p_wxICOHandler swig_types[75]
2542 #define SWIGTYPE_p_wxIcon swig_types[76]
2543 #define SWIGTYPE_p_wxIconizeEvent swig_types[77]
2544 #define SWIGTYPE_p_wxIdleEvent swig_types[78]
2545 #define SWIGTYPE_p_wxImage swig_types[79]
2546 #define SWIGTYPE_p_wxImageHandler swig_types[80]
2547 #define SWIGTYPE_p_wxImageList swig_types[81]
2548 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[82]
2549 #define SWIGTYPE_p_wxInitDialogEvent swig_types[83]
2550 #define SWIGTYPE_p_wxItemContainer swig_types[84]
2551 #define SWIGTYPE_p_wxJPEGHandler swig_types[85]
2552 #define SWIGTYPE_p_wxKeyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxLayoutConstraints swig_types[87]
2554 #define SWIGTYPE_p_wxListBox swig_types[88]
2555 #define SWIGTYPE_p_wxListEvent swig_types[89]
2556 #define SWIGTYPE_p_wxListItem swig_types[90]
2557 #define SWIGTYPE_p_wxListItemAttr swig_types[91]
2558 #define SWIGTYPE_p_wxListView swig_types[92]
2559 #define SWIGTYPE_p_wxListbook swig_types[93]
2560 #define SWIGTYPE_p_wxListbookEvent swig_types[94]
2561 #define SWIGTYPE_p_wxMaximizeEvent swig_types[95]
2562 #define SWIGTYPE_p_wxMemoryDC swig_types[96]
2563 #define SWIGTYPE_p_wxMenu swig_types[97]
2564 #define SWIGTYPE_p_wxMenuBar swig_types[98]
2565 #define SWIGTYPE_p_wxMenuEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMenuItem swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[105]
2572 #define SWIGTYPE_p_wxNcPaintEvent swig_types[106]
2573 #define SWIGTYPE_p_wxNotebook swig_types[107]
2574 #define SWIGTYPE_p_wxNotebookEvent swig_types[108]
2575 #define SWIGTYPE_p_wxNotifyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxObject swig_types[110]
2577 #define SWIGTYPE_p_wxPCXHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPNGHandler swig_types[112]
2579 #define SWIGTYPE_p_wxPNMHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPaintEvent swig_types[114]
2581 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[115]
2582 #define SWIGTYPE_p_wxPaperSize swig_types[116]
2583 #define SWIGTYPE_p_wxPickerBase swig_types[117]
2584 #define SWIGTYPE_p_wxPoint swig_types[118]
2585 #define SWIGTYPE_p_wxPyApp swig_types[119]
2586 #define SWIGTYPE_p_wxPyCommandEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPyControl swig_types[121]
2588 #define SWIGTYPE_p_wxPyEvent swig_types[122]
2589 #define SWIGTYPE_p_wxPyImageHandler swig_types[123]
2590 #define SWIGTYPE_p_wxPyListCtrl swig_types[124]
2591 #define SWIGTYPE_p_wxPySizer swig_types[125]
2592 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[126]
2593 #define SWIGTYPE_p_wxPyTreeItemData swig_types[127]
2594 #define SWIGTYPE_p_wxPyValidator swig_types[128]
2595 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[129]
2596 #define SWIGTYPE_p_wxRadioBox swig_types[130]
2597 #define SWIGTYPE_p_wxRadioButton swig_types[131]
2598 #define SWIGTYPE_p_wxRect swig_types[132]
2599 #define SWIGTYPE_p_wxScrollBar swig_types[133]
2600 #define SWIGTYPE_p_wxScrollEvent swig_types[134]
2601 #define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSearchCtrl swig_types[136]
2603 #define SWIGTYPE_p_wxSetCursorEvent swig_types[137]
2604 #define SWIGTYPE_p_wxShowEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[139]
2606 #define SWIGTYPE_p_wxSize swig_types[140]
2607 #define SWIGTYPE_p_wxSizeEvent swig_types[141]
2608 #define SWIGTYPE_p_wxSizer swig_types[142]
2609 #define SWIGTYPE_p_wxSizerItem swig_types[143]
2610 #define SWIGTYPE_p_wxSlider swig_types[144]
2611 #define SWIGTYPE_p_wxSpinButton swig_types[145]
2612 #define SWIGTYPE_p_wxSpinCtrl swig_types[146]
2613 #define SWIGTYPE_p_wxSpinEvent swig_types[147]
2614 #define SWIGTYPE_p_wxStaticBitmap swig_types[148]
2615 #define SWIGTYPE_p_wxStaticBox swig_types[149]
2616 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[150]
2617 #define SWIGTYPE_p_wxStaticLine swig_types[151]
2618 #define SWIGTYPE_p_wxStaticText swig_types[152]
2619 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[153]
2620 #define SWIGTYPE_p_wxString swig_types[154]
2621 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[155]
2622 #define SWIGTYPE_p_wxTGAHandler swig_types[156]
2623 #define SWIGTYPE_p_wxTIFFHandler swig_types[157]
2624 #define SWIGTYPE_p_wxTextAttr swig_types[158]
2625 #define SWIGTYPE_p_wxTextCtrl swig_types[159]
2626 #define SWIGTYPE_p_wxTextUrlEvent swig_types[160]
2627 #define SWIGTYPE_p_wxToggleButton swig_types[161]
2628 #define SWIGTYPE_p_wxToolBar swig_types[162]
2629 #define SWIGTYPE_p_wxToolBarBase swig_types[163]
2630 #define SWIGTYPE_p_wxToolBarToolBase swig_types[164]
2631 #define SWIGTYPE_p_wxToolbook swig_types[165]
2632 #define SWIGTYPE_p_wxToolbookEvent swig_types[166]
2633 #define SWIGTYPE_p_wxTreeEvent swig_types[167]
2634 #define SWIGTYPE_p_wxTreeItemId swig_types[168]
2635 #define SWIGTYPE_p_wxTreebook swig_types[169]
2636 #define SWIGTYPE_p_wxTreebookEvent swig_types[170]
2637 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[171]
2638 #define SWIGTYPE_p_wxValidator swig_types[172]
2639 #define SWIGTYPE_p_wxVisualAttributes swig_types[173]
2640 #define SWIGTYPE_p_wxWindow swig_types[174]
2641 #define SWIGTYPE_p_wxWindowBase swig_types[175]
2642 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[176]
2643 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[177]
2644 #define SWIGTYPE_p_wxXPMHandler swig_types[178]
2645 static swig_type_info
*swig_types
[180];
2646 static swig_module_info swig_module
= {swig_types
, 179, 0, 0, 0, 0};
2647 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2648 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2650 /* -------- TYPES TABLE (END) -------- */
2652 #if (PY_VERSION_HEX <= 0x02000000)
2653 # if !defined(SWIG_PYTHON_CLASSIC)
2654 # error "This python version requires to use swig with the '-classic' option"
2657 #if (PY_VERSION_HEX <= 0x02020000)
2658 # error "This python version requires to use swig with the '-nomodern' option"
2660 #if (PY_VERSION_HEX <= 0x02020000)
2661 # error "This python version requires to use swig with the '-nomodernargs' option"
2664 # error "This python version requires to use swig with the '-nofastunpack' option"
2667 /*-----------------------------------------------
2668 @(target):= _controls_.so
2669 ------------------------------------------------*/
2670 #define SWIG_init init_controls_
2672 #define SWIG_name "_controls_"
2674 #define SWIGVERSION 0x010329
2677 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2678 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2681 #include <stdexcept>
2685 class PyObject_ptr
{
2690 PyObject_ptr() :_obj(0)
2694 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2699 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2701 if (initial_ref
) Py_XINCREF(_obj
);
2704 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2706 Py_XINCREF(item
._obj
);
2717 operator PyObject
*() const
2722 PyObject
*operator->() const
2731 struct PyObject_var
: PyObject_ptr
{
2732 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2734 PyObject_var
& operator = (PyObject
* obj
)
2744 #include "wx/wxPython/wxPython.h"
2745 #include "wx/wxPython/pyclasses.h"
2747 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2748 static const wxString
wxPyEmptyString(wxEmptyString
);
2749 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2751 const wxArrayString wxPyEmptyStringArray
;
2753 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2755 #define SWIG_From_long PyInt_FromLong
2758 SWIGINTERNINLINE PyObject
*
2759 SWIG_From_int (int value
)
2761 return SWIG_From_long (value
);
2767 # define LLONG_MIN LONG_LONG_MIN
2770 # define LLONG_MAX LONG_LONG_MAX
2773 # define ULLONG_MAX ULONG_LONG_MAX
2778 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2780 if (PyNumber_Check(obj
)) {
2781 if (val
) *val
= PyInt_AsLong(obj
);
2784 return SWIG_TypeError
;
2789 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2792 int res
= SWIG_AsVal_long (obj
, &v
);
2793 if (SWIG_IsOK(res
)) {
2794 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2795 return SWIG_OverflowError
;
2797 if (val
) *val
= static_cast< int >(v
);
2803 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2806 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2808 if (obj
== Py_True
) {
2809 if (val
) *val
= true;
2811 } else if (obj
== Py_False
) {
2812 if (val
) *val
= false;
2816 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2817 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2822 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2823 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2824 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2825 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2826 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2827 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2828 static const wxString
wxPyStaticLineNameStr(wxStaticLineNameStr
);
2830 #include <wx/checklst.h>
2832 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2833 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2836 wxPyClientData
* data
= new wxPyClientData(clientData
);
2837 self
->Insert(item
, pos
, data
);
2840 self
->Insert(item
, pos
);
2844 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2847 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2848 return SWIG_TypeError
;
2851 *val
= (unsigned long)v
;
2857 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2860 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2861 if (SWIG_IsOK(res
)) {
2862 if ((v
> UINT_MAX
)) {
2863 return SWIG_OverflowError
;
2865 if (val
) *val
= static_cast< unsigned int >(v
);
2871 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2872 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2874 self
->GetSelections(lst
);
2875 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2876 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2878 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2880 wxPyEndBlockThreads(blocked
);
2883 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2885 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2886 self
->GetItem(item
)->SetTextColour(c
);
2889 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2891 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2892 self
->GetItem(item
)->SetBackgroundColour(c
);
2895 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2897 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2898 self
->GetItem(item
)->SetFont(f
);
2901 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2902 SWIGINTERN
void wxTextCtrl_MacCheckSpelling(wxTextCtrl
*self
,bool check
){}
2903 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2904 self
->AppendText(text
);
2906 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2907 return self
->GetValue().Mid(from
, to
- from
);
2909 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2910 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2911 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2912 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2913 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2915 SWIGINTERNINLINE PyObject
*
2916 SWIG_From_unsigned_SS_long (unsigned long value
)
2918 return (value
> LONG_MAX
) ?
2919 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2923 SWIGINTERNINLINE PyObject
*
2924 SWIG_From_size_t (size_t value
)
2926 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2930 SWIGINTERNINLINE PyObject
*
2931 SWIG_From_unsigned_SS_int (unsigned int value
)
2933 return SWIG_From_unsigned_SS_long (value
);
2937 #include <wx/slider.h>
2940 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2941 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2943 #if !wxUSE_TOGGLEBTN
2944 // implement dummy items for platforms that don't have this class
2946 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2948 class wxToggleButton
: public wxControl
2951 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2952 const wxPoint
&, const wxSize
&, long,
2953 const wxValidator
&, const wxString
&)
2954 { wxPyRaiseNotImplemented(); }
2957 { wxPyRaiseNotImplemented(); }
2961 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2963 SWIGINTERNINLINE
int
2964 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2967 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2968 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2972 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2973 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2974 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2976 Py_INCREF(udata
->m_obj
);
2977 return udata
->m_obj
;
2983 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2984 self
->SetClientData(new wxPyUserData(clientData
));
2986 SWIGINTERN wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2987 wxPyUserData
* udata
= NULL
;
2988 if (clientData
&& clientData
!= Py_None
)
2989 udata
= new wxPyUserData(clientData
);
2990 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2991 shortHelp
, longHelp
, udata
);
2993 SWIGINTERN wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2994 wxPyUserData
* udata
= NULL
;
2995 if (clientData
&& clientData
!= Py_None
)
2996 udata
= new wxPyUserData(clientData
);
2997 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2998 shortHelp
, longHelp
, udata
);
3000 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
3001 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
3003 Py_INCREF(udata
->m_obj
);
3004 return udata
->m_obj
;
3010 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3011 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3014 #include <wx/listctrl.h>
3016 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3017 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3018 // Python aware sorting function for wxPyListCtrl
3019 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3021 PyObject
* func
= (PyObject
*)funcPtr
;
3022 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3024 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3025 PyObject
* result
= PyEval_CallObject(func
, args
);
3028 retval
= PyInt_AsLong(result
);
3032 wxPyEndBlockThreads(blocked
);
3036 // C++ Version of a Python aware class
3037 class wxPyListCtrl
: public wxListCtrl
{
3038 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3040 wxPyListCtrl() : wxListCtrl() {}
3041 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3045 const wxValidator
& validator
,
3046 const wxString
& name
) :
3047 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3049 bool Create(wxWindow
* parent
, wxWindowID id
,
3053 const wxValidator
& validator
,
3054 const wxString
& name
) {
3055 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3058 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3059 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3061 // use the virtual version to avoid a confusing assert in the base class
3062 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3063 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3068 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3070 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3071 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3072 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3073 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3076 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3078 item
.SetMask( wxLIST_MASK_STATE
|
3086 if (self
->GetColumn(col
, item
))
3087 return new wxListItem(item
);
3091 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3092 wxListItem
* info
= new wxListItem
;
3093 info
->m_itemId
= itemId
;
3095 info
->m_mask
= 0xFFFF;
3096 self
->GetItem(*info
);
3099 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3101 self
->GetItemPosition(item
, pos
);
3104 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3106 self
->GetItemRect(item
, rect
, code
);
3109 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3110 if (!PyCallable_Check(func
))
3112 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3114 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3122 #include <wx/treectrl.h>
3123 #include "wx/wxPython/pytree.h"
3125 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3126 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3127 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3128 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3130 static wxTreeItemId wxNullTreeItemId
;
3132 // C++ version of Python aware wxTreeCtrl
3133 class wxPyTreeCtrl
: public wxTreeCtrl
{
3134 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3136 wxPyTreeCtrl() : wxTreeCtrl() {}
3137 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3141 const wxValidator
& validator
,
3142 const wxString
& name
) :
3143 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3145 bool Create(wxWindow
*parent
, wxWindowID id
,
3149 const wxValidator
& validator
,
3150 const wxString
& name
) {
3151 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3155 int OnCompareItems(const wxTreeItemId
& item1
,
3156 const wxTreeItemId
& item2
) {
3159 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3160 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3161 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3162 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3163 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3167 wxPyEndBlockThreads(blocked
);
3169 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3175 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3178 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3179 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3181 data
= new wxPyTreeItemData();
3182 data
->SetId(item
); // set the id
3183 self
->SetItemData(item
, data
);
3187 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3188 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3190 data
= new wxPyTreeItemData();
3191 data
->SetId(item
); // set the id
3192 self
->SetItemData(item
, data
);
3194 return data
->GetData();
3196 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3197 data
->SetId(item
); // set the id
3198 self
->SetItemData(item
, data
);
3200 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3201 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3203 data
= new wxPyTreeItemData(obj
);
3204 data
->SetId(item
); // set the id
3205 self
->SetItemData(item
, data
);
3209 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3210 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3211 PyObject
* rval
= PyList_New(0);
3212 wxArrayTreeItemIds array
;
3214 num
= self
->GetSelections(array
);
3215 for (x
=0; x
< num
; x
++) {
3216 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3217 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3218 PyList_Append(rval
, item
);
3221 wxPyEndBlockThreads(blocked
);
3224 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3226 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3227 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3228 PyObject
* tup
= PyTuple_New(2);
3229 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3230 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3231 wxPyEndBlockThreads(blocked
);
3234 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3235 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3236 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3237 PyObject
* tup
= PyTuple_New(2);
3238 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3239 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3240 wxPyEndBlockThreads(blocked
);
3243 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3245 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3246 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3247 wxRect
* r
= new wxRect(rect
);
3248 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3249 wxPyEndBlockThreads(blocked
);
3255 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3257 SWIGINTERNINLINE PyObject
*
3258 SWIG_From_bool (bool value
)
3260 return PyBool_FromLong(value
? 1 : 0);
3263 // C++ version of Python aware wxControl
3264 class wxPyControl
: public wxControl
3266 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3268 wxPyControl() : wxControl() {}
3269 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3270 const wxPoint
& pos
= wxDefaultPosition
,
3271 const wxSize
& size
= wxDefaultSize
,
3273 const wxValidator
& validator
=wxDefaultValidator
,
3274 const wxString
& name
= wxPyControlNameStr
)
3275 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3278 bool DoEraseBackground(wxDC
* dc
) {
3280 return wxWindow::DoEraseBackground(dc
->GetHDC());
3282 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3288 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3289 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3290 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3291 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3297 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3298 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3300 DEC_PYCALLBACK__(InitDialog
);
3301 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3302 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3303 DEC_PYCALLBACK_BOOL_(Validate
);
3305 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3306 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3307 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3309 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3310 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3312 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3313 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3315 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3317 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3322 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3324 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3325 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3326 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3327 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3333 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3334 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3336 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3337 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3338 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3339 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3341 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3342 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3343 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3348 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3349 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3351 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3353 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3357 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3359 #include <wx/generic/dragimgg.h>
3361 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3362 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3364 self
->GetRange(&rv
, NULL
);
3367 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3369 self
->GetRange(NULL
, &rv
);
3372 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3373 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3374 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3375 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3376 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3377 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3378 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3379 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3380 static const wxString
wxPyCollapsiblePaneNameStr(wxCollapsiblePaneNameStr
);
3381 static const wxString
wxPySearchCtrlNameStr(wxSearchCtrlNameStr
);
3383 #if !defined(wxUSE_SEARCHCTRL) || !wxUSE_SEARCHCTRL
3384 // define a dummy class for builds that don't have wxSearchCtrl
3387 wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN
,
3388 wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN
3391 class wxSearchCtrl
: public wxTextCtrl
3394 wxSearchCtrl() { wxPyRaiseNotImplemented(); }
3395 wxSearchCtrl(wxWindow
*, wxWindowID
,
3401 const wxString
& name
)
3402 { wxPyRaiseNotImplemented(); }
3404 bool Create( wxWindow
*, wxWindowID
,
3410 const wxString
& name
) {}
3412 virtual void SetMenu( wxMenu
* ) {}
3413 virtual wxMenu
* GetMenu() { return NULL
; }
3415 // get/set search options
3416 // ----------------------
3417 virtual void ShowSearchButton( bool ) {}
3418 virtual bool IsSearchButtonVisible() const { return false; }
3420 virtual void ShowCancelButton( bool ) {}
3421 virtual bool IsCancelButtonVisible() const { return false; }
3423 virtual void SetDescriptiveText(const wxString
& text
);
3424 virtual wxString
GetDescriptiveText() const;
3431 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3432 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3437 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3438 PyObject
*pyobj
= 0;
3442 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3444 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3451 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
*resultobj
= 0;
3453 wxWindow
*arg1
= (wxWindow
*) 0 ;
3454 int arg2
= (int) -1 ;
3455 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3456 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3457 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3458 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3459 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3460 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3461 long arg6
= (long) 0 ;
3462 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3463 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3464 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3465 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3466 wxButton
*result
= 0 ;
3471 bool temp3
= false ;
3478 bool temp8
= false ;
3479 PyObject
* obj0
= 0 ;
3480 PyObject
* obj1
= 0 ;
3481 PyObject
* obj2
= 0 ;
3482 PyObject
* obj3
= 0 ;
3483 PyObject
* obj4
= 0 ;
3484 PyObject
* obj5
= 0 ;
3485 PyObject
* obj6
= 0 ;
3486 PyObject
* obj7
= 0 ;
3487 char * kwnames
[] = {
3488 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3493 if (!SWIG_IsOK(res1
)) {
3494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3496 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3498 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3499 if (!SWIG_IsOK(ecode2
)) {
3500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3502 arg2
= static_cast< int >(val2
);
3506 arg3
= wxString_in_helper(obj2
);
3507 if (arg3
== NULL
) SWIG_fail
;
3514 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3520 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3524 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3525 if (!SWIG_IsOK(ecode6
)) {
3526 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3528 arg6
= static_cast< long >(val6
);
3531 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3532 if (!SWIG_IsOK(res7
)) {
3533 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3536 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3538 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3542 arg8
= wxString_in_helper(obj7
);
3543 if (arg8
== NULL
) SWIG_fail
;
3548 if (!wxPyCheckForApp()) SWIG_fail
;
3549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3550 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3551 wxPyEndAllowThreads(__tstate
);
3552 if (PyErr_Occurred()) SWIG_fail
;
3554 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3577 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3578 PyObject
*resultobj
= 0;
3579 wxButton
*result
= 0 ;
3581 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3583 if (!wxPyCheckForApp()) SWIG_fail
;
3584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3585 result
= (wxButton
*)new wxButton();
3586 wxPyEndAllowThreads(__tstate
);
3587 if (PyErr_Occurred()) SWIG_fail
;
3589 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3596 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3597 PyObject
*resultobj
= 0;
3598 wxButton
*arg1
= (wxButton
*) 0 ;
3599 wxWindow
*arg2
= (wxWindow
*) 0 ;
3600 int arg3
= (int) -1 ;
3601 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3602 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3603 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3604 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3605 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3606 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3607 long arg7
= (long) 0 ;
3608 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3609 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3610 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3611 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3619 bool temp4
= false ;
3626 bool temp9
= false ;
3627 PyObject
* obj0
= 0 ;
3628 PyObject
* obj1
= 0 ;
3629 PyObject
* obj2
= 0 ;
3630 PyObject
* obj3
= 0 ;
3631 PyObject
* obj4
= 0 ;
3632 PyObject
* obj5
= 0 ;
3633 PyObject
* obj6
= 0 ;
3634 PyObject
* obj7
= 0 ;
3635 PyObject
* obj8
= 0 ;
3636 char * kwnames
[] = {
3637 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3642 if (!SWIG_IsOK(res1
)) {
3643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3645 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3646 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3647 if (!SWIG_IsOK(res2
)) {
3648 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3650 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3652 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3653 if (!SWIG_IsOK(ecode3
)) {
3654 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3656 arg3
= static_cast< int >(val3
);
3660 arg4
= wxString_in_helper(obj3
);
3661 if (arg4
== NULL
) SWIG_fail
;
3668 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3674 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3678 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3679 if (!SWIG_IsOK(ecode7
)) {
3680 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3682 arg7
= static_cast< long >(val7
);
3685 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3686 if (!SWIG_IsOK(res8
)) {
3687 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3690 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3692 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3696 arg9
= wxString_in_helper(obj8
);
3697 if (arg9
== NULL
) SWIG_fail
;
3702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3703 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3704 wxPyEndAllowThreads(__tstate
);
3705 if (PyErr_Occurred()) SWIG_fail
;
3708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3732 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3733 PyObject
*resultobj
= 0;
3734 wxButton
*arg1
= (wxButton
*) 0 ;
3737 PyObject
*swig_obj
[1] ;
3739 if (!args
) SWIG_fail
;
3741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3742 if (!SWIG_IsOK(res1
)) {
3743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3745 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3748 (arg1
)->SetDefault();
3749 wxPyEndAllowThreads(__tstate
);
3750 if (PyErr_Occurred()) SWIG_fail
;
3752 resultobj
= SWIG_Py_Void();
3759 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3760 PyObject
*resultobj
= 0;
3763 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3766 result
= wxButton::GetDefaultSize();
3767 wxPyEndAllowThreads(__tstate
);
3768 if (PyErr_Occurred()) SWIG_fail
;
3770 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3777 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3778 PyObject
*resultobj
= 0;
3779 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3780 SwigValueWrapper
<wxVisualAttributes
> result
;
3783 PyObject
* obj0
= 0 ;
3784 char * kwnames
[] = {
3785 (char *) "variant", NULL
3788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3790 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3791 if (!SWIG_IsOK(ecode1
)) {
3792 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3794 arg1
= static_cast< wxWindowVariant
>(val1
);
3797 if (!wxPyCheckForApp()) SWIG_fail
;
3798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3799 result
= wxButton::GetClassDefaultAttributes(arg1
);
3800 wxPyEndAllowThreads(__tstate
);
3801 if (PyErr_Occurred()) SWIG_fail
;
3803 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3810 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3812 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3813 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3814 return SWIG_Py_Void();
3817 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3818 return SWIG_Python_InitShadowInstance(args
);
3821 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3822 PyObject
*resultobj
= 0;
3823 wxWindow
*arg1
= (wxWindow
*) 0 ;
3824 int arg2
= (int) -1 ;
3825 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3826 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3827 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3828 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3829 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3830 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3831 long arg6
= (long) wxBU_AUTODRAW
;
3832 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3833 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3834 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3835 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3836 wxBitmapButton
*result
= 0 ;
3849 bool temp8
= false ;
3850 PyObject
* obj0
= 0 ;
3851 PyObject
* obj1
= 0 ;
3852 PyObject
* obj2
= 0 ;
3853 PyObject
* obj3
= 0 ;
3854 PyObject
* obj4
= 0 ;
3855 PyObject
* obj5
= 0 ;
3856 PyObject
* obj6
= 0 ;
3857 PyObject
* obj7
= 0 ;
3858 char * kwnames
[] = {
3859 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3864 if (!SWIG_IsOK(res1
)) {
3865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3867 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3869 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3870 if (!SWIG_IsOK(ecode2
)) {
3871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3873 arg2
= static_cast< int >(val2
);
3876 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3877 if (!SWIG_IsOK(res3
)) {
3878 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3881 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3883 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3888 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3894 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3898 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3899 if (!SWIG_IsOK(ecode6
)) {
3900 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3902 arg6
= static_cast< long >(val6
);
3905 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3906 if (!SWIG_IsOK(res7
)) {
3907 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3910 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3912 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3916 arg8
= wxString_in_helper(obj7
);
3917 if (arg8
== NULL
) SWIG_fail
;
3922 if (!wxPyCheckForApp()) SWIG_fail
;
3923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3924 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3925 wxPyEndAllowThreads(__tstate
);
3926 if (PyErr_Occurred()) SWIG_fail
;
3928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3943 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3944 PyObject
*resultobj
= 0;
3945 wxBitmapButton
*result
= 0 ;
3947 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3949 if (!wxPyCheckForApp()) SWIG_fail
;
3950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3951 result
= (wxBitmapButton
*)new wxBitmapButton();
3952 wxPyEndAllowThreads(__tstate
);
3953 if (PyErr_Occurred()) SWIG_fail
;
3955 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3962 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3963 PyObject
*resultobj
= 0;
3964 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3965 wxWindow
*arg2
= (wxWindow
*) 0 ;
3966 int arg3
= (int) -1 ;
3967 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3968 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3969 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3970 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3971 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3972 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3973 long arg7
= (long) wxBU_AUTODRAW
;
3974 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3975 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3976 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3977 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3993 bool temp9
= false ;
3994 PyObject
* obj0
= 0 ;
3995 PyObject
* obj1
= 0 ;
3996 PyObject
* obj2
= 0 ;
3997 PyObject
* obj3
= 0 ;
3998 PyObject
* obj4
= 0 ;
3999 PyObject
* obj5
= 0 ;
4000 PyObject
* obj6
= 0 ;
4001 PyObject
* obj7
= 0 ;
4002 PyObject
* obj8
= 0 ;
4003 char * kwnames
[] = {
4004 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4009 if (!SWIG_IsOK(res1
)) {
4010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4012 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4013 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4014 if (!SWIG_IsOK(res2
)) {
4015 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4017 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4019 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4020 if (!SWIG_IsOK(ecode3
)) {
4021 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
4023 arg3
= static_cast< int >(val3
);
4026 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4027 if (!SWIG_IsOK(res4
)) {
4028 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
4031 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
4033 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
4038 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4044 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4048 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4049 if (!SWIG_IsOK(ecode7
)) {
4050 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
4052 arg7
= static_cast< long >(val7
);
4055 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4056 if (!SWIG_IsOK(res8
)) {
4057 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4060 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4062 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4066 arg9
= wxString_in_helper(obj8
);
4067 if (arg9
== NULL
) SWIG_fail
;
4072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4073 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4074 wxPyEndAllowThreads(__tstate
);
4075 if (PyErr_Occurred()) SWIG_fail
;
4078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4094 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4095 PyObject
*resultobj
= 0;
4096 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4100 PyObject
*swig_obj
[1] ;
4102 if (!args
) SWIG_fail
;
4104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4105 if (!SWIG_IsOK(res1
)) {
4106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4108 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4111 result
= (arg1
)->GetBitmapLabel();
4112 wxPyEndAllowThreads(__tstate
);
4113 if (PyErr_Occurred()) SWIG_fail
;
4115 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4122 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4123 PyObject
*resultobj
= 0;
4124 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4128 PyObject
*swig_obj
[1] ;
4130 if (!args
) SWIG_fail
;
4132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4133 if (!SWIG_IsOK(res1
)) {
4134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4136 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4139 result
= (arg1
)->GetBitmapDisabled();
4140 wxPyEndAllowThreads(__tstate
);
4141 if (PyErr_Occurred()) SWIG_fail
;
4143 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4150 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4151 PyObject
*resultobj
= 0;
4152 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4156 PyObject
*swig_obj
[1] ;
4158 if (!args
) SWIG_fail
;
4160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4161 if (!SWIG_IsOK(res1
)) {
4162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4164 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4167 result
= (arg1
)->GetBitmapFocus();
4168 wxPyEndAllowThreads(__tstate
);
4169 if (PyErr_Occurred()) SWIG_fail
;
4171 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4178 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4179 PyObject
*resultobj
= 0;
4180 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4184 PyObject
*swig_obj
[1] ;
4186 if (!args
) SWIG_fail
;
4188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4189 if (!SWIG_IsOK(res1
)) {
4190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4192 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4195 result
= (arg1
)->GetBitmapSelected();
4196 wxPyEndAllowThreads(__tstate
);
4197 if (PyErr_Occurred()) SWIG_fail
;
4199 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4206 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4207 PyObject
*resultobj
= 0;
4208 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4212 PyObject
*swig_obj
[1] ;
4214 if (!args
) SWIG_fail
;
4216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4217 if (!SWIG_IsOK(res1
)) {
4218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4220 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4223 result
= (arg1
)->GetBitmapHover();
4224 wxPyEndAllowThreads(__tstate
);
4225 if (PyErr_Occurred()) SWIG_fail
;
4227 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4234 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4235 PyObject
*resultobj
= 0;
4236 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4237 wxBitmap
*arg2
= 0 ;
4242 PyObject
* obj0
= 0 ;
4243 PyObject
* obj1
= 0 ;
4244 char * kwnames
[] = {
4245 (char *) "self",(char *) "bitmap", NULL
4248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4250 if (!SWIG_IsOK(res1
)) {
4251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4253 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4254 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4255 if (!SWIG_IsOK(res2
)) {
4256 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4259 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4261 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4264 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4265 wxPyEndAllowThreads(__tstate
);
4266 if (PyErr_Occurred()) SWIG_fail
;
4268 resultobj
= SWIG_Py_Void();
4275 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4276 PyObject
*resultobj
= 0;
4277 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4278 wxBitmap
*arg2
= 0 ;
4283 PyObject
* obj0
= 0 ;
4284 PyObject
* obj1
= 0 ;
4285 char * kwnames
[] = {
4286 (char *) "self",(char *) "bitmap", NULL
4289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4291 if (!SWIG_IsOK(res1
)) {
4292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4294 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4295 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4296 if (!SWIG_IsOK(res2
)) {
4297 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4300 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4302 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4305 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4306 wxPyEndAllowThreads(__tstate
);
4307 if (PyErr_Occurred()) SWIG_fail
;
4309 resultobj
= SWIG_Py_Void();
4316 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4317 PyObject
*resultobj
= 0;
4318 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4319 wxBitmap
*arg2
= 0 ;
4324 PyObject
* obj0
= 0 ;
4325 PyObject
* obj1
= 0 ;
4326 char * kwnames
[] = {
4327 (char *) "self",(char *) "bitmap", NULL
4330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4332 if (!SWIG_IsOK(res1
)) {
4333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4335 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4336 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4337 if (!SWIG_IsOK(res2
)) {
4338 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4341 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4343 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4346 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4347 wxPyEndAllowThreads(__tstate
);
4348 if (PyErr_Occurred()) SWIG_fail
;
4350 resultobj
= SWIG_Py_Void();
4357 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4358 PyObject
*resultobj
= 0;
4359 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4360 wxBitmap
*arg2
= 0 ;
4365 PyObject
* obj0
= 0 ;
4366 PyObject
* obj1
= 0 ;
4367 char * kwnames
[] = {
4368 (char *) "self",(char *) "bitmap", NULL
4371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4373 if (!SWIG_IsOK(res1
)) {
4374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4376 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4377 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4378 if (!SWIG_IsOK(res2
)) {
4379 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4382 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4384 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4387 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4388 wxPyEndAllowThreads(__tstate
);
4389 if (PyErr_Occurred()) SWIG_fail
;
4391 resultobj
= SWIG_Py_Void();
4398 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4399 PyObject
*resultobj
= 0;
4400 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4401 wxBitmap
*arg2
= 0 ;
4406 PyObject
* obj0
= 0 ;
4407 PyObject
* obj1
= 0 ;
4408 char * kwnames
[] = {
4409 (char *) "self",(char *) "hover", NULL
4412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4414 if (!SWIG_IsOK(res1
)) {
4415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4417 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4418 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4419 if (!SWIG_IsOK(res2
)) {
4420 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4423 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4425 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4428 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4429 wxPyEndAllowThreads(__tstate
);
4430 if (PyErr_Occurred()) SWIG_fail
;
4432 resultobj
= SWIG_Py_Void();
4439 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4440 PyObject
*resultobj
= 0;
4441 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4450 PyObject
* obj0
= 0 ;
4451 PyObject
* obj1
= 0 ;
4452 PyObject
* obj2
= 0 ;
4453 char * kwnames
[] = {
4454 (char *) "self",(char *) "x",(char *) "y", NULL
4457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4459 if (!SWIG_IsOK(res1
)) {
4460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4462 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4464 if (!SWIG_IsOK(ecode2
)) {
4465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4467 arg2
= static_cast< int >(val2
);
4468 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4469 if (!SWIG_IsOK(ecode3
)) {
4470 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4472 arg3
= static_cast< int >(val3
);
4474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4475 (arg1
)->SetMargins(arg2
,arg3
);
4476 wxPyEndAllowThreads(__tstate
);
4477 if (PyErr_Occurred()) SWIG_fail
;
4479 resultobj
= SWIG_Py_Void();
4486 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4487 PyObject
*resultobj
= 0;
4488 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4492 PyObject
*swig_obj
[1] ;
4494 if (!args
) SWIG_fail
;
4496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4497 if (!SWIG_IsOK(res1
)) {
4498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4500 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4503 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4504 wxPyEndAllowThreads(__tstate
);
4505 if (PyErr_Occurred()) SWIG_fail
;
4507 resultobj
= SWIG_From_int(static_cast< int >(result
));
4514 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4515 PyObject
*resultobj
= 0;
4516 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4520 PyObject
*swig_obj
[1] ;
4522 if (!args
) SWIG_fail
;
4524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4525 if (!SWIG_IsOK(res1
)) {
4526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4528 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4531 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4532 wxPyEndAllowThreads(__tstate
);
4533 if (PyErr_Occurred()) SWIG_fail
;
4535 resultobj
= SWIG_From_int(static_cast< int >(result
));
4542 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4544 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4545 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4546 return SWIG_Py_Void();
4549 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4550 return SWIG_Python_InitShadowInstance(args
);
4553 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4554 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4559 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4560 PyObject
*pyobj
= 0;
4564 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4566 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4573 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4574 PyObject
*resultobj
= 0;
4575 wxWindow
*arg1
= (wxWindow
*) 0 ;
4576 int arg2
= (int) -1 ;
4577 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4578 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4579 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4580 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4581 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4582 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4583 long arg6
= (long) 0 ;
4584 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4585 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4586 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4587 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4588 wxCheckBox
*result
= 0 ;
4593 bool temp3
= false ;
4600 bool temp8
= false ;
4601 PyObject
* obj0
= 0 ;
4602 PyObject
* obj1
= 0 ;
4603 PyObject
* obj2
= 0 ;
4604 PyObject
* obj3
= 0 ;
4605 PyObject
* obj4
= 0 ;
4606 PyObject
* obj5
= 0 ;
4607 PyObject
* obj6
= 0 ;
4608 PyObject
* obj7
= 0 ;
4609 char * kwnames
[] = {
4610 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4615 if (!SWIG_IsOK(res1
)) {
4616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4618 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4620 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4621 if (!SWIG_IsOK(ecode2
)) {
4622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4624 arg2
= static_cast< int >(val2
);
4628 arg3
= wxString_in_helper(obj2
);
4629 if (arg3
== NULL
) SWIG_fail
;
4636 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4642 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4646 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4647 if (!SWIG_IsOK(ecode6
)) {
4648 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4650 arg6
= static_cast< long >(val6
);
4653 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4654 if (!SWIG_IsOK(res7
)) {
4655 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4658 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4660 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4664 arg8
= wxString_in_helper(obj7
);
4665 if (arg8
== NULL
) SWIG_fail
;
4670 if (!wxPyCheckForApp()) SWIG_fail
;
4671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4672 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4673 wxPyEndAllowThreads(__tstate
);
4674 if (PyErr_Occurred()) SWIG_fail
;
4676 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4699 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4700 PyObject
*resultobj
= 0;
4701 wxCheckBox
*result
= 0 ;
4703 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4705 if (!wxPyCheckForApp()) SWIG_fail
;
4706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4707 result
= (wxCheckBox
*)new wxCheckBox();
4708 wxPyEndAllowThreads(__tstate
);
4709 if (PyErr_Occurred()) SWIG_fail
;
4711 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4718 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4719 PyObject
*resultobj
= 0;
4720 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4721 wxWindow
*arg2
= (wxWindow
*) 0 ;
4722 int arg3
= (int) -1 ;
4723 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4724 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4725 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4726 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4727 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4728 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4729 long arg7
= (long) 0 ;
4730 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4731 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4732 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4733 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4741 bool temp4
= false ;
4748 bool temp9
= false ;
4749 PyObject
* obj0
= 0 ;
4750 PyObject
* obj1
= 0 ;
4751 PyObject
* obj2
= 0 ;
4752 PyObject
* obj3
= 0 ;
4753 PyObject
* obj4
= 0 ;
4754 PyObject
* obj5
= 0 ;
4755 PyObject
* obj6
= 0 ;
4756 PyObject
* obj7
= 0 ;
4757 PyObject
* obj8
= 0 ;
4758 char * kwnames
[] = {
4759 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4764 if (!SWIG_IsOK(res1
)) {
4765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4767 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4768 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4769 if (!SWIG_IsOK(res2
)) {
4770 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4772 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4774 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4775 if (!SWIG_IsOK(ecode3
)) {
4776 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4778 arg3
= static_cast< int >(val3
);
4782 arg4
= wxString_in_helper(obj3
);
4783 if (arg4
== NULL
) SWIG_fail
;
4790 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4796 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4800 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4801 if (!SWIG_IsOK(ecode7
)) {
4802 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4804 arg7
= static_cast< long >(val7
);
4807 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4808 if (!SWIG_IsOK(res8
)) {
4809 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4812 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4814 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4818 arg9
= wxString_in_helper(obj8
);
4819 if (arg9
== NULL
) SWIG_fail
;
4824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4825 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4826 wxPyEndAllowThreads(__tstate
);
4827 if (PyErr_Occurred()) SWIG_fail
;
4830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4854 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4855 PyObject
*resultobj
= 0;
4856 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4860 PyObject
*swig_obj
[1] ;
4862 if (!args
) SWIG_fail
;
4864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4865 if (!SWIG_IsOK(res1
)) {
4866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4868 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4871 result
= (bool)(arg1
)->GetValue();
4872 wxPyEndAllowThreads(__tstate
);
4873 if (PyErr_Occurred()) SWIG_fail
;
4876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4884 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4885 PyObject
*resultobj
= 0;
4886 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4890 PyObject
*swig_obj
[1] ;
4892 if (!args
) SWIG_fail
;
4894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4895 if (!SWIG_IsOK(res1
)) {
4896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4898 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4901 result
= (bool)(arg1
)->IsChecked();
4902 wxPyEndAllowThreads(__tstate
);
4903 if (PyErr_Occurred()) SWIG_fail
;
4906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4914 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4915 PyObject
*resultobj
= 0;
4916 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4922 PyObject
* obj0
= 0 ;
4923 PyObject
* obj1
= 0 ;
4924 char * kwnames
[] = {
4925 (char *) "self",(char *) "state", NULL
4928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4930 if (!SWIG_IsOK(res1
)) {
4931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4933 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4934 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4935 if (!SWIG_IsOK(ecode2
)) {
4936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4938 arg2
= static_cast< bool >(val2
);
4940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4941 (arg1
)->SetValue(arg2
);
4942 wxPyEndAllowThreads(__tstate
);
4943 if (PyErr_Occurred()) SWIG_fail
;
4945 resultobj
= SWIG_Py_Void();
4952 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4953 PyObject
*resultobj
= 0;
4954 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4955 wxCheckBoxState result
;
4958 PyObject
*swig_obj
[1] ;
4960 if (!args
) SWIG_fail
;
4962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4963 if (!SWIG_IsOK(res1
)) {
4964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4966 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4969 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4970 wxPyEndAllowThreads(__tstate
);
4971 if (PyErr_Occurred()) SWIG_fail
;
4973 resultobj
= SWIG_From_int(static_cast< int >(result
));
4980 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4981 PyObject
*resultobj
= 0;
4982 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4983 wxCheckBoxState arg2
;
4988 PyObject
* obj0
= 0 ;
4989 PyObject
* obj1
= 0 ;
4990 char * kwnames
[] = {
4991 (char *) "self",(char *) "state", NULL
4994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4996 if (!SWIG_IsOK(res1
)) {
4997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4999 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5000 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5001 if (!SWIG_IsOK(ecode2
)) {
5002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
5004 arg2
= static_cast< wxCheckBoxState
>(val2
);
5006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5007 (arg1
)->Set3StateValue(arg2
);
5008 wxPyEndAllowThreads(__tstate
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5011 resultobj
= SWIG_Py_Void();
5018 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5019 PyObject
*resultobj
= 0;
5020 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5024 PyObject
*swig_obj
[1] ;
5026 if (!args
) SWIG_fail
;
5028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5029 if (!SWIG_IsOK(res1
)) {
5030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5032 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5035 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
5036 wxPyEndAllowThreads(__tstate
);
5037 if (PyErr_Occurred()) SWIG_fail
;
5040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5048 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5049 PyObject
*resultobj
= 0;
5050 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5054 PyObject
*swig_obj
[1] ;
5056 if (!args
) SWIG_fail
;
5058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5059 if (!SWIG_IsOK(res1
)) {
5060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5062 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5065 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5066 wxPyEndAllowThreads(__tstate
);
5067 if (PyErr_Occurred()) SWIG_fail
;
5070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5078 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5079 PyObject
*resultobj
= 0;
5080 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5081 SwigValueWrapper
<wxVisualAttributes
> result
;
5084 PyObject
* obj0
= 0 ;
5085 char * kwnames
[] = {
5086 (char *) "variant", NULL
5089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5091 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5092 if (!SWIG_IsOK(ecode1
)) {
5093 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5095 arg1
= static_cast< wxWindowVariant
>(val1
);
5098 if (!wxPyCheckForApp()) SWIG_fail
;
5099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5100 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5101 wxPyEndAllowThreads(__tstate
);
5102 if (PyErr_Occurred()) SWIG_fail
;
5104 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5111 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5113 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5114 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5115 return SWIG_Py_Void();
5118 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5119 return SWIG_Python_InitShadowInstance(args
);
5122 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5123 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5128 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5129 PyObject
*pyobj
= 0;
5133 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5135 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5142 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5143 PyObject
*resultobj
= 0;
5144 wxWindow
*arg1
= (wxWindow
*) 0 ;
5145 int arg2
= (int) -1 ;
5146 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5147 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5148 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5149 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5150 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5151 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5152 long arg6
= (long) 0 ;
5153 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5154 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5155 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5156 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5157 wxChoice
*result
= 0 ;
5164 bool temp5
= false ;
5169 bool temp8
= false ;
5170 PyObject
* obj0
= 0 ;
5171 PyObject
* obj1
= 0 ;
5172 PyObject
* obj2
= 0 ;
5173 PyObject
* obj3
= 0 ;
5174 PyObject
* obj4
= 0 ;
5175 PyObject
* obj5
= 0 ;
5176 PyObject
* obj6
= 0 ;
5177 PyObject
* obj7
= 0 ;
5178 char * kwnames
[] = {
5179 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5184 if (!SWIG_IsOK(res1
)) {
5185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5187 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5189 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5190 if (!SWIG_IsOK(ecode2
)) {
5191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5193 arg2
= static_cast< int >(val2
);
5198 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5204 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5209 if (! PySequence_Check(obj4
)) {
5210 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5213 arg5
= new wxArrayString
;
5215 int i
, len
=PySequence_Length(obj4
);
5216 for (i
=0; i
<len
; i
++) {
5217 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5218 wxString
* s
= wxString_in_helper(item
);
5219 if (PyErr_Occurred()) SWIG_fail
;
5227 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5228 if (!SWIG_IsOK(ecode6
)) {
5229 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5231 arg6
= static_cast< long >(val6
);
5234 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5235 if (!SWIG_IsOK(res7
)) {
5236 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5239 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5241 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5245 arg8
= wxString_in_helper(obj7
);
5246 if (arg8
== NULL
) SWIG_fail
;
5251 if (!wxPyCheckForApp()) SWIG_fail
;
5252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5253 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5254 wxPyEndAllowThreads(__tstate
);
5255 if (PyErr_Occurred()) SWIG_fail
;
5257 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5259 if (temp5
) delete arg5
;
5268 if (temp5
) delete arg5
;
5278 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5279 PyObject
*resultobj
= 0;
5280 wxChoice
*result
= 0 ;
5282 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5284 if (!wxPyCheckForApp()) SWIG_fail
;
5285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5286 result
= (wxChoice
*)new wxChoice();
5287 wxPyEndAllowThreads(__tstate
);
5288 if (PyErr_Occurred()) SWIG_fail
;
5290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5297 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5298 PyObject
*resultobj
= 0;
5299 wxChoice
*arg1
= (wxChoice
*) 0 ;
5300 wxWindow
*arg2
= (wxWindow
*) 0 ;
5301 int arg3
= (int) -1 ;
5302 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5303 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5304 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5305 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5306 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5307 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5308 long arg7
= (long) 0 ;
5309 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5310 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5311 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5312 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5322 bool temp6
= false ;
5327 bool temp9
= false ;
5328 PyObject
* obj0
= 0 ;
5329 PyObject
* obj1
= 0 ;
5330 PyObject
* obj2
= 0 ;
5331 PyObject
* obj3
= 0 ;
5332 PyObject
* obj4
= 0 ;
5333 PyObject
* obj5
= 0 ;
5334 PyObject
* obj6
= 0 ;
5335 PyObject
* obj7
= 0 ;
5336 PyObject
* obj8
= 0 ;
5337 char * kwnames
[] = {
5338 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5343 if (!SWIG_IsOK(res1
)) {
5344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5346 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5347 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5348 if (!SWIG_IsOK(res2
)) {
5349 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5351 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5353 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5354 if (!SWIG_IsOK(ecode3
)) {
5355 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5357 arg3
= static_cast< int >(val3
);
5362 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5368 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5373 if (! PySequence_Check(obj5
)) {
5374 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5377 arg6
= new wxArrayString
;
5379 int i
, len
=PySequence_Length(obj5
);
5380 for (i
=0; i
<len
; i
++) {
5381 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5382 wxString
* s
= wxString_in_helper(item
);
5383 if (PyErr_Occurred()) SWIG_fail
;
5391 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5392 if (!SWIG_IsOK(ecode7
)) {
5393 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5395 arg7
= static_cast< long >(val7
);
5398 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5399 if (!SWIG_IsOK(res8
)) {
5400 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5403 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5405 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5409 arg9
= wxString_in_helper(obj8
);
5410 if (arg9
== NULL
) SWIG_fail
;
5415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5416 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5417 wxPyEndAllowThreads(__tstate
);
5418 if (PyErr_Occurred()) SWIG_fail
;
5421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5424 if (temp6
) delete arg6
;
5433 if (temp6
) delete arg6
;
5443 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5444 PyObject
*resultobj
= 0;
5445 wxChoice
*arg1
= (wxChoice
*) 0 ;
5449 PyObject
*swig_obj
[1] ;
5451 if (!args
) SWIG_fail
;
5453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5454 if (!SWIG_IsOK(res1
)) {
5455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5457 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5460 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5461 wxPyEndAllowThreads(__tstate
);
5462 if (PyErr_Occurred()) SWIG_fail
;
5464 resultobj
= SWIG_From_int(static_cast< int >(result
));
5471 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5472 PyObject
*resultobj
= 0;
5473 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5474 SwigValueWrapper
<wxVisualAttributes
> result
;
5477 PyObject
* obj0
= 0 ;
5478 char * kwnames
[] = {
5479 (char *) "variant", NULL
5482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5484 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5485 if (!SWIG_IsOK(ecode1
)) {
5486 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5488 arg1
= static_cast< wxWindowVariant
>(val1
);
5491 if (!wxPyCheckForApp()) SWIG_fail
;
5492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5493 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5497 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5504 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5506 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5507 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5508 return SWIG_Py_Void();
5511 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5512 return SWIG_Python_InitShadowInstance(args
);
5515 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5516 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5521 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5522 PyObject
*pyobj
= 0;
5526 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5528 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5535 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5536 PyObject
*resultobj
= 0;
5537 wxWindow
*arg1
= (wxWindow
*) 0 ;
5538 int arg2
= (int) -1 ;
5539 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5540 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5541 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5542 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5543 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5544 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5545 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5546 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5547 long arg7
= (long) 0 ;
5548 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5549 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5550 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5551 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5552 wxComboBox
*result
= 0 ;
5557 bool temp3
= false ;
5560 bool temp6
= false ;
5565 bool temp9
= false ;
5566 PyObject
* obj0
= 0 ;
5567 PyObject
* obj1
= 0 ;
5568 PyObject
* obj2
= 0 ;
5569 PyObject
* obj3
= 0 ;
5570 PyObject
* obj4
= 0 ;
5571 PyObject
* obj5
= 0 ;
5572 PyObject
* obj6
= 0 ;
5573 PyObject
* obj7
= 0 ;
5574 PyObject
* obj8
= 0 ;
5575 char * kwnames
[] = {
5576 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5581 if (!SWIG_IsOK(res1
)) {
5582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5584 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5587 if (!SWIG_IsOK(ecode2
)) {
5588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5590 arg2
= static_cast< int >(val2
);
5594 arg3
= wxString_in_helper(obj2
);
5595 if (arg3
== NULL
) SWIG_fail
;
5602 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5608 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5613 if (! PySequence_Check(obj5
)) {
5614 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5617 arg6
= new wxArrayString
;
5619 int i
, len
=PySequence_Length(obj5
);
5620 for (i
=0; i
<len
; i
++) {
5621 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5622 wxString
* s
= wxString_in_helper(item
);
5623 if (PyErr_Occurred()) SWIG_fail
;
5631 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5632 if (!SWIG_IsOK(ecode7
)) {
5633 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5635 arg7
= static_cast< long >(val7
);
5638 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5639 if (!SWIG_IsOK(res8
)) {
5640 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5643 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5645 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5649 arg9
= wxString_in_helper(obj8
);
5650 if (arg9
== NULL
) SWIG_fail
;
5655 if (!wxPyCheckForApp()) SWIG_fail
;
5656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5657 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
);
5658 wxPyEndAllowThreads(__tstate
);
5659 if (PyErr_Occurred()) SWIG_fail
;
5661 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5667 if (temp6
) delete arg6
;
5680 if (temp6
) delete arg6
;
5690 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5691 PyObject
*resultobj
= 0;
5692 wxComboBox
*result
= 0 ;
5694 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5696 if (!wxPyCheckForApp()) SWIG_fail
;
5697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5698 result
= (wxComboBox
*)new wxComboBox();
5699 wxPyEndAllowThreads(__tstate
);
5700 if (PyErr_Occurred()) SWIG_fail
;
5702 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5709 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5710 PyObject
*resultobj
= 0;
5711 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5712 wxWindow
*arg2
= (wxWindow
*) 0 ;
5713 int arg3
= (int) -1 ;
5714 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5715 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5716 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5717 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5718 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5719 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5720 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5721 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5722 long arg8
= (long) 0 ;
5723 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5724 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5725 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5726 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5734 bool temp4
= false ;
5737 bool temp7
= false ;
5742 bool temp10
= false ;
5743 PyObject
* obj0
= 0 ;
5744 PyObject
* obj1
= 0 ;
5745 PyObject
* obj2
= 0 ;
5746 PyObject
* obj3
= 0 ;
5747 PyObject
* obj4
= 0 ;
5748 PyObject
* obj5
= 0 ;
5749 PyObject
* obj6
= 0 ;
5750 PyObject
* obj7
= 0 ;
5751 PyObject
* obj8
= 0 ;
5752 PyObject
* obj9
= 0 ;
5753 char * kwnames
[] = {
5754 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5759 if (!SWIG_IsOK(res1
)) {
5760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5762 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5763 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5764 if (!SWIG_IsOK(res2
)) {
5765 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5767 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5769 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5770 if (!SWIG_IsOK(ecode3
)) {
5771 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5773 arg3
= static_cast< int >(val3
);
5777 arg4
= wxString_in_helper(obj3
);
5778 if (arg4
== NULL
) SWIG_fail
;
5785 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5791 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5796 if (! PySequence_Check(obj6
)) {
5797 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5800 arg7
= new wxArrayString
;
5802 int i
, len
=PySequence_Length(obj6
);
5803 for (i
=0; i
<len
; i
++) {
5804 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5805 wxString
* s
= wxString_in_helper(item
);
5806 if (PyErr_Occurred()) SWIG_fail
;
5814 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5815 if (!SWIG_IsOK(ecode8
)) {
5816 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5818 arg8
= static_cast< long >(val8
);
5821 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5822 if (!SWIG_IsOK(res9
)) {
5823 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5826 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5828 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5832 arg10
= wxString_in_helper(obj9
);
5833 if (arg10
== NULL
) SWIG_fail
;
5838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5839 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
);
5840 wxPyEndAllowThreads(__tstate
);
5841 if (PyErr_Occurred()) SWIG_fail
;
5844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5851 if (temp7
) delete arg7
;
5864 if (temp7
) delete arg7
;
5874 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5875 PyObject
*resultobj
= 0;
5876 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5880 PyObject
*swig_obj
[1] ;
5882 if (!args
) SWIG_fail
;
5884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5885 if (!SWIG_IsOK(res1
)) {
5886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5888 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5891 result
= ((wxComboBox
const *)arg1
)->GetValue();
5892 wxPyEndAllowThreads(__tstate
);
5893 if (PyErr_Occurred()) SWIG_fail
;
5897 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5899 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5908 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5909 PyObject
*resultobj
= 0;
5910 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5911 wxString
*arg2
= 0 ;
5914 bool temp2
= false ;
5915 PyObject
* obj0
= 0 ;
5916 PyObject
* obj1
= 0 ;
5917 char * kwnames
[] = {
5918 (char *) "self",(char *) "value", NULL
5921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5923 if (!SWIG_IsOK(res1
)) {
5924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5926 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5928 arg2
= wxString_in_helper(obj1
);
5929 if (arg2
== NULL
) SWIG_fail
;
5933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5934 (arg1
)->SetValue((wxString
const &)*arg2
);
5935 wxPyEndAllowThreads(__tstate
);
5936 if (PyErr_Occurred()) SWIG_fail
;
5938 resultobj
= SWIG_Py_Void();
5953 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(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_Copy" "', 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_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5981 PyObject
*resultobj
= 0;
5982 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5985 PyObject
*swig_obj
[1] ;
5987 if (!args
) SWIG_fail
;
5989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5990 if (!SWIG_IsOK(res1
)) {
5991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5993 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5997 wxPyEndAllowThreads(__tstate
);
5998 if (PyErr_Occurred()) SWIG_fail
;
6000 resultobj
= SWIG_Py_Void();
6007 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6008 PyObject
*resultobj
= 0;
6009 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6012 PyObject
*swig_obj
[1] ;
6014 if (!args
) SWIG_fail
;
6016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6017 if (!SWIG_IsOK(res1
)) {
6018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
6020 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6024 wxPyEndAllowThreads(__tstate
);
6025 if (PyErr_Occurred()) SWIG_fail
;
6027 resultobj
= SWIG_Py_Void();
6034 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6035 PyObject
*resultobj
= 0;
6036 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6042 PyObject
* obj0
= 0 ;
6043 PyObject
* obj1
= 0 ;
6044 char * kwnames
[] = {
6045 (char *) "self",(char *) "pos", NULL
6048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6050 if (!SWIG_IsOK(res1
)) {
6051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6053 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6054 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6055 if (!SWIG_IsOK(ecode2
)) {
6056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6058 arg2
= static_cast< long >(val2
);
6060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6061 (arg1
)->SetInsertionPoint(arg2
);
6062 wxPyEndAllowThreads(__tstate
);
6063 if (PyErr_Occurred()) SWIG_fail
;
6065 resultobj
= SWIG_Py_Void();
6072 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6073 PyObject
*resultobj
= 0;
6074 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6078 PyObject
*swig_obj
[1] ;
6080 if (!args
) SWIG_fail
;
6082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6083 if (!SWIG_IsOK(res1
)) {
6084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6086 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6089 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6090 wxPyEndAllowThreads(__tstate
);
6091 if (PyErr_Occurred()) SWIG_fail
;
6093 resultobj
= SWIG_From_long(static_cast< long >(result
));
6100 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6101 PyObject
*resultobj
= 0;
6102 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6106 PyObject
*swig_obj
[1] ;
6108 if (!args
) SWIG_fail
;
6110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6111 if (!SWIG_IsOK(res1
)) {
6112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6114 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6117 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6118 wxPyEndAllowThreads(__tstate
);
6119 if (PyErr_Occurred()) SWIG_fail
;
6121 resultobj
= SWIG_From_long(static_cast< long >(result
));
6128 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6129 PyObject
*resultobj
= 0;
6130 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6133 wxString
*arg4
= 0 ;
6140 bool temp4
= false ;
6141 PyObject
* obj0
= 0 ;
6142 PyObject
* obj1
= 0 ;
6143 PyObject
* obj2
= 0 ;
6144 PyObject
* obj3
= 0 ;
6145 char * kwnames
[] = {
6146 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6151 if (!SWIG_IsOK(res1
)) {
6152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6154 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6155 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6156 if (!SWIG_IsOK(ecode2
)) {
6157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6159 arg2
= static_cast< long >(val2
);
6160 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6161 if (!SWIG_IsOK(ecode3
)) {
6162 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6164 arg3
= static_cast< long >(val3
);
6166 arg4
= wxString_in_helper(obj3
);
6167 if (arg4
== NULL
) SWIG_fail
;
6171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6172 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6173 wxPyEndAllowThreads(__tstate
);
6174 if (PyErr_Occurred()) SWIG_fail
;
6176 resultobj
= SWIG_Py_Void();
6191 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6192 PyObject
*resultobj
= 0;
6193 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6202 PyObject
* obj0
= 0 ;
6203 PyObject
* obj1
= 0 ;
6204 PyObject
* obj2
= 0 ;
6205 char * kwnames
[] = {
6206 (char *) "self",(char *) "from",(char *) "to", NULL
6209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6211 if (!SWIG_IsOK(res1
)) {
6212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6214 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6215 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6216 if (!SWIG_IsOK(ecode2
)) {
6217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6219 arg2
= static_cast< long >(val2
);
6220 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6221 if (!SWIG_IsOK(ecode3
)) {
6222 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6224 arg3
= static_cast< long >(val3
);
6226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6227 (arg1
)->SetSelection(arg2
,arg3
);
6228 wxPyEndAllowThreads(__tstate
);
6229 if (PyErr_Occurred()) SWIG_fail
;
6231 resultobj
= SWIG_Py_Void();
6238 SWIGINTERN PyObject
*_wrap_ComboBox_GetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6239 PyObject
*resultobj
= 0;
6240 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6241 long *arg2
= (long *) 0 ;
6242 long *arg3
= (long *) 0 ;
6246 int res2
= SWIG_TMPOBJ
;
6248 int res3
= SWIG_TMPOBJ
;
6249 PyObject
*swig_obj
[1] ;
6253 if (!args
) SWIG_fail
;
6255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6256 if (!SWIG_IsOK(res1
)) {
6257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6259 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6262 (arg1
)->GetSelection(arg2
,arg3
);
6263 wxPyEndAllowThreads(__tstate
);
6264 if (PyErr_Occurred()) SWIG_fail
;
6266 resultobj
= SWIG_Py_Void();
6267 if (SWIG_IsTmpObj(res2
)) {
6268 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6270 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6271 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6273 if (SWIG_IsTmpObj(res3
)) {
6274 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6276 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6277 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6285 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6286 PyObject
*resultobj
= 0;
6287 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6291 PyObject
*swig_obj
[1] ;
6293 if (!args
) SWIG_fail
;
6295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6296 if (!SWIG_IsOK(res1
)) {
6297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6299 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6302 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6303 wxPyEndAllowThreads(__tstate
);
6304 if (PyErr_Occurred()) SWIG_fail
;
6306 resultobj
= SWIG_From_int(static_cast< int >(result
));
6313 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6314 PyObject
*resultobj
= 0;
6315 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6316 wxString
*arg2
= 0 ;
6320 bool temp2
= false ;
6321 PyObject
* obj0
= 0 ;
6322 PyObject
* obj1
= 0 ;
6323 char * kwnames
[] = {
6324 (char *) "self",(char *) "string", NULL
6327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6329 if (!SWIG_IsOK(res1
)) {
6330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6332 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6334 arg2
= wxString_in_helper(obj1
);
6335 if (arg2
== NULL
) SWIG_fail
;
6339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6340 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6341 wxPyEndAllowThreads(__tstate
);
6342 if (PyErr_Occurred()) SWIG_fail
;
6345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
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_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7196 PyObject
*resultobj
= 0;
7197 wxGauge
*arg1
= (wxGauge
*) 0 ;
7200 PyObject
*swig_obj
[1] ;
7202 if (!args
) SWIG_fail
;
7204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7205 if (!SWIG_IsOK(res1
)) {
7206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7208 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7212 wxPyEndAllowThreads(__tstate
);
7213 if (PyErr_Occurred()) SWIG_fail
;
7215 resultobj
= SWIG_Py_Void();
7222 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7223 PyObject
*resultobj
= 0;
7224 wxGauge
*arg1
= (wxGauge
*) 0 ;
7228 PyObject
*swig_obj
[1] ;
7230 if (!args
) SWIG_fail
;
7232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7233 if (!SWIG_IsOK(res1
)) {
7234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7236 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7239 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7240 wxPyEndAllowThreads(__tstate
);
7241 if (PyErr_Occurred()) SWIG_fail
;
7244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7252 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7253 PyObject
*resultobj
= 0;
7254 wxGauge
*arg1
= (wxGauge
*) 0 ;
7260 PyObject
* obj0
= 0 ;
7261 PyObject
* obj1
= 0 ;
7262 char * kwnames
[] = {
7263 (char *) "self",(char *) "w", NULL
7266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7268 if (!SWIG_IsOK(res1
)) {
7269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7271 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7272 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7273 if (!SWIG_IsOK(ecode2
)) {
7274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7276 arg2
= static_cast< int >(val2
);
7278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7279 (arg1
)->SetShadowWidth(arg2
);
7280 wxPyEndAllowThreads(__tstate
);
7281 if (PyErr_Occurred()) SWIG_fail
;
7283 resultobj
= SWIG_Py_Void();
7290 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7291 PyObject
*resultobj
= 0;
7292 wxGauge
*arg1
= (wxGauge
*) 0 ;
7296 PyObject
*swig_obj
[1] ;
7298 if (!args
) SWIG_fail
;
7300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7301 if (!SWIG_IsOK(res1
)) {
7302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7304 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7307 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7308 wxPyEndAllowThreads(__tstate
);
7309 if (PyErr_Occurred()) SWIG_fail
;
7311 resultobj
= SWIG_From_int(static_cast< int >(result
));
7318 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7319 PyObject
*resultobj
= 0;
7320 wxGauge
*arg1
= (wxGauge
*) 0 ;
7326 PyObject
* obj0
= 0 ;
7327 PyObject
* obj1
= 0 ;
7328 char * kwnames
[] = {
7329 (char *) "self",(char *) "w", NULL
7332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7334 if (!SWIG_IsOK(res1
)) {
7335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7337 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7339 if (!SWIG_IsOK(ecode2
)) {
7340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7342 arg2
= static_cast< int >(val2
);
7344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7345 (arg1
)->SetBezelFace(arg2
);
7346 wxPyEndAllowThreads(__tstate
);
7347 if (PyErr_Occurred()) SWIG_fail
;
7349 resultobj
= SWIG_Py_Void();
7356 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7357 PyObject
*resultobj
= 0;
7358 wxGauge
*arg1
= (wxGauge
*) 0 ;
7362 PyObject
*swig_obj
[1] ;
7364 if (!args
) SWIG_fail
;
7366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7367 if (!SWIG_IsOK(res1
)) {
7368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7370 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7373 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7374 wxPyEndAllowThreads(__tstate
);
7375 if (PyErr_Occurred()) SWIG_fail
;
7377 resultobj
= SWIG_From_int(static_cast< int >(result
));
7384 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7385 PyObject
*resultobj
= 0;
7386 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7387 SwigValueWrapper
<wxVisualAttributes
> result
;
7390 PyObject
* obj0
= 0 ;
7391 char * kwnames
[] = {
7392 (char *) "variant", NULL
7395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7397 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7398 if (!SWIG_IsOK(ecode1
)) {
7399 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7401 arg1
= static_cast< wxWindowVariant
>(val1
);
7404 if (!wxPyCheckForApp()) SWIG_fail
;
7405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7406 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7407 wxPyEndAllowThreads(__tstate
);
7408 if (PyErr_Occurred()) SWIG_fail
;
7410 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7417 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7419 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7420 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7421 return SWIG_Py_Void();
7424 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7425 return SWIG_Python_InitShadowInstance(args
);
7428 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7429 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7434 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7435 PyObject
*pyobj
= 0;
7439 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7441 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7448 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7449 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7454 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7455 PyObject
*pyobj
= 0;
7459 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7461 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7468 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7469 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7474 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7475 PyObject
*pyobj
= 0;
7479 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7481 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7488 SWIGINTERN
int StaticLineNameStr_set(PyObject
*) {
7489 SWIG_Error(SWIG_AttributeError
,"Variable StaticLineNameStr is read-only.");
7494 SWIGINTERN PyObject
*StaticLineNameStr_get(void) {
7495 PyObject
*pyobj
= 0;
7499 pyobj
= PyUnicode_FromWideChar((&wxPyStaticLineNameStr
)->c_str(), (&wxPyStaticLineNameStr
)->Len());
7501 pyobj
= PyString_FromStringAndSize((&wxPyStaticLineNameStr
)->c_str(), (&wxPyStaticLineNameStr
)->Len());
7508 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7509 PyObject
*resultobj
= 0;
7510 wxWindow
*arg1
= (wxWindow
*) 0 ;
7511 int arg2
= (int) -1 ;
7512 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7513 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7514 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7515 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7516 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7517 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7518 long arg6
= (long) 0 ;
7519 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7520 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7521 wxStaticBox
*result
= 0 ;
7526 bool temp3
= false ;
7531 bool temp7
= false ;
7532 PyObject
* obj0
= 0 ;
7533 PyObject
* obj1
= 0 ;
7534 PyObject
* obj2
= 0 ;
7535 PyObject
* obj3
= 0 ;
7536 PyObject
* obj4
= 0 ;
7537 PyObject
* obj5
= 0 ;
7538 PyObject
* obj6
= 0 ;
7539 char * kwnames
[] = {
7540 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7545 if (!SWIG_IsOK(res1
)) {
7546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7548 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7551 if (!SWIG_IsOK(ecode2
)) {
7552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7554 arg2
= static_cast< int >(val2
);
7558 arg3
= wxString_in_helper(obj2
);
7559 if (arg3
== NULL
) SWIG_fail
;
7566 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7572 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7576 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7577 if (!SWIG_IsOK(ecode6
)) {
7578 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7580 arg6
= static_cast< long >(val6
);
7584 arg7
= wxString_in_helper(obj6
);
7585 if (arg7
== NULL
) SWIG_fail
;
7590 if (!wxPyCheckForApp()) SWIG_fail
;
7591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7592 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7593 wxPyEndAllowThreads(__tstate
);
7594 if (PyErr_Occurred()) SWIG_fail
;
7596 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7619 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7620 PyObject
*resultobj
= 0;
7621 wxStaticBox
*result
= 0 ;
7623 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7625 if (!wxPyCheckForApp()) SWIG_fail
;
7626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7627 result
= (wxStaticBox
*)new wxStaticBox();
7628 wxPyEndAllowThreads(__tstate
);
7629 if (PyErr_Occurred()) SWIG_fail
;
7631 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7638 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7639 PyObject
*resultobj
= 0;
7640 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7641 wxWindow
*arg2
= (wxWindow
*) 0 ;
7642 int arg3
= (int) -1 ;
7643 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7644 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7645 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7646 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7647 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7648 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7649 long arg7
= (long) 0 ;
7650 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7651 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7659 bool temp4
= false ;
7664 bool temp8
= false ;
7665 PyObject
* obj0
= 0 ;
7666 PyObject
* obj1
= 0 ;
7667 PyObject
* obj2
= 0 ;
7668 PyObject
* obj3
= 0 ;
7669 PyObject
* obj4
= 0 ;
7670 PyObject
* obj5
= 0 ;
7671 PyObject
* obj6
= 0 ;
7672 PyObject
* obj7
= 0 ;
7673 char * kwnames
[] = {
7674 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7679 if (!SWIG_IsOK(res1
)) {
7680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7682 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7683 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7684 if (!SWIG_IsOK(res2
)) {
7685 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7687 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7689 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7690 if (!SWIG_IsOK(ecode3
)) {
7691 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7693 arg3
= static_cast< int >(val3
);
7697 arg4
= wxString_in_helper(obj3
);
7698 if (arg4
== NULL
) SWIG_fail
;
7705 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7711 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7715 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7716 if (!SWIG_IsOK(ecode7
)) {
7717 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7719 arg7
= static_cast< long >(val7
);
7723 arg8
= wxString_in_helper(obj7
);
7724 if (arg8
== NULL
) SWIG_fail
;
7729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7730 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7731 wxPyEndAllowThreads(__tstate
);
7732 if (PyErr_Occurred()) SWIG_fail
;
7735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7759 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7760 PyObject
*resultobj
= 0;
7761 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7762 SwigValueWrapper
<wxVisualAttributes
> result
;
7765 PyObject
* obj0
= 0 ;
7766 char * kwnames
[] = {
7767 (char *) "variant", NULL
7770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7772 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7773 if (!SWIG_IsOK(ecode1
)) {
7774 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7776 arg1
= static_cast< wxWindowVariant
>(val1
);
7779 if (!wxPyCheckForApp()) SWIG_fail
;
7780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7781 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7782 wxPyEndAllowThreads(__tstate
);
7783 if (PyErr_Occurred()) SWIG_fail
;
7785 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7792 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7794 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7795 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7796 return SWIG_Py_Void();
7799 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7800 return SWIG_Python_InitShadowInstance(args
);
7803 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7804 PyObject
*resultobj
= 0;
7805 wxWindow
*arg1
= (wxWindow
*) 0 ;
7806 int arg2
= (int) -1 ;
7807 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7808 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7809 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7810 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7811 long arg5
= (long) wxLI_HORIZONTAL
;
7812 wxString
const &arg6_defvalue
= wxPyStaticLineNameStr
;
7813 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7814 wxStaticLine
*result
= 0 ;
7823 bool temp6
= false ;
7824 PyObject
* obj0
= 0 ;
7825 PyObject
* obj1
= 0 ;
7826 PyObject
* obj2
= 0 ;
7827 PyObject
* obj3
= 0 ;
7828 PyObject
* obj4
= 0 ;
7829 PyObject
* obj5
= 0 ;
7830 char * kwnames
[] = {
7831 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7836 if (!SWIG_IsOK(res1
)) {
7837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7839 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7841 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7842 if (!SWIG_IsOK(ecode2
)) {
7843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7845 arg2
= static_cast< int >(val2
);
7850 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7856 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7860 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7861 if (!SWIG_IsOK(ecode5
)) {
7862 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7864 arg5
= static_cast< long >(val5
);
7868 arg6
= wxString_in_helper(obj5
);
7869 if (arg6
== NULL
) SWIG_fail
;
7874 if (!wxPyCheckForApp()) SWIG_fail
;
7875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7876 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7877 wxPyEndAllowThreads(__tstate
);
7878 if (PyErr_Occurred()) SWIG_fail
;
7880 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7895 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7896 PyObject
*resultobj
= 0;
7897 wxStaticLine
*result
= 0 ;
7899 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7901 if (!wxPyCheckForApp()) SWIG_fail
;
7902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7903 result
= (wxStaticLine
*)new wxStaticLine();
7904 wxPyEndAllowThreads(__tstate
);
7905 if (PyErr_Occurred()) SWIG_fail
;
7907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7914 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7915 PyObject
*resultobj
= 0;
7916 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7917 wxWindow
*arg2
= (wxWindow
*) 0 ;
7918 int arg3
= (int) -1 ;
7919 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7920 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7921 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7922 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7923 long arg6
= (long) wxLI_HORIZONTAL
;
7924 wxString
const &arg7_defvalue
= wxPyStaticLineNameStr
;
7925 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7937 bool temp7
= false ;
7938 PyObject
* obj0
= 0 ;
7939 PyObject
* obj1
= 0 ;
7940 PyObject
* obj2
= 0 ;
7941 PyObject
* obj3
= 0 ;
7942 PyObject
* obj4
= 0 ;
7943 PyObject
* obj5
= 0 ;
7944 PyObject
* obj6
= 0 ;
7945 char * kwnames
[] = {
7946 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7951 if (!SWIG_IsOK(res1
)) {
7952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7954 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7955 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7956 if (!SWIG_IsOK(res2
)) {
7957 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7959 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7961 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7962 if (!SWIG_IsOK(ecode3
)) {
7963 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7965 arg3
= static_cast< int >(val3
);
7970 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7976 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7980 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7981 if (!SWIG_IsOK(ecode6
)) {
7982 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7984 arg6
= static_cast< long >(val6
);
7988 arg7
= wxString_in_helper(obj6
);
7989 if (arg7
== NULL
) SWIG_fail
;
7994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7995 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7996 wxPyEndAllowThreads(__tstate
);
7997 if (PyErr_Occurred()) SWIG_fail
;
8000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8016 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8017 PyObject
*resultobj
= 0;
8018 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
8022 PyObject
*swig_obj
[1] ;
8024 if (!args
) SWIG_fail
;
8026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
8027 if (!SWIG_IsOK(res1
)) {
8028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
8030 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
8032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8033 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
8034 wxPyEndAllowThreads(__tstate
);
8035 if (PyErr_Occurred()) SWIG_fail
;
8038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8046 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8047 PyObject
*resultobj
= 0;
8050 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
8052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8053 result
= (int)wxStaticLine::GetDefaultSize();
8054 wxPyEndAllowThreads(__tstate
);
8055 if (PyErr_Occurred()) SWIG_fail
;
8057 resultobj
= SWIG_From_int(static_cast< int >(result
));
8064 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8065 PyObject
*resultobj
= 0;
8066 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8067 SwigValueWrapper
<wxVisualAttributes
> result
;
8070 PyObject
* obj0
= 0 ;
8071 char * kwnames
[] = {
8072 (char *) "variant", NULL
8075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8077 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8078 if (!SWIG_IsOK(ecode1
)) {
8079 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8081 arg1
= static_cast< wxWindowVariant
>(val1
);
8084 if (!wxPyCheckForApp()) SWIG_fail
;
8085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8086 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8087 wxPyEndAllowThreads(__tstate
);
8088 if (PyErr_Occurred()) SWIG_fail
;
8090 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8097 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8099 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8100 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8101 return SWIG_Py_Void();
8104 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8105 return SWIG_Python_InitShadowInstance(args
);
8108 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8109 PyObject
*resultobj
= 0;
8110 wxWindow
*arg1
= (wxWindow
*) 0 ;
8111 int arg2
= (int) -1 ;
8112 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8113 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8114 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8115 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8116 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8117 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8118 long arg6
= (long) 0 ;
8119 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8120 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8121 wxStaticText
*result
= 0 ;
8126 bool temp3
= false ;
8131 bool temp7
= false ;
8132 PyObject
* obj0
= 0 ;
8133 PyObject
* obj1
= 0 ;
8134 PyObject
* obj2
= 0 ;
8135 PyObject
* obj3
= 0 ;
8136 PyObject
* obj4
= 0 ;
8137 PyObject
* obj5
= 0 ;
8138 PyObject
* obj6
= 0 ;
8139 char * kwnames
[] = {
8140 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8145 if (!SWIG_IsOK(res1
)) {
8146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8148 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8151 if (!SWIG_IsOK(ecode2
)) {
8152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8154 arg2
= static_cast< int >(val2
);
8158 arg3
= wxString_in_helper(obj2
);
8159 if (arg3
== NULL
) SWIG_fail
;
8166 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8172 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8176 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8177 if (!SWIG_IsOK(ecode6
)) {
8178 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8180 arg6
= static_cast< long >(val6
);
8184 arg7
= wxString_in_helper(obj6
);
8185 if (arg7
== NULL
) SWIG_fail
;
8190 if (!wxPyCheckForApp()) SWIG_fail
;
8191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8192 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8193 wxPyEndAllowThreads(__tstate
);
8194 if (PyErr_Occurred()) SWIG_fail
;
8196 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8219 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8220 PyObject
*resultobj
= 0;
8221 wxStaticText
*result
= 0 ;
8223 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8225 if (!wxPyCheckForApp()) SWIG_fail
;
8226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8227 result
= (wxStaticText
*)new wxStaticText();
8228 wxPyEndAllowThreads(__tstate
);
8229 if (PyErr_Occurred()) SWIG_fail
;
8231 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8238 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8239 PyObject
*resultobj
= 0;
8240 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8241 wxWindow
*arg2
= (wxWindow
*) 0 ;
8242 int arg3
= (int) -1 ;
8243 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8244 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8245 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8246 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8247 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8248 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8249 long arg7
= (long) 0 ;
8250 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8251 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8259 bool temp4
= false ;
8264 bool temp8
= false ;
8265 PyObject
* obj0
= 0 ;
8266 PyObject
* obj1
= 0 ;
8267 PyObject
* obj2
= 0 ;
8268 PyObject
* obj3
= 0 ;
8269 PyObject
* obj4
= 0 ;
8270 PyObject
* obj5
= 0 ;
8271 PyObject
* obj6
= 0 ;
8272 PyObject
* obj7
= 0 ;
8273 char * kwnames
[] = {
8274 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8279 if (!SWIG_IsOK(res1
)) {
8280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8282 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8283 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8284 if (!SWIG_IsOK(res2
)) {
8285 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8287 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8289 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8290 if (!SWIG_IsOK(ecode3
)) {
8291 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8293 arg3
= static_cast< int >(val3
);
8297 arg4
= wxString_in_helper(obj3
);
8298 if (arg4
== NULL
) SWIG_fail
;
8305 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8311 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8315 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8316 if (!SWIG_IsOK(ecode7
)) {
8317 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8319 arg7
= static_cast< long >(val7
);
8323 arg8
= wxString_in_helper(obj7
);
8324 if (arg8
== NULL
) SWIG_fail
;
8329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8330 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8331 wxPyEndAllowThreads(__tstate
);
8332 if (PyErr_Occurred()) SWIG_fail
;
8335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8359 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8360 PyObject
*resultobj
= 0;
8361 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8367 PyObject
* obj0
= 0 ;
8368 PyObject
* obj1
= 0 ;
8369 char * kwnames
[] = {
8370 (char *) "self",(char *) "width", NULL
8373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8375 if (!SWIG_IsOK(res1
)) {
8376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8378 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8379 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8380 if (!SWIG_IsOK(ecode2
)) {
8381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8383 arg2
= static_cast< int >(val2
);
8385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8387 wxPyEndAllowThreads(__tstate
);
8388 if (PyErr_Occurred()) SWIG_fail
;
8390 resultobj
= SWIG_Py_Void();
8397 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8398 PyObject
*resultobj
= 0;
8399 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8400 SwigValueWrapper
<wxVisualAttributes
> result
;
8403 PyObject
* obj0
= 0 ;
8404 char * kwnames
[] = {
8405 (char *) "variant", NULL
8408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8410 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8411 if (!SWIG_IsOK(ecode1
)) {
8412 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8414 arg1
= static_cast< wxWindowVariant
>(val1
);
8417 if (!wxPyCheckForApp()) SWIG_fail
;
8418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8419 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8420 wxPyEndAllowThreads(__tstate
);
8421 if (PyErr_Occurred()) SWIG_fail
;
8423 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8430 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8432 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8433 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8434 return SWIG_Py_Void();
8437 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8438 return SWIG_Python_InitShadowInstance(args
);
8441 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8442 PyObject
*resultobj
= 0;
8443 wxWindow
*arg1
= (wxWindow
*) 0 ;
8444 int arg2
= (int) -1 ;
8445 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8446 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8447 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8448 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8449 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8450 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8451 long arg6
= (long) 0 ;
8452 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8453 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8454 wxStaticBitmap
*result
= 0 ;
8465 bool temp7
= false ;
8466 PyObject
* obj0
= 0 ;
8467 PyObject
* obj1
= 0 ;
8468 PyObject
* obj2
= 0 ;
8469 PyObject
* obj3
= 0 ;
8470 PyObject
* obj4
= 0 ;
8471 PyObject
* obj5
= 0 ;
8472 PyObject
* obj6
= 0 ;
8473 char * kwnames
[] = {
8474 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8479 if (!SWIG_IsOK(res1
)) {
8480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8482 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8484 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8485 if (!SWIG_IsOK(ecode2
)) {
8486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8488 arg2
= static_cast< int >(val2
);
8491 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8492 if (!SWIG_IsOK(res3
)) {
8493 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8496 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8498 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8503 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8509 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8513 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8514 if (!SWIG_IsOK(ecode6
)) {
8515 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8517 arg6
= static_cast< long >(val6
);
8521 arg7
= wxString_in_helper(obj6
);
8522 if (arg7
== NULL
) SWIG_fail
;
8527 if (!wxPyCheckForApp()) SWIG_fail
;
8528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8529 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8530 wxPyEndAllowThreads(__tstate
);
8531 if (PyErr_Occurred()) SWIG_fail
;
8533 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8548 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8549 PyObject
*resultobj
= 0;
8550 wxStaticBitmap
*result
= 0 ;
8552 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8554 if (!wxPyCheckForApp()) SWIG_fail
;
8555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8556 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8557 wxPyEndAllowThreads(__tstate
);
8558 if (PyErr_Occurred()) SWIG_fail
;
8560 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8567 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8568 PyObject
*resultobj
= 0;
8569 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8570 wxWindow
*arg2
= (wxWindow
*) 0 ;
8571 int arg3
= (int) -1 ;
8572 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8573 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8574 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8575 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8576 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8577 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8578 long arg7
= (long) 0 ;
8579 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8580 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8594 bool temp8
= false ;
8595 PyObject
* obj0
= 0 ;
8596 PyObject
* obj1
= 0 ;
8597 PyObject
* obj2
= 0 ;
8598 PyObject
* obj3
= 0 ;
8599 PyObject
* obj4
= 0 ;
8600 PyObject
* obj5
= 0 ;
8601 PyObject
* obj6
= 0 ;
8602 PyObject
* obj7
= 0 ;
8603 char * kwnames
[] = {
8604 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8609 if (!SWIG_IsOK(res1
)) {
8610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8612 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8613 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8614 if (!SWIG_IsOK(res2
)) {
8615 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8617 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8619 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8620 if (!SWIG_IsOK(ecode3
)) {
8621 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8623 arg3
= static_cast< int >(val3
);
8626 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8627 if (!SWIG_IsOK(res4
)) {
8628 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8631 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8633 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8638 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8644 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8648 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8649 if (!SWIG_IsOK(ecode7
)) {
8650 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8652 arg7
= static_cast< long >(val7
);
8656 arg8
= wxString_in_helper(obj7
);
8657 if (arg8
== NULL
) SWIG_fail
;
8662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8663 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8664 wxPyEndAllowThreads(__tstate
);
8665 if (PyErr_Occurred()) SWIG_fail
;
8668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8684 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8685 PyObject
*resultobj
= 0;
8686 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8690 PyObject
*swig_obj
[1] ;
8692 if (!args
) SWIG_fail
;
8694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8695 if (!SWIG_IsOK(res1
)) {
8696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8698 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8701 result
= (arg1
)->GetBitmap();
8702 wxPyEndAllowThreads(__tstate
);
8703 if (PyErr_Occurred()) SWIG_fail
;
8705 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8712 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8713 PyObject
*resultobj
= 0;
8714 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8715 wxBitmap
*arg2
= 0 ;
8720 PyObject
* obj0
= 0 ;
8721 PyObject
* obj1
= 0 ;
8722 char * kwnames
[] = {
8723 (char *) "self",(char *) "bitmap", NULL
8726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8728 if (!SWIG_IsOK(res1
)) {
8729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8731 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8732 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8733 if (!SWIG_IsOK(res2
)) {
8734 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8737 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8739 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8742 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8743 wxPyEndAllowThreads(__tstate
);
8744 if (PyErr_Occurred()) SWIG_fail
;
8746 resultobj
= SWIG_Py_Void();
8753 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8754 PyObject
*resultobj
= 0;
8755 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8761 PyObject
* obj0
= 0 ;
8762 PyObject
* obj1
= 0 ;
8763 char * kwnames
[] = {
8764 (char *) "self",(char *) "icon", NULL
8767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8769 if (!SWIG_IsOK(res1
)) {
8770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8772 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8773 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8774 if (!SWIG_IsOK(res2
)) {
8775 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8778 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8780 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8783 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8784 wxPyEndAllowThreads(__tstate
);
8785 if (PyErr_Occurred()) SWIG_fail
;
8787 resultobj
= SWIG_Py_Void();
8794 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8795 PyObject
*resultobj
= 0;
8796 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8797 SwigValueWrapper
<wxVisualAttributes
> result
;
8800 PyObject
* obj0
= 0 ;
8801 char * kwnames
[] = {
8802 (char *) "variant", NULL
8805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8807 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8808 if (!SWIG_IsOK(ecode1
)) {
8809 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8811 arg1
= static_cast< wxWindowVariant
>(val1
);
8814 if (!wxPyCheckForApp()) SWIG_fail
;
8815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8816 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8817 wxPyEndAllowThreads(__tstate
);
8818 if (PyErr_Occurred()) SWIG_fail
;
8820 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8827 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8829 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8830 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8831 return SWIG_Py_Void();
8834 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8835 return SWIG_Python_InitShadowInstance(args
);
8838 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8839 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8844 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8845 PyObject
*pyobj
= 0;
8849 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8851 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8858 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8859 PyObject
*resultobj
= 0;
8860 wxWindow
*arg1
= (wxWindow
*) 0 ;
8861 int arg2
= (int) -1 ;
8862 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8863 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8864 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8865 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8866 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8867 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8868 long arg6
= (long) 0 ;
8869 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8870 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8871 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8872 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8873 wxListBox
*result
= 0 ;
8880 bool temp5
= false ;
8885 bool temp8
= false ;
8886 PyObject
* obj0
= 0 ;
8887 PyObject
* obj1
= 0 ;
8888 PyObject
* obj2
= 0 ;
8889 PyObject
* obj3
= 0 ;
8890 PyObject
* obj4
= 0 ;
8891 PyObject
* obj5
= 0 ;
8892 PyObject
* obj6
= 0 ;
8893 PyObject
* obj7
= 0 ;
8894 char * kwnames
[] = {
8895 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8900 if (!SWIG_IsOK(res1
)) {
8901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8903 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8906 if (!SWIG_IsOK(ecode2
)) {
8907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8909 arg2
= static_cast< int >(val2
);
8914 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8920 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8925 if (! PySequence_Check(obj4
)) {
8926 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8929 arg5
= new wxArrayString
;
8931 int i
, len
=PySequence_Length(obj4
);
8932 for (i
=0; i
<len
; i
++) {
8933 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8934 wxString
* s
= wxString_in_helper(item
);
8935 if (PyErr_Occurred()) SWIG_fail
;
8943 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8944 if (!SWIG_IsOK(ecode6
)) {
8945 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8947 arg6
= static_cast< long >(val6
);
8950 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8951 if (!SWIG_IsOK(res7
)) {
8952 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8955 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8957 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8961 arg8
= wxString_in_helper(obj7
);
8962 if (arg8
== NULL
) SWIG_fail
;
8967 if (!wxPyCheckForApp()) SWIG_fail
;
8968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8969 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8970 wxPyEndAllowThreads(__tstate
);
8971 if (PyErr_Occurred()) SWIG_fail
;
8973 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8975 if (temp5
) delete arg5
;
8984 if (temp5
) delete arg5
;
8994 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8995 PyObject
*resultobj
= 0;
8996 wxListBox
*result
= 0 ;
8998 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
9000 if (!wxPyCheckForApp()) SWIG_fail
;
9001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9002 result
= (wxListBox
*)new wxListBox();
9003 wxPyEndAllowThreads(__tstate
);
9004 if (PyErr_Occurred()) SWIG_fail
;
9006 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
9013 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9014 PyObject
*resultobj
= 0;
9015 wxListBox
*arg1
= (wxListBox
*) 0 ;
9016 wxWindow
*arg2
= (wxWindow
*) 0 ;
9017 int arg3
= (int) -1 ;
9018 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9019 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9020 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9021 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9022 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
9023 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
9024 long arg7
= (long) 0 ;
9025 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9026 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9027 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
9028 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9038 bool temp6
= false ;
9043 bool temp9
= false ;
9044 PyObject
* obj0
= 0 ;
9045 PyObject
* obj1
= 0 ;
9046 PyObject
* obj2
= 0 ;
9047 PyObject
* obj3
= 0 ;
9048 PyObject
* obj4
= 0 ;
9049 PyObject
* obj5
= 0 ;
9050 PyObject
* obj6
= 0 ;
9051 PyObject
* obj7
= 0 ;
9052 PyObject
* obj8
= 0 ;
9053 char * kwnames
[] = {
9054 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
9058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9059 if (!SWIG_IsOK(res1
)) {
9060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9062 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9063 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9064 if (!SWIG_IsOK(res2
)) {
9065 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9067 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9069 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9070 if (!SWIG_IsOK(ecode3
)) {
9071 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9073 arg3
= static_cast< int >(val3
);
9078 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9084 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9089 if (! PySequence_Check(obj5
)) {
9090 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9093 arg6
= new wxArrayString
;
9095 int i
, len
=PySequence_Length(obj5
);
9096 for (i
=0; i
<len
; i
++) {
9097 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9098 wxString
* s
= wxString_in_helper(item
);
9099 if (PyErr_Occurred()) SWIG_fail
;
9107 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9108 if (!SWIG_IsOK(ecode7
)) {
9109 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9111 arg7
= static_cast< long >(val7
);
9114 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9115 if (!SWIG_IsOK(res8
)) {
9116 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9119 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9121 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9125 arg9
= wxString_in_helper(obj8
);
9126 if (arg9
== NULL
) SWIG_fail
;
9131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9132 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9133 wxPyEndAllowThreads(__tstate
);
9134 if (PyErr_Occurred()) SWIG_fail
;
9137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9140 if (temp6
) delete arg6
;
9149 if (temp6
) delete arg6
;
9159 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9160 PyObject
*resultobj
= 0;
9161 wxListBox
*arg1
= (wxListBox
*) 0 ;
9162 wxString
*arg2
= 0 ;
9164 PyObject
*arg4
= (PyObject
*) NULL
;
9167 bool temp2
= false ;
9170 PyObject
* obj0
= 0 ;
9171 PyObject
* obj1
= 0 ;
9172 PyObject
* obj2
= 0 ;
9173 PyObject
* obj3
= 0 ;
9174 char * kwnames
[] = {
9175 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9180 if (!SWIG_IsOK(res1
)) {
9181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9183 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9185 arg2
= wxString_in_helper(obj1
);
9186 if (arg2
== NULL
) SWIG_fail
;
9189 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9190 if (!SWIG_IsOK(ecode3
)) {
9191 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9193 arg3
= static_cast< int >(val3
);
9198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9199 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9200 wxPyEndAllowThreads(__tstate
);
9201 if (PyErr_Occurred()) SWIG_fail
;
9203 resultobj
= SWIG_Py_Void();
9218 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9219 PyObject
*resultobj
= 0;
9220 wxListBox
*arg1
= (wxListBox
*) 0 ;
9221 wxArrayString
*arg2
= 0 ;
9225 bool temp2
= false ;
9228 PyObject
* obj0
= 0 ;
9229 PyObject
* obj1
= 0 ;
9230 PyObject
* obj2
= 0 ;
9231 char * kwnames
[] = {
9232 (char *) "self",(char *) "items",(char *) "pos", NULL
9235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9237 if (!SWIG_IsOK(res1
)) {
9238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9240 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9242 if (! PySequence_Check(obj1
)) {
9243 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9246 arg2
= new wxArrayString
;
9248 int i
, len
=PySequence_Length(obj1
);
9249 for (i
=0; i
<len
; i
++) {
9250 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9251 wxString
* s
= wxString_in_helper(item
);
9252 if (PyErr_Occurred()) SWIG_fail
;
9258 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9259 if (!SWIG_IsOK(ecode3
)) {
9260 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9262 arg3
= static_cast< unsigned int >(val3
);
9264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9265 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9266 wxPyEndAllowThreads(__tstate
);
9267 if (PyErr_Occurred()) SWIG_fail
;
9269 resultobj
= SWIG_Py_Void();
9271 if (temp2
) delete arg2
;
9276 if (temp2
) delete arg2
;
9282 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9283 PyObject
*resultobj
= 0;
9284 wxListBox
*arg1
= (wxListBox
*) 0 ;
9285 wxArrayString
*arg2
= 0 ;
9288 bool temp2
= false ;
9289 PyObject
* obj0
= 0 ;
9290 PyObject
* obj1
= 0 ;
9291 char * kwnames
[] = {
9292 (char *) "self",(char *) "items", NULL
9295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9297 if (!SWIG_IsOK(res1
)) {
9298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9300 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9302 if (! PySequence_Check(obj1
)) {
9303 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9306 arg2
= new wxArrayString
;
9308 int i
, len
=PySequence_Length(obj1
);
9309 for (i
=0; i
<len
; i
++) {
9310 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9311 wxString
* s
= wxString_in_helper(item
);
9312 if (PyErr_Occurred()) SWIG_fail
;
9319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9320 (arg1
)->Set((wxArrayString
const &)*arg2
);
9321 wxPyEndAllowThreads(__tstate
);
9322 if (PyErr_Occurred()) SWIG_fail
;
9324 resultobj
= SWIG_Py_Void();
9326 if (temp2
) delete arg2
;
9331 if (temp2
) delete arg2
;
9337 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9338 PyObject
*resultobj
= 0;
9339 wxListBox
*arg1
= (wxListBox
*) 0 ;
9346 PyObject
* obj0
= 0 ;
9347 PyObject
* obj1
= 0 ;
9348 char * kwnames
[] = {
9349 (char *) "self",(char *) "n", NULL
9352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9354 if (!SWIG_IsOK(res1
)) {
9355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9357 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9359 if (!SWIG_IsOK(ecode2
)) {
9360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9362 arg2
= static_cast< int >(val2
);
9364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9365 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9366 wxPyEndAllowThreads(__tstate
);
9367 if (PyErr_Occurred()) SWIG_fail
;
9370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9378 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9379 PyObject
*resultobj
= 0;
9380 wxListBox
*arg1
= (wxListBox
*) 0 ;
9382 bool arg3
= (bool) true ;
9389 PyObject
* obj0
= 0 ;
9390 PyObject
* obj1
= 0 ;
9391 PyObject
* obj2
= 0 ;
9392 char * kwnames
[] = {
9393 (char *) "self",(char *) "n",(char *) "select", NULL
9396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9398 if (!SWIG_IsOK(res1
)) {
9399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9401 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9403 if (!SWIG_IsOK(ecode2
)) {
9404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9406 arg2
= static_cast< int >(val2
);
9408 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9409 if (!SWIG_IsOK(ecode3
)) {
9410 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9412 arg3
= static_cast< bool >(val3
);
9415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9416 (arg1
)->SetSelection(arg2
,arg3
);
9417 wxPyEndAllowThreads(__tstate
);
9418 if (PyErr_Occurred()) SWIG_fail
;
9420 resultobj
= SWIG_Py_Void();
9427 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9428 PyObject
*resultobj
= 0;
9429 wxListBox
*arg1
= (wxListBox
*) 0 ;
9435 PyObject
* obj0
= 0 ;
9436 PyObject
* obj1
= 0 ;
9437 char * kwnames
[] = {
9438 (char *) "self",(char *) "n", NULL
9441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9443 if (!SWIG_IsOK(res1
)) {
9444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9446 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9447 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9448 if (!SWIG_IsOK(ecode2
)) {
9449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9451 arg2
= static_cast< int >(val2
);
9453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9454 (arg1
)->Select(arg2
);
9455 wxPyEndAllowThreads(__tstate
);
9456 if (PyErr_Occurred()) SWIG_fail
;
9458 resultobj
= SWIG_Py_Void();
9465 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9466 PyObject
*resultobj
= 0;
9467 wxListBox
*arg1
= (wxListBox
*) 0 ;
9473 PyObject
* obj0
= 0 ;
9474 PyObject
* obj1
= 0 ;
9475 char * kwnames
[] = {
9476 (char *) "self",(char *) "n", NULL
9479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9481 if (!SWIG_IsOK(res1
)) {
9482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9484 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9485 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9486 if (!SWIG_IsOK(ecode2
)) {
9487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9489 arg2
= static_cast< int >(val2
);
9491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9492 (arg1
)->Deselect(arg2
);
9493 wxPyEndAllowThreads(__tstate
);
9494 if (PyErr_Occurred()) SWIG_fail
;
9496 resultobj
= SWIG_Py_Void();
9503 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9504 PyObject
*resultobj
= 0;
9505 wxListBox
*arg1
= (wxListBox
*) 0 ;
9506 int arg2
= (int) -1 ;
9511 PyObject
* obj0
= 0 ;
9512 PyObject
* obj1
= 0 ;
9513 char * kwnames
[] = {
9514 (char *) "self",(char *) "itemToLeaveSelected", NULL
9517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9519 if (!SWIG_IsOK(res1
)) {
9520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9522 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9524 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9525 if (!SWIG_IsOK(ecode2
)) {
9526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9528 arg2
= static_cast< int >(val2
);
9531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9532 (arg1
)->DeselectAll(arg2
);
9533 wxPyEndAllowThreads(__tstate
);
9534 if (PyErr_Occurred()) SWIG_fail
;
9536 resultobj
= SWIG_Py_Void();
9543 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9544 PyObject
*resultobj
= 0;
9545 wxListBox
*arg1
= (wxListBox
*) 0 ;
9546 wxString
*arg2
= 0 ;
9547 bool arg3
= (bool) true ;
9551 bool temp2
= false ;
9554 PyObject
* obj0
= 0 ;
9555 PyObject
* obj1
= 0 ;
9556 PyObject
* obj2
= 0 ;
9557 char * kwnames
[] = {
9558 (char *) "self",(char *) "s",(char *) "select", NULL
9561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9563 if (!SWIG_IsOK(res1
)) {
9564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9566 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9568 arg2
= wxString_in_helper(obj1
);
9569 if (arg2
== NULL
) SWIG_fail
;
9573 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9574 if (!SWIG_IsOK(ecode3
)) {
9575 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9577 arg3
= static_cast< bool >(val3
);
9580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9581 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9582 wxPyEndAllowThreads(__tstate
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9602 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9603 PyObject
*resultobj
= 0;
9604 wxListBox
*arg1
= (wxListBox
*) 0 ;
9605 PyObject
*result
= 0 ;
9608 PyObject
*swig_obj
[1] ;
9610 if (!args
) SWIG_fail
;
9612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9613 if (!SWIG_IsOK(res1
)) {
9614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9616 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9619 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9620 wxPyEndAllowThreads(__tstate
);
9621 if (PyErr_Occurred()) SWIG_fail
;
9630 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9631 PyObject
*resultobj
= 0;
9632 wxListBox
*arg1
= (wxListBox
*) 0 ;
9638 PyObject
* obj0
= 0 ;
9639 PyObject
* obj1
= 0 ;
9640 char * kwnames
[] = {
9641 (char *) "self",(char *) "n", NULL
9644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9646 if (!SWIG_IsOK(res1
)) {
9647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9649 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9650 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9651 if (!SWIG_IsOK(ecode2
)) {
9652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9654 arg2
= static_cast< int >(val2
);
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9657 (arg1
)->SetFirstItem(arg2
);
9658 wxPyEndAllowThreads(__tstate
);
9659 if (PyErr_Occurred()) SWIG_fail
;
9661 resultobj
= SWIG_Py_Void();
9668 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9669 PyObject
*resultobj
= 0;
9670 wxListBox
*arg1
= (wxListBox
*) 0 ;
9671 wxString
*arg2
= 0 ;
9674 bool temp2
= false ;
9675 PyObject
* obj0
= 0 ;
9676 PyObject
* obj1
= 0 ;
9677 char * kwnames
[] = {
9678 (char *) "self",(char *) "s", NULL
9681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9683 if (!SWIG_IsOK(res1
)) {
9684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9686 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9688 arg2
= wxString_in_helper(obj1
);
9689 if (arg2
== NULL
) SWIG_fail
;
9693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9694 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9695 wxPyEndAllowThreads(__tstate
);
9696 if (PyErr_Occurred()) SWIG_fail
;
9698 resultobj
= SWIG_Py_Void();
9713 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9714 PyObject
*resultobj
= 0;
9715 wxListBox
*arg1
= (wxListBox
*) 0 ;
9721 PyObject
* obj0
= 0 ;
9722 PyObject
* obj1
= 0 ;
9723 char * kwnames
[] = {
9724 (char *) "self",(char *) "n", NULL
9727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9729 if (!SWIG_IsOK(res1
)) {
9730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9732 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9733 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9734 if (!SWIG_IsOK(ecode2
)) {
9735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9737 arg2
= static_cast< int >(val2
);
9739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9740 (arg1
)->EnsureVisible(arg2
);
9741 wxPyEndAllowThreads(__tstate
);
9742 if (PyErr_Occurred()) SWIG_fail
;
9744 resultobj
= SWIG_Py_Void();
9751 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9752 PyObject
*resultobj
= 0;
9753 wxListBox
*arg1
= (wxListBox
*) 0 ;
9754 wxString
*arg2
= 0 ;
9757 bool temp2
= false ;
9758 PyObject
* obj0
= 0 ;
9759 PyObject
* obj1
= 0 ;
9760 char * kwnames
[] = {
9761 (char *) "self",(char *) "s", NULL
9764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9766 if (!SWIG_IsOK(res1
)) {
9767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9769 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9771 arg2
= wxString_in_helper(obj1
);
9772 if (arg2
== NULL
) SWIG_fail
;
9776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9777 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9778 wxPyEndAllowThreads(__tstate
);
9779 if (PyErr_Occurred()) SWIG_fail
;
9781 resultobj
= SWIG_Py_Void();
9796 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9797 PyObject
*resultobj
= 0;
9798 wxListBox
*arg1
= (wxListBox
*) 0 ;
9802 PyObject
*swig_obj
[1] ;
9804 if (!args
) SWIG_fail
;
9806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9807 if (!SWIG_IsOK(res1
)) {
9808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9810 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9813 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9814 wxPyEndAllowThreads(__tstate
);
9815 if (PyErr_Occurred()) SWIG_fail
;
9818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9826 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9827 PyObject
*resultobj
= 0;
9828 wxListBox
*arg1
= (wxListBox
*) 0 ;
9834 PyObject
* obj0
= 0 ;
9835 PyObject
* obj1
= 0 ;
9836 char * kwnames
[] = {
9837 (char *) "self",(char *) "pt", NULL
9840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9842 if (!SWIG_IsOK(res1
)) {
9843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9845 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9848 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9852 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9853 wxPyEndAllowThreads(__tstate
);
9854 if (PyErr_Occurred()) SWIG_fail
;
9856 resultobj
= SWIG_From_int(static_cast< int >(result
));
9863 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9864 PyObject
*resultobj
= 0;
9865 wxListBox
*arg1
= (wxListBox
*) 0 ;
9867 wxColour
*arg3
= 0 ;
9873 PyObject
* obj0
= 0 ;
9874 PyObject
* obj1
= 0 ;
9875 PyObject
* obj2
= 0 ;
9876 char * kwnames
[] = {
9877 (char *) "self",(char *) "item",(char *) "c", NULL
9880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9882 if (!SWIG_IsOK(res1
)) {
9883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9885 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9887 if (!SWIG_IsOK(ecode2
)) {
9888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9890 arg2
= static_cast< int >(val2
);
9893 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9897 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9898 wxPyEndAllowThreads(__tstate
);
9899 if (PyErr_Occurred()) SWIG_fail
;
9901 resultobj
= SWIG_Py_Void();
9908 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9909 PyObject
*resultobj
= 0;
9910 wxListBox
*arg1
= (wxListBox
*) 0 ;
9912 wxColour
*arg3
= 0 ;
9918 PyObject
* obj0
= 0 ;
9919 PyObject
* obj1
= 0 ;
9920 PyObject
* obj2
= 0 ;
9921 char * kwnames
[] = {
9922 (char *) "self",(char *) "item",(char *) "c", NULL
9925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9927 if (!SWIG_IsOK(res1
)) {
9928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9930 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9932 if (!SWIG_IsOK(ecode2
)) {
9933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9935 arg2
= static_cast< int >(val2
);
9938 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9942 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9943 wxPyEndAllowThreads(__tstate
);
9944 if (PyErr_Occurred()) SWIG_fail
;
9946 resultobj
= SWIG_Py_Void();
9953 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9954 PyObject
*resultobj
= 0;
9955 wxListBox
*arg1
= (wxListBox
*) 0 ;
9964 PyObject
* obj0
= 0 ;
9965 PyObject
* obj1
= 0 ;
9966 PyObject
* obj2
= 0 ;
9967 char * kwnames
[] = {
9968 (char *) "self",(char *) "item",(char *) "f", NULL
9971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9973 if (!SWIG_IsOK(res1
)) {
9974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9976 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9977 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9978 if (!SWIG_IsOK(ecode2
)) {
9979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9981 arg2
= static_cast< int >(val2
);
9982 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9983 if (!SWIG_IsOK(res3
)) {
9984 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9987 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9989 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9992 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9993 wxPyEndAllowThreads(__tstate
);
9994 if (PyErr_Occurred()) SWIG_fail
;
9996 resultobj
= SWIG_Py_Void();
10003 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10004 PyObject
*resultobj
= 0;
10005 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10006 SwigValueWrapper
<wxVisualAttributes
> result
;
10009 PyObject
* obj0
= 0 ;
10010 char * kwnames
[] = {
10011 (char *) "variant", NULL
10014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10016 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10017 if (!SWIG_IsOK(ecode1
)) {
10018 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10020 arg1
= static_cast< wxWindowVariant
>(val1
);
10023 if (!wxPyCheckForApp()) SWIG_fail
;
10024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10025 result
= wxListBox::GetClassDefaultAttributes(arg1
);
10026 wxPyEndAllowThreads(__tstate
);
10027 if (PyErr_Occurred()) SWIG_fail
;
10029 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10036 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10038 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10039 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
10040 return SWIG_Py_Void();
10043 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10044 return SWIG_Python_InitShadowInstance(args
);
10047 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10048 PyObject
*resultobj
= 0;
10049 wxWindow
*arg1
= (wxWindow
*) 0 ;
10050 int arg2
= (int) -1 ;
10051 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10052 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10053 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10054 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10055 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
10056 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
10057 long arg6
= (long) 0 ;
10058 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10059 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10060 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
10061 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10062 wxCheckListBox
*result
= 0 ;
10069 bool temp5
= false ;
10074 bool temp8
= false ;
10075 PyObject
* obj0
= 0 ;
10076 PyObject
* obj1
= 0 ;
10077 PyObject
* obj2
= 0 ;
10078 PyObject
* obj3
= 0 ;
10079 PyObject
* obj4
= 0 ;
10080 PyObject
* obj5
= 0 ;
10081 PyObject
* obj6
= 0 ;
10082 PyObject
* obj7
= 0 ;
10083 char * kwnames
[] = {
10084 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10089 if (!SWIG_IsOK(res1
)) {
10090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10092 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10095 if (!SWIG_IsOK(ecode2
)) {
10096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10098 arg2
= static_cast< int >(val2
);
10103 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10109 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10114 if (! PySequence_Check(obj4
)) {
10115 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10118 arg5
= new wxArrayString
;
10120 int i
, len
=PySequence_Length(obj4
);
10121 for (i
=0; i
<len
; i
++) {
10122 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10123 wxString
* s
= wxString_in_helper(item
);
10124 if (PyErr_Occurred()) SWIG_fail
;
10132 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10133 if (!SWIG_IsOK(ecode6
)) {
10134 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10136 arg6
= static_cast< long >(val6
);
10139 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10140 if (!SWIG_IsOK(res7
)) {
10141 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10144 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10146 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10150 arg8
= wxString_in_helper(obj7
);
10151 if (arg8
== NULL
) SWIG_fail
;
10156 if (!wxPyCheckForApp()) SWIG_fail
;
10157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10158 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10159 wxPyEndAllowThreads(__tstate
);
10160 if (PyErr_Occurred()) SWIG_fail
;
10162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10164 if (temp5
) delete arg5
;
10173 if (temp5
) delete arg5
;
10183 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10184 PyObject
*resultobj
= 0;
10185 wxCheckListBox
*result
= 0 ;
10187 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10189 if (!wxPyCheckForApp()) SWIG_fail
;
10190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10191 result
= (wxCheckListBox
*)new wxCheckListBox();
10192 wxPyEndAllowThreads(__tstate
);
10193 if (PyErr_Occurred()) SWIG_fail
;
10195 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10202 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10203 PyObject
*resultobj
= 0;
10204 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10205 wxWindow
*arg2
= (wxWindow
*) 0 ;
10206 int arg3
= (int) -1 ;
10207 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10208 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10209 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10210 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10211 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10212 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10213 long arg7
= (long) 0 ;
10214 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10215 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10216 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10217 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10227 bool temp6
= false ;
10232 bool temp9
= false ;
10233 PyObject
* obj0
= 0 ;
10234 PyObject
* obj1
= 0 ;
10235 PyObject
* obj2
= 0 ;
10236 PyObject
* obj3
= 0 ;
10237 PyObject
* obj4
= 0 ;
10238 PyObject
* obj5
= 0 ;
10239 PyObject
* obj6
= 0 ;
10240 PyObject
* obj7
= 0 ;
10241 PyObject
* obj8
= 0 ;
10242 char * kwnames
[] = {
10243 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10248 if (!SWIG_IsOK(res1
)) {
10249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10251 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10252 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10253 if (!SWIG_IsOK(res2
)) {
10254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10256 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10258 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10259 if (!SWIG_IsOK(ecode3
)) {
10260 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10262 arg3
= static_cast< int >(val3
);
10267 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10273 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10278 if (! PySequence_Check(obj5
)) {
10279 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10282 arg6
= new wxArrayString
;
10284 int i
, len
=PySequence_Length(obj5
);
10285 for (i
=0; i
<len
; i
++) {
10286 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10287 wxString
* s
= wxString_in_helper(item
);
10288 if (PyErr_Occurred()) SWIG_fail
;
10296 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10297 if (!SWIG_IsOK(ecode7
)) {
10298 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10300 arg7
= static_cast< long >(val7
);
10303 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10304 if (!SWIG_IsOK(res8
)) {
10305 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10308 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10310 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10314 arg9
= wxString_in_helper(obj8
);
10315 if (arg9
== NULL
) SWIG_fail
;
10320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10321 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10322 wxPyEndAllowThreads(__tstate
);
10323 if (PyErr_Occurred()) SWIG_fail
;
10326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10329 if (temp6
) delete arg6
;
10338 if (temp6
) delete arg6
;
10348 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10349 PyObject
*resultobj
= 0;
10350 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10351 unsigned int arg2
;
10355 unsigned int val2
;
10357 PyObject
* obj0
= 0 ;
10358 PyObject
* obj1
= 0 ;
10359 char * kwnames
[] = {
10360 (char *) "self",(char *) "index", NULL
10363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10365 if (!SWIG_IsOK(res1
)) {
10366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10368 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10369 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10370 if (!SWIG_IsOK(ecode2
)) {
10371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10373 arg2
= static_cast< unsigned int >(val2
);
10375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10376 result
= (bool)(arg1
)->IsChecked(arg2
);
10377 wxPyEndAllowThreads(__tstate
);
10378 if (PyErr_Occurred()) SWIG_fail
;
10381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10389 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10390 PyObject
*resultobj
= 0;
10391 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10392 unsigned int arg2
;
10393 int arg3
= (int) true ;
10396 unsigned int val2
;
10400 PyObject
* obj0
= 0 ;
10401 PyObject
* obj1
= 0 ;
10402 PyObject
* obj2
= 0 ;
10403 char * kwnames
[] = {
10404 (char *) "self",(char *) "index",(char *) "check", NULL
10407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10409 if (!SWIG_IsOK(res1
)) {
10410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10412 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10413 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10414 if (!SWIG_IsOK(ecode2
)) {
10415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10417 arg2
= static_cast< unsigned int >(val2
);
10419 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10420 if (!SWIG_IsOK(ecode3
)) {
10421 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10423 arg3
= static_cast< int >(val3
);
10426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10427 (arg1
)->Check(arg2
,arg3
);
10428 wxPyEndAllowThreads(__tstate
);
10429 if (PyErr_Occurred()) SWIG_fail
;
10431 resultobj
= SWIG_Py_Void();
10438 SWIGINTERN PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10439 PyObject
*resultobj
= 0;
10440 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10444 PyObject
*swig_obj
[1] ;
10446 if (!args
) SWIG_fail
;
10447 swig_obj
[0] = args
;
10448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10449 if (!SWIG_IsOK(res1
)) {
10450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10452 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10455 result
= (int)(arg1
)->GetItemHeight();
10456 wxPyEndAllowThreads(__tstate
);
10457 if (PyErr_Occurred()) SWIG_fail
;
10459 resultobj
= SWIG_From_int(static_cast< int >(result
));
10466 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10468 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10469 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10470 return SWIG_Py_Void();
10473 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10474 return SWIG_Python_InitShadowInstance(args
);
10477 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10478 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10483 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10484 PyObject
*pyobj
= 0;
10488 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10490 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10497 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10498 PyObject
*resultobj
= 0;
10499 wxColour
const &arg1_defvalue
= wxNullColour
;
10500 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10501 wxColour
const &arg2_defvalue
= wxNullColour
;
10502 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10503 wxFont
const &arg3_defvalue
= wxNullFont
;
10504 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10505 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10506 wxTextAttr
*result
= 0 ;
10513 PyObject
* obj0
= 0 ;
10514 PyObject
* obj1
= 0 ;
10515 PyObject
* obj2
= 0 ;
10516 PyObject
* obj3
= 0 ;
10517 char * kwnames
[] = {
10518 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10525 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10531 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10535 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10536 if (!SWIG_IsOK(res3
)) {
10537 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10540 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10542 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10545 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10546 if (!SWIG_IsOK(ecode4
)) {
10547 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10549 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10553 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10554 wxPyEndAllowThreads(__tstate
);
10555 if (PyErr_Occurred()) SWIG_fail
;
10557 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10564 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10565 PyObject
*resultobj
= 0;
10566 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10569 PyObject
*swig_obj
[1] ;
10571 if (!args
) SWIG_fail
;
10572 swig_obj
[0] = args
;
10573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10574 if (!SWIG_IsOK(res1
)) {
10575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10577 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10582 wxPyEndAllowThreads(__tstate
);
10583 if (PyErr_Occurred()) SWIG_fail
;
10585 resultobj
= SWIG_Py_Void();
10592 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10593 PyObject
*resultobj
= 0;
10594 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10597 PyObject
*swig_obj
[1] ;
10599 if (!args
) SWIG_fail
;
10600 swig_obj
[0] = args
;
10601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10602 if (!SWIG_IsOK(res1
)) {
10603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10605 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10609 wxPyEndAllowThreads(__tstate
);
10610 if (PyErr_Occurred()) SWIG_fail
;
10612 resultobj
= SWIG_Py_Void();
10619 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10620 PyObject
*resultobj
= 0;
10621 wxTextAttr
*arg1
= 0 ;
10622 wxTextAttr
*arg2
= 0 ;
10628 PyObject
* obj0
= 0 ;
10629 PyObject
* obj1
= 0 ;
10630 char * kwnames
[] = {
10631 (char *) "base",(char *) "overlay", NULL
10634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10635 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10636 if (!SWIG_IsOK(res1
)) {
10637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10640 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10642 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10643 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10644 if (!SWIG_IsOK(res2
)) {
10645 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10648 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10650 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10653 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10654 wxPyEndAllowThreads(__tstate
);
10655 if (PyErr_Occurred()) SWIG_fail
;
10657 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10664 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10665 PyObject
*resultobj
= 0;
10666 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10667 wxColour
*arg2
= 0 ;
10671 PyObject
* obj0
= 0 ;
10672 PyObject
* obj1
= 0 ;
10673 char * kwnames
[] = {
10674 (char *) "self",(char *) "colText", NULL
10677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10679 if (!SWIG_IsOK(res1
)) {
10680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10682 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10685 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10689 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10690 wxPyEndAllowThreads(__tstate
);
10691 if (PyErr_Occurred()) SWIG_fail
;
10693 resultobj
= SWIG_Py_Void();
10700 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10701 PyObject
*resultobj
= 0;
10702 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10703 wxColour
*arg2
= 0 ;
10707 PyObject
* obj0
= 0 ;
10708 PyObject
* obj1
= 0 ;
10709 char * kwnames
[] = {
10710 (char *) "self",(char *) "colBack", NULL
10713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10715 if (!SWIG_IsOK(res1
)) {
10716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10718 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10721 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10725 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10726 wxPyEndAllowThreads(__tstate
);
10727 if (PyErr_Occurred()) SWIG_fail
;
10729 resultobj
= SWIG_Py_Void();
10736 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10737 PyObject
*resultobj
= 0;
10738 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10740 long arg3
= (long) wxTEXT_ATTR_FONT
;
10747 PyObject
* obj0
= 0 ;
10748 PyObject
* obj1
= 0 ;
10749 PyObject
* obj2
= 0 ;
10750 char * kwnames
[] = {
10751 (char *) "self",(char *) "font",(char *) "flags", NULL
10754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10756 if (!SWIG_IsOK(res1
)) {
10757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10759 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10760 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10761 if (!SWIG_IsOK(res2
)) {
10762 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10765 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10767 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10769 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10770 if (!SWIG_IsOK(ecode3
)) {
10771 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10773 arg3
= static_cast< long >(val3
);
10776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10777 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10778 wxPyEndAllowThreads(__tstate
);
10779 if (PyErr_Occurred()) SWIG_fail
;
10781 resultobj
= SWIG_Py_Void();
10788 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10789 PyObject
*resultobj
= 0;
10790 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10791 wxTextAttrAlignment arg2
;
10796 PyObject
* obj0
= 0 ;
10797 PyObject
* obj1
= 0 ;
10798 char * kwnames
[] = {
10799 (char *) "self",(char *) "alignment", NULL
10802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10804 if (!SWIG_IsOK(res1
)) {
10805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10807 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10809 if (!SWIG_IsOK(ecode2
)) {
10810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10812 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10815 (arg1
)->SetAlignment(arg2
);
10816 wxPyEndAllowThreads(__tstate
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10819 resultobj
= SWIG_Py_Void();
10826 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10827 PyObject
*resultobj
= 0;
10828 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10829 wxArrayInt
*arg2
= 0 ;
10832 bool temp2
= false ;
10833 PyObject
* obj0
= 0 ;
10834 PyObject
* obj1
= 0 ;
10835 char * kwnames
[] = {
10836 (char *) "self",(char *) "tabs", NULL
10839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10841 if (!SWIG_IsOK(res1
)) {
10842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10844 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10846 if (! PySequence_Check(obj1
)) {
10847 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10850 arg2
= new wxArrayInt
;
10852 int i
, len
=PySequence_Length(obj1
);
10853 for (i
=0; i
<len
; i
++) {
10854 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10855 PyObject
* number
= PyNumber_Int(item
);
10857 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10860 arg2
->Add(PyInt_AS_LONG(number
));
10866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10867 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10868 wxPyEndAllowThreads(__tstate
);
10869 if (PyErr_Occurred()) SWIG_fail
;
10871 resultobj
= SWIG_Py_Void();
10873 if (temp2
) delete arg2
;
10878 if (temp2
) delete arg2
;
10884 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10885 PyObject
*resultobj
= 0;
10886 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10888 int arg3
= (int) 0 ;
10895 PyObject
* obj0
= 0 ;
10896 PyObject
* obj1
= 0 ;
10897 PyObject
* obj2
= 0 ;
10898 char * kwnames
[] = {
10899 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10904 if (!SWIG_IsOK(res1
)) {
10905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10907 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10909 if (!SWIG_IsOK(ecode2
)) {
10910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10912 arg2
= static_cast< int >(val2
);
10914 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10915 if (!SWIG_IsOK(ecode3
)) {
10916 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10918 arg3
= static_cast< int >(val3
);
10921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10922 (arg1
)->SetLeftIndent(arg2
,arg3
);
10923 wxPyEndAllowThreads(__tstate
);
10924 if (PyErr_Occurred()) SWIG_fail
;
10926 resultobj
= SWIG_Py_Void();
10933 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10934 PyObject
*resultobj
= 0;
10935 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10941 PyObject
* obj0
= 0 ;
10942 PyObject
* obj1
= 0 ;
10943 char * kwnames
[] = {
10944 (char *) "self",(char *) "indent", NULL
10947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10949 if (!SWIG_IsOK(res1
)) {
10950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10952 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10953 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10954 if (!SWIG_IsOK(ecode2
)) {
10955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10957 arg2
= static_cast< int >(val2
);
10959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10960 (arg1
)->SetRightIndent(arg2
);
10961 wxPyEndAllowThreads(__tstate
);
10962 if (PyErr_Occurred()) SWIG_fail
;
10964 resultobj
= SWIG_Py_Void();
10971 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10972 PyObject
*resultobj
= 0;
10973 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10979 PyObject
* obj0
= 0 ;
10980 PyObject
* obj1
= 0 ;
10981 char * kwnames
[] = {
10982 (char *) "self",(char *) "flags", NULL
10985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10987 if (!SWIG_IsOK(res1
)) {
10988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10990 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10991 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10992 if (!SWIG_IsOK(ecode2
)) {
10993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10995 arg2
= static_cast< long >(val2
);
10997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10998 (arg1
)->SetFlags(arg2
);
10999 wxPyEndAllowThreads(__tstate
);
11000 if (PyErr_Occurred()) SWIG_fail
;
11002 resultobj
= SWIG_Py_Void();
11009 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11010 PyObject
*resultobj
= 0;
11011 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11015 PyObject
*swig_obj
[1] ;
11017 if (!args
) SWIG_fail
;
11018 swig_obj
[0] = args
;
11019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11020 if (!SWIG_IsOK(res1
)) {
11021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11023 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11026 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
11027 wxPyEndAllowThreads(__tstate
);
11028 if (PyErr_Occurred()) SWIG_fail
;
11031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11039 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11040 PyObject
*resultobj
= 0;
11041 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11045 PyObject
*swig_obj
[1] ;
11047 if (!args
) SWIG_fail
;
11048 swig_obj
[0] = args
;
11049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11050 if (!SWIG_IsOK(res1
)) {
11051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11053 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11056 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
11057 wxPyEndAllowThreads(__tstate
);
11058 if (PyErr_Occurred()) SWIG_fail
;
11061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11069 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11070 PyObject
*resultobj
= 0;
11071 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11075 PyObject
*swig_obj
[1] ;
11077 if (!args
) SWIG_fail
;
11078 swig_obj
[0] = args
;
11079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11080 if (!SWIG_IsOK(res1
)) {
11081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11083 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11086 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11087 wxPyEndAllowThreads(__tstate
);
11088 if (PyErr_Occurred()) SWIG_fail
;
11091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11099 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11100 PyObject
*resultobj
= 0;
11101 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11105 PyObject
*swig_obj
[1] ;
11107 if (!args
) SWIG_fail
;
11108 swig_obj
[0] = args
;
11109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11110 if (!SWIG_IsOK(res1
)) {
11111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11113 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11116 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11117 wxPyEndAllowThreads(__tstate
);
11118 if (PyErr_Occurred()) SWIG_fail
;
11121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11129 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11130 PyObject
*resultobj
= 0;
11131 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11135 PyObject
*swig_obj
[1] ;
11137 if (!args
) SWIG_fail
;
11138 swig_obj
[0] = args
;
11139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11140 if (!SWIG_IsOK(res1
)) {
11141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11143 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11146 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11147 wxPyEndAllowThreads(__tstate
);
11148 if (PyErr_Occurred()) SWIG_fail
;
11151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11159 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11160 PyObject
*resultobj
= 0;
11161 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11165 PyObject
*swig_obj
[1] ;
11167 if (!args
) SWIG_fail
;
11168 swig_obj
[0] = args
;
11169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11170 if (!SWIG_IsOK(res1
)) {
11171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11173 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11176 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11177 wxPyEndAllowThreads(__tstate
);
11178 if (PyErr_Occurred()) SWIG_fail
;
11181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11189 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11190 PyObject
*resultobj
= 0;
11191 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11195 PyObject
*swig_obj
[1] ;
11197 if (!args
) SWIG_fail
;
11198 swig_obj
[0] = args
;
11199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11200 if (!SWIG_IsOK(res1
)) {
11201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11203 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11206 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11207 wxPyEndAllowThreads(__tstate
);
11208 if (PyErr_Occurred()) SWIG_fail
;
11211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11219 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11220 PyObject
*resultobj
= 0;
11221 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11228 PyObject
* obj0
= 0 ;
11229 PyObject
* obj1
= 0 ;
11230 char * kwnames
[] = {
11231 (char *) "self",(char *) "flag", NULL
11234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11236 if (!SWIG_IsOK(res1
)) {
11237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11239 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11240 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11241 if (!SWIG_IsOK(ecode2
)) {
11242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11244 arg2
= static_cast< long >(val2
);
11246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11247 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11248 wxPyEndAllowThreads(__tstate
);
11249 if (PyErr_Occurred()) SWIG_fail
;
11252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11260 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11261 PyObject
*resultobj
= 0;
11262 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11263 wxColour
*result
= 0 ;
11266 PyObject
*swig_obj
[1] ;
11268 if (!args
) SWIG_fail
;
11269 swig_obj
[0] = args
;
11270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11271 if (!SWIG_IsOK(res1
)) {
11272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11274 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11278 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11279 result
= (wxColour
*) &_result_ref
;
11281 wxPyEndAllowThreads(__tstate
);
11282 if (PyErr_Occurred()) SWIG_fail
;
11284 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11291 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11292 PyObject
*resultobj
= 0;
11293 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11294 wxColour
*result
= 0 ;
11297 PyObject
*swig_obj
[1] ;
11299 if (!args
) SWIG_fail
;
11300 swig_obj
[0] = args
;
11301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11302 if (!SWIG_IsOK(res1
)) {
11303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11305 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11309 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11310 result
= (wxColour
*) &_result_ref
;
11312 wxPyEndAllowThreads(__tstate
);
11313 if (PyErr_Occurred()) SWIG_fail
;
11315 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11322 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11323 PyObject
*resultobj
= 0;
11324 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11325 wxFont
*result
= 0 ;
11328 PyObject
*swig_obj
[1] ;
11330 if (!args
) SWIG_fail
;
11331 swig_obj
[0] = args
;
11332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11333 if (!SWIG_IsOK(res1
)) {
11334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11336 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11340 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11341 result
= (wxFont
*) &_result_ref
;
11343 wxPyEndAllowThreads(__tstate
);
11344 if (PyErr_Occurred()) SWIG_fail
;
11347 wxFont
* resultptr
= new wxFont(*result
);
11348 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11356 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11357 PyObject
*resultobj
= 0;
11358 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11359 wxTextAttrAlignment result
;
11362 PyObject
*swig_obj
[1] ;
11364 if (!args
) SWIG_fail
;
11365 swig_obj
[0] = args
;
11366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11367 if (!SWIG_IsOK(res1
)) {
11368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11370 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11373 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11374 wxPyEndAllowThreads(__tstate
);
11375 if (PyErr_Occurred()) SWIG_fail
;
11377 resultobj
= SWIG_From_int(static_cast< int >(result
));
11384 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11385 PyObject
*resultobj
= 0;
11386 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11387 wxArrayInt
*result
= 0 ;
11390 PyObject
*swig_obj
[1] ;
11392 if (!args
) SWIG_fail
;
11393 swig_obj
[0] = args
;
11394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11395 if (!SWIG_IsOK(res1
)) {
11396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11398 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11402 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11403 result
= (wxArrayInt
*) &_result_ref
;
11405 wxPyEndAllowThreads(__tstate
);
11406 if (PyErr_Occurred()) SWIG_fail
;
11409 resultobj
= wxArrayInt2PyList_helper(*result
);
11417 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11418 PyObject
*resultobj
= 0;
11419 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11423 PyObject
*swig_obj
[1] ;
11425 if (!args
) SWIG_fail
;
11426 swig_obj
[0] = args
;
11427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11428 if (!SWIG_IsOK(res1
)) {
11429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11431 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11434 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11435 wxPyEndAllowThreads(__tstate
);
11436 if (PyErr_Occurred()) SWIG_fail
;
11438 resultobj
= SWIG_From_long(static_cast< long >(result
));
11445 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11446 PyObject
*resultobj
= 0;
11447 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11451 PyObject
*swig_obj
[1] ;
11453 if (!args
) SWIG_fail
;
11454 swig_obj
[0] = args
;
11455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11456 if (!SWIG_IsOK(res1
)) {
11457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11459 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11462 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11463 wxPyEndAllowThreads(__tstate
);
11464 if (PyErr_Occurred()) SWIG_fail
;
11466 resultobj
= SWIG_From_long(static_cast< long >(result
));
11473 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11474 PyObject
*resultobj
= 0;
11475 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11479 PyObject
*swig_obj
[1] ;
11481 if (!args
) SWIG_fail
;
11482 swig_obj
[0] = args
;
11483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11484 if (!SWIG_IsOK(res1
)) {
11485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11487 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11490 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11491 wxPyEndAllowThreads(__tstate
);
11492 if (PyErr_Occurred()) SWIG_fail
;
11494 resultobj
= SWIG_From_long(static_cast< long >(result
));
11501 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11502 PyObject
*resultobj
= 0;
11503 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11507 PyObject
*swig_obj
[1] ;
11509 if (!args
) SWIG_fail
;
11510 swig_obj
[0] = args
;
11511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11512 if (!SWIG_IsOK(res1
)) {
11513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11515 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11518 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11519 wxPyEndAllowThreads(__tstate
);
11520 if (PyErr_Occurred()) SWIG_fail
;
11522 resultobj
= SWIG_From_long(static_cast< long >(result
));
11529 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11530 PyObject
*resultobj
= 0;
11531 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11535 PyObject
*swig_obj
[1] ;
11537 if (!args
) SWIG_fail
;
11538 swig_obj
[0] = args
;
11539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11540 if (!SWIG_IsOK(res1
)) {
11541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11543 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11546 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11547 wxPyEndAllowThreads(__tstate
);
11548 if (PyErr_Occurred()) SWIG_fail
;
11551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11559 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11560 PyObject
*resultobj
= 0;
11561 wxTextAttr
*arg1
= 0 ;
11562 wxTextAttr
*arg2
= 0 ;
11563 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11571 PyObject
* obj0
= 0 ;
11572 PyObject
* obj1
= 0 ;
11573 PyObject
* obj2
= 0 ;
11574 char * kwnames
[] = {
11575 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11579 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11580 if (!SWIG_IsOK(res1
)) {
11581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11584 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11586 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11587 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11588 if (!SWIG_IsOK(res2
)) {
11589 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11592 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11594 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11595 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11596 if (!SWIG_IsOK(res3
)) {
11597 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11599 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11602 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11603 wxPyEndAllowThreads(__tstate
);
11604 if (PyErr_Occurred()) SWIG_fail
;
11606 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11613 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11615 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11616 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11617 return SWIG_Py_Void();
11620 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11621 return SWIG_Python_InitShadowInstance(args
);
11624 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11625 PyObject
*resultobj
= 0;
11626 wxWindow
*arg1
= (wxWindow
*) 0 ;
11627 int arg2
= (int) -1 ;
11628 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11629 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11630 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11631 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11632 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11633 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11634 long arg6
= (long) 0 ;
11635 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11636 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11637 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11638 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11639 wxTextCtrl
*result
= 0 ;
11644 bool temp3
= false ;
11651 bool temp8
= false ;
11652 PyObject
* obj0
= 0 ;
11653 PyObject
* obj1
= 0 ;
11654 PyObject
* obj2
= 0 ;
11655 PyObject
* obj3
= 0 ;
11656 PyObject
* obj4
= 0 ;
11657 PyObject
* obj5
= 0 ;
11658 PyObject
* obj6
= 0 ;
11659 PyObject
* obj7
= 0 ;
11660 char * kwnames
[] = {
11661 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11666 if (!SWIG_IsOK(res1
)) {
11667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11669 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11671 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11672 if (!SWIG_IsOK(ecode2
)) {
11673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11675 arg2
= static_cast< int >(val2
);
11679 arg3
= wxString_in_helper(obj2
);
11680 if (arg3
== NULL
) SWIG_fail
;
11687 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11693 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11697 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11698 if (!SWIG_IsOK(ecode6
)) {
11699 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11701 arg6
= static_cast< long >(val6
);
11704 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11705 if (!SWIG_IsOK(res7
)) {
11706 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11709 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11711 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11715 arg8
= wxString_in_helper(obj7
);
11716 if (arg8
== NULL
) SWIG_fail
;
11721 if (!wxPyCheckForApp()) SWIG_fail
;
11722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11723 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11724 wxPyEndAllowThreads(__tstate
);
11725 if (PyErr_Occurred()) SWIG_fail
;
11727 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11750 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11751 PyObject
*resultobj
= 0;
11752 wxTextCtrl
*result
= 0 ;
11754 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11756 if (!wxPyCheckForApp()) SWIG_fail
;
11757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11758 result
= (wxTextCtrl
*)new wxTextCtrl();
11759 wxPyEndAllowThreads(__tstate
);
11760 if (PyErr_Occurred()) SWIG_fail
;
11762 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11769 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11770 PyObject
*resultobj
= 0;
11771 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11772 wxWindow
*arg2
= (wxWindow
*) 0 ;
11773 int arg3
= (int) -1 ;
11774 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11775 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11776 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11777 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11778 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11779 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11780 long arg7
= (long) 0 ;
11781 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11782 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11783 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11784 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11792 bool temp4
= false ;
11799 bool temp9
= false ;
11800 PyObject
* obj0
= 0 ;
11801 PyObject
* obj1
= 0 ;
11802 PyObject
* obj2
= 0 ;
11803 PyObject
* obj3
= 0 ;
11804 PyObject
* obj4
= 0 ;
11805 PyObject
* obj5
= 0 ;
11806 PyObject
* obj6
= 0 ;
11807 PyObject
* obj7
= 0 ;
11808 PyObject
* obj8
= 0 ;
11809 char * kwnames
[] = {
11810 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11815 if (!SWIG_IsOK(res1
)) {
11816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11818 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11819 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11820 if (!SWIG_IsOK(res2
)) {
11821 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11823 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11825 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11826 if (!SWIG_IsOK(ecode3
)) {
11827 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11829 arg3
= static_cast< int >(val3
);
11833 arg4
= wxString_in_helper(obj3
);
11834 if (arg4
== NULL
) SWIG_fail
;
11841 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11847 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11851 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11852 if (!SWIG_IsOK(ecode7
)) {
11853 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11855 arg7
= static_cast< long >(val7
);
11858 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11859 if (!SWIG_IsOK(res8
)) {
11860 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11863 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11865 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11869 arg9
= wxString_in_helper(obj8
);
11870 if (arg9
== NULL
) SWIG_fail
;
11875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11876 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11877 wxPyEndAllowThreads(__tstate
);
11878 if (PyErr_Occurred()) SWIG_fail
;
11881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11905 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11906 PyObject
*resultobj
= 0;
11907 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11911 PyObject
*swig_obj
[1] ;
11913 if (!args
) SWIG_fail
;
11914 swig_obj
[0] = args
;
11915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11916 if (!SWIG_IsOK(res1
)) {
11917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11919 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11922 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11923 wxPyEndAllowThreads(__tstate
);
11924 if (PyErr_Occurred()) SWIG_fail
;
11928 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11930 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11939 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11940 PyObject
*resultobj
= 0;
11941 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11942 wxString
*arg2
= 0 ;
11945 bool temp2
= false ;
11946 PyObject
* obj0
= 0 ;
11947 PyObject
* obj1
= 0 ;
11948 char * kwnames
[] = {
11949 (char *) "self",(char *) "value", NULL
11952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11954 if (!SWIG_IsOK(res1
)) {
11955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11957 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11959 arg2
= wxString_in_helper(obj1
);
11960 if (arg2
== NULL
) SWIG_fail
;
11964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11965 (arg1
)->SetValue((wxString
const &)*arg2
);
11966 wxPyEndAllowThreads(__tstate
);
11967 if (PyErr_Occurred()) SWIG_fail
;
11969 resultobj
= SWIG_Py_Void();
11984 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11985 PyObject
*resultobj
= 0;
11986 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11990 PyObject
*swig_obj
[1] ;
11992 if (!args
) SWIG_fail
;
11993 swig_obj
[0] = args
;
11994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11995 if (!SWIG_IsOK(res1
)) {
11996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11998 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12001 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEmpty();
12002 wxPyEndAllowThreads(__tstate
);
12003 if (PyErr_Occurred()) SWIG_fail
;
12006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12014 SWIGINTERN PyObject
*_wrap_TextCtrl_ChangeValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12015 PyObject
*resultobj
= 0;
12016 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12017 wxString
*arg2
= 0 ;
12020 bool temp2
= false ;
12021 PyObject
* obj0
= 0 ;
12022 PyObject
* obj1
= 0 ;
12023 char * kwnames
[] = {
12024 (char *) "self",(char *) "value", NULL
12027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ChangeValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12029 if (!SWIG_IsOK(res1
)) {
12030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12032 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12034 arg2
= wxString_in_helper(obj1
);
12035 if (arg2
== NULL
) SWIG_fail
;
12039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12040 (arg1
)->ChangeValue((wxString
const &)*arg2
);
12041 wxPyEndAllowThreads(__tstate
);
12042 if (PyErr_Occurred()) SWIG_fail
;
12044 resultobj
= SWIG_Py_Void();
12059 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12060 PyObject
*resultobj
= 0;
12061 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12071 PyObject
* obj0
= 0 ;
12072 PyObject
* obj1
= 0 ;
12073 PyObject
* obj2
= 0 ;
12074 char * kwnames
[] = {
12075 (char *) "self",(char *) "from",(char *) "to", NULL
12078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12080 if (!SWIG_IsOK(res1
)) {
12081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12083 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12084 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12085 if (!SWIG_IsOK(ecode2
)) {
12086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
12088 arg2
= static_cast< long >(val2
);
12089 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12090 if (!SWIG_IsOK(ecode3
)) {
12091 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12093 arg3
= static_cast< long >(val3
);
12095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12096 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
12097 wxPyEndAllowThreads(__tstate
);
12098 if (PyErr_Occurred()) SWIG_fail
;
12102 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12104 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12113 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12114 PyObject
*resultobj
= 0;
12115 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12122 PyObject
* obj0
= 0 ;
12123 PyObject
* obj1
= 0 ;
12124 char * kwnames
[] = {
12125 (char *) "self",(char *) "lineNo", NULL
12128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12130 if (!SWIG_IsOK(res1
)) {
12131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12133 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12134 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12135 if (!SWIG_IsOK(ecode2
)) {
12136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12138 arg2
= static_cast< long >(val2
);
12140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12141 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12142 wxPyEndAllowThreads(__tstate
);
12143 if (PyErr_Occurred()) SWIG_fail
;
12145 resultobj
= SWIG_From_int(static_cast< int >(result
));
12152 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12153 PyObject
*resultobj
= 0;
12154 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12161 PyObject
* obj0
= 0 ;
12162 PyObject
* obj1
= 0 ;
12163 char * kwnames
[] = {
12164 (char *) "self",(char *) "lineNo", NULL
12167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12169 if (!SWIG_IsOK(res1
)) {
12170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12172 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12173 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12174 if (!SWIG_IsOK(ecode2
)) {
12175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12177 arg2
= static_cast< long >(val2
);
12179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12180 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12181 wxPyEndAllowThreads(__tstate
);
12182 if (PyErr_Occurred()) SWIG_fail
;
12186 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12188 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12197 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12198 PyObject
*resultobj
= 0;
12199 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12203 PyObject
*swig_obj
[1] ;
12205 if (!args
) SWIG_fail
;
12206 swig_obj
[0] = args
;
12207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12208 if (!SWIG_IsOK(res1
)) {
12209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12211 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12214 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12215 wxPyEndAllowThreads(__tstate
);
12216 if (PyErr_Occurred()) SWIG_fail
;
12218 resultobj
= SWIG_From_int(static_cast< int >(result
));
12225 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12226 PyObject
*resultobj
= 0;
12227 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12231 PyObject
*swig_obj
[1] ;
12233 if (!args
) SWIG_fail
;
12234 swig_obj
[0] = args
;
12235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12236 if (!SWIG_IsOK(res1
)) {
12237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12239 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12242 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12243 wxPyEndAllowThreads(__tstate
);
12244 if (PyErr_Occurred()) SWIG_fail
;
12247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12255 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12256 PyObject
*resultobj
= 0;
12257 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12261 PyObject
*swig_obj
[1] ;
12263 if (!args
) SWIG_fail
;
12264 swig_obj
[0] = args
;
12265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12266 if (!SWIG_IsOK(res1
)) {
12267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12269 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12272 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12273 wxPyEndAllowThreads(__tstate
);
12274 if (PyErr_Occurred()) SWIG_fail
;
12277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12285 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12286 PyObject
*resultobj
= 0;
12287 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12291 PyObject
*swig_obj
[1] ;
12293 if (!args
) SWIG_fail
;
12294 swig_obj
[0] = args
;
12295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12296 if (!SWIG_IsOK(res1
)) {
12297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12299 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12302 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12303 wxPyEndAllowThreads(__tstate
);
12304 if (PyErr_Occurred()) SWIG_fail
;
12307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12315 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12316 PyObject
*resultobj
= 0;
12317 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12321 PyObject
*swig_obj
[1] ;
12323 if (!args
) SWIG_fail
;
12324 swig_obj
[0] = args
;
12325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12326 if (!SWIG_IsOK(res1
)) {
12327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12329 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12332 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12333 wxPyEndAllowThreads(__tstate
);
12334 if (PyErr_Occurred()) SWIG_fail
;
12337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12345 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12346 PyObject
*resultobj
= 0;
12347 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12348 long *arg2
= (long *) 0 ;
12349 long *arg3
= (long *) 0 ;
12353 int res2
= SWIG_TMPOBJ
;
12355 int res3
= SWIG_TMPOBJ
;
12356 PyObject
*swig_obj
[1] ;
12360 if (!args
) SWIG_fail
;
12361 swig_obj
[0] = args
;
12362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12363 if (!SWIG_IsOK(res1
)) {
12364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12366 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12369 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12370 wxPyEndAllowThreads(__tstate
);
12371 if (PyErr_Occurred()) SWIG_fail
;
12373 resultobj
= SWIG_Py_Void();
12374 if (SWIG_IsTmpObj(res2
)) {
12375 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12377 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12378 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12380 if (SWIG_IsTmpObj(res3
)) {
12381 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12383 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12384 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12392 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12393 PyObject
*resultobj
= 0;
12394 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12398 PyObject
*swig_obj
[1] ;
12400 if (!args
) SWIG_fail
;
12401 swig_obj
[0] = args
;
12402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12403 if (!SWIG_IsOK(res1
)) {
12404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12406 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12409 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12410 wxPyEndAllowThreads(__tstate
);
12411 if (PyErr_Occurred()) SWIG_fail
;
12415 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12417 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12426 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12427 PyObject
*resultobj
= 0;
12428 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12431 PyObject
*swig_obj
[1] ;
12433 if (!args
) SWIG_fail
;
12434 swig_obj
[0] = args
;
12435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12436 if (!SWIG_IsOK(res1
)) {
12437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12439 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12443 wxPyEndAllowThreads(__tstate
);
12444 if (PyErr_Occurred()) SWIG_fail
;
12446 resultobj
= SWIG_Py_Void();
12453 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12454 PyObject
*resultobj
= 0;
12455 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12458 wxString
*arg4
= 0 ;
12465 bool temp4
= false ;
12466 PyObject
* obj0
= 0 ;
12467 PyObject
* obj1
= 0 ;
12468 PyObject
* obj2
= 0 ;
12469 PyObject
* obj3
= 0 ;
12470 char * kwnames
[] = {
12471 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12476 if (!SWIG_IsOK(res1
)) {
12477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12479 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12480 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12481 if (!SWIG_IsOK(ecode2
)) {
12482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12484 arg2
= static_cast< long >(val2
);
12485 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12486 if (!SWIG_IsOK(ecode3
)) {
12487 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12489 arg3
= static_cast< long >(val3
);
12491 arg4
= wxString_in_helper(obj3
);
12492 if (arg4
== NULL
) SWIG_fail
;
12496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12497 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12498 wxPyEndAllowThreads(__tstate
);
12499 if (PyErr_Occurred()) SWIG_fail
;
12501 resultobj
= SWIG_Py_Void();
12516 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12517 PyObject
*resultobj
= 0;
12518 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12527 PyObject
* obj0
= 0 ;
12528 PyObject
* obj1
= 0 ;
12529 PyObject
* obj2
= 0 ;
12530 char * kwnames
[] = {
12531 (char *) "self",(char *) "from",(char *) "to", NULL
12534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12536 if (!SWIG_IsOK(res1
)) {
12537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12539 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12540 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12541 if (!SWIG_IsOK(ecode2
)) {
12542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12544 arg2
= static_cast< long >(val2
);
12545 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12546 if (!SWIG_IsOK(ecode3
)) {
12547 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12549 arg3
= static_cast< long >(val3
);
12551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12552 (arg1
)->Remove(arg2
,arg3
);
12553 wxPyEndAllowThreads(__tstate
);
12554 if (PyErr_Occurred()) SWIG_fail
;
12556 resultobj
= SWIG_Py_Void();
12563 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12564 PyObject
*resultobj
= 0;
12565 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12566 wxString
*arg2
= 0 ;
12567 int arg3
= (int) wxTEXT_TYPE_ANY
;
12571 bool temp2
= false ;
12574 PyObject
* obj0
= 0 ;
12575 PyObject
* obj1
= 0 ;
12576 PyObject
* obj2
= 0 ;
12577 char * kwnames
[] = {
12578 (char *) "self",(char *) "file",(char *) "fileType", NULL
12581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12583 if (!SWIG_IsOK(res1
)) {
12584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12586 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12588 arg2
= wxString_in_helper(obj1
);
12589 if (arg2
== NULL
) SWIG_fail
;
12593 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12594 if (!SWIG_IsOK(ecode3
)) {
12595 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12597 arg3
= static_cast< int >(val3
);
12600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12601 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
12602 wxPyEndAllowThreads(__tstate
);
12603 if (PyErr_Occurred()) SWIG_fail
;
12606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12622 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12623 PyObject
*resultobj
= 0;
12624 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12625 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12626 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12627 int arg3
= (int) wxTEXT_TYPE_ANY
;
12631 bool temp2
= false ;
12634 PyObject
* obj0
= 0 ;
12635 PyObject
* obj1
= 0 ;
12636 PyObject
* obj2
= 0 ;
12637 char * kwnames
[] = {
12638 (char *) "self",(char *) "file",(char *) "fileType", NULL
12641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12643 if (!SWIG_IsOK(res1
)) {
12644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12646 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12649 arg2
= wxString_in_helper(obj1
);
12650 if (arg2
== NULL
) SWIG_fail
;
12655 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12656 if (!SWIG_IsOK(ecode3
)) {
12657 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12659 arg3
= static_cast< int >(val3
);
12662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12663 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12664 wxPyEndAllowThreads(__tstate
);
12665 if (PyErr_Occurred()) SWIG_fail
;
12668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12684 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12685 PyObject
*resultobj
= 0;
12686 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12689 PyObject
*swig_obj
[1] ;
12691 if (!args
) SWIG_fail
;
12692 swig_obj
[0] = args
;
12693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12694 if (!SWIG_IsOK(res1
)) {
12695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12697 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12700 (arg1
)->MarkDirty();
12701 wxPyEndAllowThreads(__tstate
);
12702 if (PyErr_Occurred()) SWIG_fail
;
12704 resultobj
= SWIG_Py_Void();
12711 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12712 PyObject
*resultobj
= 0;
12713 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12716 PyObject
*swig_obj
[1] ;
12718 if (!args
) SWIG_fail
;
12719 swig_obj
[0] = args
;
12720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12721 if (!SWIG_IsOK(res1
)) {
12722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12724 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12727 (arg1
)->DiscardEdits();
12728 wxPyEndAllowThreads(__tstate
);
12729 if (PyErr_Occurred()) SWIG_fail
;
12731 resultobj
= SWIG_Py_Void();
12738 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12739 PyObject
*resultobj
= 0;
12740 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12746 PyObject
* obj0
= 0 ;
12747 PyObject
* obj1
= 0 ;
12748 char * kwnames
[] = {
12749 (char *) "self",(char *) "modified", NULL
12752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12754 if (!SWIG_IsOK(res1
)) {
12755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12757 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12758 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12759 if (!SWIG_IsOK(ecode2
)) {
12760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12762 arg2
= static_cast< bool >(val2
);
12764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12765 (arg1
)->SetModified(arg2
);
12766 wxPyEndAllowThreads(__tstate
);
12767 if (PyErr_Occurred()) SWIG_fail
;
12769 resultobj
= SWIG_Py_Void();
12776 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12777 PyObject
*resultobj
= 0;
12778 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12779 unsigned long arg2
;
12782 unsigned long val2
;
12784 PyObject
* obj0
= 0 ;
12785 PyObject
* obj1
= 0 ;
12786 char * kwnames
[] = {
12787 (char *) "self",(char *) "len", NULL
12790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12792 if (!SWIG_IsOK(res1
)) {
12793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12795 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12796 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12797 if (!SWIG_IsOK(ecode2
)) {
12798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12800 arg2
= static_cast< unsigned long >(val2
);
12802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12803 (arg1
)->SetMaxLength(arg2
);
12804 wxPyEndAllowThreads(__tstate
);
12805 if (PyErr_Occurred()) SWIG_fail
;
12807 resultobj
= SWIG_Py_Void();
12814 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12815 PyObject
*resultobj
= 0;
12816 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12817 wxString
*arg2
= 0 ;
12820 bool temp2
= false ;
12821 PyObject
* obj0
= 0 ;
12822 PyObject
* obj1
= 0 ;
12823 char * kwnames
[] = {
12824 (char *) "self",(char *) "text", NULL
12827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12829 if (!SWIG_IsOK(res1
)) {
12830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12832 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12834 arg2
= wxString_in_helper(obj1
);
12835 if (arg2
== NULL
) SWIG_fail
;
12839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12840 (arg1
)->WriteText((wxString
const &)*arg2
);
12841 wxPyEndAllowThreads(__tstate
);
12842 if (PyErr_Occurred()) SWIG_fail
;
12844 resultobj
= SWIG_Py_Void();
12859 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12860 PyObject
*resultobj
= 0;
12861 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12862 wxString
*arg2
= 0 ;
12865 bool temp2
= false ;
12866 PyObject
* obj0
= 0 ;
12867 PyObject
* obj1
= 0 ;
12868 char * kwnames
[] = {
12869 (char *) "self",(char *) "text", NULL
12872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12874 if (!SWIG_IsOK(res1
)) {
12875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12877 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12879 arg2
= wxString_in_helper(obj1
);
12880 if (arg2
== NULL
) SWIG_fail
;
12884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12885 (arg1
)->AppendText((wxString
const &)*arg2
);
12886 wxPyEndAllowThreads(__tstate
);
12887 if (PyErr_Occurred()) SWIG_fail
;
12889 resultobj
= SWIG_Py_Void();
12904 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12905 PyObject
*resultobj
= 0;
12906 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12907 wxKeyEvent
*arg2
= 0 ;
12913 PyObject
* obj0
= 0 ;
12914 PyObject
* obj1
= 0 ;
12915 char * kwnames
[] = {
12916 (char *) "self",(char *) "event", NULL
12919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12921 if (!SWIG_IsOK(res1
)) {
12922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12924 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12925 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12926 if (!SWIG_IsOK(res2
)) {
12927 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12930 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12932 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12935 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12936 wxPyEndAllowThreads(__tstate
);
12937 if (PyErr_Occurred()) SWIG_fail
;
12940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12948 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12949 PyObject
*resultobj
= 0;
12950 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12953 wxTextAttr
*arg4
= 0 ;
12963 PyObject
* obj0
= 0 ;
12964 PyObject
* obj1
= 0 ;
12965 PyObject
* obj2
= 0 ;
12966 PyObject
* obj3
= 0 ;
12967 char * kwnames
[] = {
12968 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12973 if (!SWIG_IsOK(res1
)) {
12974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12976 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12977 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12978 if (!SWIG_IsOK(ecode2
)) {
12979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12981 arg2
= static_cast< long >(val2
);
12982 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12983 if (!SWIG_IsOK(ecode3
)) {
12984 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12986 arg3
= static_cast< long >(val3
);
12987 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12988 if (!SWIG_IsOK(res4
)) {
12989 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12992 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12994 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12997 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12998 wxPyEndAllowThreads(__tstate
);
12999 if (PyErr_Occurred()) SWIG_fail
;
13002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13010 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13011 PyObject
*resultobj
= 0;
13012 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13014 wxTextAttr
*arg3
= 0 ;
13022 PyObject
* obj0
= 0 ;
13023 PyObject
* obj1
= 0 ;
13024 PyObject
* obj2
= 0 ;
13025 char * kwnames
[] = {
13026 (char *) "self",(char *) "position",(char *) "style", NULL
13029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13031 if (!SWIG_IsOK(res1
)) {
13032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13034 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13035 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13036 if (!SWIG_IsOK(ecode2
)) {
13037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
13039 arg2
= static_cast< long >(val2
);
13040 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
13041 if (!SWIG_IsOK(res3
)) {
13042 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13045 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13047 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
13049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13050 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
13051 wxPyEndAllowThreads(__tstate
);
13052 if (PyErr_Occurred()) SWIG_fail
;
13055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13063 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13064 PyObject
*resultobj
= 0;
13065 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13066 wxTextAttr
*arg2
= 0 ;
13072 PyObject
* obj0
= 0 ;
13073 PyObject
* obj1
= 0 ;
13074 char * kwnames
[] = {
13075 (char *) "self",(char *) "style", NULL
13078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",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_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13083 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13084 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
13085 if (!SWIG_IsOK(res2
)) {
13086 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13089 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13091 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
13093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13094 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
13095 wxPyEndAllowThreads(__tstate
);
13096 if (PyErr_Occurred()) SWIG_fail
;
13099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13107 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13108 PyObject
*resultobj
= 0;
13109 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13110 wxTextAttr
*result
= 0 ;
13113 PyObject
*swig_obj
[1] ;
13115 if (!args
) SWIG_fail
;
13116 swig_obj
[0] = args
;
13117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13118 if (!SWIG_IsOK(res1
)) {
13119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13121 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13125 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
13126 result
= (wxTextAttr
*) &_result_ref
;
13128 wxPyEndAllowThreads(__tstate
);
13129 if (PyErr_Occurred()) SWIG_fail
;
13131 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
13138 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13139 PyObject
*resultobj
= 0;
13140 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13150 PyObject
* obj0
= 0 ;
13151 PyObject
* obj1
= 0 ;
13152 PyObject
* obj2
= 0 ;
13153 char * kwnames
[] = {
13154 (char *) "self",(char *) "x",(char *) "y", NULL
13157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13159 if (!SWIG_IsOK(res1
)) {
13160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13162 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13163 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13164 if (!SWIG_IsOK(ecode2
)) {
13165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13167 arg2
= static_cast< long >(val2
);
13168 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13169 if (!SWIG_IsOK(ecode3
)) {
13170 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13172 arg3
= static_cast< long >(val3
);
13174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13175 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
13176 wxPyEndAllowThreads(__tstate
);
13177 if (PyErr_Occurred()) SWIG_fail
;
13179 resultobj
= SWIG_From_long(static_cast< long >(result
));
13186 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13187 PyObject
*resultobj
= 0;
13188 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13190 long *arg3
= (long *) 0 ;
13191 long *arg4
= (long *) 0 ;
13197 int res3
= SWIG_TMPOBJ
;
13199 int res4
= SWIG_TMPOBJ
;
13200 PyObject
* obj0
= 0 ;
13201 PyObject
* obj1
= 0 ;
13202 char * kwnames
[] = {
13203 (char *) "self",(char *) "pos", NULL
13208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13210 if (!SWIG_IsOK(res1
)) {
13211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13213 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13214 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13215 if (!SWIG_IsOK(ecode2
)) {
13216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13218 arg2
= static_cast< long >(val2
);
13220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13221 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13222 wxPyEndAllowThreads(__tstate
);
13223 if (PyErr_Occurred()) SWIG_fail
;
13225 resultobj
= SWIG_Py_Void();
13226 if (SWIG_IsTmpObj(res3
)) {
13227 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13229 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13230 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13232 if (SWIG_IsTmpObj(res4
)) {
13233 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13235 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13236 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13244 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13245 PyObject
*resultobj
= 0;
13246 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13252 PyObject
* obj0
= 0 ;
13253 PyObject
* obj1
= 0 ;
13254 char * kwnames
[] = {
13255 (char *) "self",(char *) "pos", NULL
13258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13260 if (!SWIG_IsOK(res1
)) {
13261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13263 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13264 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13265 if (!SWIG_IsOK(ecode2
)) {
13266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13268 arg2
= static_cast< long >(val2
);
13270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13271 (arg1
)->ShowPosition(arg2
);
13272 wxPyEndAllowThreads(__tstate
);
13273 if (PyErr_Occurred()) SWIG_fail
;
13275 resultobj
= SWIG_Py_Void();
13282 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13283 PyObject
*resultobj
= 0;
13284 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13285 wxPoint
*arg2
= 0 ;
13286 long *arg3
= (long *) 0 ;
13287 long *arg4
= (long *) 0 ;
13288 wxTextCtrlHitTestResult result
;
13293 int res3
= SWIG_TMPOBJ
;
13295 int res4
= SWIG_TMPOBJ
;
13296 PyObject
* obj0
= 0 ;
13297 PyObject
* obj1
= 0 ;
13298 char * kwnames
[] = {
13299 (char *) "self",(char *) "pt", NULL
13304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13306 if (!SWIG_IsOK(res1
)) {
13307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13309 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13312 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13316 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13317 wxPyEndAllowThreads(__tstate
);
13318 if (PyErr_Occurred()) SWIG_fail
;
13320 resultobj
= SWIG_From_int(static_cast< int >(result
));
13321 if (SWIG_IsTmpObj(res3
)) {
13322 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13324 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13325 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13327 if (SWIG_IsTmpObj(res4
)) {
13328 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13330 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13331 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13339 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13340 PyObject
*resultobj
= 0;
13341 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13342 wxPoint
*arg2
= 0 ;
13343 long *arg3
= (long *) 0 ;
13344 wxTextCtrlHitTestResult result
;
13349 int res3
= SWIG_TMPOBJ
;
13350 PyObject
* obj0
= 0 ;
13351 PyObject
* obj1
= 0 ;
13352 char * kwnames
[] = {
13353 (char *) "self",(char *) "pt", NULL
13357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13359 if (!SWIG_IsOK(res1
)) {
13360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13362 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13365 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13369 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13370 wxPyEndAllowThreads(__tstate
);
13371 if (PyErr_Occurred()) SWIG_fail
;
13373 resultobj
= SWIG_From_int(static_cast< int >(result
));
13374 if (SWIG_IsTmpObj(res3
)) {
13375 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13377 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13378 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13386 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13387 PyObject
*resultobj
= 0;
13388 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13391 PyObject
*swig_obj
[1] ;
13393 if (!args
) SWIG_fail
;
13394 swig_obj
[0] = args
;
13395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13396 if (!SWIG_IsOK(res1
)) {
13397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13399 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13403 wxPyEndAllowThreads(__tstate
);
13404 if (PyErr_Occurred()) SWIG_fail
;
13406 resultobj
= SWIG_Py_Void();
13413 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13414 PyObject
*resultobj
= 0;
13415 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13418 PyObject
*swig_obj
[1] ;
13420 if (!args
) SWIG_fail
;
13421 swig_obj
[0] = args
;
13422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13423 if (!SWIG_IsOK(res1
)) {
13424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13426 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13430 wxPyEndAllowThreads(__tstate
);
13431 if (PyErr_Occurred()) SWIG_fail
;
13433 resultobj
= SWIG_Py_Void();
13440 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13441 PyObject
*resultobj
= 0;
13442 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13445 PyObject
*swig_obj
[1] ;
13447 if (!args
) SWIG_fail
;
13448 swig_obj
[0] = args
;
13449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13450 if (!SWIG_IsOK(res1
)) {
13451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13453 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13457 wxPyEndAllowThreads(__tstate
);
13458 if (PyErr_Occurred()) SWIG_fail
;
13460 resultobj
= SWIG_Py_Void();
13467 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13468 PyObject
*resultobj
= 0;
13469 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13473 PyObject
*swig_obj
[1] ;
13475 if (!args
) SWIG_fail
;
13476 swig_obj
[0] = args
;
13477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13478 if (!SWIG_IsOK(res1
)) {
13479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13481 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13484 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13485 wxPyEndAllowThreads(__tstate
);
13486 if (PyErr_Occurred()) SWIG_fail
;
13489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13497 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13498 PyObject
*resultobj
= 0;
13499 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13503 PyObject
*swig_obj
[1] ;
13505 if (!args
) SWIG_fail
;
13506 swig_obj
[0] = args
;
13507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13508 if (!SWIG_IsOK(res1
)) {
13509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13511 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13514 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13515 wxPyEndAllowThreads(__tstate
);
13516 if (PyErr_Occurred()) SWIG_fail
;
13519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13527 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13528 PyObject
*resultobj
= 0;
13529 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13533 PyObject
*swig_obj
[1] ;
13535 if (!args
) SWIG_fail
;
13536 swig_obj
[0] = args
;
13537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13538 if (!SWIG_IsOK(res1
)) {
13539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13541 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13544 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13545 wxPyEndAllowThreads(__tstate
);
13546 if (PyErr_Occurred()) SWIG_fail
;
13549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13557 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13558 PyObject
*resultobj
= 0;
13559 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_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13570 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13574 wxPyEndAllowThreads(__tstate
);
13575 if (PyErr_Occurred()) SWIG_fail
;
13577 resultobj
= SWIG_Py_Void();
13584 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13585 PyObject
*resultobj
= 0;
13586 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13589 PyObject
*swig_obj
[1] ;
13591 if (!args
) SWIG_fail
;
13592 swig_obj
[0] = args
;
13593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13594 if (!SWIG_IsOK(res1
)) {
13595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13597 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13601 wxPyEndAllowThreads(__tstate
);
13602 if (PyErr_Occurred()) SWIG_fail
;
13604 resultobj
= SWIG_Py_Void();
13611 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13612 PyObject
*resultobj
= 0;
13613 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13617 PyObject
*swig_obj
[1] ;
13619 if (!args
) SWIG_fail
;
13620 swig_obj
[0] = args
;
13621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13622 if (!SWIG_IsOK(res1
)) {
13623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13625 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13628 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13629 wxPyEndAllowThreads(__tstate
);
13630 if (PyErr_Occurred()) SWIG_fail
;
13633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13641 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13642 PyObject
*resultobj
= 0;
13643 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13647 PyObject
*swig_obj
[1] ;
13649 if (!args
) SWIG_fail
;
13650 swig_obj
[0] = args
;
13651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13652 if (!SWIG_IsOK(res1
)) {
13653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13655 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13658 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13659 wxPyEndAllowThreads(__tstate
);
13660 if (PyErr_Occurred()) SWIG_fail
;
13663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13671 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13672 PyObject
*resultobj
= 0;
13673 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13679 PyObject
* obj0
= 0 ;
13680 PyObject
* obj1
= 0 ;
13681 char * kwnames
[] = {
13682 (char *) "self",(char *) "pos", NULL
13685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13687 if (!SWIG_IsOK(res1
)) {
13688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13690 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13691 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13692 if (!SWIG_IsOK(ecode2
)) {
13693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13695 arg2
= static_cast< long >(val2
);
13697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13698 (arg1
)->SetInsertionPoint(arg2
);
13699 wxPyEndAllowThreads(__tstate
);
13700 if (PyErr_Occurred()) SWIG_fail
;
13702 resultobj
= SWIG_Py_Void();
13709 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13710 PyObject
*resultobj
= 0;
13711 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13714 PyObject
*swig_obj
[1] ;
13716 if (!args
) SWIG_fail
;
13717 swig_obj
[0] = args
;
13718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13719 if (!SWIG_IsOK(res1
)) {
13720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13722 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13725 (arg1
)->SetInsertionPointEnd();
13726 wxPyEndAllowThreads(__tstate
);
13727 if (PyErr_Occurred()) SWIG_fail
;
13729 resultobj
= SWIG_Py_Void();
13736 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13737 PyObject
*resultobj
= 0;
13738 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13742 PyObject
*swig_obj
[1] ;
13744 if (!args
) SWIG_fail
;
13745 swig_obj
[0] = args
;
13746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13747 if (!SWIG_IsOK(res1
)) {
13748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13750 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13753 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13754 wxPyEndAllowThreads(__tstate
);
13755 if (PyErr_Occurred()) SWIG_fail
;
13757 resultobj
= SWIG_From_long(static_cast< long >(result
));
13764 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13765 PyObject
*resultobj
= 0;
13766 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13770 PyObject
*swig_obj
[1] ;
13772 if (!args
) SWIG_fail
;
13773 swig_obj
[0] = args
;
13774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13775 if (!SWIG_IsOK(res1
)) {
13776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13778 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13781 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13782 wxPyEndAllowThreads(__tstate
);
13783 if (PyErr_Occurred()) SWIG_fail
;
13785 resultobj
= SWIG_From_long(static_cast< long >(result
));
13792 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13793 PyObject
*resultobj
= 0;
13794 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13803 PyObject
* obj0
= 0 ;
13804 PyObject
* obj1
= 0 ;
13805 PyObject
* obj2
= 0 ;
13806 char * kwnames
[] = {
13807 (char *) "self",(char *) "from",(char *) "to", NULL
13810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) 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_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13815 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13816 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13817 if (!SWIG_IsOK(ecode2
)) {
13818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13820 arg2
= static_cast< long >(val2
);
13821 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13822 if (!SWIG_IsOK(ecode3
)) {
13823 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13825 arg3
= static_cast< long >(val3
);
13827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13828 (arg1
)->SetSelection(arg2
,arg3
);
13829 wxPyEndAllowThreads(__tstate
);
13830 if (PyErr_Occurred()) SWIG_fail
;
13832 resultobj
= SWIG_Py_Void();
13839 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13840 PyObject
*resultobj
= 0;
13841 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13844 PyObject
*swig_obj
[1] ;
13846 if (!args
) SWIG_fail
;
13847 swig_obj
[0] = args
;
13848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13849 if (!SWIG_IsOK(res1
)) {
13850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13852 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13855 (arg1
)->SelectAll();
13856 wxPyEndAllowThreads(__tstate
);
13857 if (PyErr_Occurred()) SWIG_fail
;
13859 resultobj
= SWIG_Py_Void();
13866 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13867 PyObject
*resultobj
= 0;
13868 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13874 PyObject
* obj0
= 0 ;
13875 PyObject
* obj1
= 0 ;
13876 char * kwnames
[] = {
13877 (char *) "self",(char *) "editable", NULL
13880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13882 if (!SWIG_IsOK(res1
)) {
13883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13885 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13886 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13887 if (!SWIG_IsOK(ecode2
)) {
13888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13890 arg2
= static_cast< bool >(val2
);
13892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13893 (arg1
)->SetEditable(arg2
);
13894 wxPyEndAllowThreads(__tstate
);
13895 if (PyErr_Occurred()) SWIG_fail
;
13897 resultobj
= SWIG_Py_Void();
13904 SWIGINTERN PyObject
*_wrap_TextCtrl_MacCheckSpelling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13905 PyObject
*resultobj
= 0;
13906 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13912 PyObject
* obj0
= 0 ;
13913 PyObject
* obj1
= 0 ;
13914 char * kwnames
[] = {
13915 (char *) "self",(char *) "check", NULL
13918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_MacCheckSpelling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13920 if (!SWIG_IsOK(res1
)) {
13921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13923 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13924 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13925 if (!SWIG_IsOK(ecode2
)) {
13926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "2"" of type '" "bool""'");
13928 arg2
= static_cast< bool >(val2
);
13930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13931 wxTextCtrl_MacCheckSpelling(arg1
,arg2
);
13932 wxPyEndAllowThreads(__tstate
);
13933 if (PyErr_Occurred()) SWIG_fail
;
13935 resultobj
= SWIG_Py_Void();
13942 SWIGINTERN PyObject
*_wrap_TextCtrl_SendTextUpdatedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13943 PyObject
*resultobj
= 0;
13944 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13947 PyObject
*swig_obj
[1] ;
13949 if (!args
) SWIG_fail
;
13950 swig_obj
[0] = args
;
13951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13952 if (!SWIG_IsOK(res1
)) {
13953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13955 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13958 (arg1
)->SendTextUpdatedEvent();
13959 wxPyEndAllowThreads(__tstate
);
13960 if (PyErr_Occurred()) SWIG_fail
;
13962 resultobj
= SWIG_Py_Void();
13969 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13970 PyObject
*resultobj
= 0;
13971 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13972 bool arg2
= (bool) true ;
13978 PyObject
* obj0
= 0 ;
13979 PyObject
* obj1
= 0 ;
13980 char * kwnames
[] = {
13981 (char *) "self",(char *) "show", NULL
13984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13986 if (!SWIG_IsOK(res1
)) {
13987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13989 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13991 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13992 if (!SWIG_IsOK(ecode2
)) {
13993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "2"" of type '" "bool""'");
13995 arg2
= static_cast< bool >(val2
);
13998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13999 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
14000 wxPyEndAllowThreads(__tstate
);
14001 if (PyErr_Occurred()) SWIG_fail
;
14004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14012 SWIGINTERN PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14013 PyObject
*resultobj
= 0;
14014 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
14018 PyObject
*swig_obj
[1] ;
14020 if (!args
) SWIG_fail
;
14021 swig_obj
[0] = args
;
14022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
14023 if (!SWIG_IsOK(res1
)) {
14024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HideNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14026 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14029 result
= (bool)(arg1
)->HideNativeCaret();
14030 wxPyEndAllowThreads(__tstate
);
14031 if (PyErr_Occurred()) SWIG_fail
;
14034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14042 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14043 PyObject
*resultobj
= 0;
14044 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
14045 wxString
*arg2
= 0 ;
14048 bool temp2
= false ;
14049 PyObject
* obj0
= 0 ;
14050 PyObject
* obj1
= 0 ;
14051 char * kwnames
[] = {
14052 (char *) "self",(char *) "text", NULL
14055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
14057 if (!SWIG_IsOK(res1
)) {
14058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14060 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14062 arg2
= wxString_in_helper(obj1
);
14063 if (arg2
== NULL
) SWIG_fail
;
14067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14068 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
14069 wxPyEndAllowThreads(__tstate
);
14070 if (PyErr_Occurred()) SWIG_fail
;
14072 resultobj
= SWIG_Py_Void();
14087 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14088 PyObject
*resultobj
= 0;
14089 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
14099 PyObject
* obj0
= 0 ;
14100 PyObject
* obj1
= 0 ;
14101 PyObject
* obj2
= 0 ;
14102 char * kwnames
[] = {
14103 (char *) "self",(char *) "from",(char *) "to", NULL
14106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
14108 if (!SWIG_IsOK(res1
)) {
14109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14111 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14112 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
14113 if (!SWIG_IsOK(ecode2
)) {
14114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
14116 arg2
= static_cast< long >(val2
);
14117 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14118 if (!SWIG_IsOK(ecode3
)) {
14119 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
14121 arg3
= static_cast< long >(val3
);
14123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14124 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
14125 wxPyEndAllowThreads(__tstate
);
14126 if (PyErr_Occurred()) SWIG_fail
;
14130 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14132 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14141 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14142 PyObject
*resultobj
= 0;
14143 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14144 SwigValueWrapper
<wxVisualAttributes
> result
;
14147 PyObject
* obj0
= 0 ;
14148 char * kwnames
[] = {
14149 (char *) "variant", NULL
14152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14154 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14155 if (!SWIG_IsOK(ecode1
)) {
14156 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14158 arg1
= static_cast< wxWindowVariant
>(val1
);
14161 if (!wxPyCheckForApp()) SWIG_fail
;
14162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14163 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
14164 wxPyEndAllowThreads(__tstate
);
14165 if (PyErr_Occurred()) SWIG_fail
;
14167 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14174 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14176 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14177 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
14178 return SWIG_Py_Void();
14181 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14182 return SWIG_Python_InitShadowInstance(args
);
14185 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14186 PyObject
*resultobj
= 0;
14188 wxMouseEvent
*arg2
= 0 ;
14191 wxTextUrlEvent
*result
= 0 ;
14200 PyObject
* obj0
= 0 ;
14201 PyObject
* obj1
= 0 ;
14202 PyObject
* obj2
= 0 ;
14203 PyObject
* obj3
= 0 ;
14204 char * kwnames
[] = {
14205 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14209 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14210 if (!SWIG_IsOK(ecode1
)) {
14211 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14213 arg1
= static_cast< int >(val1
);
14214 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
14215 if (!SWIG_IsOK(res2
)) {
14216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14221 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
14222 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14223 if (!SWIG_IsOK(ecode3
)) {
14224 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14226 arg3
= static_cast< long >(val3
);
14227 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
14228 if (!SWIG_IsOK(ecode4
)) {
14229 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14231 arg4
= static_cast< long >(val4
);
14233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14234 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
14235 wxPyEndAllowThreads(__tstate
);
14236 if (PyErr_Occurred()) SWIG_fail
;
14238 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
14245 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14246 PyObject
*resultobj
= 0;
14247 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14248 wxMouseEvent
*result
= 0 ;
14251 PyObject
*swig_obj
[1] ;
14253 if (!args
) SWIG_fail
;
14254 swig_obj
[0] = args
;
14255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14256 if (!SWIG_IsOK(res1
)) {
14257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14259 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14263 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
14264 result
= (wxMouseEvent
*) &_result_ref
;
14266 wxPyEndAllowThreads(__tstate
);
14267 if (PyErr_Occurred()) SWIG_fail
;
14269 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14276 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14277 PyObject
*resultobj
= 0;
14278 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14282 PyObject
*swig_obj
[1] ;
14284 if (!args
) SWIG_fail
;
14285 swig_obj
[0] = args
;
14286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14287 if (!SWIG_IsOK(res1
)) {
14288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14290 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14293 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14294 wxPyEndAllowThreads(__tstate
);
14295 if (PyErr_Occurred()) SWIG_fail
;
14297 resultobj
= SWIG_From_long(static_cast< long >(result
));
14304 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14305 PyObject
*resultobj
= 0;
14306 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14310 PyObject
*swig_obj
[1] ;
14312 if (!args
) SWIG_fail
;
14313 swig_obj
[0] = args
;
14314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14315 if (!SWIG_IsOK(res1
)) {
14316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14318 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14321 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14322 wxPyEndAllowThreads(__tstate
);
14323 if (PyErr_Occurred()) SWIG_fail
;
14325 resultobj
= SWIG_From_long(static_cast< long >(result
));
14332 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14334 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14335 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14336 return SWIG_Py_Void();
14339 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14340 return SWIG_Python_InitShadowInstance(args
);
14343 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14344 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14349 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14350 PyObject
*pyobj
= 0;
14354 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14356 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14363 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14364 PyObject
*resultobj
= 0;
14365 wxWindow
*arg1
= (wxWindow
*) 0 ;
14366 int arg2
= (int) -1 ;
14367 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14368 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14369 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14370 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14371 long arg5
= (long) wxSB_HORIZONTAL
;
14372 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14373 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14374 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14375 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14376 wxScrollBar
*result
= 0 ;
14387 bool temp7
= false ;
14388 PyObject
* obj0
= 0 ;
14389 PyObject
* obj1
= 0 ;
14390 PyObject
* obj2
= 0 ;
14391 PyObject
* obj3
= 0 ;
14392 PyObject
* obj4
= 0 ;
14393 PyObject
* obj5
= 0 ;
14394 PyObject
* obj6
= 0 ;
14395 char * kwnames
[] = {
14396 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14401 if (!SWIG_IsOK(res1
)) {
14402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14404 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14406 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14407 if (!SWIG_IsOK(ecode2
)) {
14408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14410 arg2
= static_cast< int >(val2
);
14415 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14421 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14425 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14426 if (!SWIG_IsOK(ecode5
)) {
14427 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14429 arg5
= static_cast< long >(val5
);
14432 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14433 if (!SWIG_IsOK(res6
)) {
14434 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14437 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14439 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14443 arg7
= wxString_in_helper(obj6
);
14444 if (arg7
== NULL
) SWIG_fail
;
14449 if (!wxPyCheckForApp()) SWIG_fail
;
14450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14451 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14452 wxPyEndAllowThreads(__tstate
);
14453 if (PyErr_Occurred()) SWIG_fail
;
14455 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14470 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14471 PyObject
*resultobj
= 0;
14472 wxScrollBar
*result
= 0 ;
14474 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14476 if (!wxPyCheckForApp()) SWIG_fail
;
14477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14478 result
= (wxScrollBar
*)new wxScrollBar();
14479 wxPyEndAllowThreads(__tstate
);
14480 if (PyErr_Occurred()) SWIG_fail
;
14482 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14489 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14490 PyObject
*resultobj
= 0;
14491 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14492 wxWindow
*arg2
= (wxWindow
*) 0 ;
14493 int arg3
= (int) -1 ;
14494 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14495 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14496 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14497 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14498 long arg6
= (long) wxSB_HORIZONTAL
;
14499 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14500 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14501 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14502 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14516 bool temp8
= false ;
14517 PyObject
* obj0
= 0 ;
14518 PyObject
* obj1
= 0 ;
14519 PyObject
* obj2
= 0 ;
14520 PyObject
* obj3
= 0 ;
14521 PyObject
* obj4
= 0 ;
14522 PyObject
* obj5
= 0 ;
14523 PyObject
* obj6
= 0 ;
14524 PyObject
* obj7
= 0 ;
14525 char * kwnames
[] = {
14526 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14531 if (!SWIG_IsOK(res1
)) {
14532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14534 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14535 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14536 if (!SWIG_IsOK(res2
)) {
14537 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14539 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14541 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14542 if (!SWIG_IsOK(ecode3
)) {
14543 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14545 arg3
= static_cast< int >(val3
);
14550 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14556 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14560 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14561 if (!SWIG_IsOK(ecode6
)) {
14562 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14564 arg6
= static_cast< long >(val6
);
14567 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14568 if (!SWIG_IsOK(res7
)) {
14569 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14572 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14574 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14578 arg8
= wxString_in_helper(obj7
);
14579 if (arg8
== NULL
) SWIG_fail
;
14584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14585 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14586 wxPyEndAllowThreads(__tstate
);
14587 if (PyErr_Occurred()) SWIG_fail
;
14590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14606 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14607 PyObject
*resultobj
= 0;
14608 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14612 PyObject
*swig_obj
[1] ;
14614 if (!args
) SWIG_fail
;
14615 swig_obj
[0] = args
;
14616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14617 if (!SWIG_IsOK(res1
)) {
14618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14620 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14623 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14624 wxPyEndAllowThreads(__tstate
);
14625 if (PyErr_Occurred()) SWIG_fail
;
14627 resultobj
= SWIG_From_int(static_cast< int >(result
));
14634 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14635 PyObject
*resultobj
= 0;
14636 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14640 PyObject
*swig_obj
[1] ;
14642 if (!args
) SWIG_fail
;
14643 swig_obj
[0] = args
;
14644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14645 if (!SWIG_IsOK(res1
)) {
14646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14648 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14651 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14652 wxPyEndAllowThreads(__tstate
);
14653 if (PyErr_Occurred()) SWIG_fail
;
14655 resultobj
= SWIG_From_int(static_cast< int >(result
));
14662 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14663 PyObject
*resultobj
= 0;
14664 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14668 PyObject
*swig_obj
[1] ;
14670 if (!args
) SWIG_fail
;
14671 swig_obj
[0] = args
;
14672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14673 if (!SWIG_IsOK(res1
)) {
14674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14676 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14679 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14680 wxPyEndAllowThreads(__tstate
);
14681 if (PyErr_Occurred()) SWIG_fail
;
14683 resultobj
= SWIG_From_int(static_cast< int >(result
));
14690 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14691 PyObject
*resultobj
= 0;
14692 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14696 PyObject
*swig_obj
[1] ;
14698 if (!args
) SWIG_fail
;
14699 swig_obj
[0] = args
;
14700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14701 if (!SWIG_IsOK(res1
)) {
14702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14704 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14707 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14708 wxPyEndAllowThreads(__tstate
);
14709 if (PyErr_Occurred()) SWIG_fail
;
14711 resultobj
= SWIG_From_int(static_cast< int >(result
));
14718 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14719 PyObject
*resultobj
= 0;
14720 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14724 PyObject
*swig_obj
[1] ;
14726 if (!args
) SWIG_fail
;
14727 swig_obj
[0] = args
;
14728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14729 if (!SWIG_IsOK(res1
)) {
14730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14732 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14735 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14736 wxPyEndAllowThreads(__tstate
);
14737 if (PyErr_Occurred()) SWIG_fail
;
14740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14748 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14749 PyObject
*resultobj
= 0;
14750 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14756 PyObject
* obj0
= 0 ;
14757 PyObject
* obj1
= 0 ;
14758 char * kwnames
[] = {
14759 (char *) "self",(char *) "viewStart", NULL
14762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14764 if (!SWIG_IsOK(res1
)) {
14765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14767 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14768 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14769 if (!SWIG_IsOK(ecode2
)) {
14770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14772 arg2
= static_cast< int >(val2
);
14774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14775 (arg1
)->SetThumbPosition(arg2
);
14776 wxPyEndAllowThreads(__tstate
);
14777 if (PyErr_Occurred()) SWIG_fail
;
14779 resultobj
= SWIG_Py_Void();
14786 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14787 PyObject
*resultobj
= 0;
14788 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14789 SwigValueWrapper
<wxVisualAttributes
> result
;
14792 PyObject
* obj0
= 0 ;
14793 char * kwnames
[] = {
14794 (char *) "variant", NULL
14797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14799 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14800 if (!SWIG_IsOK(ecode1
)) {
14801 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14803 arg1
= static_cast< wxWindowVariant
>(val1
);
14806 if (!wxPyCheckForApp()) SWIG_fail
;
14807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14808 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14809 wxPyEndAllowThreads(__tstate
);
14810 if (PyErr_Occurred()) SWIG_fail
;
14812 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14819 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14821 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14822 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14823 return SWIG_Py_Void();
14826 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14827 return SWIG_Python_InitShadowInstance(args
);
14830 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14831 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14836 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14837 PyObject
*pyobj
= 0;
14841 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14843 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14850 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14851 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14856 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14857 PyObject
*pyobj
= 0;
14861 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14863 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14870 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14871 PyObject
*resultobj
= 0;
14872 wxWindow
*arg1
= (wxWindow
*) 0 ;
14873 int arg2
= (int) -1 ;
14874 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14875 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14876 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14877 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14878 long arg5
= (long) wxSP_HORIZONTAL
;
14879 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14880 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14881 wxSpinButton
*result
= 0 ;
14890 bool temp6
= false ;
14891 PyObject
* obj0
= 0 ;
14892 PyObject
* obj1
= 0 ;
14893 PyObject
* obj2
= 0 ;
14894 PyObject
* obj3
= 0 ;
14895 PyObject
* obj4
= 0 ;
14896 PyObject
* obj5
= 0 ;
14897 char * kwnames
[] = {
14898 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14903 if (!SWIG_IsOK(res1
)) {
14904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14906 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14909 if (!SWIG_IsOK(ecode2
)) {
14910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14912 arg2
= static_cast< int >(val2
);
14917 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14923 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14927 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14928 if (!SWIG_IsOK(ecode5
)) {
14929 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14931 arg5
= static_cast< long >(val5
);
14935 arg6
= wxString_in_helper(obj5
);
14936 if (arg6
== NULL
) SWIG_fail
;
14941 if (!wxPyCheckForApp()) SWIG_fail
;
14942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14943 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14944 wxPyEndAllowThreads(__tstate
);
14945 if (PyErr_Occurred()) SWIG_fail
;
14947 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14962 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14963 PyObject
*resultobj
= 0;
14964 wxSpinButton
*result
= 0 ;
14966 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14968 if (!wxPyCheckForApp()) SWIG_fail
;
14969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14970 result
= (wxSpinButton
*)new wxSpinButton();
14971 wxPyEndAllowThreads(__tstate
);
14972 if (PyErr_Occurred()) SWIG_fail
;
14974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14981 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14982 PyObject
*resultobj
= 0;
14983 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14984 wxWindow
*arg2
= (wxWindow
*) 0 ;
14985 int arg3
= (int) -1 ;
14986 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14987 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14988 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14989 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14990 long arg6
= (long) wxSP_HORIZONTAL
;
14991 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14992 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15004 bool temp7
= false ;
15005 PyObject
* obj0
= 0 ;
15006 PyObject
* obj1
= 0 ;
15007 PyObject
* obj2
= 0 ;
15008 PyObject
* obj3
= 0 ;
15009 PyObject
* obj4
= 0 ;
15010 PyObject
* obj5
= 0 ;
15011 PyObject
* obj6
= 0 ;
15012 char * kwnames
[] = {
15013 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15018 if (!SWIG_IsOK(res1
)) {
15019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15021 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15022 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15023 if (!SWIG_IsOK(res2
)) {
15024 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15026 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15028 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15029 if (!SWIG_IsOK(ecode3
)) {
15030 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
15032 arg3
= static_cast< int >(val3
);
15037 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15043 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15047 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15048 if (!SWIG_IsOK(ecode6
)) {
15049 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
15051 arg6
= static_cast< long >(val6
);
15055 arg7
= wxString_in_helper(obj6
);
15056 if (arg7
== NULL
) SWIG_fail
;
15061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15062 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15063 wxPyEndAllowThreads(__tstate
);
15064 if (PyErr_Occurred()) SWIG_fail
;
15067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15083 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(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_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15097 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15100 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
15101 wxPyEndAllowThreads(__tstate
);
15102 if (PyErr_Occurred()) SWIG_fail
;
15104 resultobj
= SWIG_From_int(static_cast< int >(result
));
15111 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15112 PyObject
*resultobj
= 0;
15113 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15117 PyObject
*swig_obj
[1] ;
15119 if (!args
) SWIG_fail
;
15120 swig_obj
[0] = args
;
15121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15122 if (!SWIG_IsOK(res1
)) {
15123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15125 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15128 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
15129 wxPyEndAllowThreads(__tstate
);
15130 if (PyErr_Occurred()) SWIG_fail
;
15132 resultobj
= SWIG_From_int(static_cast< int >(result
));
15139 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15140 PyObject
*resultobj
= 0;
15141 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15145 PyObject
*swig_obj
[1] ;
15147 if (!args
) SWIG_fail
;
15148 swig_obj
[0] = args
;
15149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15150 if (!SWIG_IsOK(res1
)) {
15151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15153 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15156 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
15157 wxPyEndAllowThreads(__tstate
);
15158 if (PyErr_Occurred()) SWIG_fail
;
15160 resultobj
= SWIG_From_int(static_cast< int >(result
));
15167 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15168 PyObject
*resultobj
= 0;
15169 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15175 PyObject
* obj0
= 0 ;
15176 PyObject
* obj1
= 0 ;
15177 char * kwnames
[] = {
15178 (char *) "self",(char *) "val", NULL
15181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15183 if (!SWIG_IsOK(res1
)) {
15184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15186 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15187 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15188 if (!SWIG_IsOK(ecode2
)) {
15189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15191 arg2
= static_cast< int >(val2
);
15193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15194 (arg1
)->SetValue(arg2
);
15195 wxPyEndAllowThreads(__tstate
);
15196 if (PyErr_Occurred()) SWIG_fail
;
15198 resultobj
= SWIG_Py_Void();
15205 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15206 PyObject
*resultobj
= 0;
15207 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15213 PyObject
* obj0
= 0 ;
15214 PyObject
* obj1
= 0 ;
15215 char * kwnames
[] = {
15216 (char *) "self",(char *) "minVal", NULL
15219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15221 if (!SWIG_IsOK(res1
)) {
15222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15224 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15225 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15226 if (!SWIG_IsOK(ecode2
)) {
15227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15229 arg2
= static_cast< int >(val2
);
15231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15232 (arg1
)->SetMin(arg2
);
15233 wxPyEndAllowThreads(__tstate
);
15234 if (PyErr_Occurred()) SWIG_fail
;
15236 resultobj
= SWIG_Py_Void();
15243 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15244 PyObject
*resultobj
= 0;
15245 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15251 PyObject
* obj0
= 0 ;
15252 PyObject
* obj1
= 0 ;
15253 char * kwnames
[] = {
15254 (char *) "self",(char *) "maxVal", NULL
15257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15259 if (!SWIG_IsOK(res1
)) {
15260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15262 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15263 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15264 if (!SWIG_IsOK(ecode2
)) {
15265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15267 arg2
= static_cast< int >(val2
);
15269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15270 (arg1
)->SetMax(arg2
);
15271 wxPyEndAllowThreads(__tstate
);
15272 if (PyErr_Occurred()) SWIG_fail
;
15274 resultobj
= SWIG_Py_Void();
15281 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15282 PyObject
*resultobj
= 0;
15283 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15292 PyObject
* obj0
= 0 ;
15293 PyObject
* obj1
= 0 ;
15294 PyObject
* obj2
= 0 ;
15295 char * kwnames
[] = {
15296 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15301 if (!SWIG_IsOK(res1
)) {
15302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15304 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15305 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15306 if (!SWIG_IsOK(ecode2
)) {
15307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15309 arg2
= static_cast< int >(val2
);
15310 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15311 if (!SWIG_IsOK(ecode3
)) {
15312 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15314 arg3
= static_cast< int >(val3
);
15316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15317 (arg1
)->SetRange(arg2
,arg3
);
15318 wxPyEndAllowThreads(__tstate
);
15319 if (PyErr_Occurred()) SWIG_fail
;
15321 resultobj
= SWIG_Py_Void();
15328 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15329 PyObject
*resultobj
= 0;
15330 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15334 PyObject
*swig_obj
[1] ;
15336 if (!args
) SWIG_fail
;
15337 swig_obj
[0] = args
;
15338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15339 if (!SWIG_IsOK(res1
)) {
15340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15342 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15345 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15346 wxPyEndAllowThreads(__tstate
);
15347 if (PyErr_Occurred()) SWIG_fail
;
15350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15358 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15359 PyObject
*resultobj
= 0;
15360 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15361 SwigValueWrapper
<wxVisualAttributes
> result
;
15364 PyObject
* obj0
= 0 ;
15365 char * kwnames
[] = {
15366 (char *) "variant", NULL
15369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15371 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15372 if (!SWIG_IsOK(ecode1
)) {
15373 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15375 arg1
= static_cast< wxWindowVariant
>(val1
);
15378 if (!wxPyCheckForApp()) SWIG_fail
;
15379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15380 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15381 wxPyEndAllowThreads(__tstate
);
15382 if (PyErr_Occurred()) SWIG_fail
;
15384 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15391 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15393 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15394 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15395 return SWIG_Py_Void();
15398 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15399 return SWIG_Python_InitShadowInstance(args
);
15402 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15403 PyObject
*resultobj
= 0;
15404 wxWindow
*arg1
= (wxWindow
*) 0 ;
15405 int arg2
= (int) -1 ;
15406 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15407 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15408 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15409 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15410 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15411 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15412 long arg6
= (long) wxSP_ARROW_KEYS
;
15413 int arg7
= (int) 0 ;
15414 int arg8
= (int) 100 ;
15415 int arg9
= (int) 0 ;
15416 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15417 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15418 wxSpinCtrl
*result
= 0 ;
15423 bool temp3
= false ;
15434 bool temp10
= false ;
15435 PyObject
* obj0
= 0 ;
15436 PyObject
* obj1
= 0 ;
15437 PyObject
* obj2
= 0 ;
15438 PyObject
* obj3
= 0 ;
15439 PyObject
* obj4
= 0 ;
15440 PyObject
* obj5
= 0 ;
15441 PyObject
* obj6
= 0 ;
15442 PyObject
* obj7
= 0 ;
15443 PyObject
* obj8
= 0 ;
15444 PyObject
* obj9
= 0 ;
15445 char * kwnames
[] = {
15446 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15451 if (!SWIG_IsOK(res1
)) {
15452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15454 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15457 if (!SWIG_IsOK(ecode2
)) {
15458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15460 arg2
= static_cast< int >(val2
);
15464 arg3
= wxString_in_helper(obj2
);
15465 if (arg3
== NULL
) SWIG_fail
;
15472 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15478 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15482 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15483 if (!SWIG_IsOK(ecode6
)) {
15484 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15486 arg6
= static_cast< long >(val6
);
15489 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15490 if (!SWIG_IsOK(ecode7
)) {
15491 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15493 arg7
= static_cast< int >(val7
);
15496 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15497 if (!SWIG_IsOK(ecode8
)) {
15498 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15500 arg8
= static_cast< int >(val8
);
15503 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15504 if (!SWIG_IsOK(ecode9
)) {
15505 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15507 arg9
= static_cast< int >(val9
);
15511 arg10
= wxString_in_helper(obj9
);
15512 if (arg10
== NULL
) SWIG_fail
;
15517 if (!wxPyCheckForApp()) SWIG_fail
;
15518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15519 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15520 wxPyEndAllowThreads(__tstate
);
15521 if (PyErr_Occurred()) SWIG_fail
;
15523 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15546 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15547 PyObject
*resultobj
= 0;
15548 wxSpinCtrl
*result
= 0 ;
15550 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15552 if (!wxPyCheckForApp()) SWIG_fail
;
15553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15554 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15555 wxPyEndAllowThreads(__tstate
);
15556 if (PyErr_Occurred()) SWIG_fail
;
15558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15565 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15566 PyObject
*resultobj
= 0;
15567 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15568 wxWindow
*arg2
= (wxWindow
*) 0 ;
15569 int arg3
= (int) -1 ;
15570 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15571 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15572 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15573 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15574 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15575 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15576 long arg7
= (long) wxSP_ARROW_KEYS
;
15577 int arg8
= (int) 0 ;
15578 int arg9
= (int) 100 ;
15579 int arg10
= (int) 0 ;
15580 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15581 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15589 bool temp4
= false ;
15600 bool temp11
= false ;
15601 PyObject
* obj0
= 0 ;
15602 PyObject
* obj1
= 0 ;
15603 PyObject
* obj2
= 0 ;
15604 PyObject
* obj3
= 0 ;
15605 PyObject
* obj4
= 0 ;
15606 PyObject
* obj5
= 0 ;
15607 PyObject
* obj6
= 0 ;
15608 PyObject
* obj7
= 0 ;
15609 PyObject
* obj8
= 0 ;
15610 PyObject
* obj9
= 0 ;
15611 PyObject
* obj10
= 0 ;
15612 char * kwnames
[] = {
15613 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15618 if (!SWIG_IsOK(res1
)) {
15619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15621 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15622 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15623 if (!SWIG_IsOK(res2
)) {
15624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15626 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15628 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15629 if (!SWIG_IsOK(ecode3
)) {
15630 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15632 arg3
= static_cast< int >(val3
);
15636 arg4
= wxString_in_helper(obj3
);
15637 if (arg4
== NULL
) SWIG_fail
;
15644 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15650 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15654 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15655 if (!SWIG_IsOK(ecode7
)) {
15656 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15658 arg7
= static_cast< long >(val7
);
15661 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15662 if (!SWIG_IsOK(ecode8
)) {
15663 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15665 arg8
= static_cast< int >(val8
);
15668 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15669 if (!SWIG_IsOK(ecode9
)) {
15670 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15672 arg9
= static_cast< int >(val9
);
15675 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15676 if (!SWIG_IsOK(ecode10
)) {
15677 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15679 arg10
= static_cast< int >(val10
);
15683 arg11
= wxString_in_helper(obj10
);
15684 if (arg11
== NULL
) SWIG_fail
;
15689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15690 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15691 wxPyEndAllowThreads(__tstate
);
15692 if (PyErr_Occurred()) SWIG_fail
;
15695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15719 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15720 PyObject
*resultobj
= 0;
15721 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15725 PyObject
*swig_obj
[1] ;
15727 if (!args
) SWIG_fail
;
15728 swig_obj
[0] = args
;
15729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15730 if (!SWIG_IsOK(res1
)) {
15731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15733 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15736 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15737 wxPyEndAllowThreads(__tstate
);
15738 if (PyErr_Occurred()) SWIG_fail
;
15740 resultobj
= SWIG_From_int(static_cast< int >(result
));
15747 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15748 PyObject
*resultobj
= 0;
15749 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15755 PyObject
* obj0
= 0 ;
15756 PyObject
* obj1
= 0 ;
15757 char * kwnames
[] = {
15758 (char *) "self",(char *) "value", NULL
15761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15763 if (!SWIG_IsOK(res1
)) {
15764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15766 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15767 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15768 if (!SWIG_IsOK(ecode2
)) {
15769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15771 arg2
= static_cast< int >(val2
);
15773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15774 (arg1
)->SetValue(arg2
);
15775 wxPyEndAllowThreads(__tstate
);
15776 if (PyErr_Occurred()) SWIG_fail
;
15778 resultobj
= SWIG_Py_Void();
15785 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15786 PyObject
*resultobj
= 0;
15787 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15788 wxString
*arg2
= 0 ;
15791 bool temp2
= false ;
15792 PyObject
* obj0
= 0 ;
15793 PyObject
* obj1
= 0 ;
15794 char * kwnames
[] = {
15795 (char *) "self",(char *) "text", NULL
15798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15800 if (!SWIG_IsOK(res1
)) {
15801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15803 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15805 arg2
= wxString_in_helper(obj1
);
15806 if (arg2
== NULL
) SWIG_fail
;
15810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15811 (arg1
)->SetValue((wxString
const &)*arg2
);
15812 wxPyEndAllowThreads(__tstate
);
15813 if (PyErr_Occurred()) SWIG_fail
;
15815 resultobj
= SWIG_Py_Void();
15830 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15831 PyObject
*resultobj
= 0;
15832 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15841 PyObject
* obj0
= 0 ;
15842 PyObject
* obj1
= 0 ;
15843 PyObject
* obj2
= 0 ;
15844 char * kwnames
[] = {
15845 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15850 if (!SWIG_IsOK(res1
)) {
15851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15853 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15854 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15855 if (!SWIG_IsOK(ecode2
)) {
15856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15858 arg2
= static_cast< int >(val2
);
15859 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15860 if (!SWIG_IsOK(ecode3
)) {
15861 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15863 arg3
= static_cast< int >(val3
);
15865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15866 (arg1
)->SetRange(arg2
,arg3
);
15867 wxPyEndAllowThreads(__tstate
);
15868 if (PyErr_Occurred()) SWIG_fail
;
15870 resultobj
= SWIG_Py_Void();
15877 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15878 PyObject
*resultobj
= 0;
15879 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15883 PyObject
*swig_obj
[1] ;
15885 if (!args
) SWIG_fail
;
15886 swig_obj
[0] = args
;
15887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15888 if (!SWIG_IsOK(res1
)) {
15889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15891 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15894 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15895 wxPyEndAllowThreads(__tstate
);
15896 if (PyErr_Occurred()) SWIG_fail
;
15898 resultobj
= SWIG_From_int(static_cast< int >(result
));
15905 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15906 PyObject
*resultobj
= 0;
15907 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15911 PyObject
*swig_obj
[1] ;
15913 if (!args
) SWIG_fail
;
15914 swig_obj
[0] = args
;
15915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15916 if (!SWIG_IsOK(res1
)) {
15917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15919 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15922 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15923 wxPyEndAllowThreads(__tstate
);
15924 if (PyErr_Occurred()) SWIG_fail
;
15926 resultobj
= SWIG_From_int(static_cast< int >(result
));
15933 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15934 PyObject
*resultobj
= 0;
15935 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15944 PyObject
* obj0
= 0 ;
15945 PyObject
* obj1
= 0 ;
15946 PyObject
* obj2
= 0 ;
15947 char * kwnames
[] = {
15948 (char *) "self",(char *) "from",(char *) "to", NULL
15951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15953 if (!SWIG_IsOK(res1
)) {
15954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15956 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15957 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15958 if (!SWIG_IsOK(ecode2
)) {
15959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15961 arg2
= static_cast< long >(val2
);
15962 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15963 if (!SWIG_IsOK(ecode3
)) {
15964 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15966 arg3
= static_cast< long >(val3
);
15968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15969 (arg1
)->SetSelection(arg2
,arg3
);
15970 wxPyEndAllowThreads(__tstate
);
15971 if (PyErr_Occurred()) SWIG_fail
;
15973 resultobj
= SWIG_Py_Void();
15980 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15981 PyObject
*resultobj
= 0;
15982 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15983 SwigValueWrapper
<wxVisualAttributes
> result
;
15986 PyObject
* obj0
= 0 ;
15987 char * kwnames
[] = {
15988 (char *) "variant", NULL
15991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15993 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15994 if (!SWIG_IsOK(ecode1
)) {
15995 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15997 arg1
= static_cast< wxWindowVariant
>(val1
);
16000 if (!wxPyCheckForApp()) SWIG_fail
;
16001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16002 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
16003 wxPyEndAllowThreads(__tstate
);
16004 if (PyErr_Occurred()) SWIG_fail
;
16006 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
16013 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16015 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16016 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
16017 return SWIG_Py_Void();
16020 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16021 return SWIG_Python_InitShadowInstance(args
);
16024 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16025 PyObject
*resultobj
= 0;
16026 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16027 int arg2
= (int) 0 ;
16028 wxSpinEvent
*result
= 0 ;
16033 PyObject
* obj0
= 0 ;
16034 PyObject
* obj1
= 0 ;
16035 char * kwnames
[] = {
16036 (char *) "commandType",(char *) "winid", NULL
16039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16041 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16042 if (!SWIG_IsOK(ecode1
)) {
16043 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16045 arg1
= static_cast< wxEventType
>(val1
);
16048 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16049 if (!SWIG_IsOK(ecode2
)) {
16050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
16052 arg2
= static_cast< int >(val2
);
16055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16056 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
16057 wxPyEndAllowThreads(__tstate
);
16058 if (PyErr_Occurred()) SWIG_fail
;
16060 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
16067 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16068 PyObject
*resultobj
= 0;
16069 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
16073 PyObject
*swig_obj
[1] ;
16075 if (!args
) SWIG_fail
;
16076 swig_obj
[0] = args
;
16077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
16078 if (!SWIG_IsOK(res1
)) {
16079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
16081 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
16083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16084 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
16085 wxPyEndAllowThreads(__tstate
);
16086 if (PyErr_Occurred()) SWIG_fail
;
16088 resultobj
= SWIG_From_int(static_cast< int >(result
));
16095 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16096 PyObject
*resultobj
= 0;
16097 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
16103 PyObject
* obj0
= 0 ;
16104 PyObject
* obj1
= 0 ;
16105 char * kwnames
[] = {
16106 (char *) "self",(char *) "pos", NULL
16109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
16111 if (!SWIG_IsOK(res1
)) {
16112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
16114 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
16115 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16116 if (!SWIG_IsOK(ecode2
)) {
16117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
16119 arg2
= static_cast< int >(val2
);
16121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16122 (arg1
)->SetPosition(arg2
);
16123 wxPyEndAllowThreads(__tstate
);
16124 if (PyErr_Occurred()) SWIG_fail
;
16126 resultobj
= SWIG_Py_Void();
16133 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16135 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16136 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
16137 return SWIG_Py_Void();
16140 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16141 return SWIG_Python_InitShadowInstance(args
);
16144 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
16145 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
16150 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
16151 PyObject
*pyobj
= 0;
16155 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16157 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16164 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
16165 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
16170 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
16171 PyObject
*pyobj
= 0;
16175 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16177 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16184 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16185 PyObject
*resultobj
= 0;
16186 wxWindow
*arg1
= (wxWindow
*) 0 ;
16187 int arg2
= (int) -1 ;
16188 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16189 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16190 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16191 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16192 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16193 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16194 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
16195 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
16196 int arg7
= (int) 0 ;
16197 long arg8
= (long) wxRA_HORIZONTAL
;
16198 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
16199 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
16200 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
16201 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
16202 wxRadioBox
*result
= 0 ;
16207 bool temp3
= false ;
16210 bool temp6
= false ;
16217 bool temp10
= false ;
16218 PyObject
* obj0
= 0 ;
16219 PyObject
* obj1
= 0 ;
16220 PyObject
* obj2
= 0 ;
16221 PyObject
* obj3
= 0 ;
16222 PyObject
* obj4
= 0 ;
16223 PyObject
* obj5
= 0 ;
16224 PyObject
* obj6
= 0 ;
16225 PyObject
* obj7
= 0 ;
16226 PyObject
* obj8
= 0 ;
16227 PyObject
* obj9
= 0 ;
16228 char * kwnames
[] = {
16229 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
16233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16234 if (!SWIG_IsOK(res1
)) {
16235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16237 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16239 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16240 if (!SWIG_IsOK(ecode2
)) {
16241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16243 arg2
= static_cast< int >(val2
);
16247 arg3
= wxString_in_helper(obj2
);
16248 if (arg3
== NULL
) SWIG_fail
;
16255 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16261 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16266 if (! PySequence_Check(obj5
)) {
16267 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16270 arg6
= new wxArrayString
;
16272 int i
, len
=PySequence_Length(obj5
);
16273 for (i
=0; i
<len
; i
++) {
16274 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16275 wxString
* s
= wxString_in_helper(item
);
16276 if (PyErr_Occurred()) SWIG_fail
;
16284 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16285 if (!SWIG_IsOK(ecode7
)) {
16286 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16288 arg7
= static_cast< int >(val7
);
16291 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16292 if (!SWIG_IsOK(ecode8
)) {
16293 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16295 arg8
= static_cast< long >(val8
);
16298 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16299 if (!SWIG_IsOK(res9
)) {
16300 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16303 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16305 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16309 arg10
= wxString_in_helper(obj9
);
16310 if (arg10
== NULL
) SWIG_fail
;
16315 if (!wxPyCheckForApp()) SWIG_fail
;
16316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16317 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
);
16318 wxPyEndAllowThreads(__tstate
);
16319 if (PyErr_Occurred()) SWIG_fail
;
16321 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16327 if (temp6
) delete arg6
;
16340 if (temp6
) delete arg6
;
16350 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16351 PyObject
*resultobj
= 0;
16352 wxRadioBox
*result
= 0 ;
16354 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16356 if (!wxPyCheckForApp()) SWIG_fail
;
16357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16358 result
= (wxRadioBox
*)new wxRadioBox();
16359 wxPyEndAllowThreads(__tstate
);
16360 if (PyErr_Occurred()) SWIG_fail
;
16362 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16369 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16370 PyObject
*resultobj
= 0;
16371 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16372 wxWindow
*arg2
= (wxWindow
*) 0 ;
16373 int arg3
= (int) -1 ;
16374 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16375 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16376 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16377 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16378 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16379 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16380 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16381 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16382 int arg8
= (int) 0 ;
16383 long arg9
= (long) wxRA_HORIZONTAL
;
16384 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16385 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16386 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16387 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16395 bool temp4
= false ;
16398 bool temp7
= false ;
16405 bool temp11
= false ;
16406 PyObject
* obj0
= 0 ;
16407 PyObject
* obj1
= 0 ;
16408 PyObject
* obj2
= 0 ;
16409 PyObject
* obj3
= 0 ;
16410 PyObject
* obj4
= 0 ;
16411 PyObject
* obj5
= 0 ;
16412 PyObject
* obj6
= 0 ;
16413 PyObject
* obj7
= 0 ;
16414 PyObject
* obj8
= 0 ;
16415 PyObject
* obj9
= 0 ;
16416 PyObject
* obj10
= 0 ;
16417 char * kwnames
[] = {
16418 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16423 if (!SWIG_IsOK(res1
)) {
16424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16426 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16427 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16428 if (!SWIG_IsOK(res2
)) {
16429 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16431 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16433 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16434 if (!SWIG_IsOK(ecode3
)) {
16435 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16437 arg3
= static_cast< int >(val3
);
16441 arg4
= wxString_in_helper(obj3
);
16442 if (arg4
== NULL
) SWIG_fail
;
16449 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16455 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16460 if (! PySequence_Check(obj6
)) {
16461 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16464 arg7
= new wxArrayString
;
16466 int i
, len
=PySequence_Length(obj6
);
16467 for (i
=0; i
<len
; i
++) {
16468 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16469 wxString
* s
= wxString_in_helper(item
);
16470 if (PyErr_Occurred()) SWIG_fail
;
16478 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16479 if (!SWIG_IsOK(ecode8
)) {
16480 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16482 arg8
= static_cast< int >(val8
);
16485 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16486 if (!SWIG_IsOK(ecode9
)) {
16487 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16489 arg9
= static_cast< long >(val9
);
16492 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16493 if (!SWIG_IsOK(res10
)) {
16494 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16497 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16499 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16503 arg11
= wxString_in_helper(obj10
);
16504 if (arg11
== NULL
) SWIG_fail
;
16509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16510 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
);
16511 wxPyEndAllowThreads(__tstate
);
16512 if (PyErr_Occurred()) SWIG_fail
;
16515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16522 if (temp7
) delete arg7
;
16535 if (temp7
) delete arg7
;
16545 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16546 PyObject
*resultobj
= 0;
16547 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16553 PyObject
* obj0
= 0 ;
16554 PyObject
* obj1
= 0 ;
16555 char * kwnames
[] = {
16556 (char *) "self",(char *) "n", NULL
16559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16561 if (!SWIG_IsOK(res1
)) {
16562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16564 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16565 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16566 if (!SWIG_IsOK(ecode2
)) {
16567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16569 arg2
= static_cast< int >(val2
);
16571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16572 (arg1
)->SetSelection(arg2
);
16573 wxPyEndAllowThreads(__tstate
);
16574 if (PyErr_Occurred()) SWIG_fail
;
16576 resultobj
= SWIG_Py_Void();
16583 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16584 PyObject
*resultobj
= 0;
16585 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16589 PyObject
*swig_obj
[1] ;
16591 if (!args
) SWIG_fail
;
16592 swig_obj
[0] = args
;
16593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16594 if (!SWIG_IsOK(res1
)) {
16595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16597 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16600 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16601 wxPyEndAllowThreads(__tstate
);
16602 if (PyErr_Occurred()) SWIG_fail
;
16604 resultobj
= SWIG_From_int(static_cast< int >(result
));
16611 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16612 PyObject
*resultobj
= 0;
16613 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16617 PyObject
*swig_obj
[1] ;
16619 if (!args
) SWIG_fail
;
16620 swig_obj
[0] = args
;
16621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16622 if (!SWIG_IsOK(res1
)) {
16623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16625 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16628 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16629 wxPyEndAllowThreads(__tstate
);
16630 if (PyErr_Occurred()) SWIG_fail
;
16634 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16636 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16645 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16646 PyObject
*resultobj
= 0;
16647 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16648 wxString
*arg2
= 0 ;
16652 bool temp2
= false ;
16653 PyObject
* obj0
= 0 ;
16654 PyObject
* obj1
= 0 ;
16655 char * kwnames
[] = {
16656 (char *) "self",(char *) "s", NULL
16659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16661 if (!SWIG_IsOK(res1
)) {
16662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16664 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16666 arg2
= wxString_in_helper(obj1
);
16667 if (arg2
== NULL
) SWIG_fail
;
16671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16672 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16673 wxPyEndAllowThreads(__tstate
);
16674 if (PyErr_Occurred()) SWIG_fail
;
16677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16693 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16694 PyObject
*resultobj
= 0;
16695 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16699 PyObject
*swig_obj
[1] ;
16701 if (!args
) SWIG_fail
;
16702 swig_obj
[0] = args
;
16703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16704 if (!SWIG_IsOK(res1
)) {
16705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16707 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16710 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16711 wxPyEndAllowThreads(__tstate
);
16712 if (PyErr_Occurred()) SWIG_fail
;
16714 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16721 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16722 PyObject
*resultobj
= 0;
16723 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16724 wxString
*arg2
= 0 ;
16728 bool temp2
= false ;
16729 PyObject
* obj0
= 0 ;
16730 PyObject
* obj1
= 0 ;
16731 char * kwnames
[] = {
16732 (char *) "self",(char *) "s", NULL
16735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16737 if (!SWIG_IsOK(res1
)) {
16738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16740 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16742 arg2
= wxString_in_helper(obj1
);
16743 if (arg2
== NULL
) SWIG_fail
;
16747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16748 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16749 wxPyEndAllowThreads(__tstate
);
16750 if (PyErr_Occurred()) SWIG_fail
;
16752 resultobj
= SWIG_From_int(static_cast< int >(result
));
16767 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16768 PyObject
*resultobj
= 0;
16769 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16776 PyObject
* obj0
= 0 ;
16777 PyObject
* obj1
= 0 ;
16778 char * kwnames
[] = {
16779 (char *) "self",(char *) "n", NULL
16782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16784 if (!SWIG_IsOK(res1
)) {
16785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16787 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16788 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16789 if (!SWIG_IsOK(ecode2
)) {
16790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16792 arg2
= static_cast< int >(val2
);
16794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16795 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16796 wxPyEndAllowThreads(__tstate
);
16797 if (PyErr_Occurred()) SWIG_fail
;
16801 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16803 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16812 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16813 PyObject
*resultobj
= 0;
16814 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16816 wxString
*arg3
= 0 ;
16821 bool temp3
= false ;
16822 PyObject
* obj0
= 0 ;
16823 PyObject
* obj1
= 0 ;
16824 PyObject
* obj2
= 0 ;
16825 char * kwnames
[] = {
16826 (char *) "self",(char *) "n",(char *) "label", NULL
16829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16831 if (!SWIG_IsOK(res1
)) {
16832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16834 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16835 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16836 if (!SWIG_IsOK(ecode2
)) {
16837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16839 arg2
= static_cast< int >(val2
);
16841 arg3
= wxString_in_helper(obj2
);
16842 if (arg3
== NULL
) SWIG_fail
;
16846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16847 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16848 wxPyEndAllowThreads(__tstate
);
16849 if (PyErr_Occurred()) SWIG_fail
;
16851 resultobj
= SWIG_Py_Void();
16866 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16867 PyObject
*resultobj
= 0;
16868 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16869 unsigned int arg2
;
16870 bool arg3
= (bool) true ;
16873 unsigned int val2
;
16877 PyObject
* obj0
= 0 ;
16878 PyObject
* obj1
= 0 ;
16879 PyObject
* obj2
= 0 ;
16880 char * kwnames
[] = {
16881 (char *) "self",(char *) "n",(char *) "enable", NULL
16884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16886 if (!SWIG_IsOK(res1
)) {
16887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16889 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16890 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16891 if (!SWIG_IsOK(ecode2
)) {
16892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16894 arg2
= static_cast< unsigned int >(val2
);
16896 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16897 if (!SWIG_IsOK(ecode3
)) {
16898 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16900 arg3
= static_cast< bool >(val3
);
16903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16904 (arg1
)->Enable(arg2
,arg3
);
16905 wxPyEndAllowThreads(__tstate
);
16906 if (PyErr_Occurred()) SWIG_fail
;
16908 resultobj
= SWIG_Py_Void();
16915 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16916 PyObject
*resultobj
= 0;
16917 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16918 unsigned int arg2
;
16919 bool arg3
= (bool) true ;
16922 unsigned int val2
;
16926 PyObject
* obj0
= 0 ;
16927 PyObject
* obj1
= 0 ;
16928 PyObject
* obj2
= 0 ;
16929 char * kwnames
[] = {
16930 (char *) "self",(char *) "n",(char *) "show", NULL
16933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16935 if (!SWIG_IsOK(res1
)) {
16936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16938 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16939 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16940 if (!SWIG_IsOK(ecode2
)) {
16941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16943 arg2
= static_cast< unsigned int >(val2
);
16945 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16946 if (!SWIG_IsOK(ecode3
)) {
16947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16949 arg3
= static_cast< bool >(val3
);
16952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16953 (arg1
)->Show(arg2
,arg3
);
16954 wxPyEndAllowThreads(__tstate
);
16955 if (PyErr_Occurred()) SWIG_fail
;
16957 resultobj
= SWIG_Py_Void();
16964 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16965 PyObject
*resultobj
= 0;
16966 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16967 unsigned int arg2
;
16971 unsigned int val2
;
16973 PyObject
* obj0
= 0 ;
16974 PyObject
* obj1
= 0 ;
16975 char * kwnames
[] = {
16976 (char *) "self",(char *) "n", NULL
16979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16981 if (!SWIG_IsOK(res1
)) {
16982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16984 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16985 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16986 if (!SWIG_IsOK(ecode2
)) {
16987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16989 arg2
= static_cast< unsigned int >(val2
);
16991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16992 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16993 wxPyEndAllowThreads(__tstate
);
16994 if (PyErr_Occurred()) SWIG_fail
;
16997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17005 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17006 PyObject
*resultobj
= 0;
17007 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17008 unsigned int arg2
;
17012 unsigned int val2
;
17014 PyObject
* obj0
= 0 ;
17015 PyObject
* obj1
= 0 ;
17016 char * kwnames
[] = {
17017 (char *) "self",(char *) "n", NULL
17020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17022 if (!SWIG_IsOK(res1
)) {
17023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17025 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17026 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17027 if (!SWIG_IsOK(ecode2
)) {
17028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
17030 arg2
= static_cast< unsigned int >(val2
);
17032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17033 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
17034 wxPyEndAllowThreads(__tstate
);
17035 if (PyErr_Occurred()) SWIG_fail
;
17038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17046 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17047 PyObject
*resultobj
= 0;
17048 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17049 unsigned int result
;
17052 PyObject
*swig_obj
[1] ;
17054 if (!args
) SWIG_fail
;
17055 swig_obj
[0] = args
;
17056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17057 if (!SWIG_IsOK(res1
)) {
17058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17060 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17063 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
17064 wxPyEndAllowThreads(__tstate
);
17065 if (PyErr_Occurred()) SWIG_fail
;
17067 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
17074 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17075 PyObject
*resultobj
= 0;
17076 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17077 unsigned int result
;
17080 PyObject
*swig_obj
[1] ;
17082 if (!args
) SWIG_fail
;
17083 swig_obj
[0] = args
;
17084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17085 if (!SWIG_IsOK(res1
)) {
17086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17088 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17091 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
17092 wxPyEndAllowThreads(__tstate
);
17093 if (PyErr_Occurred()) SWIG_fail
;
17095 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
17102 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17103 PyObject
*resultobj
= 0;
17104 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17117 PyObject
* obj0
= 0 ;
17118 PyObject
* obj1
= 0 ;
17119 PyObject
* obj2
= 0 ;
17120 PyObject
* obj3
= 0 ;
17121 char * kwnames
[] = {
17122 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
17125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17127 if (!SWIG_IsOK(res1
)) {
17128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17130 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17131 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17132 if (!SWIG_IsOK(ecode2
)) {
17133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
17135 arg2
= static_cast< int >(val2
);
17136 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17137 if (!SWIG_IsOK(ecode3
)) {
17138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
17140 arg3
= static_cast< wxDirection
>(val3
);
17141 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
17142 if (!SWIG_IsOK(ecode4
)) {
17143 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
17145 arg4
= static_cast< long >(val4
);
17147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17148 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
17149 wxPyEndAllowThreads(__tstate
);
17150 if (PyErr_Occurred()) SWIG_fail
;
17152 resultobj
= SWIG_From_int(static_cast< int >(result
));
17159 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17160 PyObject
*resultobj
= 0;
17161 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17162 unsigned int arg2
;
17163 wxString
*arg3
= 0 ;
17166 unsigned int val2
;
17168 bool temp3
= false ;
17169 PyObject
* obj0
= 0 ;
17170 PyObject
* obj1
= 0 ;
17171 PyObject
* obj2
= 0 ;
17172 char * kwnames
[] = {
17173 (char *) "self",(char *) "item",(char *) "text", NULL
17176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17178 if (!SWIG_IsOK(res1
)) {
17179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17181 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17182 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17183 if (!SWIG_IsOK(ecode2
)) {
17184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17186 arg2
= static_cast< unsigned int >(val2
);
17188 arg3
= wxString_in_helper(obj2
);
17189 if (arg3
== NULL
) SWIG_fail
;
17193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17194 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
17195 wxPyEndAllowThreads(__tstate
);
17196 if (PyErr_Occurred()) SWIG_fail
;
17198 resultobj
= SWIG_Py_Void();
17213 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17214 PyObject
*resultobj
= 0;
17215 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17216 unsigned int arg2
;
17217 wxToolTip
*result
= 0 ;
17220 unsigned int val2
;
17222 PyObject
* obj0
= 0 ;
17223 PyObject
* obj1
= 0 ;
17224 char * kwnames
[] = {
17225 (char *) "self",(char *) "item", NULL
17228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17230 if (!SWIG_IsOK(res1
)) {
17231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17233 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17234 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17235 if (!SWIG_IsOK(ecode2
)) {
17236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17238 arg2
= static_cast< unsigned int >(val2
);
17240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17241 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
17242 wxPyEndAllowThreads(__tstate
);
17243 if (PyErr_Occurred()) SWIG_fail
;
17246 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17254 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17255 PyObject
*resultobj
= 0;
17256 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17257 unsigned int arg2
;
17258 wxString
*arg3
= 0 ;
17261 unsigned int val2
;
17263 bool temp3
= false ;
17264 PyObject
* obj0
= 0 ;
17265 PyObject
* obj1
= 0 ;
17266 PyObject
* obj2
= 0 ;
17267 char * kwnames
[] = {
17268 (char *) "self",(char *) "n",(char *) "helpText", NULL
17271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17273 if (!SWIG_IsOK(res1
)) {
17274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17276 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17277 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17278 if (!SWIG_IsOK(ecode2
)) {
17279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17281 arg2
= static_cast< unsigned int >(val2
);
17283 arg3
= wxString_in_helper(obj2
);
17284 if (arg3
== NULL
) SWIG_fail
;
17288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17289 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
17290 wxPyEndAllowThreads(__tstate
);
17291 if (PyErr_Occurred()) SWIG_fail
;
17293 resultobj
= SWIG_Py_Void();
17308 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17309 PyObject
*resultobj
= 0;
17310 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17311 unsigned int arg2
;
17315 unsigned int val2
;
17317 PyObject
* obj0
= 0 ;
17318 PyObject
* obj1
= 0 ;
17319 char * kwnames
[] = {
17320 (char *) "self",(char *) "n", NULL
17323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17325 if (!SWIG_IsOK(res1
)) {
17326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17328 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17329 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17330 if (!SWIG_IsOK(ecode2
)) {
17331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17333 arg2
= static_cast< unsigned int >(val2
);
17335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17336 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17337 wxPyEndAllowThreads(__tstate
);
17338 if (PyErr_Occurred()) SWIG_fail
;
17342 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17344 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17353 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17354 PyObject
*resultobj
= 0;
17355 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17356 SwigValueWrapper
<wxVisualAttributes
> result
;
17359 PyObject
* obj0
= 0 ;
17360 char * kwnames
[] = {
17361 (char *) "variant", NULL
17364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17366 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17367 if (!SWIG_IsOK(ecode1
)) {
17368 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17370 arg1
= static_cast< wxWindowVariant
>(val1
);
17373 if (!wxPyCheckForApp()) SWIG_fail
;
17374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17375 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17376 wxPyEndAllowThreads(__tstate
);
17377 if (PyErr_Occurred()) SWIG_fail
;
17379 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17386 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17388 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17389 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17390 return SWIG_Py_Void();
17393 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17394 return SWIG_Python_InitShadowInstance(args
);
17397 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17398 PyObject
*resultobj
= 0;
17399 wxWindow
*arg1
= (wxWindow
*) 0 ;
17400 int arg2
= (int) -1 ;
17401 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17402 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17403 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17404 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17405 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17406 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17407 long arg6
= (long) 0 ;
17408 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17409 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17410 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17411 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17412 wxRadioButton
*result
= 0 ;
17417 bool temp3
= false ;
17424 bool temp8
= false ;
17425 PyObject
* obj0
= 0 ;
17426 PyObject
* obj1
= 0 ;
17427 PyObject
* obj2
= 0 ;
17428 PyObject
* obj3
= 0 ;
17429 PyObject
* obj4
= 0 ;
17430 PyObject
* obj5
= 0 ;
17431 PyObject
* obj6
= 0 ;
17432 PyObject
* obj7
= 0 ;
17433 char * kwnames
[] = {
17434 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17439 if (!SWIG_IsOK(res1
)) {
17440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17442 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17445 if (!SWIG_IsOK(ecode2
)) {
17446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17448 arg2
= static_cast< int >(val2
);
17452 arg3
= wxString_in_helper(obj2
);
17453 if (arg3
== NULL
) SWIG_fail
;
17460 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17466 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17470 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17471 if (!SWIG_IsOK(ecode6
)) {
17472 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17474 arg6
= static_cast< long >(val6
);
17477 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17478 if (!SWIG_IsOK(res7
)) {
17479 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17482 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17484 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17488 arg8
= wxString_in_helper(obj7
);
17489 if (arg8
== NULL
) SWIG_fail
;
17494 if (!wxPyCheckForApp()) SWIG_fail
;
17495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17496 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17497 wxPyEndAllowThreads(__tstate
);
17498 if (PyErr_Occurred()) SWIG_fail
;
17500 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17523 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17524 PyObject
*resultobj
= 0;
17525 wxRadioButton
*result
= 0 ;
17527 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17529 if (!wxPyCheckForApp()) SWIG_fail
;
17530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17531 result
= (wxRadioButton
*)new wxRadioButton();
17532 wxPyEndAllowThreads(__tstate
);
17533 if (PyErr_Occurred()) SWIG_fail
;
17535 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17542 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17543 PyObject
*resultobj
= 0;
17544 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17545 wxWindow
*arg2
= (wxWindow
*) 0 ;
17546 int arg3
= (int) -1 ;
17547 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17548 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17549 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17550 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17551 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17552 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17553 long arg7
= (long) 0 ;
17554 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17555 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17556 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17557 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17565 bool temp4
= false ;
17572 bool temp9
= false ;
17573 PyObject
* obj0
= 0 ;
17574 PyObject
* obj1
= 0 ;
17575 PyObject
* obj2
= 0 ;
17576 PyObject
* obj3
= 0 ;
17577 PyObject
* obj4
= 0 ;
17578 PyObject
* obj5
= 0 ;
17579 PyObject
* obj6
= 0 ;
17580 PyObject
* obj7
= 0 ;
17581 PyObject
* obj8
= 0 ;
17582 char * kwnames
[] = {
17583 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17588 if (!SWIG_IsOK(res1
)) {
17589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17591 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17592 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17593 if (!SWIG_IsOK(res2
)) {
17594 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17596 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17598 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17599 if (!SWIG_IsOK(ecode3
)) {
17600 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17602 arg3
= static_cast< int >(val3
);
17606 arg4
= wxString_in_helper(obj3
);
17607 if (arg4
== NULL
) SWIG_fail
;
17614 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17620 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17624 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17625 if (!SWIG_IsOK(ecode7
)) {
17626 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17628 arg7
= static_cast< long >(val7
);
17631 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17632 if (!SWIG_IsOK(res8
)) {
17633 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17636 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17638 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17642 arg9
= wxString_in_helper(obj8
);
17643 if (arg9
== NULL
) SWIG_fail
;
17648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17649 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17650 wxPyEndAllowThreads(__tstate
);
17651 if (PyErr_Occurred()) SWIG_fail
;
17654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17678 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17679 PyObject
*resultobj
= 0;
17680 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17684 PyObject
*swig_obj
[1] ;
17686 if (!args
) SWIG_fail
;
17687 swig_obj
[0] = args
;
17688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17689 if (!SWIG_IsOK(res1
)) {
17690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17692 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17695 result
= (bool)(arg1
)->GetValue();
17696 wxPyEndAllowThreads(__tstate
);
17697 if (PyErr_Occurred()) SWIG_fail
;
17700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17708 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17709 PyObject
*resultobj
= 0;
17710 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17716 PyObject
* obj0
= 0 ;
17717 PyObject
* obj1
= 0 ;
17718 char * kwnames
[] = {
17719 (char *) "self",(char *) "value", NULL
17722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17724 if (!SWIG_IsOK(res1
)) {
17725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17727 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17728 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17729 if (!SWIG_IsOK(ecode2
)) {
17730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17732 arg2
= static_cast< bool >(val2
);
17734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17735 (arg1
)->SetValue(arg2
);
17736 wxPyEndAllowThreads(__tstate
);
17737 if (PyErr_Occurred()) SWIG_fail
;
17739 resultobj
= SWIG_Py_Void();
17746 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17747 PyObject
*resultobj
= 0;
17748 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17749 SwigValueWrapper
<wxVisualAttributes
> result
;
17752 PyObject
* obj0
= 0 ;
17753 char * kwnames
[] = {
17754 (char *) "variant", NULL
17757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17759 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17760 if (!SWIG_IsOK(ecode1
)) {
17761 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17763 arg1
= static_cast< wxWindowVariant
>(val1
);
17766 if (!wxPyCheckForApp()) SWIG_fail
;
17767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17768 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17769 wxPyEndAllowThreads(__tstate
);
17770 if (PyErr_Occurred()) SWIG_fail
;
17772 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17779 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17781 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17782 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17783 return SWIG_Py_Void();
17786 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17787 return SWIG_Python_InitShadowInstance(args
);
17790 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17791 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17796 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17797 PyObject
*pyobj
= 0;
17801 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17803 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17810 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17811 PyObject
*resultobj
= 0;
17812 wxWindow
*arg1
= (wxWindow
*) 0 ;
17813 int arg2
= (int) -1 ;
17814 int arg3
= (int) 0 ;
17815 int arg4
= (int) 0 ;
17816 int arg5
= (int) 100 ;
17817 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17818 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17819 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17820 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17821 long arg8
= (long) wxSL_HORIZONTAL
;
17822 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17823 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17824 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17825 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17826 wxSlider
*result
= 0 ;
17843 bool temp10
= false ;
17844 PyObject
* obj0
= 0 ;
17845 PyObject
* obj1
= 0 ;
17846 PyObject
* obj2
= 0 ;
17847 PyObject
* obj3
= 0 ;
17848 PyObject
* obj4
= 0 ;
17849 PyObject
* obj5
= 0 ;
17850 PyObject
* obj6
= 0 ;
17851 PyObject
* obj7
= 0 ;
17852 PyObject
* obj8
= 0 ;
17853 PyObject
* obj9
= 0 ;
17854 char * kwnames
[] = {
17855 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17860 if (!SWIG_IsOK(res1
)) {
17861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17863 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17866 if (!SWIG_IsOK(ecode2
)) {
17867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17869 arg2
= static_cast< int >(val2
);
17872 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17873 if (!SWIG_IsOK(ecode3
)) {
17874 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17876 arg3
= static_cast< int >(val3
);
17879 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17880 if (!SWIG_IsOK(ecode4
)) {
17881 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17883 arg4
= static_cast< int >(val4
);
17886 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17887 if (!SWIG_IsOK(ecode5
)) {
17888 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17890 arg5
= static_cast< int >(val5
);
17895 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17901 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17905 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17906 if (!SWIG_IsOK(ecode8
)) {
17907 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17909 arg8
= static_cast< long >(val8
);
17912 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17913 if (!SWIG_IsOK(res9
)) {
17914 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17917 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17919 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17923 arg10
= wxString_in_helper(obj9
);
17924 if (arg10
== NULL
) SWIG_fail
;
17929 if (!wxPyCheckForApp()) SWIG_fail
;
17930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17931 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17932 wxPyEndAllowThreads(__tstate
);
17933 if (PyErr_Occurred()) SWIG_fail
;
17935 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17950 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17951 PyObject
*resultobj
= 0;
17952 wxSlider
*result
= 0 ;
17954 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17956 if (!wxPyCheckForApp()) SWIG_fail
;
17957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17958 result
= (wxSlider
*)new wxSlider();
17959 wxPyEndAllowThreads(__tstate
);
17960 if (PyErr_Occurred()) SWIG_fail
;
17962 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17969 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17970 PyObject
*resultobj
= 0;
17971 wxSlider
*arg1
= (wxSlider
*) 0 ;
17972 wxWindow
*arg2
= (wxWindow
*) 0 ;
17973 int arg3
= (int) -1 ;
17974 int arg4
= (int) 0 ;
17975 int arg5
= (int) 0 ;
17976 int arg6
= (int) 100 ;
17977 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17978 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17979 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17980 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17981 long arg9
= (long) wxSL_HORIZONTAL
;
17982 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17983 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17984 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17985 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
18005 bool temp11
= false ;
18006 PyObject
* obj0
= 0 ;
18007 PyObject
* obj1
= 0 ;
18008 PyObject
* obj2
= 0 ;
18009 PyObject
* obj3
= 0 ;
18010 PyObject
* obj4
= 0 ;
18011 PyObject
* obj5
= 0 ;
18012 PyObject
* obj6
= 0 ;
18013 PyObject
* obj7
= 0 ;
18014 PyObject
* obj8
= 0 ;
18015 PyObject
* obj9
= 0 ;
18016 PyObject
* obj10
= 0 ;
18017 char * kwnames
[] = {
18018 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
18022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18023 if (!SWIG_IsOK(res1
)) {
18024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
18026 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18027 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18028 if (!SWIG_IsOK(res2
)) {
18029 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18031 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18033 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18034 if (!SWIG_IsOK(ecode3
)) {
18035 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
18037 arg3
= static_cast< int >(val3
);
18040 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18041 if (!SWIG_IsOK(ecode4
)) {
18042 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
18044 arg4
= static_cast< int >(val4
);
18047 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18048 if (!SWIG_IsOK(ecode5
)) {
18049 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
18051 arg5
= static_cast< int >(val5
);
18054 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18055 if (!SWIG_IsOK(ecode6
)) {
18056 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
18058 arg6
= static_cast< int >(val6
);
18063 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
18069 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
18073 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
18074 if (!SWIG_IsOK(ecode9
)) {
18075 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
18077 arg9
= static_cast< long >(val9
);
18080 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
18081 if (!SWIG_IsOK(res10
)) {
18082 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18085 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18087 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
18091 arg11
= wxString_in_helper(obj10
);
18092 if (arg11
== NULL
) SWIG_fail
;
18097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18098 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
18099 wxPyEndAllowThreads(__tstate
);
18100 if (PyErr_Occurred()) SWIG_fail
;
18103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18119 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18120 PyObject
*resultobj
= 0;
18121 wxSlider
*arg1
= (wxSlider
*) 0 ;
18125 PyObject
*swig_obj
[1] ;
18127 if (!args
) SWIG_fail
;
18128 swig_obj
[0] = args
;
18129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18130 if (!SWIG_IsOK(res1
)) {
18131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
18133 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18136 result
= (int)((wxSlider
const *)arg1
)->GetValue();
18137 wxPyEndAllowThreads(__tstate
);
18138 if (PyErr_Occurred()) SWIG_fail
;
18140 resultobj
= SWIG_From_int(static_cast< int >(result
));
18147 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18148 PyObject
*resultobj
= 0;
18149 wxSlider
*arg1
= (wxSlider
*) 0 ;
18155 PyObject
* obj0
= 0 ;
18156 PyObject
* obj1
= 0 ;
18157 char * kwnames
[] = {
18158 (char *) "self",(char *) "value", NULL
18161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18163 if (!SWIG_IsOK(res1
)) {
18164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
18166 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18168 if (!SWIG_IsOK(ecode2
)) {
18169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
18171 arg2
= static_cast< int >(val2
);
18173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18174 (arg1
)->SetValue(arg2
);
18175 wxPyEndAllowThreads(__tstate
);
18176 if (PyErr_Occurred()) SWIG_fail
;
18178 resultobj
= SWIG_Py_Void();
18185 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18186 PyObject
*resultobj
= 0;
18187 wxSlider
*arg1
= (wxSlider
*) 0 ;
18196 PyObject
* obj0
= 0 ;
18197 PyObject
* obj1
= 0 ;
18198 PyObject
* obj2
= 0 ;
18199 char * kwnames
[] = {
18200 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18205 if (!SWIG_IsOK(res1
)) {
18206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18208 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18209 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18210 if (!SWIG_IsOK(ecode2
)) {
18211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18213 arg2
= static_cast< int >(val2
);
18214 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18215 if (!SWIG_IsOK(ecode3
)) {
18216 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18218 arg3
= static_cast< int >(val3
);
18220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18221 (arg1
)->SetRange(arg2
,arg3
);
18222 wxPyEndAllowThreads(__tstate
);
18223 if (PyErr_Occurred()) SWIG_fail
;
18225 resultobj
= SWIG_Py_Void();
18232 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18233 PyObject
*resultobj
= 0;
18234 wxSlider
*arg1
= (wxSlider
*) 0 ;
18238 PyObject
*swig_obj
[1] ;
18240 if (!args
) SWIG_fail
;
18241 swig_obj
[0] = args
;
18242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18243 if (!SWIG_IsOK(res1
)) {
18244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18246 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18249 result
= (int)((wxSlider
const *)arg1
)->GetMin();
18250 wxPyEndAllowThreads(__tstate
);
18251 if (PyErr_Occurred()) SWIG_fail
;
18253 resultobj
= SWIG_From_int(static_cast< int >(result
));
18260 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18261 PyObject
*resultobj
= 0;
18262 wxSlider
*arg1
= (wxSlider
*) 0 ;
18266 PyObject
*swig_obj
[1] ;
18268 if (!args
) SWIG_fail
;
18269 swig_obj
[0] = args
;
18270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18271 if (!SWIG_IsOK(res1
)) {
18272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18274 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18277 result
= (int)((wxSlider
const *)arg1
)->GetMax();
18278 wxPyEndAllowThreads(__tstate
);
18279 if (PyErr_Occurred()) SWIG_fail
;
18281 resultobj
= SWIG_From_int(static_cast< int >(result
));
18288 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18289 PyObject
*resultobj
= 0;
18290 wxSlider
*arg1
= (wxSlider
*) 0 ;
18296 PyObject
* obj0
= 0 ;
18297 PyObject
* obj1
= 0 ;
18298 char * kwnames
[] = {
18299 (char *) "self",(char *) "minValue", NULL
18302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18304 if (!SWIG_IsOK(res1
)) {
18305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18307 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18309 if (!SWIG_IsOK(ecode2
)) {
18310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18312 arg2
= static_cast< int >(val2
);
18314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18315 (arg1
)->SetMin(arg2
);
18316 wxPyEndAllowThreads(__tstate
);
18317 if (PyErr_Occurred()) SWIG_fail
;
18319 resultobj
= SWIG_Py_Void();
18326 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18327 PyObject
*resultobj
= 0;
18328 wxSlider
*arg1
= (wxSlider
*) 0 ;
18334 PyObject
* obj0
= 0 ;
18335 PyObject
* obj1
= 0 ;
18336 char * kwnames
[] = {
18337 (char *) "self",(char *) "maxValue", NULL
18340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18342 if (!SWIG_IsOK(res1
)) {
18343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18345 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18346 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18347 if (!SWIG_IsOK(ecode2
)) {
18348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18350 arg2
= static_cast< int >(val2
);
18352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18353 (arg1
)->SetMax(arg2
);
18354 wxPyEndAllowThreads(__tstate
);
18355 if (PyErr_Occurred()) SWIG_fail
;
18357 resultobj
= SWIG_Py_Void();
18364 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18365 PyObject
*resultobj
= 0;
18366 wxSlider
*arg1
= (wxSlider
*) 0 ;
18372 PyObject
* obj0
= 0 ;
18373 PyObject
* obj1
= 0 ;
18374 char * kwnames
[] = {
18375 (char *) "self",(char *) "lineSize", NULL
18378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18380 if (!SWIG_IsOK(res1
)) {
18381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18383 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18384 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18385 if (!SWIG_IsOK(ecode2
)) {
18386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18388 arg2
= static_cast< int >(val2
);
18390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18391 (arg1
)->SetLineSize(arg2
);
18392 wxPyEndAllowThreads(__tstate
);
18393 if (PyErr_Occurred()) SWIG_fail
;
18395 resultobj
= SWIG_Py_Void();
18402 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18403 PyObject
*resultobj
= 0;
18404 wxSlider
*arg1
= (wxSlider
*) 0 ;
18410 PyObject
* obj0
= 0 ;
18411 PyObject
* obj1
= 0 ;
18412 char * kwnames
[] = {
18413 (char *) "self",(char *) "pageSize", NULL
18416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18418 if (!SWIG_IsOK(res1
)) {
18419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18421 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18422 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18423 if (!SWIG_IsOK(ecode2
)) {
18424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18426 arg2
= static_cast< int >(val2
);
18428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18429 (arg1
)->SetPageSize(arg2
);
18430 wxPyEndAllowThreads(__tstate
);
18431 if (PyErr_Occurred()) SWIG_fail
;
18433 resultobj
= SWIG_Py_Void();
18440 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18441 PyObject
*resultobj
= 0;
18442 wxSlider
*arg1
= (wxSlider
*) 0 ;
18446 PyObject
*swig_obj
[1] ;
18448 if (!args
) SWIG_fail
;
18449 swig_obj
[0] = args
;
18450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18451 if (!SWIG_IsOK(res1
)) {
18452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18454 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18457 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18458 wxPyEndAllowThreads(__tstate
);
18459 if (PyErr_Occurred()) SWIG_fail
;
18461 resultobj
= SWIG_From_int(static_cast< int >(result
));
18468 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18469 PyObject
*resultobj
= 0;
18470 wxSlider
*arg1
= (wxSlider
*) 0 ;
18474 PyObject
*swig_obj
[1] ;
18476 if (!args
) SWIG_fail
;
18477 swig_obj
[0] = args
;
18478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18479 if (!SWIG_IsOK(res1
)) {
18480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18482 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18485 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18486 wxPyEndAllowThreads(__tstate
);
18487 if (PyErr_Occurred()) SWIG_fail
;
18489 resultobj
= SWIG_From_int(static_cast< int >(result
));
18496 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18497 PyObject
*resultobj
= 0;
18498 wxSlider
*arg1
= (wxSlider
*) 0 ;
18504 PyObject
* obj0
= 0 ;
18505 PyObject
* obj1
= 0 ;
18506 char * kwnames
[] = {
18507 (char *) "self",(char *) "lenPixels", NULL
18510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18512 if (!SWIG_IsOK(res1
)) {
18513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18515 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18516 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18517 if (!SWIG_IsOK(ecode2
)) {
18518 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18520 arg2
= static_cast< int >(val2
);
18522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18523 (arg1
)->SetThumbLength(arg2
);
18524 wxPyEndAllowThreads(__tstate
);
18525 if (PyErr_Occurred()) SWIG_fail
;
18527 resultobj
= SWIG_Py_Void();
18534 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18535 PyObject
*resultobj
= 0;
18536 wxSlider
*arg1
= (wxSlider
*) 0 ;
18540 PyObject
*swig_obj
[1] ;
18542 if (!args
) SWIG_fail
;
18543 swig_obj
[0] = args
;
18544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18545 if (!SWIG_IsOK(res1
)) {
18546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18548 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18551 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18552 wxPyEndAllowThreads(__tstate
);
18553 if (PyErr_Occurred()) SWIG_fail
;
18555 resultobj
= SWIG_From_int(static_cast< int >(result
));
18562 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18563 PyObject
*resultobj
= 0;
18564 wxSlider
*arg1
= (wxSlider
*) 0 ;
18566 int arg3
= (int) 1 ;
18573 PyObject
* obj0
= 0 ;
18574 PyObject
* obj1
= 0 ;
18575 PyObject
* obj2
= 0 ;
18576 char * kwnames
[] = {
18577 (char *) "self",(char *) "n",(char *) "pos", NULL
18580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18582 if (!SWIG_IsOK(res1
)) {
18583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18585 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18587 if (!SWIG_IsOK(ecode2
)) {
18588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18590 arg2
= static_cast< int >(val2
);
18592 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18593 if (!SWIG_IsOK(ecode3
)) {
18594 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18596 arg3
= static_cast< int >(val3
);
18599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18600 (arg1
)->SetTickFreq(arg2
,arg3
);
18601 wxPyEndAllowThreads(__tstate
);
18602 if (PyErr_Occurred()) SWIG_fail
;
18604 resultobj
= SWIG_Py_Void();
18611 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18612 PyObject
*resultobj
= 0;
18613 wxSlider
*arg1
= (wxSlider
*) 0 ;
18617 PyObject
*swig_obj
[1] ;
18619 if (!args
) SWIG_fail
;
18620 swig_obj
[0] = args
;
18621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18622 if (!SWIG_IsOK(res1
)) {
18623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18625 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18628 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18629 wxPyEndAllowThreads(__tstate
);
18630 if (PyErr_Occurred()) SWIG_fail
;
18632 resultobj
= SWIG_From_int(static_cast< int >(result
));
18639 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18640 PyObject
*resultobj
= 0;
18641 wxSlider
*arg1
= (wxSlider
*) 0 ;
18644 PyObject
*swig_obj
[1] ;
18646 if (!args
) SWIG_fail
;
18647 swig_obj
[0] = args
;
18648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18649 if (!SWIG_IsOK(res1
)) {
18650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18652 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18655 (arg1
)->ClearTicks();
18656 wxPyEndAllowThreads(__tstate
);
18657 if (PyErr_Occurred()) SWIG_fail
;
18659 resultobj
= SWIG_Py_Void();
18666 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18667 PyObject
*resultobj
= 0;
18668 wxSlider
*arg1
= (wxSlider
*) 0 ;
18674 PyObject
* obj0
= 0 ;
18675 PyObject
* obj1
= 0 ;
18676 char * kwnames
[] = {
18677 (char *) "self",(char *) "tickPos", NULL
18680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18682 if (!SWIG_IsOK(res1
)) {
18683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18685 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18686 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18687 if (!SWIG_IsOK(ecode2
)) {
18688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18690 arg2
= static_cast< int >(val2
);
18692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18693 (arg1
)->SetTick(arg2
);
18694 wxPyEndAllowThreads(__tstate
);
18695 if (PyErr_Occurred()) SWIG_fail
;
18697 resultobj
= SWIG_Py_Void();
18704 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18705 PyObject
*resultobj
= 0;
18706 wxSlider
*arg1
= (wxSlider
*) 0 ;
18709 PyObject
*swig_obj
[1] ;
18711 if (!args
) SWIG_fail
;
18712 swig_obj
[0] = args
;
18713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18714 if (!SWIG_IsOK(res1
)) {
18715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18717 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18720 (arg1
)->ClearSel();
18721 wxPyEndAllowThreads(__tstate
);
18722 if (PyErr_Occurred()) SWIG_fail
;
18724 resultobj
= SWIG_Py_Void();
18731 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18732 PyObject
*resultobj
= 0;
18733 wxSlider
*arg1
= (wxSlider
*) 0 ;
18737 PyObject
*swig_obj
[1] ;
18739 if (!args
) SWIG_fail
;
18740 swig_obj
[0] = args
;
18741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18742 if (!SWIG_IsOK(res1
)) {
18743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18745 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18748 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18749 wxPyEndAllowThreads(__tstate
);
18750 if (PyErr_Occurred()) SWIG_fail
;
18752 resultobj
= SWIG_From_int(static_cast< int >(result
));
18759 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18760 PyObject
*resultobj
= 0;
18761 wxSlider
*arg1
= (wxSlider
*) 0 ;
18765 PyObject
*swig_obj
[1] ;
18767 if (!args
) SWIG_fail
;
18768 swig_obj
[0] = args
;
18769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18770 if (!SWIG_IsOK(res1
)) {
18771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18773 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18776 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18777 wxPyEndAllowThreads(__tstate
);
18778 if (PyErr_Occurred()) SWIG_fail
;
18780 resultobj
= SWIG_From_int(static_cast< int >(result
));
18787 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18788 PyObject
*resultobj
= 0;
18789 wxSlider
*arg1
= (wxSlider
*) 0 ;
18798 PyObject
* obj0
= 0 ;
18799 PyObject
* obj1
= 0 ;
18800 PyObject
* obj2
= 0 ;
18801 char * kwnames
[] = {
18802 (char *) "self",(char *) "min",(char *) "max", NULL
18805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18807 if (!SWIG_IsOK(res1
)) {
18808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18810 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18811 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18812 if (!SWIG_IsOK(ecode2
)) {
18813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18815 arg2
= static_cast< int >(val2
);
18816 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18817 if (!SWIG_IsOK(ecode3
)) {
18818 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18820 arg3
= static_cast< int >(val3
);
18822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18823 (arg1
)->SetSelection(arg2
,arg3
);
18824 wxPyEndAllowThreads(__tstate
);
18825 if (PyErr_Occurred()) SWIG_fail
;
18827 resultobj
= SWIG_Py_Void();
18834 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18835 PyObject
*resultobj
= 0;
18836 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18837 SwigValueWrapper
<wxVisualAttributes
> result
;
18840 PyObject
* obj0
= 0 ;
18841 char * kwnames
[] = {
18842 (char *) "variant", NULL
18845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18847 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18848 if (!SWIG_IsOK(ecode1
)) {
18849 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18851 arg1
= static_cast< wxWindowVariant
>(val1
);
18854 if (!wxPyCheckForApp()) SWIG_fail
;
18855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18856 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18857 wxPyEndAllowThreads(__tstate
);
18858 if (PyErr_Occurred()) SWIG_fail
;
18860 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18867 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18869 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18870 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18871 return SWIG_Py_Void();
18874 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18875 return SWIG_Python_InitShadowInstance(args
);
18878 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18879 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18884 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18885 PyObject
*pyobj
= 0;
18889 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18891 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18898 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18899 PyObject
*resultobj
= 0;
18900 wxWindow
*arg1
= (wxWindow
*) 0 ;
18901 int arg2
= (int) -1 ;
18902 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18903 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18904 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18905 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18906 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18907 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18908 long arg6
= (long) 0 ;
18909 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18910 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18911 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18912 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18913 wxToggleButton
*result
= 0 ;
18918 bool temp3
= false ;
18925 bool temp8
= false ;
18926 PyObject
* obj0
= 0 ;
18927 PyObject
* obj1
= 0 ;
18928 PyObject
* obj2
= 0 ;
18929 PyObject
* obj3
= 0 ;
18930 PyObject
* obj4
= 0 ;
18931 PyObject
* obj5
= 0 ;
18932 PyObject
* obj6
= 0 ;
18933 PyObject
* obj7
= 0 ;
18934 char * kwnames
[] = {
18935 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18940 if (!SWIG_IsOK(res1
)) {
18941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18943 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18945 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18946 if (!SWIG_IsOK(ecode2
)) {
18947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18949 arg2
= static_cast< int >(val2
);
18953 arg3
= wxString_in_helper(obj2
);
18954 if (arg3
== NULL
) SWIG_fail
;
18961 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18967 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18971 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18972 if (!SWIG_IsOK(ecode6
)) {
18973 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18975 arg6
= static_cast< long >(val6
);
18978 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18979 if (!SWIG_IsOK(res7
)) {
18980 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18983 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18985 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18989 arg8
= wxString_in_helper(obj7
);
18990 if (arg8
== NULL
) SWIG_fail
;
18995 if (!wxPyCheckForApp()) SWIG_fail
;
18996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18997 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18998 wxPyEndAllowThreads(__tstate
);
18999 if (PyErr_Occurred()) SWIG_fail
;
19001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
19024 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19025 PyObject
*resultobj
= 0;
19026 wxToggleButton
*result
= 0 ;
19028 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
19030 if (!wxPyCheckForApp()) SWIG_fail
;
19031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19032 result
= (wxToggleButton
*)new wxToggleButton();
19033 wxPyEndAllowThreads(__tstate
);
19034 if (PyErr_Occurred()) SWIG_fail
;
19036 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
19043 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19044 PyObject
*resultobj
= 0;
19045 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19046 wxWindow
*arg2
= (wxWindow
*) 0 ;
19047 int arg3
= (int) -1 ;
19048 wxString
const &arg4_defvalue
= wxPyEmptyString
;
19049 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
19050 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19051 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19052 wxSize
const &arg6_defvalue
= wxDefaultSize
;
19053 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
19054 long arg7
= (long) 0 ;
19055 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
19056 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
19057 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
19058 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
19066 bool temp4
= false ;
19073 bool temp9
= false ;
19074 PyObject
* obj0
= 0 ;
19075 PyObject
* obj1
= 0 ;
19076 PyObject
* obj2
= 0 ;
19077 PyObject
* obj3
= 0 ;
19078 PyObject
* obj4
= 0 ;
19079 PyObject
* obj5
= 0 ;
19080 PyObject
* obj6
= 0 ;
19081 PyObject
* obj7
= 0 ;
19082 PyObject
* obj8
= 0 ;
19083 char * kwnames
[] = {
19084 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
19088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19089 if (!SWIG_IsOK(res1
)) {
19090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19092 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19093 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19094 if (!SWIG_IsOK(res2
)) {
19095 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19097 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19099 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19100 if (!SWIG_IsOK(ecode3
)) {
19101 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
19103 arg3
= static_cast< int >(val3
);
19107 arg4
= wxString_in_helper(obj3
);
19108 if (arg4
== NULL
) SWIG_fail
;
19115 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19121 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
19125 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
19126 if (!SWIG_IsOK(ecode7
)) {
19127 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
19129 arg7
= static_cast< long >(val7
);
19132 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
19133 if (!SWIG_IsOK(res8
)) {
19134 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19137 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19139 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
19143 arg9
= wxString_in_helper(obj8
);
19144 if (arg9
== NULL
) SWIG_fail
;
19149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19150 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
19151 wxPyEndAllowThreads(__tstate
);
19152 if (PyErr_Occurred()) SWIG_fail
;
19155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19179 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19180 PyObject
*resultobj
= 0;
19181 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19187 PyObject
* obj0
= 0 ;
19188 PyObject
* obj1
= 0 ;
19189 char * kwnames
[] = {
19190 (char *) "self",(char *) "value", NULL
19193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19195 if (!SWIG_IsOK(res1
)) {
19196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19198 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19199 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19200 if (!SWIG_IsOK(ecode2
)) {
19201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19203 arg2
= static_cast< bool >(val2
);
19205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19206 (arg1
)->SetValue(arg2
);
19207 wxPyEndAllowThreads(__tstate
);
19208 if (PyErr_Occurred()) SWIG_fail
;
19210 resultobj
= SWIG_Py_Void();
19217 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19218 PyObject
*resultobj
= 0;
19219 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19223 PyObject
*swig_obj
[1] ;
19225 if (!args
) SWIG_fail
;
19226 swig_obj
[0] = args
;
19227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19228 if (!SWIG_IsOK(res1
)) {
19229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19231 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19234 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
19235 wxPyEndAllowThreads(__tstate
);
19236 if (PyErr_Occurred()) SWIG_fail
;
19239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19247 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19248 PyObject
*resultobj
= 0;
19249 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19250 SwigValueWrapper
<wxVisualAttributes
> result
;
19253 PyObject
* obj0
= 0 ;
19254 char * kwnames
[] = {
19255 (char *) "variant", NULL
19258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19260 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19261 if (!SWIG_IsOK(ecode1
)) {
19262 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19264 arg1
= static_cast< wxWindowVariant
>(val1
);
19267 if (!wxPyCheckForApp()) SWIG_fail
;
19268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19269 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
19270 wxPyEndAllowThreads(__tstate
);
19271 if (PyErr_Occurred()) SWIG_fail
;
19273 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19280 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19282 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19283 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
19284 return SWIG_Py_Void();
19287 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19288 return SWIG_Python_InitShadowInstance(args
);
19291 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
19292 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
19297 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
19298 PyObject
*pyobj
= 0;
19302 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19304 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19311 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19312 PyObject
*resultobj
= 0;
19313 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19317 PyObject
*swig_obj
[1] ;
19319 if (!args
) SWIG_fail
;
19320 swig_obj
[0] = args
;
19321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19322 if (!SWIG_IsOK(res1
)) {
19323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19325 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19328 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19329 wxPyEndAllowThreads(__tstate
);
19330 if (PyErr_Occurred()) SWIG_fail
;
19332 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19339 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19340 PyObject
*resultobj
= 0;
19341 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19343 wxWindow
*result
= 0 ;
19348 PyObject
* obj0
= 0 ;
19349 PyObject
* obj1
= 0 ;
19350 char * kwnames
[] = {
19351 (char *) "self",(char *) "n", NULL
19354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19356 if (!SWIG_IsOK(res1
)) {
19357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19359 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19360 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19361 if (!SWIG_IsOK(ecode2
)) {
19362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19364 arg2
= static_cast< size_t >(val2
);
19366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19367 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19368 wxPyEndAllowThreads(__tstate
);
19369 if (PyErr_Occurred()) SWIG_fail
;
19372 resultobj
= wxPyMake_wxObject(result
, 0);
19380 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19381 PyObject
*resultobj
= 0;
19382 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19383 wxWindow
*result
= 0 ;
19386 PyObject
*swig_obj
[1] ;
19388 if (!args
) SWIG_fail
;
19389 swig_obj
[0] = args
;
19390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19391 if (!SWIG_IsOK(res1
)) {
19392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19394 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19397 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19398 wxPyEndAllowThreads(__tstate
);
19399 if (PyErr_Occurred()) SWIG_fail
;
19402 resultobj
= wxPyMake_wxObject(result
, 0);
19410 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19411 PyObject
*resultobj
= 0;
19412 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19416 PyObject
*swig_obj
[1] ;
19418 if (!args
) SWIG_fail
;
19419 swig_obj
[0] = args
;
19420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19421 if (!SWIG_IsOK(res1
)) {
19422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19424 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19427 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19428 wxPyEndAllowThreads(__tstate
);
19429 if (PyErr_Occurred()) SWIG_fail
;
19431 resultobj
= SWIG_From_int(static_cast< int >(result
));
19438 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19439 PyObject
*resultobj
= 0;
19440 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19442 wxString
*arg3
= 0 ;
19448 bool temp3
= false ;
19449 PyObject
* obj0
= 0 ;
19450 PyObject
* obj1
= 0 ;
19451 PyObject
* obj2
= 0 ;
19452 char * kwnames
[] = {
19453 (char *) "self",(char *) "n",(char *) "strText", NULL
19456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19458 if (!SWIG_IsOK(res1
)) {
19459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19461 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19462 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19463 if (!SWIG_IsOK(ecode2
)) {
19464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19466 arg2
= static_cast< size_t >(val2
);
19468 arg3
= wxString_in_helper(obj2
);
19469 if (arg3
== NULL
) SWIG_fail
;
19473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19474 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19475 wxPyEndAllowThreads(__tstate
);
19476 if (PyErr_Occurred()) SWIG_fail
;
19479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19495 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19496 PyObject
*resultobj
= 0;
19497 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19504 PyObject
* obj0
= 0 ;
19505 PyObject
* obj1
= 0 ;
19506 char * kwnames
[] = {
19507 (char *) "self",(char *) "n", NULL
19510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19512 if (!SWIG_IsOK(res1
)) {
19513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19515 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19516 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19517 if (!SWIG_IsOK(ecode2
)) {
19518 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19520 arg2
= static_cast< size_t >(val2
);
19522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19523 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19524 wxPyEndAllowThreads(__tstate
);
19525 if (PyErr_Occurred()) SWIG_fail
;
19529 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19531 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19540 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19541 PyObject
*resultobj
= 0;
19542 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19543 wxImageList
*arg2
= (wxImageList
*) 0 ;
19548 PyObject
* obj0
= 0 ;
19549 PyObject
* obj1
= 0 ;
19550 char * kwnames
[] = {
19551 (char *) "self",(char *) "imageList", NULL
19554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19556 if (!SWIG_IsOK(res1
)) {
19557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19559 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19560 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19561 if (!SWIG_IsOK(res2
)) {
19562 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19564 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19567 (arg1
)->SetImageList(arg2
);
19568 wxPyEndAllowThreads(__tstate
);
19569 if (PyErr_Occurred()) SWIG_fail
;
19571 resultobj
= SWIG_Py_Void();
19578 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19579 PyObject
*resultobj
= 0;
19580 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19581 wxImageList
*arg2
= (wxImageList
*) 0 ;
19585 PyObject
* obj0
= 0 ;
19586 PyObject
* obj1
= 0 ;
19587 char * kwnames
[] = {
19588 (char *) "self",(char *) "imageList", NULL
19591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19593 if (!SWIG_IsOK(res1
)) {
19594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19596 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19597 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19598 if (!SWIG_IsOK(res2
)) {
19599 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19603 (arg1
)->AssignImageList(arg2
);
19604 wxPyEndAllowThreads(__tstate
);
19605 if (PyErr_Occurred()) SWIG_fail
;
19607 resultobj
= SWIG_Py_Void();
19614 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19615 PyObject
*resultobj
= 0;
19616 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19617 wxImageList
*result
= 0 ;
19620 PyObject
*swig_obj
[1] ;
19622 if (!args
) SWIG_fail
;
19623 swig_obj
[0] = args
;
19624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19625 if (!SWIG_IsOK(res1
)) {
19626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19628 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19631 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19632 wxPyEndAllowThreads(__tstate
);
19633 if (PyErr_Occurred()) SWIG_fail
;
19636 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19644 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19645 PyObject
*resultobj
= 0;
19646 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19653 PyObject
* obj0
= 0 ;
19654 PyObject
* obj1
= 0 ;
19655 char * kwnames
[] = {
19656 (char *) "self",(char *) "n", NULL
19659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19661 if (!SWIG_IsOK(res1
)) {
19662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19664 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19665 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19666 if (!SWIG_IsOK(ecode2
)) {
19667 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19669 arg2
= static_cast< size_t >(val2
);
19671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19672 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19673 wxPyEndAllowThreads(__tstate
);
19674 if (PyErr_Occurred()) SWIG_fail
;
19676 resultobj
= SWIG_From_int(static_cast< int >(result
));
19683 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19684 PyObject
*resultobj
= 0;
19685 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19695 PyObject
* obj0
= 0 ;
19696 PyObject
* obj1
= 0 ;
19697 PyObject
* obj2
= 0 ;
19698 char * kwnames
[] = {
19699 (char *) "self",(char *) "n",(char *) "imageId", NULL
19702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19704 if (!SWIG_IsOK(res1
)) {
19705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19707 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19708 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19709 if (!SWIG_IsOK(ecode2
)) {
19710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19712 arg2
= static_cast< size_t >(val2
);
19713 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19714 if (!SWIG_IsOK(ecode3
)) {
19715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19717 arg3
= static_cast< int >(val3
);
19719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19720 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19721 wxPyEndAllowThreads(__tstate
);
19722 if (PyErr_Occurred()) SWIG_fail
;
19725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19733 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19734 PyObject
*resultobj
= 0;
19735 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19740 PyObject
* obj0
= 0 ;
19741 PyObject
* obj1
= 0 ;
19742 char * kwnames
[] = {
19743 (char *) "self",(char *) "size", NULL
19746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19748 if (!SWIG_IsOK(res1
)) {
19749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19751 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19754 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19758 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19759 wxPyEndAllowThreads(__tstate
);
19760 if (PyErr_Occurred()) SWIG_fail
;
19762 resultobj
= SWIG_Py_Void();
19769 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19770 PyObject
*resultobj
= 0;
19771 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19777 PyObject
* obj0
= 0 ;
19778 PyObject
* obj1
= 0 ;
19779 char * kwnames
[] = {
19780 (char *) "self",(char *) "sizePage", NULL
19783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19785 if (!SWIG_IsOK(res1
)) {
19786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19788 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19791 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19795 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19796 wxPyEndAllowThreads(__tstate
);
19797 if (PyErr_Occurred()) SWIG_fail
;
19799 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19806 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19807 PyObject
*resultobj
= 0;
19808 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19809 unsigned int result
;
19812 PyObject
*swig_obj
[1] ;
19814 if (!args
) SWIG_fail
;
19815 swig_obj
[0] = args
;
19816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19817 if (!SWIG_IsOK(res1
)) {
19818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19820 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19823 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19824 wxPyEndAllowThreads(__tstate
);
19825 if (PyErr_Occurred()) SWIG_fail
;
19827 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19834 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19835 PyObject
*resultobj
= 0;
19836 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19837 unsigned int arg2
;
19840 unsigned int val2
;
19842 PyObject
* obj0
= 0 ;
19843 PyObject
* obj1
= 0 ;
19844 char * kwnames
[] = {
19845 (char *) "self",(char *) "internalBorder", NULL
19848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19850 if (!SWIG_IsOK(res1
)) {
19851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19853 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19854 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19855 if (!SWIG_IsOK(ecode2
)) {
19856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19858 arg2
= static_cast< unsigned int >(val2
);
19860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19861 (arg1
)->SetInternalBorder(arg2
);
19862 wxPyEndAllowThreads(__tstate
);
19863 if (PyErr_Occurred()) SWIG_fail
;
19865 resultobj
= SWIG_Py_Void();
19872 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19873 PyObject
*resultobj
= 0;
19874 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19878 PyObject
*swig_obj
[1] ;
19880 if (!args
) SWIG_fail
;
19881 swig_obj
[0] = args
;
19882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19883 if (!SWIG_IsOK(res1
)) {
19884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19886 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19889 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19890 wxPyEndAllowThreads(__tstate
);
19891 if (PyErr_Occurred()) SWIG_fail
;
19894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19902 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19903 PyObject
*resultobj
= 0;
19904 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19910 PyObject
* obj0
= 0 ;
19911 PyObject
* obj1
= 0 ;
19912 char * kwnames
[] = {
19913 (char *) "self",(char *) "margin", NULL
19916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19918 if (!SWIG_IsOK(res1
)) {
19919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19921 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19922 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19923 if (!SWIG_IsOK(ecode2
)) {
19924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19926 arg2
= static_cast< int >(val2
);
19928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19929 (arg1
)->SetControlMargin(arg2
);
19930 wxPyEndAllowThreads(__tstate
);
19931 if (PyErr_Occurred()) SWIG_fail
;
19933 resultobj
= SWIG_Py_Void();
19940 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19941 PyObject
*resultobj
= 0;
19942 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19946 PyObject
*swig_obj
[1] ;
19948 if (!args
) SWIG_fail
;
19949 swig_obj
[0] = args
;
19950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19951 if (!SWIG_IsOK(res1
)) {
19952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19954 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19957 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19958 wxPyEndAllowThreads(__tstate
);
19959 if (PyErr_Occurred()) SWIG_fail
;
19961 resultobj
= SWIG_From_int(static_cast< int >(result
));
19968 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19969 PyObject
*resultobj
= 0;
19970 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19976 PyObject
* obj0
= 0 ;
19977 PyObject
* obj1
= 0 ;
19978 char * kwnames
[] = {
19979 (char *) "self",(char *) "fit", NULL
19982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19984 if (!SWIG_IsOK(res1
)) {
19985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19987 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19988 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19989 if (!SWIG_IsOK(ecode2
)) {
19990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19992 arg2
= static_cast< bool >(val2
);
19994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19995 (arg1
)->SetFitToCurrentPage(arg2
);
19996 wxPyEndAllowThreads(__tstate
);
19997 if (PyErr_Occurred()) SWIG_fail
;
19999 resultobj
= SWIG_Py_Void();
20006 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20007 PyObject
*resultobj
= 0;
20008 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20012 PyObject
*swig_obj
[1] ;
20014 if (!args
) SWIG_fail
;
20015 swig_obj
[0] = args
;
20016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20017 if (!SWIG_IsOK(res1
)) {
20018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20020 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20023 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
20024 wxPyEndAllowThreads(__tstate
);
20025 if (PyErr_Occurred()) SWIG_fail
;
20028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20036 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20037 PyObject
*resultobj
= 0;
20038 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20039 wxSizer
*result
= 0 ;
20042 PyObject
*swig_obj
[1] ;
20044 if (!args
) SWIG_fail
;
20045 swig_obj
[0] = args
;
20046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20047 if (!SWIG_IsOK(res1
)) {
20048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20050 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20053 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
20054 wxPyEndAllowThreads(__tstate
);
20055 if (PyErr_Occurred()) SWIG_fail
;
20058 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20066 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20067 PyObject
*resultobj
= 0;
20068 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20075 PyObject
* obj0
= 0 ;
20076 PyObject
* obj1
= 0 ;
20077 char * kwnames
[] = {
20078 (char *) "self",(char *) "n", NULL
20081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20083 if (!SWIG_IsOK(res1
)) {
20084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20086 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20087 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20088 if (!SWIG_IsOK(ecode2
)) {
20089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
20091 arg2
= static_cast< size_t >(val2
);
20093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20094 result
= (bool)(arg1
)->DeletePage(arg2
);
20095 wxPyEndAllowThreads(__tstate
);
20096 if (PyErr_Occurred()) SWIG_fail
;
20099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20107 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20108 PyObject
*resultobj
= 0;
20109 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20116 PyObject
* obj0
= 0 ;
20117 PyObject
* obj1
= 0 ;
20118 char * kwnames
[] = {
20119 (char *) "self",(char *) "n", NULL
20122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20124 if (!SWIG_IsOK(res1
)) {
20125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20127 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20128 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20129 if (!SWIG_IsOK(ecode2
)) {
20130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
20132 arg2
= static_cast< size_t >(val2
);
20134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20135 result
= (bool)(arg1
)->RemovePage(arg2
);
20136 wxPyEndAllowThreads(__tstate
);
20137 if (PyErr_Occurred()) SWIG_fail
;
20140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20148 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20149 PyObject
*resultobj
= 0;
20150 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20154 PyObject
*swig_obj
[1] ;
20156 if (!args
) SWIG_fail
;
20157 swig_obj
[0] = args
;
20158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20159 if (!SWIG_IsOK(res1
)) {
20160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20162 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20165 result
= (bool)(arg1
)->DeleteAllPages();
20166 wxPyEndAllowThreads(__tstate
);
20167 if (PyErr_Occurred()) SWIG_fail
;
20170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20178 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20179 PyObject
*resultobj
= 0;
20180 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20181 wxWindow
*arg2
= (wxWindow
*) 0 ;
20182 wxString
*arg3
= 0 ;
20183 bool arg4
= (bool) false ;
20184 int arg5
= (int) -1 ;
20190 bool temp3
= false ;
20195 PyObject
* obj0
= 0 ;
20196 PyObject
* obj1
= 0 ;
20197 PyObject
* obj2
= 0 ;
20198 PyObject
* obj3
= 0 ;
20199 PyObject
* obj4
= 0 ;
20200 char * kwnames
[] = {
20201 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20206 if (!SWIG_IsOK(res1
)) {
20207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20209 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20210 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20211 if (!SWIG_IsOK(res2
)) {
20212 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20214 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20216 arg3
= wxString_in_helper(obj2
);
20217 if (arg3
== NULL
) SWIG_fail
;
20221 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20222 if (!SWIG_IsOK(ecode4
)) {
20223 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20225 arg4
= static_cast< bool >(val4
);
20228 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20229 if (!SWIG_IsOK(ecode5
)) {
20230 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20232 arg5
= static_cast< int >(val5
);
20235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20236 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
20237 wxPyEndAllowThreads(__tstate
);
20238 if (PyErr_Occurred()) SWIG_fail
;
20241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20257 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20258 PyObject
*resultobj
= 0;
20259 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20261 wxWindow
*arg3
= (wxWindow
*) 0 ;
20262 wxString
*arg4
= 0 ;
20263 bool arg5
= (bool) false ;
20264 int arg6
= (int) -1 ;
20272 bool temp4
= false ;
20277 PyObject
* obj0
= 0 ;
20278 PyObject
* obj1
= 0 ;
20279 PyObject
* obj2
= 0 ;
20280 PyObject
* obj3
= 0 ;
20281 PyObject
* obj4
= 0 ;
20282 PyObject
* obj5
= 0 ;
20283 char * kwnames
[] = {
20284 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20289 if (!SWIG_IsOK(res1
)) {
20290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20292 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20293 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20294 if (!SWIG_IsOK(ecode2
)) {
20295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20297 arg2
= static_cast< size_t >(val2
);
20298 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20299 if (!SWIG_IsOK(res3
)) {
20300 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20302 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
20304 arg4
= wxString_in_helper(obj3
);
20305 if (arg4
== NULL
) SWIG_fail
;
20309 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20310 if (!SWIG_IsOK(ecode5
)) {
20311 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20313 arg5
= static_cast< bool >(val5
);
20316 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20317 if (!SWIG_IsOK(ecode6
)) {
20318 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20320 arg6
= static_cast< int >(val6
);
20323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20324 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20325 wxPyEndAllowThreads(__tstate
);
20326 if (PyErr_Occurred()) SWIG_fail
;
20329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20345 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20346 PyObject
*resultobj
= 0;
20347 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20354 PyObject
* obj0
= 0 ;
20355 PyObject
* obj1
= 0 ;
20356 char * kwnames
[] = {
20357 (char *) "self",(char *) "n", NULL
20360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20362 if (!SWIG_IsOK(res1
)) {
20363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20365 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20366 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20367 if (!SWIG_IsOK(ecode2
)) {
20368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20370 arg2
= static_cast< size_t >(val2
);
20372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20373 result
= (int)(arg1
)->SetSelection(arg2
);
20374 wxPyEndAllowThreads(__tstate
);
20375 if (PyErr_Occurred()) SWIG_fail
;
20377 resultobj
= SWIG_From_int(static_cast< int >(result
));
20384 SWIGINTERN PyObject
*_wrap_BookCtrlBase_ChangeSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20385 PyObject
*resultobj
= 0;
20386 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20393 PyObject
* obj0
= 0 ;
20394 PyObject
* obj1
= 0 ;
20395 char * kwnames
[] = {
20396 (char *) "self",(char *) "n", NULL
20399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20401 if (!SWIG_IsOK(res1
)) {
20402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20404 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20405 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20406 if (!SWIG_IsOK(ecode2
)) {
20407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20409 arg2
= static_cast< size_t >(val2
);
20411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20412 result
= (int)(arg1
)->ChangeSelection(arg2
);
20413 wxPyEndAllowThreads(__tstate
);
20414 if (PyErr_Occurred()) SWIG_fail
;
20416 resultobj
= SWIG_From_int(static_cast< int >(result
));
20423 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20424 PyObject
*resultobj
= 0;
20425 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20426 bool arg2
= (bool) true ;
20431 PyObject
* obj0
= 0 ;
20432 PyObject
* obj1
= 0 ;
20433 char * kwnames
[] = {
20434 (char *) "self",(char *) "forward", NULL
20437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20439 if (!SWIG_IsOK(res1
)) {
20440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20442 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20444 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20445 if (!SWIG_IsOK(ecode2
)) {
20446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20448 arg2
= static_cast< bool >(val2
);
20451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20452 (arg1
)->AdvanceSelection(arg2
);
20453 wxPyEndAllowThreads(__tstate
);
20454 if (PyErr_Occurred()) SWIG_fail
;
20456 resultobj
= SWIG_Py_Void();
20463 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20464 PyObject
*resultobj
= 0;
20465 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20466 wxPoint
*arg2
= 0 ;
20467 long *arg3
= (long *) 0 ;
20473 int res3
= SWIG_TMPOBJ
;
20474 PyObject
* obj0
= 0 ;
20475 PyObject
* obj1
= 0 ;
20476 char * kwnames
[] = {
20477 (char *) "self",(char *) "pt", NULL
20481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20483 if (!SWIG_IsOK(res1
)) {
20484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20486 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20489 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20493 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20494 wxPyEndAllowThreads(__tstate
);
20495 if (PyErr_Occurred()) SWIG_fail
;
20497 resultobj
= SWIG_From_int(static_cast< int >(result
));
20498 if (SWIG_IsTmpObj(res3
)) {
20499 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20501 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20502 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20510 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20511 PyObject
*resultobj
= 0;
20512 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20513 SwigValueWrapper
<wxVisualAttributes
> result
;
20516 PyObject
* obj0
= 0 ;
20517 char * kwnames
[] = {
20518 (char *) "variant", NULL
20521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20523 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20524 if (!SWIG_IsOK(ecode1
)) {
20525 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20527 arg1
= static_cast< wxWindowVariant
>(val1
);
20530 if (!wxPyCheckForApp()) SWIG_fail
;
20531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20532 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20533 wxPyEndAllowThreads(__tstate
);
20534 if (PyErr_Occurred()) SWIG_fail
;
20536 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20543 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20545 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20546 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20547 return SWIG_Py_Void();
20550 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20551 PyObject
*resultobj
= 0;
20552 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20553 int arg2
= (int) 0 ;
20554 int arg3
= (int) -1 ;
20555 int arg4
= (int) -1 ;
20556 wxBookCtrlBaseEvent
*result
= 0 ;
20565 PyObject
* obj0
= 0 ;
20566 PyObject
* obj1
= 0 ;
20567 PyObject
* obj2
= 0 ;
20568 PyObject
* obj3
= 0 ;
20569 char * kwnames
[] = {
20570 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20575 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20576 if (!SWIG_IsOK(ecode1
)) {
20577 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20579 arg1
= static_cast< wxEventType
>(val1
);
20582 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20583 if (!SWIG_IsOK(ecode2
)) {
20584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20586 arg2
= static_cast< int >(val2
);
20589 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20590 if (!SWIG_IsOK(ecode3
)) {
20591 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20593 arg3
= static_cast< int >(val3
);
20596 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20597 if (!SWIG_IsOK(ecode4
)) {
20598 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20600 arg4
= static_cast< int >(val4
);
20603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20604 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20605 wxPyEndAllowThreads(__tstate
);
20606 if (PyErr_Occurred()) SWIG_fail
;
20608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20615 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20616 PyObject
*resultobj
= 0;
20617 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20621 PyObject
*swig_obj
[1] ;
20623 if (!args
) SWIG_fail
;
20624 swig_obj
[0] = args
;
20625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20626 if (!SWIG_IsOK(res1
)) {
20627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20629 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20632 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20633 wxPyEndAllowThreads(__tstate
);
20634 if (PyErr_Occurred()) SWIG_fail
;
20636 resultobj
= SWIG_From_int(static_cast< int >(result
));
20643 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20644 PyObject
*resultobj
= 0;
20645 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20651 PyObject
* obj0
= 0 ;
20652 PyObject
* obj1
= 0 ;
20653 char * kwnames
[] = {
20654 (char *) "self",(char *) "nSel", NULL
20657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20659 if (!SWIG_IsOK(res1
)) {
20660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20662 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20663 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20664 if (!SWIG_IsOK(ecode2
)) {
20665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20667 arg2
= static_cast< int >(val2
);
20669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20670 (arg1
)->SetSelection(arg2
);
20671 wxPyEndAllowThreads(__tstate
);
20672 if (PyErr_Occurred()) SWIG_fail
;
20674 resultobj
= SWIG_Py_Void();
20681 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20682 PyObject
*resultobj
= 0;
20683 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20687 PyObject
*swig_obj
[1] ;
20689 if (!args
) SWIG_fail
;
20690 swig_obj
[0] = args
;
20691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20692 if (!SWIG_IsOK(res1
)) {
20693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20695 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20698 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20699 wxPyEndAllowThreads(__tstate
);
20700 if (PyErr_Occurred()) SWIG_fail
;
20702 resultobj
= SWIG_From_int(static_cast< int >(result
));
20709 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20710 PyObject
*resultobj
= 0;
20711 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20717 PyObject
* obj0
= 0 ;
20718 PyObject
* obj1
= 0 ;
20719 char * kwnames
[] = {
20720 (char *) "self",(char *) "nOldSel", NULL
20723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20725 if (!SWIG_IsOK(res1
)) {
20726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20728 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20729 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20730 if (!SWIG_IsOK(ecode2
)) {
20731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20733 arg2
= static_cast< int >(val2
);
20735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20736 (arg1
)->SetOldSelection(arg2
);
20737 wxPyEndAllowThreads(__tstate
);
20738 if (PyErr_Occurred()) SWIG_fail
;
20740 resultobj
= SWIG_Py_Void();
20747 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20749 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20750 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20751 return SWIG_Py_Void();
20754 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20755 return SWIG_Python_InitShadowInstance(args
);
20758 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20759 PyObject
*resultobj
= 0;
20760 wxWindow
*arg1
= (wxWindow
*) 0 ;
20761 int arg2
= (int) -1 ;
20762 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20763 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20764 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20765 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20766 long arg5
= (long) 0 ;
20767 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20768 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20769 wxNotebook
*result
= 0 ;
20778 bool temp6
= false ;
20779 PyObject
* obj0
= 0 ;
20780 PyObject
* obj1
= 0 ;
20781 PyObject
* obj2
= 0 ;
20782 PyObject
* obj3
= 0 ;
20783 PyObject
* obj4
= 0 ;
20784 PyObject
* obj5
= 0 ;
20785 char * kwnames
[] = {
20786 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20791 if (!SWIG_IsOK(res1
)) {
20792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20794 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20797 if (!SWIG_IsOK(ecode2
)) {
20798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20800 arg2
= static_cast< int >(val2
);
20805 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20811 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20815 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20816 if (!SWIG_IsOK(ecode5
)) {
20817 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20819 arg5
= static_cast< long >(val5
);
20823 arg6
= wxString_in_helper(obj5
);
20824 if (arg6
== NULL
) SWIG_fail
;
20829 if (!wxPyCheckForApp()) SWIG_fail
;
20830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20831 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20832 wxPyEndAllowThreads(__tstate
);
20833 if (PyErr_Occurred()) SWIG_fail
;
20835 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20850 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20851 PyObject
*resultobj
= 0;
20852 wxNotebook
*result
= 0 ;
20854 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20856 if (!wxPyCheckForApp()) SWIG_fail
;
20857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20858 result
= (wxNotebook
*)new wxNotebook();
20859 wxPyEndAllowThreads(__tstate
);
20860 if (PyErr_Occurred()) SWIG_fail
;
20862 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20869 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20870 PyObject
*resultobj
= 0;
20871 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20872 wxWindow
*arg2
= (wxWindow
*) 0 ;
20873 int arg3
= (int) -1 ;
20874 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20875 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20876 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20877 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20878 long arg6
= (long) 0 ;
20879 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20880 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20892 bool temp7
= false ;
20893 PyObject
* obj0
= 0 ;
20894 PyObject
* obj1
= 0 ;
20895 PyObject
* obj2
= 0 ;
20896 PyObject
* obj3
= 0 ;
20897 PyObject
* obj4
= 0 ;
20898 PyObject
* obj5
= 0 ;
20899 PyObject
* obj6
= 0 ;
20900 char * kwnames
[] = {
20901 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20906 if (!SWIG_IsOK(res1
)) {
20907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20909 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20910 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20911 if (!SWIG_IsOK(res2
)) {
20912 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20914 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20916 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20917 if (!SWIG_IsOK(ecode3
)) {
20918 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20920 arg3
= static_cast< int >(val3
);
20925 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20931 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20935 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20936 if (!SWIG_IsOK(ecode6
)) {
20937 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20939 arg6
= static_cast< long >(val6
);
20943 arg7
= wxString_in_helper(obj6
);
20944 if (arg7
== NULL
) SWIG_fail
;
20949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20950 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20951 wxPyEndAllowThreads(__tstate
);
20952 if (PyErr_Occurred()) SWIG_fail
;
20955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20971 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20972 PyObject
*resultobj
= 0;
20973 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20977 PyObject
*swig_obj
[1] ;
20979 if (!args
) SWIG_fail
;
20980 swig_obj
[0] = args
;
20981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20982 if (!SWIG_IsOK(res1
)) {
20983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20985 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20988 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20989 wxPyEndAllowThreads(__tstate
);
20990 if (PyErr_Occurred()) SWIG_fail
;
20992 resultobj
= SWIG_From_int(static_cast< int >(result
));
20999 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21000 PyObject
*resultobj
= 0;
21001 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21006 PyObject
* obj0
= 0 ;
21007 PyObject
* obj1
= 0 ;
21008 char * kwnames
[] = {
21009 (char *) "self",(char *) "padding", NULL
21012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21014 if (!SWIG_IsOK(res1
)) {
21015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
21017 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21020 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21024 (arg1
)->SetPadding((wxSize
const &)*arg2
);
21025 wxPyEndAllowThreads(__tstate
);
21026 if (PyErr_Occurred()) SWIG_fail
;
21028 resultobj
= SWIG_Py_Void();
21035 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21036 PyObject
*resultobj
= 0;
21037 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21042 PyObject
* obj0
= 0 ;
21043 PyObject
* obj1
= 0 ;
21044 char * kwnames
[] = {
21045 (char *) "self",(char *) "sz", NULL
21048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21050 if (!SWIG_IsOK(res1
)) {
21051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
21053 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21056 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21060 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
21061 wxPyEndAllowThreads(__tstate
);
21062 if (PyErr_Occurred()) SWIG_fail
;
21064 resultobj
= SWIG_Py_Void();
21071 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21072 PyObject
*resultobj
= 0;
21073 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21077 PyObject
*swig_obj
[1] ;
21079 if (!args
) SWIG_fail
;
21080 swig_obj
[0] = args
;
21081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21082 if (!SWIG_IsOK(res1
)) {
21083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
21085 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21088 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
21089 wxPyEndAllowThreads(__tstate
);
21090 if (PyErr_Occurred()) SWIG_fail
;
21092 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
21099 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21100 PyObject
*resultobj
= 0;
21101 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21102 SwigValueWrapper
<wxVisualAttributes
> result
;
21105 PyObject
* obj0
= 0 ;
21106 char * kwnames
[] = {
21107 (char *) "variant", NULL
21110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
21112 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21113 if (!SWIG_IsOK(ecode1
)) {
21114 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
21116 arg1
= static_cast< wxWindowVariant
>(val1
);
21119 if (!wxPyCheckForApp()) SWIG_fail
;
21120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21121 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
21122 wxPyEndAllowThreads(__tstate
);
21123 if (PyErr_Occurred()) SWIG_fail
;
21125 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21132 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21133 PyObject
*resultobj
= 0;
21134 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21141 PyObject
* obj0
= 0 ;
21142 PyObject
* obj1
= 0 ;
21143 char * kwnames
[] = {
21144 (char *) "self",(char *) "nPage", NULL
21147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SendPageChangingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21149 if (!SWIG_IsOK(res1
)) {
21150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21152 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21153 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21154 if (!SWIG_IsOK(ecode2
)) {
21155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
21157 arg2
= static_cast< int >(val2
);
21159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21160 result
= (bool)(arg1
)->SendPageChangingEvent(arg2
);
21161 wxPyEndAllowThreads(__tstate
);
21162 if (PyErr_Occurred()) SWIG_fail
;
21165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21173 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21174 PyObject
*resultobj
= 0;
21175 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21177 int arg3
= (int) -1 ;
21184 PyObject
* obj0
= 0 ;
21185 PyObject
* obj1
= 0 ;
21186 PyObject
* obj2
= 0 ;
21187 char * kwnames
[] = {
21188 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
21191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21193 if (!SWIG_IsOK(res1
)) {
21194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21196 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21197 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21198 if (!SWIG_IsOK(ecode2
)) {
21199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21201 arg2
= static_cast< int >(val2
);
21203 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21204 if (!SWIG_IsOK(ecode3
)) {
21205 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21207 arg3
= static_cast< int >(val3
);
21210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21211 (arg1
)->SendPageChangedEvent(arg2
,arg3
);
21212 wxPyEndAllowThreads(__tstate
);
21213 if (PyErr_Occurred()) SWIG_fail
;
21215 resultobj
= SWIG_Py_Void();
21222 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21224 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21225 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
21226 return SWIG_Py_Void();
21229 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21230 return SWIG_Python_InitShadowInstance(args
);
21233 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21234 PyObject
*resultobj
= 0;
21235 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21236 int arg2
= (int) 0 ;
21237 int arg3
= (int) -1 ;
21238 int arg4
= (int) -1 ;
21239 wxNotebookEvent
*result
= 0 ;
21248 PyObject
* obj0
= 0 ;
21249 PyObject
* obj1
= 0 ;
21250 PyObject
* obj2
= 0 ;
21251 PyObject
* obj3
= 0 ;
21252 char * kwnames
[] = {
21253 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21258 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21259 if (!SWIG_IsOK(ecode1
)) {
21260 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21262 arg1
= static_cast< wxEventType
>(val1
);
21265 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21266 if (!SWIG_IsOK(ecode2
)) {
21267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21269 arg2
= static_cast< int >(val2
);
21272 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21273 if (!SWIG_IsOK(ecode3
)) {
21274 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21276 arg3
= static_cast< int >(val3
);
21279 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21280 if (!SWIG_IsOK(ecode4
)) {
21281 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21283 arg4
= static_cast< int >(val4
);
21286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21287 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
21288 wxPyEndAllowThreads(__tstate
);
21289 if (PyErr_Occurred()) SWIG_fail
;
21291 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
21298 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21300 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21301 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
21302 return SWIG_Py_Void();
21305 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21306 return SWIG_Python_InitShadowInstance(args
);
21309 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21310 PyObject
*resultobj
= 0;
21311 wxWindow
*arg1
= (wxWindow
*) 0 ;
21312 int arg2
= (int) -1 ;
21313 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21314 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21315 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21316 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21317 long arg5
= (long) 0 ;
21318 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21319 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21320 wxListbook
*result
= 0 ;
21329 bool temp6
= false ;
21330 PyObject
* obj0
= 0 ;
21331 PyObject
* obj1
= 0 ;
21332 PyObject
* obj2
= 0 ;
21333 PyObject
* obj3
= 0 ;
21334 PyObject
* obj4
= 0 ;
21335 PyObject
* obj5
= 0 ;
21336 char * kwnames
[] = {
21337 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21342 if (!SWIG_IsOK(res1
)) {
21343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21345 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21347 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21348 if (!SWIG_IsOK(ecode2
)) {
21349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21351 arg2
= static_cast< int >(val2
);
21356 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21362 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21366 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21367 if (!SWIG_IsOK(ecode5
)) {
21368 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21370 arg5
= static_cast< long >(val5
);
21374 arg6
= wxString_in_helper(obj5
);
21375 if (arg6
== NULL
) SWIG_fail
;
21380 if (!wxPyCheckForApp()) SWIG_fail
;
21381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21382 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21383 wxPyEndAllowThreads(__tstate
);
21384 if (PyErr_Occurred()) SWIG_fail
;
21386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
21401 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21402 PyObject
*resultobj
= 0;
21403 wxListbook
*result
= 0 ;
21405 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
21407 if (!wxPyCheckForApp()) SWIG_fail
;
21408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21409 result
= (wxListbook
*)new wxListbook();
21410 wxPyEndAllowThreads(__tstate
);
21411 if (PyErr_Occurred()) SWIG_fail
;
21413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
21420 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21421 PyObject
*resultobj
= 0;
21422 wxListbook
*arg1
= (wxListbook
*) 0 ;
21423 wxWindow
*arg2
= (wxWindow
*) 0 ;
21424 int arg3
= (int) -1 ;
21425 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21426 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21427 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21428 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21429 long arg6
= (long) 0 ;
21430 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21431 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21443 bool temp7
= false ;
21444 PyObject
* obj0
= 0 ;
21445 PyObject
* obj1
= 0 ;
21446 PyObject
* obj2
= 0 ;
21447 PyObject
* obj3
= 0 ;
21448 PyObject
* obj4
= 0 ;
21449 PyObject
* obj5
= 0 ;
21450 PyObject
* obj6
= 0 ;
21451 char * kwnames
[] = {
21452 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21457 if (!SWIG_IsOK(res1
)) {
21458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21460 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21461 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21462 if (!SWIG_IsOK(res2
)) {
21463 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21465 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21467 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21468 if (!SWIG_IsOK(ecode3
)) {
21469 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21471 arg3
= static_cast< int >(val3
);
21476 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21482 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21486 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21487 if (!SWIG_IsOK(ecode6
)) {
21488 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21490 arg6
= static_cast< long >(val6
);
21494 arg7
= wxString_in_helper(obj6
);
21495 if (arg7
== NULL
) SWIG_fail
;
21500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21501 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21502 wxPyEndAllowThreads(__tstate
);
21503 if (PyErr_Occurred()) SWIG_fail
;
21506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21522 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21523 PyObject
*resultobj
= 0;
21524 wxListbook
*arg1
= (wxListbook
*) 0 ;
21525 wxListView
*result
= 0 ;
21528 PyObject
*swig_obj
[1] ;
21530 if (!args
) SWIG_fail
;
21531 swig_obj
[0] = args
;
21532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21533 if (!SWIG_IsOK(res1
)) {
21534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21536 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21539 result
= (wxListView
*)(arg1
)->GetListView();
21540 wxPyEndAllowThreads(__tstate
);
21541 if (PyErr_Occurred()) SWIG_fail
;
21543 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21550 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21552 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21553 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21554 return SWIG_Py_Void();
21557 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21558 return SWIG_Python_InitShadowInstance(args
);
21561 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21562 PyObject
*resultobj
= 0;
21563 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21564 int arg2
= (int) 0 ;
21565 int arg3
= (int) -1 ;
21566 int arg4
= (int) -1 ;
21567 wxListbookEvent
*result
= 0 ;
21576 PyObject
* obj0
= 0 ;
21577 PyObject
* obj1
= 0 ;
21578 PyObject
* obj2
= 0 ;
21579 PyObject
* obj3
= 0 ;
21580 char * kwnames
[] = {
21581 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21586 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21587 if (!SWIG_IsOK(ecode1
)) {
21588 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21590 arg1
= static_cast< wxEventType
>(val1
);
21593 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21594 if (!SWIG_IsOK(ecode2
)) {
21595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21597 arg2
= static_cast< int >(val2
);
21600 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21601 if (!SWIG_IsOK(ecode3
)) {
21602 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21604 arg3
= static_cast< int >(val3
);
21607 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21608 if (!SWIG_IsOK(ecode4
)) {
21609 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21611 arg4
= static_cast< int >(val4
);
21614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21615 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21616 wxPyEndAllowThreads(__tstate
);
21617 if (PyErr_Occurred()) SWIG_fail
;
21619 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21626 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21628 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21629 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21630 return SWIG_Py_Void();
21633 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21634 return SWIG_Python_InitShadowInstance(args
);
21637 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21638 PyObject
*resultobj
= 0;
21639 wxWindow
*arg1
= (wxWindow
*) 0 ;
21641 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21642 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21643 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21644 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21645 long arg5
= (long) 0 ;
21646 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21647 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21648 wxChoicebook
*result
= 0 ;
21657 bool temp6
= false ;
21658 PyObject
* obj0
= 0 ;
21659 PyObject
* obj1
= 0 ;
21660 PyObject
* obj2
= 0 ;
21661 PyObject
* obj3
= 0 ;
21662 PyObject
* obj4
= 0 ;
21663 PyObject
* obj5
= 0 ;
21664 char * kwnames
[] = {
21665 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21670 if (!SWIG_IsOK(res1
)) {
21671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21673 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21674 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21675 if (!SWIG_IsOK(ecode2
)) {
21676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21678 arg2
= static_cast< int >(val2
);
21682 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21688 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21692 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21693 if (!SWIG_IsOK(ecode5
)) {
21694 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21696 arg5
= static_cast< long >(val5
);
21700 arg6
= wxString_in_helper(obj5
);
21701 if (arg6
== NULL
) SWIG_fail
;
21706 if (!wxPyCheckForApp()) SWIG_fail
;
21707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21708 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21709 wxPyEndAllowThreads(__tstate
);
21710 if (PyErr_Occurred()) SWIG_fail
;
21712 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21727 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21728 PyObject
*resultobj
= 0;
21729 wxChoicebook
*result
= 0 ;
21731 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21733 if (!wxPyCheckForApp()) SWIG_fail
;
21734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21735 result
= (wxChoicebook
*)new wxChoicebook();
21736 wxPyEndAllowThreads(__tstate
);
21737 if (PyErr_Occurred()) SWIG_fail
;
21739 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21746 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21747 PyObject
*resultobj
= 0;
21748 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21749 wxWindow
*arg2
= (wxWindow
*) 0 ;
21751 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21752 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21753 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21754 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21755 long arg6
= (long) 0 ;
21756 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21757 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21769 bool temp7
= false ;
21770 PyObject
* obj0
= 0 ;
21771 PyObject
* obj1
= 0 ;
21772 PyObject
* obj2
= 0 ;
21773 PyObject
* obj3
= 0 ;
21774 PyObject
* obj4
= 0 ;
21775 PyObject
* obj5
= 0 ;
21776 PyObject
* obj6
= 0 ;
21777 char * kwnames
[] = {
21778 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21783 if (!SWIG_IsOK(res1
)) {
21784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21786 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21787 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21788 if (!SWIG_IsOK(res2
)) {
21789 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21791 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21792 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21793 if (!SWIG_IsOK(ecode3
)) {
21794 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21796 arg3
= static_cast< int >(val3
);
21800 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21806 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21810 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21811 if (!SWIG_IsOK(ecode6
)) {
21812 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21814 arg6
= static_cast< long >(val6
);
21818 arg7
= wxString_in_helper(obj6
);
21819 if (arg7
== NULL
) SWIG_fail
;
21824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21825 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21826 wxPyEndAllowThreads(__tstate
);
21827 if (PyErr_Occurred()) SWIG_fail
;
21830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21846 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21847 PyObject
*resultobj
= 0;
21848 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21849 wxChoice
*result
= 0 ;
21852 PyObject
*swig_obj
[1] ;
21854 if (!args
) SWIG_fail
;
21855 swig_obj
[0] = args
;
21856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21857 if (!SWIG_IsOK(res1
)) {
21858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21860 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21863 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21864 wxPyEndAllowThreads(__tstate
);
21865 if (PyErr_Occurred()) SWIG_fail
;
21867 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21874 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21876 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21877 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21878 return SWIG_Py_Void();
21881 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21882 return SWIG_Python_InitShadowInstance(args
);
21885 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21886 PyObject
*resultobj
= 0;
21887 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21888 int arg2
= (int) 0 ;
21889 int arg3
= (int) -1 ;
21890 int arg4
= (int) -1 ;
21891 wxChoicebookEvent
*result
= 0 ;
21900 PyObject
* obj0
= 0 ;
21901 PyObject
* obj1
= 0 ;
21902 PyObject
* obj2
= 0 ;
21903 PyObject
* obj3
= 0 ;
21904 char * kwnames
[] = {
21905 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21910 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21911 if (!SWIG_IsOK(ecode1
)) {
21912 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21914 arg1
= static_cast< wxEventType
>(val1
);
21917 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21918 if (!SWIG_IsOK(ecode2
)) {
21919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21921 arg2
= static_cast< int >(val2
);
21924 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21925 if (!SWIG_IsOK(ecode3
)) {
21926 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21928 arg3
= static_cast< int >(val3
);
21931 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21932 if (!SWIG_IsOK(ecode4
)) {
21933 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21935 arg4
= static_cast< int >(val4
);
21938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21939 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21940 wxPyEndAllowThreads(__tstate
);
21941 if (PyErr_Occurred()) SWIG_fail
;
21943 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21950 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21952 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21953 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21954 return SWIG_Py_Void();
21957 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21958 return SWIG_Python_InitShadowInstance(args
);
21961 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21962 PyObject
*resultobj
= 0;
21963 wxWindow
*arg1
= (wxWindow
*) 0 ;
21965 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21966 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21967 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21968 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21969 long arg5
= (long) wxBK_DEFAULT
;
21970 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21971 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21972 wxTreebook
*result
= 0 ;
21981 bool temp6
= false ;
21982 PyObject
* obj0
= 0 ;
21983 PyObject
* obj1
= 0 ;
21984 PyObject
* obj2
= 0 ;
21985 PyObject
* obj3
= 0 ;
21986 PyObject
* obj4
= 0 ;
21987 PyObject
* obj5
= 0 ;
21988 char * kwnames
[] = {
21989 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21994 if (!SWIG_IsOK(res1
)) {
21995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21997 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21998 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21999 if (!SWIG_IsOK(ecode2
)) {
22000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
22002 arg2
= static_cast< int >(val2
);
22006 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22012 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22016 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22017 if (!SWIG_IsOK(ecode5
)) {
22018 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
22020 arg5
= static_cast< long >(val5
);
22024 arg6
= wxString_in_helper(obj5
);
22025 if (arg6
== NULL
) SWIG_fail
;
22030 if (!wxPyCheckForApp()) SWIG_fail
;
22031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22032 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22033 wxPyEndAllowThreads(__tstate
);
22034 if (PyErr_Occurred()) SWIG_fail
;
22036 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
22051 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22052 PyObject
*resultobj
= 0;
22053 wxTreebook
*result
= 0 ;
22055 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
22057 if (!wxPyCheckForApp()) SWIG_fail
;
22058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22059 result
= (wxTreebook
*)new wxTreebook();
22060 wxPyEndAllowThreads(__tstate
);
22061 if (PyErr_Occurred()) SWIG_fail
;
22063 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
22070 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22071 PyObject
*resultobj
= 0;
22072 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22073 wxWindow
*arg2
= (wxWindow
*) 0 ;
22075 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22076 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22077 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22078 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22079 long arg6
= (long) wxBK_DEFAULT
;
22080 wxString
const &arg7_defvalue
= wxPyEmptyString
;
22081 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22093 bool temp7
= false ;
22094 PyObject
* obj0
= 0 ;
22095 PyObject
* obj1
= 0 ;
22096 PyObject
* obj2
= 0 ;
22097 PyObject
* obj3
= 0 ;
22098 PyObject
* obj4
= 0 ;
22099 PyObject
* obj5
= 0 ;
22100 PyObject
* obj6
= 0 ;
22101 char * kwnames
[] = {
22102 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22107 if (!SWIG_IsOK(res1
)) {
22108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
22110 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22111 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22112 if (!SWIG_IsOK(res2
)) {
22113 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22115 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22116 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22117 if (!SWIG_IsOK(ecode3
)) {
22118 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
22120 arg3
= static_cast< int >(val3
);
22124 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22130 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22134 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22135 if (!SWIG_IsOK(ecode6
)) {
22136 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
22138 arg6
= static_cast< long >(val6
);
22142 arg7
= wxString_in_helper(obj6
);
22143 if (arg7
== NULL
) SWIG_fail
;
22148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22149 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22150 wxPyEndAllowThreads(__tstate
);
22151 if (PyErr_Occurred()) SWIG_fail
;
22154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22170 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22171 PyObject
*resultobj
= 0;
22172 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22174 wxWindow
*arg3
= (wxWindow
*) 0 ;
22175 wxString
*arg4
= 0 ;
22176 bool arg5
= (bool) false ;
22177 int arg6
= (int) wxNOT_FOUND
;
22185 bool temp4
= false ;
22190 PyObject
* obj0
= 0 ;
22191 PyObject
* obj1
= 0 ;
22192 PyObject
* obj2
= 0 ;
22193 PyObject
* obj3
= 0 ;
22194 PyObject
* obj4
= 0 ;
22195 PyObject
* obj5
= 0 ;
22196 char * kwnames
[] = {
22197 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22202 if (!SWIG_IsOK(res1
)) {
22203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22205 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22206 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22207 if (!SWIG_IsOK(ecode2
)) {
22208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22210 arg2
= static_cast< size_t >(val2
);
22211 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22212 if (!SWIG_IsOK(res3
)) {
22213 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22215 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
22217 arg4
= wxString_in_helper(obj3
);
22218 if (arg4
== NULL
) SWIG_fail
;
22222 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
22223 if (!SWIG_IsOK(ecode5
)) {
22224 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22226 arg5
= static_cast< bool >(val5
);
22229 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22230 if (!SWIG_IsOK(ecode6
)) {
22231 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22233 arg6
= static_cast< int >(val6
);
22236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22237 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
22238 wxPyEndAllowThreads(__tstate
);
22239 if (PyErr_Occurred()) SWIG_fail
;
22242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22258 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22259 PyObject
*resultobj
= 0;
22260 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22261 wxWindow
*arg2
= (wxWindow
*) 0 ;
22262 wxString
*arg3
= 0 ;
22263 bool arg4
= (bool) false ;
22264 int arg5
= (int) wxNOT_FOUND
;
22270 bool temp3
= false ;
22275 PyObject
* obj0
= 0 ;
22276 PyObject
* obj1
= 0 ;
22277 PyObject
* obj2
= 0 ;
22278 PyObject
* obj3
= 0 ;
22279 PyObject
* obj4
= 0 ;
22280 char * kwnames
[] = {
22281 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22286 if (!SWIG_IsOK(res1
)) {
22287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22289 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22290 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22291 if (!SWIG_IsOK(res2
)) {
22292 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22294 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22296 arg3
= wxString_in_helper(obj2
);
22297 if (arg3
== NULL
) SWIG_fail
;
22301 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
22302 if (!SWIG_IsOK(ecode4
)) {
22303 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22305 arg4
= static_cast< bool >(val4
);
22308 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22309 if (!SWIG_IsOK(ecode5
)) {
22310 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22312 arg5
= static_cast< int >(val5
);
22315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22316 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22317 wxPyEndAllowThreads(__tstate
);
22318 if (PyErr_Occurred()) SWIG_fail
;
22321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22337 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22338 PyObject
*resultobj
= 0;
22339 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22346 PyObject
* obj0
= 0 ;
22347 PyObject
* obj1
= 0 ;
22348 char * kwnames
[] = {
22349 (char *) "self",(char *) "pos", NULL
22352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22354 if (!SWIG_IsOK(res1
)) {
22355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22357 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22358 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22359 if (!SWIG_IsOK(ecode2
)) {
22360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22362 arg2
= static_cast< size_t >(val2
);
22364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22365 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
22366 wxPyEndAllowThreads(__tstate
);
22367 if (PyErr_Occurred()) SWIG_fail
;
22370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22378 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22379 PyObject
*resultobj
= 0;
22380 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22382 bool arg3
= (bool) true ;
22390 PyObject
* obj0
= 0 ;
22391 PyObject
* obj1
= 0 ;
22392 PyObject
* obj2
= 0 ;
22393 char * kwnames
[] = {
22394 (char *) "self",(char *) "pos",(char *) "expand", NULL
22397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22399 if (!SWIG_IsOK(res1
)) {
22400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22402 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22403 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22404 if (!SWIG_IsOK(ecode2
)) {
22405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22407 arg2
= static_cast< size_t >(val2
);
22409 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22410 if (!SWIG_IsOK(ecode3
)) {
22411 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22413 arg3
= static_cast< bool >(val3
);
22416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22417 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
22418 wxPyEndAllowThreads(__tstate
);
22419 if (PyErr_Occurred()) SWIG_fail
;
22422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22430 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22431 PyObject
*resultobj
= 0;
22432 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22439 PyObject
* obj0
= 0 ;
22440 PyObject
* obj1
= 0 ;
22441 char * kwnames
[] = {
22442 (char *) "self",(char *) "pos", NULL
22445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22447 if (!SWIG_IsOK(res1
)) {
22448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22450 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22451 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22452 if (!SWIG_IsOK(ecode2
)) {
22453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22455 arg2
= static_cast< size_t >(val2
);
22457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22458 result
= (bool)(arg1
)->CollapseNode(arg2
);
22459 wxPyEndAllowThreads(__tstate
);
22460 if (PyErr_Occurred()) SWIG_fail
;
22463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22471 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22472 PyObject
*resultobj
= 0;
22473 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22480 PyObject
* obj0
= 0 ;
22481 PyObject
* obj1
= 0 ;
22482 char * kwnames
[] = {
22483 (char *) "self",(char *) "pos", NULL
22486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22488 if (!SWIG_IsOK(res1
)) {
22489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22491 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22492 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22493 if (!SWIG_IsOK(ecode2
)) {
22494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22496 arg2
= static_cast< size_t >(val2
);
22498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22499 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22500 wxPyEndAllowThreads(__tstate
);
22501 if (PyErr_Occurred()) SWIG_fail
;
22503 resultobj
= SWIG_From_int(static_cast< int >(result
));
22510 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22511 PyObject
*resultobj
= 0;
22512 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22513 wxPyTreeCtrl
*result
= 0 ;
22516 PyObject
*swig_obj
[1] ;
22518 if (!args
) SWIG_fail
;
22519 swig_obj
[0] = args
;
22520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22521 if (!SWIG_IsOK(res1
)) {
22522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22524 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22527 result
= (wxPyTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22528 wxPyEndAllowThreads(__tstate
);
22529 if (PyErr_Occurred()) SWIG_fail
;
22532 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22540 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22542 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22543 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22544 return SWIG_Py_Void();
22547 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22548 return SWIG_Python_InitShadowInstance(args
);
22551 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22552 PyObject
*resultobj
= 0;
22553 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22554 int arg2
= (int) 0 ;
22555 int arg3
= (int) wxNOT_FOUND
;
22556 int arg4
= (int) wxNOT_FOUND
;
22557 wxTreebookEvent
*result
= 0 ;
22566 PyObject
* obj0
= 0 ;
22567 PyObject
* obj1
= 0 ;
22568 PyObject
* obj2
= 0 ;
22569 PyObject
* obj3
= 0 ;
22570 char * kwnames
[] = {
22571 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22576 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22577 if (!SWIG_IsOK(ecode1
)) {
22578 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22580 arg1
= static_cast< wxEventType
>(val1
);
22583 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22584 if (!SWIG_IsOK(ecode2
)) {
22585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22587 arg2
= static_cast< int >(val2
);
22590 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22591 if (!SWIG_IsOK(ecode3
)) {
22592 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22594 arg3
= static_cast< int >(val3
);
22597 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22598 if (!SWIG_IsOK(ecode4
)) {
22599 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22601 arg4
= static_cast< int >(val4
);
22604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22605 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22606 wxPyEndAllowThreads(__tstate
);
22607 if (PyErr_Occurred()) SWIG_fail
;
22609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22616 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22618 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22619 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22620 return SWIG_Py_Void();
22623 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22624 return SWIG_Python_InitShadowInstance(args
);
22627 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22628 PyObject
*resultobj
= 0;
22629 wxWindow
*arg1
= (wxWindow
*) 0 ;
22631 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22632 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22633 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22634 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22635 long arg5
= (long) wxBK_DEFAULT
;
22636 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22637 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22638 wxToolbook
*result
= 0 ;
22647 bool temp6
= false ;
22648 PyObject
* obj0
= 0 ;
22649 PyObject
* obj1
= 0 ;
22650 PyObject
* obj2
= 0 ;
22651 PyObject
* obj3
= 0 ;
22652 PyObject
* obj4
= 0 ;
22653 PyObject
* obj5
= 0 ;
22654 char * kwnames
[] = {
22655 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22660 if (!SWIG_IsOK(res1
)) {
22661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22663 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22665 if (!SWIG_IsOK(ecode2
)) {
22666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22668 arg2
= static_cast< int >(val2
);
22672 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22678 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22682 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22683 if (!SWIG_IsOK(ecode5
)) {
22684 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22686 arg5
= static_cast< long >(val5
);
22690 arg6
= wxString_in_helper(obj5
);
22691 if (arg6
== NULL
) SWIG_fail
;
22696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22697 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22698 wxPyEndAllowThreads(__tstate
);
22699 if (PyErr_Occurred()) SWIG_fail
;
22701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22716 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22717 PyObject
*resultobj
= 0;
22718 wxToolbook
*result
= 0 ;
22720 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22723 result
= (wxToolbook
*)new wxToolbook();
22724 wxPyEndAllowThreads(__tstate
);
22725 if (PyErr_Occurred()) SWIG_fail
;
22727 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22734 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22735 PyObject
*resultobj
= 0;
22736 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22737 wxWindow
*arg2
= (wxWindow
*) 0 ;
22739 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22740 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22741 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22742 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22743 long arg6
= (long) 0 ;
22744 wxString
const &arg7_defvalue
= wxEmptyString
;
22745 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22757 bool temp7
= false ;
22758 PyObject
* obj0
= 0 ;
22759 PyObject
* obj1
= 0 ;
22760 PyObject
* obj2
= 0 ;
22761 PyObject
* obj3
= 0 ;
22762 PyObject
* obj4
= 0 ;
22763 PyObject
* obj5
= 0 ;
22764 PyObject
* obj6
= 0 ;
22765 char * kwnames
[] = {
22766 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22771 if (!SWIG_IsOK(res1
)) {
22772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22774 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22775 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22776 if (!SWIG_IsOK(res2
)) {
22777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22779 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22780 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22781 if (!SWIG_IsOK(ecode3
)) {
22782 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22784 arg3
= static_cast< int >(val3
);
22788 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22794 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22798 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22799 if (!SWIG_IsOK(ecode6
)) {
22800 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22802 arg6
= static_cast< long >(val6
);
22806 arg7
= wxString_in_helper(obj6
);
22807 if (arg7
== NULL
) SWIG_fail
;
22812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22813 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22814 wxPyEndAllowThreads(__tstate
);
22815 if (PyErr_Occurred()) SWIG_fail
;
22818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22834 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22835 PyObject
*resultobj
= 0;
22836 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22837 wxToolBarBase
*result
= 0 ;
22840 PyObject
*swig_obj
[1] ;
22842 if (!args
) SWIG_fail
;
22843 swig_obj
[0] = args
;
22844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22845 if (!SWIG_IsOK(res1
)) {
22846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22848 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22851 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22852 wxPyEndAllowThreads(__tstate
);
22853 if (PyErr_Occurred()) SWIG_fail
;
22856 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22864 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22865 PyObject
*resultobj
= 0;
22866 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22869 PyObject
*swig_obj
[1] ;
22871 if (!args
) SWIG_fail
;
22872 swig_obj
[0] = args
;
22873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22874 if (!SWIG_IsOK(res1
)) {
22875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22877 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22881 wxPyEndAllowThreads(__tstate
);
22882 if (PyErr_Occurred()) SWIG_fail
;
22884 resultobj
= SWIG_Py_Void();
22891 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22893 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22894 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22895 return SWIG_Py_Void();
22898 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22899 return SWIG_Python_InitShadowInstance(args
);
22902 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22903 PyObject
*resultobj
= 0;
22904 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22905 int arg2
= (int) 0 ;
22906 int arg3
= (int) wxNOT_FOUND
;
22907 int arg4
= (int) wxNOT_FOUND
;
22908 wxToolbookEvent
*result
= 0 ;
22917 PyObject
* obj0
= 0 ;
22918 PyObject
* obj1
= 0 ;
22919 PyObject
* obj2
= 0 ;
22920 PyObject
* obj3
= 0 ;
22921 char * kwnames
[] = {
22922 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22927 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22928 if (!SWIG_IsOK(ecode1
)) {
22929 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22931 arg1
= static_cast< wxEventType
>(val1
);
22934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22935 if (!SWIG_IsOK(ecode2
)) {
22936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22938 arg2
= static_cast< int >(val2
);
22941 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22942 if (!SWIG_IsOK(ecode3
)) {
22943 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22945 arg3
= static_cast< int >(val3
);
22948 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22949 if (!SWIG_IsOK(ecode4
)) {
22950 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22952 arg4
= static_cast< int >(val4
);
22955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22956 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22957 wxPyEndAllowThreads(__tstate
);
22958 if (PyErr_Occurred()) SWIG_fail
;
22960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22967 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22969 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22970 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22971 return SWIG_Py_Void();
22974 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22975 return SWIG_Python_InitShadowInstance(args
);
22978 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22979 PyObject
*resultobj
= 0;
22980 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22984 PyObject
*swig_obj
[1] ;
22986 if (!args
) SWIG_fail
;
22987 swig_obj
[0] = args
;
22988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22989 if (!SWIG_IsOK(res1
)) {
22990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22992 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22995 result
= (int)(arg1
)->GetId();
22996 wxPyEndAllowThreads(__tstate
);
22997 if (PyErr_Occurred()) SWIG_fail
;
22999 resultobj
= SWIG_From_int(static_cast< int >(result
));
23006 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23007 PyObject
*resultobj
= 0;
23008 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23009 wxControl
*result
= 0 ;
23012 PyObject
*swig_obj
[1] ;
23014 if (!args
) SWIG_fail
;
23015 swig_obj
[0] = args
;
23016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23017 if (!SWIG_IsOK(res1
)) {
23018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23020 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23023 result
= (wxControl
*)(arg1
)->GetControl();
23024 wxPyEndAllowThreads(__tstate
);
23025 if (PyErr_Occurred()) SWIG_fail
;
23028 resultobj
= wxPyMake_wxObject(result
, 0);
23036 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23037 PyObject
*resultobj
= 0;
23038 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23039 wxToolBarBase
*result
= 0 ;
23042 PyObject
*swig_obj
[1] ;
23044 if (!args
) SWIG_fail
;
23045 swig_obj
[0] = args
;
23046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23047 if (!SWIG_IsOK(res1
)) {
23048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23050 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23053 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
23054 wxPyEndAllowThreads(__tstate
);
23055 if (PyErr_Occurred()) SWIG_fail
;
23058 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23066 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23067 PyObject
*resultobj
= 0;
23068 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23072 PyObject
*swig_obj
[1] ;
23074 if (!args
) SWIG_fail
;
23075 swig_obj
[0] = args
;
23076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23077 if (!SWIG_IsOK(res1
)) {
23078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23080 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23083 result
= (int)(arg1
)->IsButton();
23084 wxPyEndAllowThreads(__tstate
);
23085 if (PyErr_Occurred()) SWIG_fail
;
23087 resultobj
= SWIG_From_int(static_cast< int >(result
));
23094 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23095 PyObject
*resultobj
= 0;
23096 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23100 PyObject
*swig_obj
[1] ;
23102 if (!args
) SWIG_fail
;
23103 swig_obj
[0] = args
;
23104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23105 if (!SWIG_IsOK(res1
)) {
23106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23108 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23111 result
= (int)(arg1
)->IsControl();
23112 wxPyEndAllowThreads(__tstate
);
23113 if (PyErr_Occurred()) SWIG_fail
;
23115 resultobj
= SWIG_From_int(static_cast< int >(result
));
23122 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23123 PyObject
*resultobj
= 0;
23124 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23128 PyObject
*swig_obj
[1] ;
23130 if (!args
) SWIG_fail
;
23131 swig_obj
[0] = args
;
23132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23133 if (!SWIG_IsOK(res1
)) {
23134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23136 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23139 result
= (int)(arg1
)->IsSeparator();
23140 wxPyEndAllowThreads(__tstate
);
23141 if (PyErr_Occurred()) SWIG_fail
;
23143 resultobj
= SWIG_From_int(static_cast< int >(result
));
23150 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23151 PyObject
*resultobj
= 0;
23152 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23156 PyObject
*swig_obj
[1] ;
23158 if (!args
) SWIG_fail
;
23159 swig_obj
[0] = args
;
23160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23161 if (!SWIG_IsOK(res1
)) {
23162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23164 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23167 result
= (int)(arg1
)->GetStyle();
23168 wxPyEndAllowThreads(__tstate
);
23169 if (PyErr_Occurred()) SWIG_fail
;
23171 resultobj
= SWIG_From_int(static_cast< int >(result
));
23178 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23179 PyObject
*resultobj
= 0;
23180 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23184 PyObject
*swig_obj
[1] ;
23186 if (!args
) SWIG_fail
;
23187 swig_obj
[0] = args
;
23188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23189 if (!SWIG_IsOK(res1
)) {
23190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23192 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23195 result
= (wxItemKind
)(arg1
)->GetKind();
23196 wxPyEndAllowThreads(__tstate
);
23197 if (PyErr_Occurred()) SWIG_fail
;
23199 resultobj
= SWIG_From_int(static_cast< int >(result
));
23206 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23207 PyObject
*resultobj
= 0;
23208 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23212 PyObject
*swig_obj
[1] ;
23214 if (!args
) SWIG_fail
;
23215 swig_obj
[0] = args
;
23216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23217 if (!SWIG_IsOK(res1
)) {
23218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23220 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23223 result
= (bool)(arg1
)->IsEnabled();
23224 wxPyEndAllowThreads(__tstate
);
23225 if (PyErr_Occurred()) SWIG_fail
;
23228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23236 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23237 PyObject
*resultobj
= 0;
23238 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23242 PyObject
*swig_obj
[1] ;
23244 if (!args
) SWIG_fail
;
23245 swig_obj
[0] = args
;
23246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23247 if (!SWIG_IsOK(res1
)) {
23248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23250 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23253 result
= (bool)(arg1
)->IsToggled();
23254 wxPyEndAllowThreads(__tstate
);
23255 if (PyErr_Occurred()) SWIG_fail
;
23258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23266 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23267 PyObject
*resultobj
= 0;
23268 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23272 PyObject
*swig_obj
[1] ;
23274 if (!args
) SWIG_fail
;
23275 swig_obj
[0] = args
;
23276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23277 if (!SWIG_IsOK(res1
)) {
23278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23280 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23283 result
= (bool)(arg1
)->CanBeToggled();
23284 wxPyEndAllowThreads(__tstate
);
23285 if (PyErr_Occurred()) SWIG_fail
;
23288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23296 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23297 PyObject
*resultobj
= 0;
23298 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23299 wxBitmap
*result
= 0 ;
23302 PyObject
*swig_obj
[1] ;
23304 if (!args
) SWIG_fail
;
23305 swig_obj
[0] = args
;
23306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23307 if (!SWIG_IsOK(res1
)) {
23308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23310 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23314 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
23315 result
= (wxBitmap
*) &_result_ref
;
23317 wxPyEndAllowThreads(__tstate
);
23318 if (PyErr_Occurred()) SWIG_fail
;
23321 wxBitmap
* resultptr
= new wxBitmap(*result
);
23322 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23330 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23331 PyObject
*resultobj
= 0;
23332 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23333 wxBitmap
*result
= 0 ;
23336 PyObject
*swig_obj
[1] ;
23338 if (!args
) SWIG_fail
;
23339 swig_obj
[0] = args
;
23340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23341 if (!SWIG_IsOK(res1
)) {
23342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23344 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23348 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
23349 result
= (wxBitmap
*) &_result_ref
;
23351 wxPyEndAllowThreads(__tstate
);
23352 if (PyErr_Occurred()) SWIG_fail
;
23355 wxBitmap
* resultptr
= new wxBitmap(*result
);
23356 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23364 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23365 PyObject
*resultobj
= 0;
23366 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23370 PyObject
*swig_obj
[1] ;
23372 if (!args
) SWIG_fail
;
23373 swig_obj
[0] = args
;
23374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23375 if (!SWIG_IsOK(res1
)) {
23376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23378 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23381 result
= (arg1
)->GetBitmap();
23382 wxPyEndAllowThreads(__tstate
);
23383 if (PyErr_Occurred()) SWIG_fail
;
23385 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
23392 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23393 PyObject
*resultobj
= 0;
23394 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23398 PyObject
*swig_obj
[1] ;
23400 if (!args
) SWIG_fail
;
23401 swig_obj
[0] = args
;
23402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23403 if (!SWIG_IsOK(res1
)) {
23404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23406 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23409 result
= (arg1
)->GetLabel();
23410 wxPyEndAllowThreads(__tstate
);
23411 if (PyErr_Occurred()) SWIG_fail
;
23415 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23417 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23426 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23427 PyObject
*resultobj
= 0;
23428 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23432 PyObject
*swig_obj
[1] ;
23434 if (!args
) SWIG_fail
;
23435 swig_obj
[0] = args
;
23436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23437 if (!SWIG_IsOK(res1
)) {
23438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23440 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23443 result
= (arg1
)->GetShortHelp();
23444 wxPyEndAllowThreads(__tstate
);
23445 if (PyErr_Occurred()) SWIG_fail
;
23449 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23451 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23460 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23461 PyObject
*resultobj
= 0;
23462 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23466 PyObject
*swig_obj
[1] ;
23468 if (!args
) SWIG_fail
;
23469 swig_obj
[0] = args
;
23470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23471 if (!SWIG_IsOK(res1
)) {
23472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23474 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23477 result
= (arg1
)->GetLongHelp();
23478 wxPyEndAllowThreads(__tstate
);
23479 if (PyErr_Occurred()) SWIG_fail
;
23483 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23485 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23494 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23495 PyObject
*resultobj
= 0;
23496 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23503 PyObject
* obj0
= 0 ;
23504 PyObject
* obj1
= 0 ;
23505 char * kwnames
[] = {
23506 (char *) "self",(char *) "enable", NULL
23509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23511 if (!SWIG_IsOK(res1
)) {
23512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23514 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23515 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23516 if (!SWIG_IsOK(ecode2
)) {
23517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23519 arg2
= static_cast< bool >(val2
);
23521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23522 result
= (bool)(arg1
)->Enable(arg2
);
23523 wxPyEndAllowThreads(__tstate
);
23524 if (PyErr_Occurred()) SWIG_fail
;
23527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23535 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23536 PyObject
*resultobj
= 0;
23537 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23540 PyObject
*swig_obj
[1] ;
23542 if (!args
) SWIG_fail
;
23543 swig_obj
[0] = args
;
23544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23545 if (!SWIG_IsOK(res1
)) {
23546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23548 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23552 wxPyEndAllowThreads(__tstate
);
23553 if (PyErr_Occurred()) SWIG_fail
;
23555 resultobj
= SWIG_Py_Void();
23562 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23563 PyObject
*resultobj
= 0;
23564 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23571 PyObject
* obj0
= 0 ;
23572 PyObject
* obj1
= 0 ;
23573 char * kwnames
[] = {
23574 (char *) "self",(char *) "toggle", NULL
23577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23579 if (!SWIG_IsOK(res1
)) {
23580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23582 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23583 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23584 if (!SWIG_IsOK(ecode2
)) {
23585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23587 arg2
= static_cast< bool >(val2
);
23589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23590 result
= (bool)(arg1
)->SetToggle(arg2
);
23591 wxPyEndAllowThreads(__tstate
);
23592 if (PyErr_Occurred()) SWIG_fail
;
23595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23603 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23604 PyObject
*resultobj
= 0;
23605 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23606 wxString
*arg2
= 0 ;
23610 bool temp2
= false ;
23611 PyObject
* obj0
= 0 ;
23612 PyObject
* obj1
= 0 ;
23613 char * kwnames
[] = {
23614 (char *) "self",(char *) "help", NULL
23617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23619 if (!SWIG_IsOK(res1
)) {
23620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23622 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23624 arg2
= wxString_in_helper(obj1
);
23625 if (arg2
== NULL
) SWIG_fail
;
23629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23630 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23631 wxPyEndAllowThreads(__tstate
);
23632 if (PyErr_Occurred()) SWIG_fail
;
23635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23651 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23652 PyObject
*resultobj
= 0;
23653 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23654 wxString
*arg2
= 0 ;
23658 bool temp2
= false ;
23659 PyObject
* obj0
= 0 ;
23660 PyObject
* obj1
= 0 ;
23661 char * kwnames
[] = {
23662 (char *) "self",(char *) "help", NULL
23665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23667 if (!SWIG_IsOK(res1
)) {
23668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23670 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23672 arg2
= wxString_in_helper(obj1
);
23673 if (arg2
== NULL
) SWIG_fail
;
23677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23678 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23679 wxPyEndAllowThreads(__tstate
);
23680 if (PyErr_Occurred()) SWIG_fail
;
23683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23699 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23700 PyObject
*resultobj
= 0;
23701 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23702 wxBitmap
*arg2
= 0 ;
23707 PyObject
* obj0
= 0 ;
23708 PyObject
* obj1
= 0 ;
23709 char * kwnames
[] = {
23710 (char *) "self",(char *) "bmp", NULL
23713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23715 if (!SWIG_IsOK(res1
)) {
23716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23718 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23719 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23720 if (!SWIG_IsOK(res2
)) {
23721 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23724 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23726 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23729 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23730 wxPyEndAllowThreads(__tstate
);
23731 if (PyErr_Occurred()) SWIG_fail
;
23733 resultobj
= SWIG_Py_Void();
23740 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23741 PyObject
*resultobj
= 0;
23742 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23743 wxBitmap
*arg2
= 0 ;
23748 PyObject
* obj0
= 0 ;
23749 PyObject
* obj1
= 0 ;
23750 char * kwnames
[] = {
23751 (char *) "self",(char *) "bmp", NULL
23754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23756 if (!SWIG_IsOK(res1
)) {
23757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23759 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23760 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23761 if (!SWIG_IsOK(res2
)) {
23762 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23765 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23767 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23770 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23771 wxPyEndAllowThreads(__tstate
);
23772 if (PyErr_Occurred()) SWIG_fail
;
23774 resultobj
= SWIG_Py_Void();
23781 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23782 PyObject
*resultobj
= 0;
23783 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23784 wxString
*arg2
= 0 ;
23787 bool temp2
= false ;
23788 PyObject
* obj0
= 0 ;
23789 PyObject
* obj1
= 0 ;
23790 char * kwnames
[] = {
23791 (char *) "self",(char *) "label", NULL
23794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23796 if (!SWIG_IsOK(res1
)) {
23797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23799 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23801 arg2
= wxString_in_helper(obj1
);
23802 if (arg2
== NULL
) SWIG_fail
;
23806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23807 (arg1
)->SetLabel((wxString
const &)*arg2
);
23808 wxPyEndAllowThreads(__tstate
);
23809 if (PyErr_Occurred()) SWIG_fail
;
23811 resultobj
= SWIG_Py_Void();
23826 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23827 PyObject
*resultobj
= 0;
23828 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23831 PyObject
*swig_obj
[1] ;
23833 if (!args
) SWIG_fail
;
23834 swig_obj
[0] = args
;
23835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23836 if (!SWIG_IsOK(res1
)) {
23837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23839 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23843 wxPyEndAllowThreads(__tstate
);
23844 if (PyErr_Occurred()) SWIG_fail
;
23846 resultobj
= SWIG_Py_Void();
23853 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23854 PyObject
*resultobj
= 0;
23855 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23856 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23861 PyObject
* obj0
= 0 ;
23862 PyObject
* obj1
= 0 ;
23863 char * kwnames
[] = {
23864 (char *) "self",(char *) "tbar", NULL
23867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23869 if (!SWIG_IsOK(res1
)) {
23870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23872 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23873 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23874 if (!SWIG_IsOK(res2
)) {
23875 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23877 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23880 (arg1
)->Attach(arg2
);
23881 wxPyEndAllowThreads(__tstate
);
23882 if (PyErr_Occurred()) SWIG_fail
;
23884 resultobj
= SWIG_Py_Void();
23891 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23892 PyObject
*resultobj
= 0;
23893 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23894 PyObject
*result
= 0 ;
23897 PyObject
*swig_obj
[1] ;
23899 if (!args
) SWIG_fail
;
23900 swig_obj
[0] = args
;
23901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23902 if (!SWIG_IsOK(res1
)) {
23903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23905 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23908 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23909 wxPyEndAllowThreads(__tstate
);
23910 if (PyErr_Occurred()) SWIG_fail
;
23912 resultobj
= result
;
23919 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23920 PyObject
*resultobj
= 0;
23921 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23922 PyObject
*arg2
= (PyObject
*) 0 ;
23925 PyObject
* obj0
= 0 ;
23926 PyObject
* obj1
= 0 ;
23927 char * kwnames
[] = {
23928 (char *) "self",(char *) "clientData", NULL
23931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23933 if (!SWIG_IsOK(res1
)) {
23934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23936 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23940 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23941 wxPyEndAllowThreads(__tstate
);
23942 if (PyErr_Occurred()) SWIG_fail
;
23944 resultobj
= SWIG_Py_Void();
23951 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23953 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23954 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23955 return SWIG_Py_Void();
23958 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23959 PyObject
*resultobj
= 0;
23960 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23962 wxString
*arg3
= 0 ;
23963 wxBitmap
*arg4
= 0 ;
23964 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23965 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23966 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23967 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23968 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23969 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23970 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23971 PyObject
*arg9
= (PyObject
*) NULL
;
23972 wxToolBarToolBase
*result
= 0 ;
23977 bool temp3
= false ;
23984 bool temp7
= false ;
23985 bool temp8
= false ;
23986 PyObject
* obj0
= 0 ;
23987 PyObject
* obj1
= 0 ;
23988 PyObject
* obj2
= 0 ;
23989 PyObject
* obj3
= 0 ;
23990 PyObject
* obj4
= 0 ;
23991 PyObject
* obj5
= 0 ;
23992 PyObject
* obj6
= 0 ;
23993 PyObject
* obj7
= 0 ;
23994 PyObject
* obj8
= 0 ;
23995 char * kwnames
[] = {
23996 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
24000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24001 if (!SWIG_IsOK(res1
)) {
24002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24004 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24005 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24006 if (!SWIG_IsOK(ecode2
)) {
24007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
24009 arg2
= static_cast< int >(val2
);
24011 arg3
= wxString_in_helper(obj2
);
24012 if (arg3
== NULL
) SWIG_fail
;
24015 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24016 if (!SWIG_IsOK(res4
)) {
24017 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
24020 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
24022 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
24024 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24025 if (!SWIG_IsOK(res5
)) {
24026 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24029 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24031 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
24034 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24035 if (!SWIG_IsOK(ecode6
)) {
24036 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
24038 arg6
= static_cast< wxItemKind
>(val6
);
24042 arg7
= wxString_in_helper(obj6
);
24043 if (arg7
== NULL
) SWIG_fail
;
24049 arg8
= wxString_in_helper(obj7
);
24050 if (arg8
== NULL
) SWIG_fail
;
24058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24059 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
24060 wxPyEndAllowThreads(__tstate
);
24061 if (PyErr_Occurred()) SWIG_fail
;
24064 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24096 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24097 PyObject
*resultobj
= 0;
24098 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24101 wxString
*arg4
= 0 ;
24102 wxBitmap
*arg5
= 0 ;
24103 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
24104 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
24105 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
24106 wxString
const &arg8_defvalue
= wxPyEmptyString
;
24107 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24108 wxString
const &arg9_defvalue
= wxPyEmptyString
;
24109 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
24110 PyObject
*arg10
= (PyObject
*) NULL
;
24111 wxToolBarToolBase
*result
= 0 ;
24118 bool temp4
= false ;
24125 bool temp8
= false ;
24126 bool temp9
= false ;
24127 PyObject
* obj0
= 0 ;
24128 PyObject
* obj1
= 0 ;
24129 PyObject
* obj2
= 0 ;
24130 PyObject
* obj3
= 0 ;
24131 PyObject
* obj4
= 0 ;
24132 PyObject
* obj5
= 0 ;
24133 PyObject
* obj6
= 0 ;
24134 PyObject
* obj7
= 0 ;
24135 PyObject
* obj8
= 0 ;
24136 PyObject
* obj9
= 0 ;
24137 char * kwnames
[] = {
24138 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
24141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
24142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24143 if (!SWIG_IsOK(res1
)) {
24144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24146 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24147 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24148 if (!SWIG_IsOK(ecode2
)) {
24149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
24151 arg2
= static_cast< size_t >(val2
);
24152 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24153 if (!SWIG_IsOK(ecode3
)) {
24154 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
24156 arg3
= static_cast< int >(val3
);
24158 arg4
= wxString_in_helper(obj3
);
24159 if (arg4
== NULL
) SWIG_fail
;
24162 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24163 if (!SWIG_IsOK(res5
)) {
24164 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24167 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24169 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
24171 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24172 if (!SWIG_IsOK(res6
)) {
24173 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24176 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24178 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
24181 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24182 if (!SWIG_IsOK(ecode7
)) {
24183 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
24185 arg7
= static_cast< wxItemKind
>(val7
);
24189 arg8
= wxString_in_helper(obj7
);
24190 if (arg8
== NULL
) SWIG_fail
;
24196 arg9
= wxString_in_helper(obj8
);
24197 if (arg9
== NULL
) SWIG_fail
;
24205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24206 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
24207 wxPyEndAllowThreads(__tstate
);
24208 if (PyErr_Occurred()) SWIG_fail
;
24211 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24243 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24244 PyObject
*resultobj
= 0;
24245 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24246 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
24247 wxToolBarToolBase
*result
= 0 ;
24252 PyObject
* obj0
= 0 ;
24253 PyObject
* obj1
= 0 ;
24254 char * kwnames
[] = {
24255 (char *) "self",(char *) "tool", NULL
24258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",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_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24263 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24264 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24265 if (!SWIG_IsOK(res2
)) {
24266 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24268 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
24270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24271 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
24272 wxPyEndAllowThreads(__tstate
);
24273 if (PyErr_Occurred()) SWIG_fail
;
24276 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24284 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24285 PyObject
*resultobj
= 0;
24286 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24288 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
24289 wxToolBarToolBase
*result
= 0 ;
24296 PyObject
* obj0
= 0 ;
24297 PyObject
* obj1
= 0 ;
24298 PyObject
* obj2
= 0 ;
24299 char * kwnames
[] = {
24300 (char *) "self",(char *) "pos",(char *) "tool", NULL
24303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24305 if (!SWIG_IsOK(res1
)) {
24306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24308 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24309 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24310 if (!SWIG_IsOK(ecode2
)) {
24311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24313 arg2
= static_cast< size_t >(val2
);
24314 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24315 if (!SWIG_IsOK(res3
)) {
24316 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24318 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
24320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24321 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
24322 wxPyEndAllowThreads(__tstate
);
24323 if (PyErr_Occurred()) SWIG_fail
;
24326 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24334 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24335 PyObject
*resultobj
= 0;
24336 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24337 wxControl
*arg2
= (wxControl
*) 0 ;
24338 wxToolBarToolBase
*result
= 0 ;
24343 PyObject
* obj0
= 0 ;
24344 PyObject
* obj1
= 0 ;
24345 char * kwnames
[] = {
24346 (char *) "self",(char *) "control", NULL
24349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24351 if (!SWIG_IsOK(res1
)) {
24352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24354 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24355 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
24356 if (!SWIG_IsOK(res2
)) {
24357 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24359 arg2
= reinterpret_cast< wxControl
* >(argp2
);
24361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24362 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
24363 wxPyEndAllowThreads(__tstate
);
24364 if (PyErr_Occurred()) SWIG_fail
;
24367 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24375 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24376 PyObject
*resultobj
= 0;
24377 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24379 wxControl
*arg3
= (wxControl
*) 0 ;
24380 wxToolBarToolBase
*result
= 0 ;
24387 PyObject
* obj0
= 0 ;
24388 PyObject
* obj1
= 0 ;
24389 PyObject
* obj2
= 0 ;
24390 char * kwnames
[] = {
24391 (char *) "self",(char *) "pos",(char *) "control", NULL
24394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24396 if (!SWIG_IsOK(res1
)) {
24397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24399 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24400 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24401 if (!SWIG_IsOK(ecode2
)) {
24402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24404 arg2
= static_cast< size_t >(val2
);
24405 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
24406 if (!SWIG_IsOK(res3
)) {
24407 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24409 arg3
= reinterpret_cast< wxControl
* >(argp3
);
24411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24412 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
24413 wxPyEndAllowThreads(__tstate
);
24414 if (PyErr_Occurred()) SWIG_fail
;
24417 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24425 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24426 PyObject
*resultobj
= 0;
24427 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24429 wxControl
*result
= 0 ;
24434 PyObject
* obj0
= 0 ;
24435 PyObject
* obj1
= 0 ;
24436 char * kwnames
[] = {
24437 (char *) "self",(char *) "id", NULL
24440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24442 if (!SWIG_IsOK(res1
)) {
24443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24445 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24447 if (!SWIG_IsOK(ecode2
)) {
24448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24450 arg2
= static_cast< int >(val2
);
24452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24453 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24454 wxPyEndAllowThreads(__tstate
);
24455 if (PyErr_Occurred()) SWIG_fail
;
24458 resultobj
= wxPyMake_wxObject(result
, 0);
24466 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24467 PyObject
*resultobj
= 0;
24468 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24469 wxToolBarToolBase
*result
= 0 ;
24472 PyObject
*swig_obj
[1] ;
24474 if (!args
) SWIG_fail
;
24475 swig_obj
[0] = args
;
24476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24477 if (!SWIG_IsOK(res1
)) {
24478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24480 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24483 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24484 wxPyEndAllowThreads(__tstate
);
24485 if (PyErr_Occurred()) SWIG_fail
;
24488 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24496 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24497 PyObject
*resultobj
= 0;
24498 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24500 wxToolBarToolBase
*result
= 0 ;
24505 PyObject
* obj0
= 0 ;
24506 PyObject
* obj1
= 0 ;
24507 char * kwnames
[] = {
24508 (char *) "self",(char *) "pos", NULL
24511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24513 if (!SWIG_IsOK(res1
)) {
24514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24516 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24517 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24518 if (!SWIG_IsOK(ecode2
)) {
24519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24521 arg2
= static_cast< size_t >(val2
);
24523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24524 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24525 wxPyEndAllowThreads(__tstate
);
24526 if (PyErr_Occurred()) SWIG_fail
;
24529 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24537 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24538 PyObject
*resultobj
= 0;
24539 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24541 wxToolBarToolBase
*result
= 0 ;
24546 PyObject
* obj0
= 0 ;
24547 PyObject
* obj1
= 0 ;
24548 char * kwnames
[] = {
24549 (char *) "self",(char *) "id", NULL
24552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24554 if (!SWIG_IsOK(res1
)) {
24555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24557 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24558 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24559 if (!SWIG_IsOK(ecode2
)) {
24560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24562 arg2
= static_cast< int >(val2
);
24564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24565 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24566 wxPyEndAllowThreads(__tstate
);
24567 if (PyErr_Occurred()) SWIG_fail
;
24570 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24578 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24579 PyObject
*resultobj
= 0;
24580 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24587 PyObject
* obj0
= 0 ;
24588 PyObject
* obj1
= 0 ;
24589 char * kwnames
[] = {
24590 (char *) "self",(char *) "pos", NULL
24593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24595 if (!SWIG_IsOK(res1
)) {
24596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24598 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24599 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24600 if (!SWIG_IsOK(ecode2
)) {
24601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24603 arg2
= static_cast< size_t >(val2
);
24605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24606 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24607 wxPyEndAllowThreads(__tstate
);
24608 if (PyErr_Occurred()) SWIG_fail
;
24611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24619 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24620 PyObject
*resultobj
= 0;
24621 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24628 PyObject
* obj0
= 0 ;
24629 PyObject
* obj1
= 0 ;
24630 char * kwnames
[] = {
24631 (char *) "self",(char *) "id", NULL
24634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24636 if (!SWIG_IsOK(res1
)) {
24637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24639 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24641 if (!SWIG_IsOK(ecode2
)) {
24642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24644 arg2
= static_cast< int >(val2
);
24646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24647 result
= (bool)(arg1
)->DeleteTool(arg2
);
24648 wxPyEndAllowThreads(__tstate
);
24649 if (PyErr_Occurred()) SWIG_fail
;
24652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24660 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24661 PyObject
*resultobj
= 0;
24662 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24665 PyObject
*swig_obj
[1] ;
24667 if (!args
) SWIG_fail
;
24668 swig_obj
[0] = args
;
24669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24670 if (!SWIG_IsOK(res1
)) {
24671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24673 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24676 (arg1
)->ClearTools();
24677 wxPyEndAllowThreads(__tstate
);
24678 if (PyErr_Occurred()) SWIG_fail
;
24680 resultobj
= SWIG_Py_Void();
24687 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24688 PyObject
*resultobj
= 0;
24689 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24693 PyObject
*swig_obj
[1] ;
24695 if (!args
) SWIG_fail
;
24696 swig_obj
[0] = args
;
24697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24698 if (!SWIG_IsOK(res1
)) {
24699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24701 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24704 result
= (bool)(arg1
)->Realize();
24705 wxPyEndAllowThreads(__tstate
);
24706 if (PyErr_Occurred()) SWIG_fail
;
24709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24717 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24718 PyObject
*resultobj
= 0;
24719 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24728 PyObject
* obj0
= 0 ;
24729 PyObject
* obj1
= 0 ;
24730 PyObject
* obj2
= 0 ;
24731 char * kwnames
[] = {
24732 (char *) "self",(char *) "id",(char *) "enable", NULL
24735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24737 if (!SWIG_IsOK(res1
)) {
24738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24740 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24741 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24742 if (!SWIG_IsOK(ecode2
)) {
24743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24745 arg2
= static_cast< int >(val2
);
24746 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24747 if (!SWIG_IsOK(ecode3
)) {
24748 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24750 arg3
= static_cast< bool >(val3
);
24752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24753 (arg1
)->EnableTool(arg2
,arg3
);
24754 wxPyEndAllowThreads(__tstate
);
24755 if (PyErr_Occurred()) SWIG_fail
;
24757 resultobj
= SWIG_Py_Void();
24764 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24765 PyObject
*resultobj
= 0;
24766 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24775 PyObject
* obj0
= 0 ;
24776 PyObject
* obj1
= 0 ;
24777 PyObject
* obj2
= 0 ;
24778 char * kwnames
[] = {
24779 (char *) "self",(char *) "id",(char *) "toggle", NULL
24782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24784 if (!SWIG_IsOK(res1
)) {
24785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24787 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24788 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24789 if (!SWIG_IsOK(ecode2
)) {
24790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24792 arg2
= static_cast< int >(val2
);
24793 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24794 if (!SWIG_IsOK(ecode3
)) {
24795 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24797 arg3
= static_cast< bool >(val3
);
24799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24800 (arg1
)->ToggleTool(arg2
,arg3
);
24801 wxPyEndAllowThreads(__tstate
);
24802 if (PyErr_Occurred()) SWIG_fail
;
24804 resultobj
= SWIG_Py_Void();
24811 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24812 PyObject
*resultobj
= 0;
24813 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24822 PyObject
* obj0
= 0 ;
24823 PyObject
* obj1
= 0 ;
24824 PyObject
* obj2
= 0 ;
24825 char * kwnames
[] = {
24826 (char *) "self",(char *) "id",(char *) "toggle", NULL
24829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24831 if (!SWIG_IsOK(res1
)) {
24832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24834 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24835 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24836 if (!SWIG_IsOK(ecode2
)) {
24837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24839 arg2
= static_cast< int >(val2
);
24840 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24841 if (!SWIG_IsOK(ecode3
)) {
24842 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24844 arg3
= static_cast< bool >(val3
);
24846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24847 (arg1
)->SetToggle(arg2
,arg3
);
24848 wxPyEndAllowThreads(__tstate
);
24849 if (PyErr_Occurred()) SWIG_fail
;
24851 resultobj
= SWIG_Py_Void();
24858 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24859 PyObject
*resultobj
= 0;
24860 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24862 PyObject
*result
= 0 ;
24867 PyObject
* obj0
= 0 ;
24868 PyObject
* obj1
= 0 ;
24869 char * kwnames
[] = {
24870 (char *) "self",(char *) "id", NULL
24873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24875 if (!SWIG_IsOK(res1
)) {
24876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24878 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24879 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24880 if (!SWIG_IsOK(ecode2
)) {
24881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24883 arg2
= static_cast< int >(val2
);
24885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24886 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24887 wxPyEndAllowThreads(__tstate
);
24888 if (PyErr_Occurred()) SWIG_fail
;
24890 resultobj
= result
;
24897 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24898 PyObject
*resultobj
= 0;
24899 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24901 PyObject
*arg3
= (PyObject
*) 0 ;
24906 PyObject
* obj0
= 0 ;
24907 PyObject
* obj1
= 0 ;
24908 PyObject
* obj2
= 0 ;
24909 char * kwnames
[] = {
24910 (char *) "self",(char *) "id",(char *) "clientData", NULL
24913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24915 if (!SWIG_IsOK(res1
)) {
24916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24918 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24919 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24920 if (!SWIG_IsOK(ecode2
)) {
24921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24923 arg2
= static_cast< int >(val2
);
24926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24927 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24928 wxPyEndAllowThreads(__tstate
);
24929 if (PyErr_Occurred()) SWIG_fail
;
24931 resultobj
= SWIG_Py_Void();
24938 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24939 PyObject
*resultobj
= 0;
24940 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24947 PyObject
* obj0
= 0 ;
24948 PyObject
* obj1
= 0 ;
24949 char * kwnames
[] = {
24950 (char *) "self",(char *) "id", NULL
24953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24955 if (!SWIG_IsOK(res1
)) {
24956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24958 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24959 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24960 if (!SWIG_IsOK(ecode2
)) {
24961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24963 arg2
= static_cast< int >(val2
);
24965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24966 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24967 wxPyEndAllowThreads(__tstate
);
24968 if (PyErr_Occurred()) SWIG_fail
;
24970 resultobj
= SWIG_From_int(static_cast< int >(result
));
24977 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24978 PyObject
*resultobj
= 0;
24979 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24986 PyObject
* obj0
= 0 ;
24987 PyObject
* obj1
= 0 ;
24988 char * kwnames
[] = {
24989 (char *) "self",(char *) "id", NULL
24992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24994 if (!SWIG_IsOK(res1
)) {
24995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24997 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24998 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24999 if (!SWIG_IsOK(ecode2
)) {
25000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
25002 arg2
= static_cast< int >(val2
);
25004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25005 result
= (bool)(arg1
)->GetToolState(arg2
);
25006 wxPyEndAllowThreads(__tstate
);
25007 if (PyErr_Occurred()) SWIG_fail
;
25010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25018 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25019 PyObject
*resultobj
= 0;
25020 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25027 PyObject
* obj0
= 0 ;
25028 PyObject
* obj1
= 0 ;
25029 char * kwnames
[] = {
25030 (char *) "self",(char *) "id", NULL
25033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25035 if (!SWIG_IsOK(res1
)) {
25036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25038 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25039 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25040 if (!SWIG_IsOK(ecode2
)) {
25041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
25043 arg2
= static_cast< int >(val2
);
25045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25046 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
25047 wxPyEndAllowThreads(__tstate
);
25048 if (PyErr_Occurred()) SWIG_fail
;
25051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25059 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25060 PyObject
*resultobj
= 0;
25061 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25063 wxString
*arg3
= 0 ;
25068 bool temp3
= false ;
25069 PyObject
* obj0
= 0 ;
25070 PyObject
* obj1
= 0 ;
25071 PyObject
* obj2
= 0 ;
25072 char * kwnames
[] = {
25073 (char *) "self",(char *) "id",(char *) "helpString", NULL
25076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25078 if (!SWIG_IsOK(res1
)) {
25079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25081 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25082 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25083 if (!SWIG_IsOK(ecode2
)) {
25084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25086 arg2
= static_cast< int >(val2
);
25088 arg3
= wxString_in_helper(obj2
);
25089 if (arg3
== NULL
) SWIG_fail
;
25093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25094 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
25095 wxPyEndAllowThreads(__tstate
);
25096 if (PyErr_Occurred()) SWIG_fail
;
25098 resultobj
= SWIG_Py_Void();
25113 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25114 PyObject
*resultobj
= 0;
25115 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25122 PyObject
* obj0
= 0 ;
25123 PyObject
* obj1
= 0 ;
25124 char * kwnames
[] = {
25125 (char *) "self",(char *) "id", NULL
25128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25130 if (!SWIG_IsOK(res1
)) {
25131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25133 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25134 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25135 if (!SWIG_IsOK(ecode2
)) {
25136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25138 arg2
= static_cast< int >(val2
);
25140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25141 result
= (arg1
)->GetToolShortHelp(arg2
);
25142 wxPyEndAllowThreads(__tstate
);
25143 if (PyErr_Occurred()) SWIG_fail
;
25147 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25149 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25158 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25159 PyObject
*resultobj
= 0;
25160 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25162 wxString
*arg3
= 0 ;
25167 bool temp3
= false ;
25168 PyObject
* obj0
= 0 ;
25169 PyObject
* obj1
= 0 ;
25170 PyObject
* obj2
= 0 ;
25171 char * kwnames
[] = {
25172 (char *) "self",(char *) "id",(char *) "helpString", NULL
25175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25177 if (!SWIG_IsOK(res1
)) {
25178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25180 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25181 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25182 if (!SWIG_IsOK(ecode2
)) {
25183 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25185 arg2
= static_cast< int >(val2
);
25187 arg3
= wxString_in_helper(obj2
);
25188 if (arg3
== NULL
) SWIG_fail
;
25192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25193 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
25194 wxPyEndAllowThreads(__tstate
);
25195 if (PyErr_Occurred()) SWIG_fail
;
25197 resultobj
= SWIG_Py_Void();
25212 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25213 PyObject
*resultobj
= 0;
25214 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25221 PyObject
* obj0
= 0 ;
25222 PyObject
* obj1
= 0 ;
25223 char * kwnames
[] = {
25224 (char *) "self",(char *) "id", NULL
25227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25229 if (!SWIG_IsOK(res1
)) {
25230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25232 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25233 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25234 if (!SWIG_IsOK(ecode2
)) {
25235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25237 arg2
= static_cast< int >(val2
);
25239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25240 result
= (arg1
)->GetToolLongHelp(arg2
);
25241 wxPyEndAllowThreads(__tstate
);
25242 if (PyErr_Occurred()) SWIG_fail
;
25246 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25248 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25257 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25258 PyObject
*resultobj
= 0;
25259 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25268 PyObject
* obj0
= 0 ;
25269 PyObject
* obj1
= 0 ;
25270 PyObject
* obj2
= 0 ;
25271 char * kwnames
[] = {
25272 (char *) "self",(char *) "x",(char *) "y", NULL
25275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25277 if (!SWIG_IsOK(res1
)) {
25278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25280 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25281 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25282 if (!SWIG_IsOK(ecode2
)) {
25283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25285 arg2
= static_cast< int >(val2
);
25286 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25287 if (!SWIG_IsOK(ecode3
)) {
25288 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25290 arg3
= static_cast< int >(val3
);
25292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25293 (arg1
)->SetMargins(arg2
,arg3
);
25294 wxPyEndAllowThreads(__tstate
);
25295 if (PyErr_Occurred()) SWIG_fail
;
25297 resultobj
= SWIG_Py_Void();
25304 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25305 PyObject
*resultobj
= 0;
25306 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25311 PyObject
* obj0
= 0 ;
25312 PyObject
* obj1
= 0 ;
25313 char * kwnames
[] = {
25314 (char *) "self",(char *) "size", NULL
25317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25319 if (!SWIG_IsOK(res1
)) {
25320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25322 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25325 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25329 (arg1
)->SetMargins((wxSize
const &)*arg2
);
25330 wxPyEndAllowThreads(__tstate
);
25331 if (PyErr_Occurred()) SWIG_fail
;
25333 resultobj
= SWIG_Py_Void();
25340 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25341 PyObject
*resultobj
= 0;
25342 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25348 PyObject
* obj0
= 0 ;
25349 PyObject
* obj1
= 0 ;
25350 char * kwnames
[] = {
25351 (char *) "self",(char *) "packing", NULL
25354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25356 if (!SWIG_IsOK(res1
)) {
25357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25359 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25360 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25361 if (!SWIG_IsOK(ecode2
)) {
25362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25364 arg2
= static_cast< int >(val2
);
25366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25367 (arg1
)->SetToolPacking(arg2
);
25368 wxPyEndAllowThreads(__tstate
);
25369 if (PyErr_Occurred()) SWIG_fail
;
25371 resultobj
= SWIG_Py_Void();
25378 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25379 PyObject
*resultobj
= 0;
25380 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25386 PyObject
* obj0
= 0 ;
25387 PyObject
* obj1
= 0 ;
25388 char * kwnames
[] = {
25389 (char *) "self",(char *) "separation", NULL
25392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25394 if (!SWIG_IsOK(res1
)) {
25395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25397 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25398 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25399 if (!SWIG_IsOK(ecode2
)) {
25400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25402 arg2
= static_cast< int >(val2
);
25404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25405 (arg1
)->SetToolSeparation(arg2
);
25406 wxPyEndAllowThreads(__tstate
);
25407 if (PyErr_Occurred()) SWIG_fail
;
25409 resultobj
= SWIG_Py_Void();
25416 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25417 PyObject
*resultobj
= 0;
25418 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25422 PyObject
*swig_obj
[1] ;
25424 if (!args
) SWIG_fail
;
25425 swig_obj
[0] = args
;
25426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25427 if (!SWIG_IsOK(res1
)) {
25428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25430 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25433 result
= (arg1
)->GetToolMargins();
25434 wxPyEndAllowThreads(__tstate
);
25435 if (PyErr_Occurred()) SWIG_fail
;
25437 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25444 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25445 PyObject
*resultobj
= 0;
25446 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25450 PyObject
*swig_obj
[1] ;
25452 if (!args
) SWIG_fail
;
25453 swig_obj
[0] = args
;
25454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25455 if (!SWIG_IsOK(res1
)) {
25456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25458 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25461 result
= (arg1
)->GetMargins();
25462 wxPyEndAllowThreads(__tstate
);
25463 if (PyErr_Occurred()) SWIG_fail
;
25465 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25472 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25473 PyObject
*resultobj
= 0;
25474 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25478 PyObject
*swig_obj
[1] ;
25480 if (!args
) SWIG_fail
;
25481 swig_obj
[0] = args
;
25482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25483 if (!SWIG_IsOK(res1
)) {
25484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25486 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25489 result
= (int)(arg1
)->GetToolPacking();
25490 wxPyEndAllowThreads(__tstate
);
25491 if (PyErr_Occurred()) SWIG_fail
;
25493 resultobj
= SWIG_From_int(static_cast< int >(result
));
25500 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25501 PyObject
*resultobj
= 0;
25502 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25506 PyObject
*swig_obj
[1] ;
25508 if (!args
) SWIG_fail
;
25509 swig_obj
[0] = args
;
25510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25511 if (!SWIG_IsOK(res1
)) {
25512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25514 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25517 result
= (int)(arg1
)->GetToolSeparation();
25518 wxPyEndAllowThreads(__tstate
);
25519 if (PyErr_Occurred()) SWIG_fail
;
25521 resultobj
= SWIG_From_int(static_cast< int >(result
));
25528 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25529 PyObject
*resultobj
= 0;
25530 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25536 PyObject
* obj0
= 0 ;
25537 PyObject
* obj1
= 0 ;
25538 char * kwnames
[] = {
25539 (char *) "self",(char *) "nRows", NULL
25542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25544 if (!SWIG_IsOK(res1
)) {
25545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25547 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25548 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25549 if (!SWIG_IsOK(ecode2
)) {
25550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25552 arg2
= static_cast< int >(val2
);
25554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25555 (arg1
)->SetRows(arg2
);
25556 wxPyEndAllowThreads(__tstate
);
25557 if (PyErr_Occurred()) SWIG_fail
;
25559 resultobj
= SWIG_Py_Void();
25566 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25567 PyObject
*resultobj
= 0;
25568 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25577 PyObject
* obj0
= 0 ;
25578 PyObject
* obj1
= 0 ;
25579 PyObject
* obj2
= 0 ;
25580 char * kwnames
[] = {
25581 (char *) "self",(char *) "rows",(char *) "cols", NULL
25584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25586 if (!SWIG_IsOK(res1
)) {
25587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25589 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25591 if (!SWIG_IsOK(ecode2
)) {
25592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25594 arg2
= static_cast< int >(val2
);
25595 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25596 if (!SWIG_IsOK(ecode3
)) {
25597 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25599 arg3
= static_cast< int >(val3
);
25601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25602 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25603 wxPyEndAllowThreads(__tstate
);
25604 if (PyErr_Occurred()) SWIG_fail
;
25606 resultobj
= SWIG_Py_Void();
25613 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25614 PyObject
*resultobj
= 0;
25615 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25619 PyObject
*swig_obj
[1] ;
25621 if (!args
) SWIG_fail
;
25622 swig_obj
[0] = args
;
25623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25624 if (!SWIG_IsOK(res1
)) {
25625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25627 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25630 result
= (int)(arg1
)->GetMaxRows();
25631 wxPyEndAllowThreads(__tstate
);
25632 if (PyErr_Occurred()) SWIG_fail
;
25634 resultobj
= SWIG_From_int(static_cast< int >(result
));
25641 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25642 PyObject
*resultobj
= 0;
25643 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25647 PyObject
*swig_obj
[1] ;
25649 if (!args
) SWIG_fail
;
25650 swig_obj
[0] = args
;
25651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25652 if (!SWIG_IsOK(res1
)) {
25653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25655 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25658 result
= (int)(arg1
)->GetMaxCols();
25659 wxPyEndAllowThreads(__tstate
);
25660 if (PyErr_Occurred()) SWIG_fail
;
25662 resultobj
= SWIG_From_int(static_cast< int >(result
));
25669 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25670 PyObject
*resultobj
= 0;
25671 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25676 PyObject
* obj0
= 0 ;
25677 PyObject
* obj1
= 0 ;
25678 char * kwnames
[] = {
25679 (char *) "self",(char *) "size", NULL
25682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25684 if (!SWIG_IsOK(res1
)) {
25685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25687 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25690 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25694 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25695 wxPyEndAllowThreads(__tstate
);
25696 if (PyErr_Occurred()) SWIG_fail
;
25698 resultobj
= SWIG_Py_Void();
25705 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25706 PyObject
*resultobj
= 0;
25707 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25711 PyObject
*swig_obj
[1] ;
25713 if (!args
) SWIG_fail
;
25714 swig_obj
[0] = args
;
25715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25716 if (!SWIG_IsOK(res1
)) {
25717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25719 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25722 result
= (arg1
)->GetToolBitmapSize();
25723 wxPyEndAllowThreads(__tstate
);
25724 if (PyErr_Occurred()) SWIG_fail
;
25726 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25733 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25734 PyObject
*resultobj
= 0;
25735 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25739 PyObject
*swig_obj
[1] ;
25741 if (!args
) SWIG_fail
;
25742 swig_obj
[0] = args
;
25743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25744 if (!SWIG_IsOK(res1
)) {
25745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25747 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25750 result
= (arg1
)->GetToolSize();
25751 wxPyEndAllowThreads(__tstate
);
25752 if (PyErr_Occurred()) SWIG_fail
;
25754 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25761 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25762 PyObject
*resultobj
= 0;
25763 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25766 wxToolBarToolBase
*result
= 0 ;
25773 PyObject
* obj0
= 0 ;
25774 PyObject
* obj1
= 0 ;
25775 PyObject
* obj2
= 0 ;
25776 char * kwnames
[] = {
25777 (char *) "self",(char *) "x",(char *) "y", NULL
25780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25782 if (!SWIG_IsOK(res1
)) {
25783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25785 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25787 if (!SWIG_IsOK(ecode2
)) {
25788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25790 arg2
= static_cast< int >(val2
);
25791 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25792 if (!SWIG_IsOK(ecode3
)) {
25793 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25795 arg3
= static_cast< int >(val3
);
25797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25798 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25799 wxPyEndAllowThreads(__tstate
);
25800 if (PyErr_Occurred()) SWIG_fail
;
25803 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25811 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25812 PyObject
*resultobj
= 0;
25813 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25815 wxToolBarToolBase
*result
= 0 ;
25820 PyObject
* obj0
= 0 ;
25821 PyObject
* obj1
= 0 ;
25822 char * kwnames
[] = {
25823 (char *) "self",(char *) "toolid", NULL
25826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25828 if (!SWIG_IsOK(res1
)) {
25829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25831 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25832 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25833 if (!SWIG_IsOK(ecode2
)) {
25834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25836 arg2
= static_cast< int >(val2
);
25838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25839 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25840 wxPyEndAllowThreads(__tstate
);
25841 if (PyErr_Occurred()) SWIG_fail
;
25844 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25852 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25853 PyObject
*resultobj
= 0;
25854 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25858 PyObject
*swig_obj
[1] ;
25860 if (!args
) SWIG_fail
;
25861 swig_obj
[0] = args
;
25862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25863 if (!SWIG_IsOK(res1
)) {
25864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25866 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25869 result
= (bool)(arg1
)->IsVertical();
25870 wxPyEndAllowThreads(__tstate
);
25871 if (PyErr_Occurred()) SWIG_fail
;
25874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25882 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25883 PyObject
*resultobj
= 0;
25884 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25888 PyObject
*swig_obj
[1] ;
25890 if (!args
) SWIG_fail
;
25891 swig_obj
[0] = args
;
25892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25893 if (!SWIG_IsOK(res1
)) {
25894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25896 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25899 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25900 wxPyEndAllowThreads(__tstate
);
25901 if (PyErr_Occurred()) SWIG_fail
;
25903 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25910 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25912 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25913 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25914 return SWIG_Py_Void();
25917 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25918 PyObject
*resultobj
= 0;
25919 wxWindow
*arg1
= (wxWindow
*) 0 ;
25920 int arg2
= (int) -1 ;
25921 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25922 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25923 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25924 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25925 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25926 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25927 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25928 wxToolBar
*result
= 0 ;
25937 bool temp6
= false ;
25938 PyObject
* obj0
= 0 ;
25939 PyObject
* obj1
= 0 ;
25940 PyObject
* obj2
= 0 ;
25941 PyObject
* obj3
= 0 ;
25942 PyObject
* obj4
= 0 ;
25943 PyObject
* obj5
= 0 ;
25944 char * kwnames
[] = {
25945 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25950 if (!SWIG_IsOK(res1
)) {
25951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25953 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25956 if (!SWIG_IsOK(ecode2
)) {
25957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25959 arg2
= static_cast< int >(val2
);
25964 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25970 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25974 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25975 if (!SWIG_IsOK(ecode5
)) {
25976 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25978 arg5
= static_cast< long >(val5
);
25982 arg6
= wxString_in_helper(obj5
);
25983 if (arg6
== NULL
) SWIG_fail
;
25988 if (!wxPyCheckForApp()) SWIG_fail
;
25989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25990 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25991 wxPyEndAllowThreads(__tstate
);
25992 if (PyErr_Occurred()) SWIG_fail
;
25994 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
26009 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26010 PyObject
*resultobj
= 0;
26011 wxToolBar
*result
= 0 ;
26013 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
26015 if (!wxPyCheckForApp()) SWIG_fail
;
26016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26017 result
= (wxToolBar
*)new wxToolBar();
26018 wxPyEndAllowThreads(__tstate
);
26019 if (PyErr_Occurred()) SWIG_fail
;
26021 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
26028 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26029 PyObject
*resultobj
= 0;
26030 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
26031 wxWindow
*arg2
= (wxWindow
*) 0 ;
26032 int arg3
= (int) -1 ;
26033 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26034 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26035 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26036 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26037 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
26038 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
26039 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26051 bool temp7
= false ;
26052 PyObject
* obj0
= 0 ;
26053 PyObject
* obj1
= 0 ;
26054 PyObject
* obj2
= 0 ;
26055 PyObject
* obj3
= 0 ;
26056 PyObject
* obj4
= 0 ;
26057 PyObject
* obj5
= 0 ;
26058 PyObject
* obj6
= 0 ;
26059 char * kwnames
[] = {
26060 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
26063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
26065 if (!SWIG_IsOK(res1
)) {
26066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
26068 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
26069 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26070 if (!SWIG_IsOK(res2
)) {
26071 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
26073 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26075 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26076 if (!SWIG_IsOK(ecode3
)) {
26077 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
26079 arg3
= static_cast< int >(val3
);
26084 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26090 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26094 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
26095 if (!SWIG_IsOK(ecode6
)) {
26096 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
26098 arg6
= static_cast< long >(val6
);
26102 arg7
= wxString_in_helper(obj6
);
26103 if (arg7
== NULL
) SWIG_fail
;
26108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26109 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
26110 wxPyEndAllowThreads(__tstate
);
26111 if (PyErr_Occurred()) SWIG_fail
;
26114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26130 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26131 PyObject
*resultobj
= 0;
26132 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26133 SwigValueWrapper
<wxVisualAttributes
> result
;
26136 PyObject
* obj0
= 0 ;
26137 char * kwnames
[] = {
26138 (char *) "variant", NULL
26141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
26143 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26144 if (!SWIG_IsOK(ecode1
)) {
26145 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
26147 arg1
= static_cast< wxWindowVariant
>(val1
);
26150 if (!wxPyCheckForApp()) SWIG_fail
;
26151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26152 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
26153 wxPyEndAllowThreads(__tstate
);
26154 if (PyErr_Occurred()) SWIG_fail
;
26156 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
26163 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26165 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26166 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
26167 return SWIG_Py_Void();
26170 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26171 return SWIG_Python_InitShadowInstance(args
);
26174 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
26175 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
26180 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
26181 PyObject
*pyobj
= 0;
26185 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26187 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26194 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26195 PyObject
*resultobj
= 0;
26196 wxColour
const &arg1_defvalue
= wxNullColour
;
26197 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
26198 wxColour
const &arg2_defvalue
= wxNullColour
;
26199 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
26200 wxFont
const &arg3_defvalue
= wxNullFont
;
26201 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
26202 wxListItemAttr
*result
= 0 ;
26207 PyObject
* obj0
= 0 ;
26208 PyObject
* obj1
= 0 ;
26209 PyObject
* obj2
= 0 ;
26210 char * kwnames
[] = {
26211 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26218 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
26224 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26228 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
26229 if (!SWIG_IsOK(res3
)) {
26230 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26233 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26235 arg3
= reinterpret_cast< wxFont
* >(argp3
);
26238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26239 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
26240 wxPyEndAllowThreads(__tstate
);
26241 if (PyErr_Occurred()) SWIG_fail
;
26243 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
26250 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26251 PyObject
*resultobj
= 0;
26252 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26255 PyObject
*swig_obj
[1] ;
26257 if (!args
) SWIG_fail
;
26258 swig_obj
[0] = args
;
26259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
26260 if (!SWIG_IsOK(res1
)) {
26261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26263 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26268 wxPyEndAllowThreads(__tstate
);
26269 if (PyErr_Occurred()) SWIG_fail
;
26271 resultobj
= SWIG_Py_Void();
26278 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26279 PyObject
*resultobj
= 0;
26280 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26281 wxColour
*arg2
= 0 ;
26285 PyObject
* obj0
= 0 ;
26286 PyObject
* obj1
= 0 ;
26287 char * kwnames
[] = {
26288 (char *) "self",(char *) "colText", NULL
26291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26293 if (!SWIG_IsOK(res1
)) {
26294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26296 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26299 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26303 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26304 wxPyEndAllowThreads(__tstate
);
26305 if (PyErr_Occurred()) SWIG_fail
;
26307 resultobj
= SWIG_Py_Void();
26314 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26315 PyObject
*resultobj
= 0;
26316 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26317 wxColour
*arg2
= 0 ;
26321 PyObject
* obj0
= 0 ;
26322 PyObject
* obj1
= 0 ;
26323 char * kwnames
[] = {
26324 (char *) "self",(char *) "colBack", NULL
26327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26329 if (!SWIG_IsOK(res1
)) {
26330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26332 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26335 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26339 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26340 wxPyEndAllowThreads(__tstate
);
26341 if (PyErr_Occurred()) SWIG_fail
;
26343 resultobj
= SWIG_Py_Void();
26350 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26351 PyObject
*resultobj
= 0;
26352 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26358 PyObject
* obj0
= 0 ;
26359 PyObject
* obj1
= 0 ;
26360 char * kwnames
[] = {
26361 (char *) "self",(char *) "font", NULL
26364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26366 if (!SWIG_IsOK(res1
)) {
26367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26369 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26370 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26371 if (!SWIG_IsOK(res2
)) {
26372 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26375 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26377 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26380 (arg1
)->SetFont((wxFont
const &)*arg2
);
26381 wxPyEndAllowThreads(__tstate
);
26382 if (PyErr_Occurred()) SWIG_fail
;
26384 resultobj
= SWIG_Py_Void();
26391 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26392 PyObject
*resultobj
= 0;
26393 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26397 PyObject
*swig_obj
[1] ;
26399 if (!args
) SWIG_fail
;
26400 swig_obj
[0] = args
;
26401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26402 if (!SWIG_IsOK(res1
)) {
26403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26405 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26408 result
= (bool)(arg1
)->HasTextColour();
26409 wxPyEndAllowThreads(__tstate
);
26410 if (PyErr_Occurred()) SWIG_fail
;
26413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26421 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26422 PyObject
*resultobj
= 0;
26423 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26427 PyObject
*swig_obj
[1] ;
26429 if (!args
) SWIG_fail
;
26430 swig_obj
[0] = args
;
26431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26432 if (!SWIG_IsOK(res1
)) {
26433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26435 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26438 result
= (bool)(arg1
)->HasBackgroundColour();
26439 wxPyEndAllowThreads(__tstate
);
26440 if (PyErr_Occurred()) SWIG_fail
;
26443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26451 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26452 PyObject
*resultobj
= 0;
26453 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26457 PyObject
*swig_obj
[1] ;
26459 if (!args
) SWIG_fail
;
26460 swig_obj
[0] = args
;
26461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26462 if (!SWIG_IsOK(res1
)) {
26463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26465 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26468 result
= (bool)(arg1
)->HasFont();
26469 wxPyEndAllowThreads(__tstate
);
26470 if (PyErr_Occurred()) SWIG_fail
;
26473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26481 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26482 PyObject
*resultobj
= 0;
26483 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26487 PyObject
*swig_obj
[1] ;
26489 if (!args
) SWIG_fail
;
26490 swig_obj
[0] = args
;
26491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26492 if (!SWIG_IsOK(res1
)) {
26493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26495 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26498 result
= (arg1
)->GetTextColour();
26499 wxPyEndAllowThreads(__tstate
);
26500 if (PyErr_Occurred()) SWIG_fail
;
26502 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26509 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26510 PyObject
*resultobj
= 0;
26511 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26515 PyObject
*swig_obj
[1] ;
26517 if (!args
) SWIG_fail
;
26518 swig_obj
[0] = args
;
26519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26520 if (!SWIG_IsOK(res1
)) {
26521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26523 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26526 result
= (arg1
)->GetBackgroundColour();
26527 wxPyEndAllowThreads(__tstate
);
26528 if (PyErr_Occurred()) SWIG_fail
;
26530 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26537 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26538 PyObject
*resultobj
= 0;
26539 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26543 PyObject
*swig_obj
[1] ;
26545 if (!args
) SWIG_fail
;
26546 swig_obj
[0] = args
;
26547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26548 if (!SWIG_IsOK(res1
)) {
26549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26551 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26554 result
= (arg1
)->GetFont();
26555 wxPyEndAllowThreads(__tstate
);
26556 if (PyErr_Occurred()) SWIG_fail
;
26558 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26565 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26566 PyObject
*resultobj
= 0;
26567 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26568 wxListItemAttr
*arg2
= 0 ;
26573 PyObject
* obj0
= 0 ;
26574 PyObject
* obj1
= 0 ;
26575 char * kwnames
[] = {
26576 (char *) "self",(char *) "source", NULL
26579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26581 if (!SWIG_IsOK(res1
)) {
26582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26584 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26585 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26586 if (!SWIG_IsOK(res2
)) {
26587 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26592 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26595 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26596 wxPyEndAllowThreads(__tstate
);
26597 if (PyErr_Occurred()) SWIG_fail
;
26599 resultobj
= SWIG_Py_Void();
26606 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26607 PyObject
*resultobj
= 0;
26608 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26611 PyObject
*swig_obj
[1] ;
26613 if (!args
) SWIG_fail
;
26614 swig_obj
[0] = args
;
26615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26616 if (!SWIG_IsOK(res1
)) {
26617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26619 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26622 wxListItemAttr_Destroy(arg1
);
26623 wxPyEndAllowThreads(__tstate
);
26624 if (PyErr_Occurred()) SWIG_fail
;
26626 resultobj
= SWIG_Py_Void();
26633 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26635 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26636 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26637 return SWIG_Py_Void();
26640 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26641 return SWIG_Python_InitShadowInstance(args
);
26644 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26645 PyObject
*resultobj
= 0;
26646 wxListItem
*result
= 0 ;
26648 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26651 result
= (wxListItem
*)new wxListItem();
26652 wxPyEndAllowThreads(__tstate
);
26653 if (PyErr_Occurred()) SWIG_fail
;
26655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, SWIG_POINTER_NEW
| 0 );
26662 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26663 PyObject
*resultobj
= 0;
26664 wxListItem
*arg1
= (wxListItem
*) 0 ;
26667 PyObject
*swig_obj
[1] ;
26669 if (!args
) SWIG_fail
;
26670 swig_obj
[0] = args
;
26671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26672 if (!SWIG_IsOK(res1
)) {
26673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26675 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26680 wxPyEndAllowThreads(__tstate
);
26681 if (PyErr_Occurred()) SWIG_fail
;
26683 resultobj
= SWIG_Py_Void();
26690 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26691 PyObject
*resultobj
= 0;
26692 wxListItem
*arg1
= (wxListItem
*) 0 ;
26695 PyObject
*swig_obj
[1] ;
26697 if (!args
) SWIG_fail
;
26698 swig_obj
[0] = args
;
26699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26700 if (!SWIG_IsOK(res1
)) {
26701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26703 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26707 wxPyEndAllowThreads(__tstate
);
26708 if (PyErr_Occurred()) SWIG_fail
;
26710 resultobj
= SWIG_Py_Void();
26717 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26718 PyObject
*resultobj
= 0;
26719 wxListItem
*arg1
= (wxListItem
*) 0 ;
26722 PyObject
*swig_obj
[1] ;
26724 if (!args
) SWIG_fail
;
26725 swig_obj
[0] = args
;
26726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26727 if (!SWIG_IsOK(res1
)) {
26728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26730 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26733 (arg1
)->ClearAttributes();
26734 wxPyEndAllowThreads(__tstate
);
26735 if (PyErr_Occurred()) SWIG_fail
;
26737 resultobj
= SWIG_Py_Void();
26744 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26745 PyObject
*resultobj
= 0;
26746 wxListItem
*arg1
= (wxListItem
*) 0 ;
26752 PyObject
* obj0
= 0 ;
26753 PyObject
* obj1
= 0 ;
26754 char * kwnames
[] = {
26755 (char *) "self",(char *) "mask", NULL
26758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26760 if (!SWIG_IsOK(res1
)) {
26761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26763 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26764 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26765 if (!SWIG_IsOK(ecode2
)) {
26766 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26768 arg2
= static_cast< long >(val2
);
26770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26771 (arg1
)->SetMask(arg2
);
26772 wxPyEndAllowThreads(__tstate
);
26773 if (PyErr_Occurred()) SWIG_fail
;
26775 resultobj
= SWIG_Py_Void();
26782 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26783 PyObject
*resultobj
= 0;
26784 wxListItem
*arg1
= (wxListItem
*) 0 ;
26790 PyObject
* obj0
= 0 ;
26791 PyObject
* obj1
= 0 ;
26792 char * kwnames
[] = {
26793 (char *) "self",(char *) "id", NULL
26796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26798 if (!SWIG_IsOK(res1
)) {
26799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26801 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26802 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26803 if (!SWIG_IsOK(ecode2
)) {
26804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26806 arg2
= static_cast< long >(val2
);
26808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26809 (arg1
)->SetId(arg2
);
26810 wxPyEndAllowThreads(__tstate
);
26811 if (PyErr_Occurred()) SWIG_fail
;
26813 resultobj
= SWIG_Py_Void();
26820 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26821 PyObject
*resultobj
= 0;
26822 wxListItem
*arg1
= (wxListItem
*) 0 ;
26828 PyObject
* obj0
= 0 ;
26829 PyObject
* obj1
= 0 ;
26830 char * kwnames
[] = {
26831 (char *) "self",(char *) "col", NULL
26834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26836 if (!SWIG_IsOK(res1
)) {
26837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26839 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26840 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26841 if (!SWIG_IsOK(ecode2
)) {
26842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26844 arg2
= static_cast< int >(val2
);
26846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26847 (arg1
)->SetColumn(arg2
);
26848 wxPyEndAllowThreads(__tstate
);
26849 if (PyErr_Occurred()) SWIG_fail
;
26851 resultobj
= SWIG_Py_Void();
26858 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26859 PyObject
*resultobj
= 0;
26860 wxListItem
*arg1
= (wxListItem
*) 0 ;
26866 PyObject
* obj0
= 0 ;
26867 PyObject
* obj1
= 0 ;
26868 char * kwnames
[] = {
26869 (char *) "self",(char *) "state", NULL
26872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26874 if (!SWIG_IsOK(res1
)) {
26875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26877 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26878 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26879 if (!SWIG_IsOK(ecode2
)) {
26880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26882 arg2
= static_cast< long >(val2
);
26884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26885 (arg1
)->SetState(arg2
);
26886 wxPyEndAllowThreads(__tstate
);
26887 if (PyErr_Occurred()) SWIG_fail
;
26889 resultobj
= SWIG_Py_Void();
26896 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26897 PyObject
*resultobj
= 0;
26898 wxListItem
*arg1
= (wxListItem
*) 0 ;
26904 PyObject
* obj0
= 0 ;
26905 PyObject
* obj1
= 0 ;
26906 char * kwnames
[] = {
26907 (char *) "self",(char *) "stateMask", NULL
26910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26912 if (!SWIG_IsOK(res1
)) {
26913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26915 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26916 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26917 if (!SWIG_IsOK(ecode2
)) {
26918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26920 arg2
= static_cast< long >(val2
);
26922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26923 (arg1
)->SetStateMask(arg2
);
26924 wxPyEndAllowThreads(__tstate
);
26925 if (PyErr_Occurred()) SWIG_fail
;
26927 resultobj
= SWIG_Py_Void();
26934 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26935 PyObject
*resultobj
= 0;
26936 wxListItem
*arg1
= (wxListItem
*) 0 ;
26937 wxString
*arg2
= 0 ;
26940 bool temp2
= false ;
26941 PyObject
* obj0
= 0 ;
26942 PyObject
* obj1
= 0 ;
26943 char * kwnames
[] = {
26944 (char *) "self",(char *) "text", NULL
26947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26949 if (!SWIG_IsOK(res1
)) {
26950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26952 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26954 arg2
= wxString_in_helper(obj1
);
26955 if (arg2
== NULL
) SWIG_fail
;
26959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26960 (arg1
)->SetText((wxString
const &)*arg2
);
26961 wxPyEndAllowThreads(__tstate
);
26962 if (PyErr_Occurred()) SWIG_fail
;
26964 resultobj
= SWIG_Py_Void();
26979 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26980 PyObject
*resultobj
= 0;
26981 wxListItem
*arg1
= (wxListItem
*) 0 ;
26987 PyObject
* obj0
= 0 ;
26988 PyObject
* obj1
= 0 ;
26989 char * kwnames
[] = {
26990 (char *) "self",(char *) "image", NULL
26993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26995 if (!SWIG_IsOK(res1
)) {
26996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26998 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26999 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27000 if (!SWIG_IsOK(ecode2
)) {
27001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
27003 arg2
= static_cast< int >(val2
);
27005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27006 (arg1
)->SetImage(arg2
);
27007 wxPyEndAllowThreads(__tstate
);
27008 if (PyErr_Occurred()) SWIG_fail
;
27010 resultobj
= SWIG_Py_Void();
27017 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27018 PyObject
*resultobj
= 0;
27019 wxListItem
*arg1
= (wxListItem
*) 0 ;
27025 PyObject
* obj0
= 0 ;
27026 PyObject
* obj1
= 0 ;
27027 char * kwnames
[] = {
27028 (char *) "self",(char *) "data", NULL
27031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27033 if (!SWIG_IsOK(res1
)) {
27034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27036 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27037 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
27038 if (!SWIG_IsOK(ecode2
)) {
27039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
27041 arg2
= static_cast< long >(val2
);
27043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27044 (arg1
)->SetData(arg2
);
27045 wxPyEndAllowThreads(__tstate
);
27046 if (PyErr_Occurred()) SWIG_fail
;
27048 resultobj
= SWIG_Py_Void();
27055 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27056 PyObject
*resultobj
= 0;
27057 wxListItem
*arg1
= (wxListItem
*) 0 ;
27063 PyObject
* obj0
= 0 ;
27064 PyObject
* obj1
= 0 ;
27065 char * kwnames
[] = {
27066 (char *) "self",(char *) "width", NULL
27069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27071 if (!SWIG_IsOK(res1
)) {
27072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27074 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27075 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27076 if (!SWIG_IsOK(ecode2
)) {
27077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
27079 arg2
= static_cast< int >(val2
);
27081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27082 (arg1
)->SetWidth(arg2
);
27083 wxPyEndAllowThreads(__tstate
);
27084 if (PyErr_Occurred()) SWIG_fail
;
27086 resultobj
= SWIG_Py_Void();
27093 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27094 PyObject
*resultobj
= 0;
27095 wxListItem
*arg1
= (wxListItem
*) 0 ;
27096 wxListColumnFormat arg2
;
27101 PyObject
* obj0
= 0 ;
27102 PyObject
* obj1
= 0 ;
27103 char * kwnames
[] = {
27104 (char *) "self",(char *) "align", NULL
27107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27109 if (!SWIG_IsOK(res1
)) {
27110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27112 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27113 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27114 if (!SWIG_IsOK(ecode2
)) {
27115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
27117 arg2
= static_cast< wxListColumnFormat
>(val2
);
27119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27120 (arg1
)->SetAlign(arg2
);
27121 wxPyEndAllowThreads(__tstate
);
27122 if (PyErr_Occurred()) SWIG_fail
;
27124 resultobj
= SWIG_Py_Void();
27131 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27132 PyObject
*resultobj
= 0;
27133 wxListItem
*arg1
= (wxListItem
*) 0 ;
27134 wxColour
*arg2
= 0 ;
27138 PyObject
* obj0
= 0 ;
27139 PyObject
* obj1
= 0 ;
27140 char * kwnames
[] = {
27141 (char *) "self",(char *) "colText", NULL
27144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27146 if (!SWIG_IsOK(res1
)) {
27147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27149 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27152 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27156 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
27157 wxPyEndAllowThreads(__tstate
);
27158 if (PyErr_Occurred()) SWIG_fail
;
27160 resultobj
= SWIG_Py_Void();
27167 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27168 PyObject
*resultobj
= 0;
27169 wxListItem
*arg1
= (wxListItem
*) 0 ;
27170 wxColour
*arg2
= 0 ;
27174 PyObject
* obj0
= 0 ;
27175 PyObject
* obj1
= 0 ;
27176 char * kwnames
[] = {
27177 (char *) "self",(char *) "colBack", NULL
27180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27182 if (!SWIG_IsOK(res1
)) {
27183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27185 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27188 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27192 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
27193 wxPyEndAllowThreads(__tstate
);
27194 if (PyErr_Occurred()) SWIG_fail
;
27196 resultobj
= SWIG_Py_Void();
27203 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27204 PyObject
*resultobj
= 0;
27205 wxListItem
*arg1
= (wxListItem
*) 0 ;
27211 PyObject
* obj0
= 0 ;
27212 PyObject
* obj1
= 0 ;
27213 char * kwnames
[] = {
27214 (char *) "self",(char *) "font", NULL
27217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27219 if (!SWIG_IsOK(res1
)) {
27220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27222 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27223 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27224 if (!SWIG_IsOK(res2
)) {
27225 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27228 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27230 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27233 (arg1
)->SetFont((wxFont
const &)*arg2
);
27234 wxPyEndAllowThreads(__tstate
);
27235 if (PyErr_Occurred()) SWIG_fail
;
27237 resultobj
= SWIG_Py_Void();
27244 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27245 PyObject
*resultobj
= 0;
27246 wxListItem
*arg1
= (wxListItem
*) 0 ;
27250 PyObject
*swig_obj
[1] ;
27252 if (!args
) SWIG_fail
;
27253 swig_obj
[0] = args
;
27254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27255 if (!SWIG_IsOK(res1
)) {
27256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27258 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27261 result
= (long)(arg1
)->GetMask();
27262 wxPyEndAllowThreads(__tstate
);
27263 if (PyErr_Occurred()) SWIG_fail
;
27265 resultobj
= SWIG_From_long(static_cast< long >(result
));
27272 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27273 PyObject
*resultobj
= 0;
27274 wxListItem
*arg1
= (wxListItem
*) 0 ;
27278 PyObject
*swig_obj
[1] ;
27280 if (!args
) SWIG_fail
;
27281 swig_obj
[0] = args
;
27282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27283 if (!SWIG_IsOK(res1
)) {
27284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27286 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27289 result
= (long)(arg1
)->GetId();
27290 wxPyEndAllowThreads(__tstate
);
27291 if (PyErr_Occurred()) SWIG_fail
;
27293 resultobj
= SWIG_From_long(static_cast< long >(result
));
27300 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27301 PyObject
*resultobj
= 0;
27302 wxListItem
*arg1
= (wxListItem
*) 0 ;
27306 PyObject
*swig_obj
[1] ;
27308 if (!args
) SWIG_fail
;
27309 swig_obj
[0] = args
;
27310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27311 if (!SWIG_IsOK(res1
)) {
27312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27314 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27317 result
= (int)(arg1
)->GetColumn();
27318 wxPyEndAllowThreads(__tstate
);
27319 if (PyErr_Occurred()) SWIG_fail
;
27321 resultobj
= SWIG_From_int(static_cast< int >(result
));
27328 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27329 PyObject
*resultobj
= 0;
27330 wxListItem
*arg1
= (wxListItem
*) 0 ;
27334 PyObject
*swig_obj
[1] ;
27336 if (!args
) SWIG_fail
;
27337 swig_obj
[0] = args
;
27338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27339 if (!SWIG_IsOK(res1
)) {
27340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27342 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27345 result
= (long)(arg1
)->GetState();
27346 wxPyEndAllowThreads(__tstate
);
27347 if (PyErr_Occurred()) SWIG_fail
;
27349 resultobj
= SWIG_From_long(static_cast< long >(result
));
27356 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27357 PyObject
*resultobj
= 0;
27358 wxListItem
*arg1
= (wxListItem
*) 0 ;
27359 wxString
*result
= 0 ;
27362 PyObject
*swig_obj
[1] ;
27364 if (!args
) SWIG_fail
;
27365 swig_obj
[0] = args
;
27366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27367 if (!SWIG_IsOK(res1
)) {
27368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27370 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27374 wxString
const &_result_ref
= (arg1
)->GetText();
27375 result
= (wxString
*) &_result_ref
;
27377 wxPyEndAllowThreads(__tstate
);
27378 if (PyErr_Occurred()) SWIG_fail
;
27382 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27384 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27393 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27394 PyObject
*resultobj
= 0;
27395 wxListItem
*arg1
= (wxListItem
*) 0 ;
27399 PyObject
*swig_obj
[1] ;
27401 if (!args
) SWIG_fail
;
27402 swig_obj
[0] = args
;
27403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27404 if (!SWIG_IsOK(res1
)) {
27405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27407 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27410 result
= (int)(arg1
)->GetImage();
27411 wxPyEndAllowThreads(__tstate
);
27412 if (PyErr_Occurred()) SWIG_fail
;
27414 resultobj
= SWIG_From_int(static_cast< int >(result
));
27421 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27422 PyObject
*resultobj
= 0;
27423 wxListItem
*arg1
= (wxListItem
*) 0 ;
27427 PyObject
*swig_obj
[1] ;
27429 if (!args
) SWIG_fail
;
27430 swig_obj
[0] = args
;
27431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27432 if (!SWIG_IsOK(res1
)) {
27433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27435 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27438 result
= (long)(arg1
)->GetData();
27439 wxPyEndAllowThreads(__tstate
);
27440 if (PyErr_Occurred()) SWIG_fail
;
27442 resultobj
= SWIG_From_long(static_cast< long >(result
));
27449 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27450 PyObject
*resultobj
= 0;
27451 wxListItem
*arg1
= (wxListItem
*) 0 ;
27455 PyObject
*swig_obj
[1] ;
27457 if (!args
) SWIG_fail
;
27458 swig_obj
[0] = args
;
27459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27460 if (!SWIG_IsOK(res1
)) {
27461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27463 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27466 result
= (int)(arg1
)->GetWidth();
27467 wxPyEndAllowThreads(__tstate
);
27468 if (PyErr_Occurred()) SWIG_fail
;
27470 resultobj
= SWIG_From_int(static_cast< int >(result
));
27477 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27478 PyObject
*resultobj
= 0;
27479 wxListItem
*arg1
= (wxListItem
*) 0 ;
27480 wxListColumnFormat result
;
27483 PyObject
*swig_obj
[1] ;
27485 if (!args
) SWIG_fail
;
27486 swig_obj
[0] = args
;
27487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27488 if (!SWIG_IsOK(res1
)) {
27489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27491 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27494 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27495 wxPyEndAllowThreads(__tstate
);
27496 if (PyErr_Occurred()) SWIG_fail
;
27498 resultobj
= SWIG_From_int(static_cast< int >(result
));
27505 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27506 PyObject
*resultobj
= 0;
27507 wxListItem
*arg1
= (wxListItem
*) 0 ;
27508 wxListItemAttr
*result
= 0 ;
27511 PyObject
*swig_obj
[1] ;
27513 if (!args
) SWIG_fail
;
27514 swig_obj
[0] = args
;
27515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27516 if (!SWIG_IsOK(res1
)) {
27517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27519 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27522 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27523 wxPyEndAllowThreads(__tstate
);
27524 if (PyErr_Occurred()) SWIG_fail
;
27526 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27533 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27534 PyObject
*resultobj
= 0;
27535 wxListItem
*arg1
= (wxListItem
*) 0 ;
27539 PyObject
*swig_obj
[1] ;
27541 if (!args
) SWIG_fail
;
27542 swig_obj
[0] = args
;
27543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27544 if (!SWIG_IsOK(res1
)) {
27545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27547 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27550 result
= (bool)(arg1
)->HasAttributes();
27551 wxPyEndAllowThreads(__tstate
);
27552 if (PyErr_Occurred()) SWIG_fail
;
27555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27563 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27564 PyObject
*resultobj
= 0;
27565 wxListItem
*arg1
= (wxListItem
*) 0 ;
27569 PyObject
*swig_obj
[1] ;
27571 if (!args
) SWIG_fail
;
27572 swig_obj
[0] = args
;
27573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27574 if (!SWIG_IsOK(res1
)) {
27575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27577 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27580 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27581 wxPyEndAllowThreads(__tstate
);
27582 if (PyErr_Occurred()) SWIG_fail
;
27584 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27591 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27592 PyObject
*resultobj
= 0;
27593 wxListItem
*arg1
= (wxListItem
*) 0 ;
27597 PyObject
*swig_obj
[1] ;
27599 if (!args
) SWIG_fail
;
27600 swig_obj
[0] = args
;
27601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27602 if (!SWIG_IsOK(res1
)) {
27603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27605 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27608 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27609 wxPyEndAllowThreads(__tstate
);
27610 if (PyErr_Occurred()) SWIG_fail
;
27612 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27619 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27620 PyObject
*resultobj
= 0;
27621 wxListItem
*arg1
= (wxListItem
*) 0 ;
27625 PyObject
*swig_obj
[1] ;
27627 if (!args
) SWIG_fail
;
27628 swig_obj
[0] = args
;
27629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27630 if (!SWIG_IsOK(res1
)) {
27631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27633 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27636 result
= ((wxListItem
const *)arg1
)->GetFont();
27637 wxPyEndAllowThreads(__tstate
);
27638 if (PyErr_Occurred()) SWIG_fail
;
27640 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27647 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27648 PyObject
*resultobj
= 0;
27649 wxListItem
*arg1
= (wxListItem
*) 0 ;
27655 PyObject
*swig_obj
[2] ;
27657 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27659 if (!SWIG_IsOK(res1
)) {
27660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27662 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27663 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27664 if (!SWIG_IsOK(ecode2
)) {
27665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27667 arg2
= static_cast< long >(val2
);
27668 if (arg1
) (arg1
)->m_mask
= arg2
;
27670 resultobj
= SWIG_Py_Void();
27677 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27678 PyObject
*resultobj
= 0;
27679 wxListItem
*arg1
= (wxListItem
*) 0 ;
27683 PyObject
*swig_obj
[1] ;
27685 if (!args
) SWIG_fail
;
27686 swig_obj
[0] = args
;
27687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27688 if (!SWIG_IsOK(res1
)) {
27689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27691 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27692 result
= (long) ((arg1
)->m_mask
);
27693 resultobj
= SWIG_From_long(static_cast< long >(result
));
27700 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27701 PyObject
*resultobj
= 0;
27702 wxListItem
*arg1
= (wxListItem
*) 0 ;
27708 PyObject
*swig_obj
[2] ;
27710 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27712 if (!SWIG_IsOK(res1
)) {
27713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27715 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27716 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27717 if (!SWIG_IsOK(ecode2
)) {
27718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27720 arg2
= static_cast< long >(val2
);
27721 if (arg1
) (arg1
)->m_itemId
= arg2
;
27723 resultobj
= SWIG_Py_Void();
27730 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27731 PyObject
*resultobj
= 0;
27732 wxListItem
*arg1
= (wxListItem
*) 0 ;
27736 PyObject
*swig_obj
[1] ;
27738 if (!args
) SWIG_fail
;
27739 swig_obj
[0] = args
;
27740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27741 if (!SWIG_IsOK(res1
)) {
27742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27744 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27745 result
= (long) ((arg1
)->m_itemId
);
27746 resultobj
= SWIG_From_long(static_cast< long >(result
));
27753 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27754 PyObject
*resultobj
= 0;
27755 wxListItem
*arg1
= (wxListItem
*) 0 ;
27761 PyObject
*swig_obj
[2] ;
27763 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27765 if (!SWIG_IsOK(res1
)) {
27766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27768 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27769 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27770 if (!SWIG_IsOK(ecode2
)) {
27771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27773 arg2
= static_cast< int >(val2
);
27774 if (arg1
) (arg1
)->m_col
= arg2
;
27776 resultobj
= SWIG_Py_Void();
27783 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27784 PyObject
*resultobj
= 0;
27785 wxListItem
*arg1
= (wxListItem
*) 0 ;
27789 PyObject
*swig_obj
[1] ;
27791 if (!args
) SWIG_fail
;
27792 swig_obj
[0] = args
;
27793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27794 if (!SWIG_IsOK(res1
)) {
27795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27797 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27798 result
= (int) ((arg1
)->m_col
);
27799 resultobj
= SWIG_From_int(static_cast< int >(result
));
27806 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27807 PyObject
*resultobj
= 0;
27808 wxListItem
*arg1
= (wxListItem
*) 0 ;
27814 PyObject
*swig_obj
[2] ;
27816 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27818 if (!SWIG_IsOK(res1
)) {
27819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27821 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27822 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27823 if (!SWIG_IsOK(ecode2
)) {
27824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27826 arg2
= static_cast< long >(val2
);
27827 if (arg1
) (arg1
)->m_state
= arg2
;
27829 resultobj
= SWIG_Py_Void();
27836 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27837 PyObject
*resultobj
= 0;
27838 wxListItem
*arg1
= (wxListItem
*) 0 ;
27842 PyObject
*swig_obj
[1] ;
27844 if (!args
) SWIG_fail
;
27845 swig_obj
[0] = args
;
27846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27847 if (!SWIG_IsOK(res1
)) {
27848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27850 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27851 result
= (long) ((arg1
)->m_state
);
27852 resultobj
= SWIG_From_long(static_cast< long >(result
));
27859 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27860 PyObject
*resultobj
= 0;
27861 wxListItem
*arg1
= (wxListItem
*) 0 ;
27867 PyObject
*swig_obj
[2] ;
27869 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27871 if (!SWIG_IsOK(res1
)) {
27872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27874 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27875 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27876 if (!SWIG_IsOK(ecode2
)) {
27877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27879 arg2
= static_cast< long >(val2
);
27880 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27882 resultobj
= SWIG_Py_Void();
27889 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27890 PyObject
*resultobj
= 0;
27891 wxListItem
*arg1
= (wxListItem
*) 0 ;
27895 PyObject
*swig_obj
[1] ;
27897 if (!args
) SWIG_fail
;
27898 swig_obj
[0] = args
;
27899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27900 if (!SWIG_IsOK(res1
)) {
27901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27903 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27904 result
= (long) ((arg1
)->m_stateMask
);
27905 resultobj
= SWIG_From_long(static_cast< long >(result
));
27912 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27913 PyObject
*resultobj
= 0;
27914 wxListItem
*arg1
= (wxListItem
*) 0 ;
27915 wxString
*arg2
= (wxString
*) 0 ;
27918 bool temp2
= false ;
27919 PyObject
*swig_obj
[2] ;
27921 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27923 if (!SWIG_IsOK(res1
)) {
27924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27926 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27928 arg2
= wxString_in_helper(swig_obj
[1]);
27929 if (arg2
== NULL
) SWIG_fail
;
27932 if (arg1
) (arg1
)->m_text
= *arg2
;
27934 resultobj
= SWIG_Py_Void();
27949 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27950 PyObject
*resultobj
= 0;
27951 wxListItem
*arg1
= (wxListItem
*) 0 ;
27952 wxString
*result
= 0 ;
27955 PyObject
*swig_obj
[1] ;
27957 if (!args
) SWIG_fail
;
27958 swig_obj
[0] = args
;
27959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27960 if (!SWIG_IsOK(res1
)) {
27961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27963 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27964 result
= (wxString
*)& ((arg1
)->m_text
);
27967 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27969 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27978 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27979 PyObject
*resultobj
= 0;
27980 wxListItem
*arg1
= (wxListItem
*) 0 ;
27986 PyObject
*swig_obj
[2] ;
27988 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27990 if (!SWIG_IsOK(res1
)) {
27991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27993 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27994 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27995 if (!SWIG_IsOK(ecode2
)) {
27996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27998 arg2
= static_cast< int >(val2
);
27999 if (arg1
) (arg1
)->m_image
= arg2
;
28001 resultobj
= SWIG_Py_Void();
28008 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28009 PyObject
*resultobj
= 0;
28010 wxListItem
*arg1
= (wxListItem
*) 0 ;
28014 PyObject
*swig_obj
[1] ;
28016 if (!args
) SWIG_fail
;
28017 swig_obj
[0] = args
;
28018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28019 if (!SWIG_IsOK(res1
)) {
28020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28022 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28023 result
= (int) ((arg1
)->m_image
);
28024 resultobj
= SWIG_From_int(static_cast< int >(result
));
28031 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28032 PyObject
*resultobj
= 0;
28033 wxListItem
*arg1
= (wxListItem
*) 0 ;
28039 PyObject
*swig_obj
[2] ;
28041 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
28042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28043 if (!SWIG_IsOK(res1
)) {
28044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28046 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28047 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28048 if (!SWIG_IsOK(ecode2
)) {
28049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
28051 arg2
= static_cast< long >(val2
);
28052 if (arg1
) (arg1
)->m_data
= arg2
;
28054 resultobj
= SWIG_Py_Void();
28061 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28062 PyObject
*resultobj
= 0;
28063 wxListItem
*arg1
= (wxListItem
*) 0 ;
28067 PyObject
*swig_obj
[1] ;
28069 if (!args
) SWIG_fail
;
28070 swig_obj
[0] = args
;
28071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28072 if (!SWIG_IsOK(res1
)) {
28073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28075 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28076 result
= (long) ((arg1
)->m_data
);
28077 resultobj
= SWIG_From_long(static_cast< long >(result
));
28084 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28085 PyObject
*resultobj
= 0;
28086 wxListItem
*arg1
= (wxListItem
*) 0 ;
28092 PyObject
*swig_obj
[2] ;
28094 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
28095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28096 if (!SWIG_IsOK(res1
)) {
28097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28099 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28100 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28101 if (!SWIG_IsOK(ecode2
)) {
28102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
28104 arg2
= static_cast< int >(val2
);
28105 if (arg1
) (arg1
)->m_format
= arg2
;
28107 resultobj
= SWIG_Py_Void();
28114 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28115 PyObject
*resultobj
= 0;
28116 wxListItem
*arg1
= (wxListItem
*) 0 ;
28120 PyObject
*swig_obj
[1] ;
28122 if (!args
) SWIG_fail
;
28123 swig_obj
[0] = args
;
28124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28125 if (!SWIG_IsOK(res1
)) {
28126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28128 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28129 result
= (int) ((arg1
)->m_format
);
28130 resultobj
= SWIG_From_int(static_cast< int >(result
));
28137 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28138 PyObject
*resultobj
= 0;
28139 wxListItem
*arg1
= (wxListItem
*) 0 ;
28145 PyObject
*swig_obj
[2] ;
28147 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
28148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28149 if (!SWIG_IsOK(res1
)) {
28150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28152 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28153 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28154 if (!SWIG_IsOK(ecode2
)) {
28155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
28157 arg2
= static_cast< int >(val2
);
28158 if (arg1
) (arg1
)->m_width
= arg2
;
28160 resultobj
= SWIG_Py_Void();
28167 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28168 PyObject
*resultobj
= 0;
28169 wxListItem
*arg1
= (wxListItem
*) 0 ;
28173 PyObject
*swig_obj
[1] ;
28175 if (!args
) SWIG_fail
;
28176 swig_obj
[0] = args
;
28177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28178 if (!SWIG_IsOK(res1
)) {
28179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28181 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28182 result
= (int) ((arg1
)->m_width
);
28183 resultobj
= SWIG_From_int(static_cast< int >(result
));
28190 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28192 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28193 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
28194 return SWIG_Py_Void();
28197 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28198 return SWIG_Python_InitShadowInstance(args
);
28201 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28202 PyObject
*resultobj
= 0;
28203 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28204 int arg2
= (int) 0 ;
28205 wxListEvent
*result
= 0 ;
28210 PyObject
* obj0
= 0 ;
28211 PyObject
* obj1
= 0 ;
28212 char * kwnames
[] = {
28213 (char *) "commandType",(char *) "id", NULL
28216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28218 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28219 if (!SWIG_IsOK(ecode1
)) {
28220 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28222 arg1
= static_cast< wxEventType
>(val1
);
28225 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28226 if (!SWIG_IsOK(ecode2
)) {
28227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28229 arg2
= static_cast< int >(val2
);
28232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28233 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
28234 wxPyEndAllowThreads(__tstate
);
28235 if (PyErr_Occurred()) SWIG_fail
;
28237 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
28244 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28245 PyObject
*resultobj
= 0;
28246 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28252 PyObject
*swig_obj
[2] ;
28254 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
28255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28256 if (!SWIG_IsOK(res1
)) {
28257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28259 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28260 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28261 if (!SWIG_IsOK(ecode2
)) {
28262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28264 arg2
= static_cast< int >(val2
);
28265 if (arg1
) (arg1
)->m_code
= arg2
;
28267 resultobj
= SWIG_Py_Void();
28274 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28275 PyObject
*resultobj
= 0;
28276 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28280 PyObject
*swig_obj
[1] ;
28282 if (!args
) SWIG_fail
;
28283 swig_obj
[0] = args
;
28284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28285 if (!SWIG_IsOK(res1
)) {
28286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28288 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28289 result
= (int) ((arg1
)->m_code
);
28290 resultobj
= SWIG_From_int(static_cast< int >(result
));
28297 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28298 PyObject
*resultobj
= 0;
28299 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28305 PyObject
*swig_obj
[2] ;
28307 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28309 if (!SWIG_IsOK(res1
)) {
28310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28312 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28313 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28314 if (!SWIG_IsOK(ecode2
)) {
28315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28317 arg2
= static_cast< long >(val2
);
28318 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
28320 resultobj
= SWIG_Py_Void();
28327 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28328 PyObject
*resultobj
= 0;
28329 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28333 PyObject
*swig_obj
[1] ;
28335 if (!args
) SWIG_fail
;
28336 swig_obj
[0] = args
;
28337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28338 if (!SWIG_IsOK(res1
)) {
28339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28341 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28342 result
= (long) ((arg1
)->m_oldItemIndex
);
28343 resultobj
= SWIG_From_long(static_cast< long >(result
));
28350 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28351 PyObject
*resultobj
= 0;
28352 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28358 PyObject
*swig_obj
[2] ;
28360 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28362 if (!SWIG_IsOK(res1
)) {
28363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28365 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28366 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28367 if (!SWIG_IsOK(ecode2
)) {
28368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28370 arg2
= static_cast< long >(val2
);
28371 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
28373 resultobj
= SWIG_Py_Void();
28380 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28381 PyObject
*resultobj
= 0;
28382 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28386 PyObject
*swig_obj
[1] ;
28388 if (!args
) SWIG_fail
;
28389 swig_obj
[0] = args
;
28390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28391 if (!SWIG_IsOK(res1
)) {
28392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28394 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28395 result
= (long) ((arg1
)->m_itemIndex
);
28396 resultobj
= SWIG_From_long(static_cast< long >(result
));
28403 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28404 PyObject
*resultobj
= 0;
28405 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28411 PyObject
*swig_obj
[2] ;
28413 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28415 if (!SWIG_IsOK(res1
)) {
28416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28418 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28419 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28420 if (!SWIG_IsOK(ecode2
)) {
28421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28423 arg2
= static_cast< int >(val2
);
28424 if (arg1
) (arg1
)->m_col
= arg2
;
28426 resultobj
= SWIG_Py_Void();
28433 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28434 PyObject
*resultobj
= 0;
28435 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28439 PyObject
*swig_obj
[1] ;
28441 if (!args
) SWIG_fail
;
28442 swig_obj
[0] = args
;
28443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28444 if (!SWIG_IsOK(res1
)) {
28445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28447 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28448 result
= (int) ((arg1
)->m_col
);
28449 resultobj
= SWIG_From_int(static_cast< int >(result
));
28456 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28457 PyObject
*resultobj
= 0;
28458 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28459 wxPoint
*arg2
= (wxPoint
*) 0 ;
28464 PyObject
*swig_obj
[2] ;
28466 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28468 if (!SWIG_IsOK(res1
)) {
28469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28471 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28472 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28473 if (!SWIG_IsOK(res2
)) {
28474 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28476 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28477 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28479 resultobj
= SWIG_Py_Void();
28486 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28487 PyObject
*resultobj
= 0;
28488 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28489 wxPoint
*result
= 0 ;
28492 PyObject
*swig_obj
[1] ;
28494 if (!args
) SWIG_fail
;
28495 swig_obj
[0] = args
;
28496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28497 if (!SWIG_IsOK(res1
)) {
28498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28500 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28501 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28502 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28509 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28510 PyObject
*resultobj
= 0;
28511 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28512 wxListItem
*result
= 0 ;
28515 PyObject
*swig_obj
[1] ;
28517 if (!args
) SWIG_fail
;
28518 swig_obj
[0] = args
;
28519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28520 if (!SWIG_IsOK(res1
)) {
28521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28523 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28524 result
= (wxListItem
*)& ((arg1
)->m_item
);
28526 resultobj
= wxPyMake_wxObject(result
, 0);
28534 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28535 PyObject
*resultobj
= 0;
28536 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28540 PyObject
*swig_obj
[1] ;
28542 if (!args
) SWIG_fail
;
28543 swig_obj
[0] = args
;
28544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28545 if (!SWIG_IsOK(res1
)) {
28546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28548 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28551 result
= (int)(arg1
)->GetKeyCode();
28552 wxPyEndAllowThreads(__tstate
);
28553 if (PyErr_Occurred()) SWIG_fail
;
28555 resultobj
= SWIG_From_int(static_cast< int >(result
));
28562 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28563 PyObject
*resultobj
= 0;
28564 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28568 PyObject
*swig_obj
[1] ;
28570 if (!args
) SWIG_fail
;
28571 swig_obj
[0] = args
;
28572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28573 if (!SWIG_IsOK(res1
)) {
28574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28576 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28579 result
= (long)(arg1
)->GetIndex();
28580 wxPyEndAllowThreads(__tstate
);
28581 if (PyErr_Occurred()) SWIG_fail
;
28583 resultobj
= SWIG_From_long(static_cast< long >(result
));
28590 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28591 PyObject
*resultobj
= 0;
28592 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28596 PyObject
*swig_obj
[1] ;
28598 if (!args
) SWIG_fail
;
28599 swig_obj
[0] = args
;
28600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28601 if (!SWIG_IsOK(res1
)) {
28602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28604 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28607 result
= (int)(arg1
)->GetColumn();
28608 wxPyEndAllowThreads(__tstate
);
28609 if (PyErr_Occurred()) SWIG_fail
;
28611 resultobj
= SWIG_From_int(static_cast< int >(result
));
28618 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28619 PyObject
*resultobj
= 0;
28620 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28624 PyObject
*swig_obj
[1] ;
28626 if (!args
) SWIG_fail
;
28627 swig_obj
[0] = args
;
28628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28629 if (!SWIG_IsOK(res1
)) {
28630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28632 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28635 result
= (arg1
)->GetPoint();
28636 wxPyEndAllowThreads(__tstate
);
28637 if (PyErr_Occurred()) SWIG_fail
;
28639 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28646 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28647 PyObject
*resultobj
= 0;
28648 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28649 wxString
*result
= 0 ;
28652 PyObject
*swig_obj
[1] ;
28654 if (!args
) SWIG_fail
;
28655 swig_obj
[0] = args
;
28656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28657 if (!SWIG_IsOK(res1
)) {
28658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28660 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28664 wxString
const &_result_ref
= (arg1
)->GetLabel();
28665 result
= (wxString
*) &_result_ref
;
28667 wxPyEndAllowThreads(__tstate
);
28668 if (PyErr_Occurred()) SWIG_fail
;
28672 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28674 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28683 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28684 PyObject
*resultobj
= 0;
28685 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28686 wxString
*result
= 0 ;
28689 PyObject
*swig_obj
[1] ;
28691 if (!args
) SWIG_fail
;
28692 swig_obj
[0] = args
;
28693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28694 if (!SWIG_IsOK(res1
)) {
28695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28697 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28701 wxString
const &_result_ref
= (arg1
)->GetText();
28702 result
= (wxString
*) &_result_ref
;
28704 wxPyEndAllowThreads(__tstate
);
28705 if (PyErr_Occurred()) SWIG_fail
;
28709 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28711 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28720 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28721 PyObject
*resultobj
= 0;
28722 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28726 PyObject
*swig_obj
[1] ;
28728 if (!args
) SWIG_fail
;
28729 swig_obj
[0] = args
;
28730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28731 if (!SWIG_IsOK(res1
)) {
28732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28734 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28737 result
= (int)(arg1
)->GetImage();
28738 wxPyEndAllowThreads(__tstate
);
28739 if (PyErr_Occurred()) SWIG_fail
;
28741 resultobj
= SWIG_From_int(static_cast< int >(result
));
28748 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28749 PyObject
*resultobj
= 0;
28750 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28754 PyObject
*swig_obj
[1] ;
28756 if (!args
) SWIG_fail
;
28757 swig_obj
[0] = args
;
28758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28759 if (!SWIG_IsOK(res1
)) {
28760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28762 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28765 result
= (long)(arg1
)->GetData();
28766 wxPyEndAllowThreads(__tstate
);
28767 if (PyErr_Occurred()) SWIG_fail
;
28769 resultobj
= SWIG_From_long(static_cast< long >(result
));
28776 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28777 PyObject
*resultobj
= 0;
28778 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28782 PyObject
*swig_obj
[1] ;
28784 if (!args
) SWIG_fail
;
28785 swig_obj
[0] = args
;
28786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28787 if (!SWIG_IsOK(res1
)) {
28788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28790 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28793 result
= (long)(arg1
)->GetMask();
28794 wxPyEndAllowThreads(__tstate
);
28795 if (PyErr_Occurred()) SWIG_fail
;
28797 resultobj
= SWIG_From_long(static_cast< long >(result
));
28804 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28805 PyObject
*resultobj
= 0;
28806 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28807 wxListItem
*result
= 0 ;
28810 PyObject
*swig_obj
[1] ;
28812 if (!args
) SWIG_fail
;
28813 swig_obj
[0] = args
;
28814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28815 if (!SWIG_IsOK(res1
)) {
28816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28818 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28822 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28823 result
= (wxListItem
*) &_result_ref
;
28825 wxPyEndAllowThreads(__tstate
);
28826 if (PyErr_Occurred()) SWIG_fail
;
28828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28835 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28836 PyObject
*resultobj
= 0;
28837 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28841 PyObject
*swig_obj
[1] ;
28843 if (!args
) SWIG_fail
;
28844 swig_obj
[0] = args
;
28845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28846 if (!SWIG_IsOK(res1
)) {
28847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28849 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28852 result
= (long)(arg1
)->GetCacheFrom();
28853 wxPyEndAllowThreads(__tstate
);
28854 if (PyErr_Occurred()) SWIG_fail
;
28856 resultobj
= SWIG_From_long(static_cast< long >(result
));
28863 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28864 PyObject
*resultobj
= 0;
28865 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28869 PyObject
*swig_obj
[1] ;
28871 if (!args
) SWIG_fail
;
28872 swig_obj
[0] = args
;
28873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28874 if (!SWIG_IsOK(res1
)) {
28875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28877 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28880 result
= (long)(arg1
)->GetCacheTo();
28881 wxPyEndAllowThreads(__tstate
);
28882 if (PyErr_Occurred()) SWIG_fail
;
28884 resultobj
= SWIG_From_long(static_cast< long >(result
));
28891 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28892 PyObject
*resultobj
= 0;
28893 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28897 PyObject
*swig_obj
[1] ;
28899 if (!args
) SWIG_fail
;
28900 swig_obj
[0] = args
;
28901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28902 if (!SWIG_IsOK(res1
)) {
28903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28905 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28908 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28909 wxPyEndAllowThreads(__tstate
);
28910 if (PyErr_Occurred()) SWIG_fail
;
28913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28921 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28922 PyObject
*resultobj
= 0;
28923 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28929 PyObject
* obj0
= 0 ;
28930 PyObject
* obj1
= 0 ;
28931 char * kwnames
[] = {
28932 (char *) "self",(char *) "editCancelled", NULL
28935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28937 if (!SWIG_IsOK(res1
)) {
28938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28940 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28941 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28942 if (!SWIG_IsOK(ecode2
)) {
28943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28945 arg2
= static_cast< bool >(val2
);
28947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28948 (arg1
)->SetEditCanceled(arg2
);
28949 wxPyEndAllowThreads(__tstate
);
28950 if (PyErr_Occurred()) SWIG_fail
;
28952 resultobj
= SWIG_Py_Void();
28959 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28961 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28962 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28963 return SWIG_Py_Void();
28966 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28967 return SWIG_Python_InitShadowInstance(args
);
28970 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28971 PyObject
*resultobj
= 0;
28972 wxWindow
*arg1
= (wxWindow
*) 0 ;
28973 int arg2
= (int) -1 ;
28974 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28975 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28976 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28977 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28978 long arg5
= (long) wxLC_ICON
;
28979 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28980 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28981 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28982 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28983 wxPyListCtrl
*result
= 0 ;
28994 bool temp7
= false ;
28995 PyObject
* obj0
= 0 ;
28996 PyObject
* obj1
= 0 ;
28997 PyObject
* obj2
= 0 ;
28998 PyObject
* obj3
= 0 ;
28999 PyObject
* obj4
= 0 ;
29000 PyObject
* obj5
= 0 ;
29001 PyObject
* obj6
= 0 ;
29002 char * kwnames
[] = {
29003 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29008 if (!SWIG_IsOK(res1
)) {
29009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
29011 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29013 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29014 if (!SWIG_IsOK(ecode2
)) {
29015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
29017 arg2
= static_cast< int >(val2
);
29022 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29028 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29032 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
29033 if (!SWIG_IsOK(ecode5
)) {
29034 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
29036 arg5
= static_cast< long >(val5
);
29039 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
29040 if (!SWIG_IsOK(res6
)) {
29041 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
29044 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
29046 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
29050 arg7
= wxString_in_helper(obj6
);
29051 if (arg7
== NULL
) SWIG_fail
;
29056 if (!wxPyCheckForApp()) SWIG_fail
;
29057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29058 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29059 wxPyEndAllowThreads(__tstate
);
29060 if (PyErr_Occurred()) SWIG_fail
;
29062 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
29077 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29078 PyObject
*resultobj
= 0;
29079 wxPyListCtrl
*result
= 0 ;
29081 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
29083 if (!wxPyCheckForApp()) SWIG_fail
;
29084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29085 result
= (wxPyListCtrl
*)new wxPyListCtrl();
29086 wxPyEndAllowThreads(__tstate
);
29087 if (PyErr_Occurred()) SWIG_fail
;
29089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
29096 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29097 PyObject
*resultobj
= 0;
29098 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29099 wxWindow
*arg2
= (wxWindow
*) 0 ;
29100 int arg3
= (int) -1 ;
29101 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29102 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29103 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29104 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29105 long arg6
= (long) wxLC_ICON
;
29106 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
29107 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
29108 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
29109 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
29123 bool temp8
= false ;
29124 PyObject
* obj0
= 0 ;
29125 PyObject
* obj1
= 0 ;
29126 PyObject
* obj2
= 0 ;
29127 PyObject
* obj3
= 0 ;
29128 PyObject
* obj4
= 0 ;
29129 PyObject
* obj5
= 0 ;
29130 PyObject
* obj6
= 0 ;
29131 PyObject
* obj7
= 0 ;
29132 char * kwnames
[] = {
29133 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
29137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29138 if (!SWIG_IsOK(res1
)) {
29139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29141 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29142 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29143 if (!SWIG_IsOK(res2
)) {
29144 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
29146 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29148 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29149 if (!SWIG_IsOK(ecode3
)) {
29150 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
29152 arg3
= static_cast< int >(val3
);
29157 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29163 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29167 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29168 if (!SWIG_IsOK(ecode6
)) {
29169 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
29171 arg6
= static_cast< long >(val6
);
29174 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
29175 if (!SWIG_IsOK(res7
)) {
29176 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29179 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29181 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
29185 arg8
= wxString_in_helper(obj7
);
29186 if (arg8
== NULL
) SWIG_fail
;
29191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29192 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
29193 wxPyEndAllowThreads(__tstate
);
29194 if (PyErr_Occurred()) SWIG_fail
;
29197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29213 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29214 PyObject
*resultobj
= 0;
29215 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29216 PyObject
*arg2
= (PyObject
*) 0 ;
29217 PyObject
*arg3
= (PyObject
*) 0 ;
29220 PyObject
* obj0
= 0 ;
29221 PyObject
* obj1
= 0 ;
29222 PyObject
* obj2
= 0 ;
29223 char * kwnames
[] = {
29224 (char *) "self",(char *) "self",(char *) "_class", NULL
29227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29229 if (!SWIG_IsOK(res1
)) {
29230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29232 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29237 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29238 wxPyEndAllowThreads(__tstate
);
29239 if (PyErr_Occurred()) SWIG_fail
;
29241 resultobj
= SWIG_Py_Void();
29248 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29249 PyObject
*resultobj
= 0;
29250 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29252 wxListItem
*result
= 0 ;
29257 PyObject
* obj0
= 0 ;
29258 PyObject
* obj1
= 0 ;
29259 char * kwnames
[] = {
29260 (char *) "self",(char *) "col", NULL
29263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29265 if (!SWIG_IsOK(res1
)) {
29266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29268 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29269 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29270 if (!SWIG_IsOK(ecode2
)) {
29271 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29273 arg2
= static_cast< int >(val2
);
29275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29276 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
29277 wxPyEndAllowThreads(__tstate
);
29278 if (PyErr_Occurred()) SWIG_fail
;
29281 resultobj
= wxPyMake_wxObject(result
, 0);
29289 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29290 PyObject
*resultobj
= 0;
29291 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29293 wxListItem
*arg3
= 0 ;
29301 PyObject
* obj0
= 0 ;
29302 PyObject
* obj1
= 0 ;
29303 PyObject
* obj2
= 0 ;
29304 char * kwnames
[] = {
29305 (char *) "self",(char *) "col",(char *) "item", NULL
29308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29310 if (!SWIG_IsOK(res1
)) {
29311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29313 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29314 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29315 if (!SWIG_IsOK(ecode2
)) {
29316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29318 arg2
= static_cast< int >(val2
);
29319 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
29320 if (!SWIG_IsOK(res3
)) {
29321 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29326 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
29328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29329 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
29330 wxPyEndAllowThreads(__tstate
);
29331 if (PyErr_Occurred()) SWIG_fail
;
29334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29342 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29343 PyObject
*resultobj
= 0;
29344 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29351 PyObject
* obj0
= 0 ;
29352 PyObject
* obj1
= 0 ;
29353 char * kwnames
[] = {
29354 (char *) "self",(char *) "col", NULL
29357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29359 if (!SWIG_IsOK(res1
)) {
29360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29362 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29363 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29364 if (!SWIG_IsOK(ecode2
)) {
29365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29367 arg2
= static_cast< int >(val2
);
29369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29370 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
29371 wxPyEndAllowThreads(__tstate
);
29372 if (PyErr_Occurred()) SWIG_fail
;
29374 resultobj
= SWIG_From_int(static_cast< int >(result
));
29381 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29382 PyObject
*resultobj
= 0;
29383 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29393 PyObject
* obj0
= 0 ;
29394 PyObject
* obj1
= 0 ;
29395 PyObject
* obj2
= 0 ;
29396 char * kwnames
[] = {
29397 (char *) "self",(char *) "col",(char *) "width", NULL
29400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29402 if (!SWIG_IsOK(res1
)) {
29403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29405 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29406 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29407 if (!SWIG_IsOK(ecode2
)) {
29408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29410 arg2
= static_cast< int >(val2
);
29411 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29412 if (!SWIG_IsOK(ecode3
)) {
29413 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29415 arg3
= static_cast< int >(val3
);
29417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29418 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
29419 wxPyEndAllowThreads(__tstate
);
29420 if (PyErr_Occurred()) SWIG_fail
;
29423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29431 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29432 PyObject
*resultobj
= 0;
29433 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29437 PyObject
*swig_obj
[1] ;
29439 if (!args
) SWIG_fail
;
29440 swig_obj
[0] = args
;
29441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29442 if (!SWIG_IsOK(res1
)) {
29443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29445 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29448 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29449 wxPyEndAllowThreads(__tstate
);
29450 if (PyErr_Occurred()) SWIG_fail
;
29452 resultobj
= SWIG_From_int(static_cast< int >(result
));
29459 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29460 PyObject
*resultobj
= 0;
29461 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29465 PyObject
*swig_obj
[1] ;
29467 if (!args
) SWIG_fail
;
29468 swig_obj
[0] = args
;
29469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29470 if (!SWIG_IsOK(res1
)) {
29471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29473 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29476 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29477 wxPyEndAllowThreads(__tstate
);
29478 if (PyErr_Occurred()) SWIG_fail
;
29480 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29487 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29488 PyObject
*resultobj
= 0;
29489 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29490 wxTextCtrl
*result
= 0 ;
29493 PyObject
*swig_obj
[1] ;
29495 if (!args
) SWIG_fail
;
29496 swig_obj
[0] = args
;
29497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29498 if (!SWIG_IsOK(res1
)) {
29499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29501 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29504 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29505 wxPyEndAllowThreads(__tstate
);
29506 if (PyErr_Occurred()) SWIG_fail
;
29509 resultobj
= wxPyMake_wxObject(result
, 0);
29517 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29518 PyObject
*resultobj
= 0;
29519 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29521 int arg3
= (int) 0 ;
29522 wxListItem
*result
= 0 ;
29529 PyObject
* obj0
= 0 ;
29530 PyObject
* obj1
= 0 ;
29531 PyObject
* obj2
= 0 ;
29532 char * kwnames
[] = {
29533 (char *) "self",(char *) "itemId",(char *) "col", NULL
29536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29538 if (!SWIG_IsOK(res1
)) {
29539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29541 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29542 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29543 if (!SWIG_IsOK(ecode2
)) {
29544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29546 arg2
= static_cast< long >(val2
);
29548 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29549 if (!SWIG_IsOK(ecode3
)) {
29550 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29552 arg3
= static_cast< int >(val3
);
29555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29556 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29557 wxPyEndAllowThreads(__tstate
);
29558 if (PyErr_Occurred()) SWIG_fail
;
29561 resultobj
= wxPyMake_wxObject(result
, 0);
29569 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29570 PyObject
*resultobj
= 0;
29571 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29572 wxListItem
*arg2
= 0 ;
29578 PyObject
* obj0
= 0 ;
29579 PyObject
* obj1
= 0 ;
29580 char * kwnames
[] = {
29581 (char *) "self",(char *) "info", NULL
29584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29586 if (!SWIG_IsOK(res1
)) {
29587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29589 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29590 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29591 if (!SWIG_IsOK(res2
)) {
29592 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29595 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29597 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29600 result
= (bool)(arg1
)->SetItem(*arg2
);
29601 wxPyEndAllowThreads(__tstate
);
29602 if (PyErr_Occurred()) SWIG_fail
;
29605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29613 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29614 PyObject
*resultobj
= 0;
29615 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29618 wxString
*arg4
= 0 ;
29619 int arg5
= (int) -1 ;
29627 bool temp4
= false ;
29630 PyObject
* obj0
= 0 ;
29631 PyObject
* obj1
= 0 ;
29632 PyObject
* obj2
= 0 ;
29633 PyObject
* obj3
= 0 ;
29634 PyObject
* obj4
= 0 ;
29635 char * kwnames
[] = {
29636 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29641 if (!SWIG_IsOK(res1
)) {
29642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29644 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29645 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29646 if (!SWIG_IsOK(ecode2
)) {
29647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29649 arg2
= static_cast< long >(val2
);
29650 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29651 if (!SWIG_IsOK(ecode3
)) {
29652 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29654 arg3
= static_cast< int >(val3
);
29656 arg4
= wxString_in_helper(obj3
);
29657 if (arg4
== NULL
) SWIG_fail
;
29661 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29662 if (!SWIG_IsOK(ecode5
)) {
29663 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29665 arg5
= static_cast< int >(val5
);
29668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29669 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29670 wxPyEndAllowThreads(__tstate
);
29671 if (PyErr_Occurred()) SWIG_fail
;
29673 resultobj
= SWIG_From_long(static_cast< long >(result
));
29688 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29689 PyObject
*resultobj
= 0;
29690 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29700 PyObject
* obj0
= 0 ;
29701 PyObject
* obj1
= 0 ;
29702 PyObject
* obj2
= 0 ;
29703 char * kwnames
[] = {
29704 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29709 if (!SWIG_IsOK(res1
)) {
29710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29712 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29713 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29714 if (!SWIG_IsOK(ecode2
)) {
29715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29717 arg2
= static_cast< long >(val2
);
29718 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29719 if (!SWIG_IsOK(ecode3
)) {
29720 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29722 arg3
= static_cast< long >(val3
);
29724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29725 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29726 wxPyEndAllowThreads(__tstate
);
29727 if (PyErr_Occurred()) SWIG_fail
;
29729 resultobj
= SWIG_From_int(static_cast< int >(result
));
29736 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29737 PyObject
*resultobj
= 0;
29738 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29751 PyObject
* obj0
= 0 ;
29752 PyObject
* obj1
= 0 ;
29753 PyObject
* obj2
= 0 ;
29754 PyObject
* obj3
= 0 ;
29755 char * kwnames
[] = {
29756 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29761 if (!SWIG_IsOK(res1
)) {
29762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29764 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29765 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29766 if (!SWIG_IsOK(ecode2
)) {
29767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29769 arg2
= static_cast< long >(val2
);
29770 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29771 if (!SWIG_IsOK(ecode3
)) {
29772 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29774 arg3
= static_cast< long >(val3
);
29775 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29776 if (!SWIG_IsOK(ecode4
)) {
29777 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29779 arg4
= static_cast< long >(val4
);
29781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29782 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29783 wxPyEndAllowThreads(__tstate
);
29784 if (PyErr_Occurred()) SWIG_fail
;
29787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29795 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29796 PyObject
*resultobj
= 0;
29797 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29800 int arg4
= (int) -1 ;
29810 PyObject
* obj0
= 0 ;
29811 PyObject
* obj1
= 0 ;
29812 PyObject
* obj2
= 0 ;
29813 PyObject
* obj3
= 0 ;
29814 char * kwnames
[] = {
29815 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29820 if (!SWIG_IsOK(res1
)) {
29821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29823 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29824 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29825 if (!SWIG_IsOK(ecode2
)) {
29826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29828 arg2
= static_cast< long >(val2
);
29829 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29830 if (!SWIG_IsOK(ecode3
)) {
29831 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29833 arg3
= static_cast< int >(val3
);
29835 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29836 if (!SWIG_IsOK(ecode4
)) {
29837 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29839 arg4
= static_cast< int >(val4
);
29842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29843 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29844 wxPyEndAllowThreads(__tstate
);
29845 if (PyErr_Occurred()) SWIG_fail
;
29848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29856 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29857 PyObject
*resultobj
= 0;
29858 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29871 PyObject
* obj0
= 0 ;
29872 PyObject
* obj1
= 0 ;
29873 PyObject
* obj2
= 0 ;
29874 PyObject
* obj3
= 0 ;
29875 char * kwnames
[] = {
29876 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29881 if (!SWIG_IsOK(res1
)) {
29882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29884 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29885 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29886 if (!SWIG_IsOK(ecode2
)) {
29887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29889 arg2
= static_cast< long >(val2
);
29890 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29891 if (!SWIG_IsOK(ecode3
)) {
29892 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29894 arg3
= static_cast< long >(val3
);
29895 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29896 if (!SWIG_IsOK(ecode4
)) {
29897 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29899 arg4
= static_cast< int >(val4
);
29901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29902 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29903 wxPyEndAllowThreads(__tstate
);
29904 if (PyErr_Occurred()) SWIG_fail
;
29907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29915 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29916 PyObject
*resultobj
= 0;
29917 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29924 PyObject
* obj0
= 0 ;
29925 PyObject
* obj1
= 0 ;
29926 char * kwnames
[] = {
29927 (char *) "self",(char *) "item", NULL
29930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29932 if (!SWIG_IsOK(res1
)) {
29933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29935 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29936 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29937 if (!SWIG_IsOK(ecode2
)) {
29938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29940 arg2
= static_cast< long >(val2
);
29942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29943 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29944 wxPyEndAllowThreads(__tstate
);
29945 if (PyErr_Occurred()) SWIG_fail
;
29949 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29951 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29960 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29961 PyObject
*resultobj
= 0;
29962 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29964 wxString
*arg3
= 0 ;
29969 bool temp3
= false ;
29970 PyObject
* obj0
= 0 ;
29971 PyObject
* obj1
= 0 ;
29972 PyObject
* obj2
= 0 ;
29973 char * kwnames
[] = {
29974 (char *) "self",(char *) "item",(char *) "str", NULL
29977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29979 if (!SWIG_IsOK(res1
)) {
29980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29982 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29983 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29984 if (!SWIG_IsOK(ecode2
)) {
29985 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29987 arg2
= static_cast< long >(val2
);
29989 arg3
= wxString_in_helper(obj2
);
29990 if (arg3
== NULL
) SWIG_fail
;
29994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29995 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29996 wxPyEndAllowThreads(__tstate
);
29997 if (PyErr_Occurred()) SWIG_fail
;
29999 resultobj
= SWIG_Py_Void();
30014 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30015 PyObject
*resultobj
= 0;
30016 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30023 PyObject
* obj0
= 0 ;
30024 PyObject
* obj1
= 0 ;
30025 char * kwnames
[] = {
30026 (char *) "self",(char *) "item", NULL
30029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30031 if (!SWIG_IsOK(res1
)) {
30032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30034 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30035 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30036 if (!SWIG_IsOK(ecode2
)) {
30037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
30039 arg2
= static_cast< long >(val2
);
30041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30042 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
30043 wxPyEndAllowThreads(__tstate
);
30044 if (PyErr_Occurred()) SWIG_fail
;
30046 resultobj
= SWIG_From_long(static_cast< long >(result
));
30053 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30054 PyObject
*resultobj
= 0;
30055 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30065 PyObject
* obj0
= 0 ;
30066 PyObject
* obj1
= 0 ;
30067 PyObject
* obj2
= 0 ;
30068 char * kwnames
[] = {
30069 (char *) "self",(char *) "item",(char *) "data", NULL
30072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30074 if (!SWIG_IsOK(res1
)) {
30075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30077 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30078 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30079 if (!SWIG_IsOK(ecode2
)) {
30080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
30082 arg2
= static_cast< long >(val2
);
30083 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30084 if (!SWIG_IsOK(ecode3
)) {
30085 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
30087 arg3
= static_cast< long >(val3
);
30089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30090 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
30091 wxPyEndAllowThreads(__tstate
);
30092 if (PyErr_Occurred()) SWIG_fail
;
30095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30103 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30104 PyObject
*resultobj
= 0;
30105 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30112 PyObject
* obj0
= 0 ;
30113 PyObject
* obj1
= 0 ;
30114 char * kwnames
[] = {
30115 (char *) "self",(char *) "item", NULL
30118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30120 if (!SWIG_IsOK(res1
)) {
30121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30123 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30124 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30125 if (!SWIG_IsOK(ecode2
)) {
30126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
30128 arg2
= static_cast< long >(val2
);
30130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30131 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
30132 wxPyEndAllowThreads(__tstate
);
30133 if (PyErr_Occurred()) SWIG_fail
;
30135 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
30142 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30143 PyObject
*resultobj
= 0;
30144 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30146 int arg3
= (int) wxLIST_RECT_BOUNDS
;
30154 PyObject
* obj0
= 0 ;
30155 PyObject
* obj1
= 0 ;
30156 PyObject
* obj2
= 0 ;
30157 char * kwnames
[] = {
30158 (char *) "self",(char *) "item",(char *) "code", NULL
30161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30163 if (!SWIG_IsOK(res1
)) {
30164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30166 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30167 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30168 if (!SWIG_IsOK(ecode2
)) {
30169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
30171 arg2
= static_cast< long >(val2
);
30173 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30174 if (!SWIG_IsOK(ecode3
)) {
30175 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
30177 arg3
= static_cast< int >(val3
);
30180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30181 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
30182 wxPyEndAllowThreads(__tstate
);
30183 if (PyErr_Occurred()) SWIG_fail
;
30185 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30192 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30193 PyObject
*resultobj
= 0;
30194 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30196 wxPoint
*arg3
= 0 ;
30203 PyObject
* obj0
= 0 ;
30204 PyObject
* obj1
= 0 ;
30205 PyObject
* obj2
= 0 ;
30206 char * kwnames
[] = {
30207 (char *) "self",(char *) "item",(char *) "pos", NULL
30210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30212 if (!SWIG_IsOK(res1
)) {
30213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30215 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30216 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30217 if (!SWIG_IsOK(ecode2
)) {
30218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30220 arg2
= static_cast< long >(val2
);
30223 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30227 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
30228 wxPyEndAllowThreads(__tstate
);
30229 if (PyErr_Occurred()) SWIG_fail
;
30232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30240 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30241 PyObject
*resultobj
= 0;
30242 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30246 PyObject
*swig_obj
[1] ;
30248 if (!args
) SWIG_fail
;
30249 swig_obj
[0] = args
;
30250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30251 if (!SWIG_IsOK(res1
)) {
30252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30254 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30257 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
30258 wxPyEndAllowThreads(__tstate
);
30259 if (PyErr_Occurred()) SWIG_fail
;
30261 resultobj
= SWIG_From_int(static_cast< int >(result
));
30268 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30269 PyObject
*resultobj
= 0;
30270 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30274 PyObject
*swig_obj
[1] ;
30276 if (!args
) SWIG_fail
;
30277 swig_obj
[0] = args
;
30278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30279 if (!SWIG_IsOK(res1
)) {
30280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30282 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30285 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
30286 wxPyEndAllowThreads(__tstate
);
30287 if (PyErr_Occurred()) SWIG_fail
;
30289 resultobj
= SWIG_From_int(static_cast< int >(result
));
30296 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30297 PyObject
*resultobj
= 0;
30298 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30302 PyObject
*swig_obj
[1] ;
30304 if (!args
) SWIG_fail
;
30305 swig_obj
[0] = args
;
30306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30307 if (!SWIG_IsOK(res1
)) {
30308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30310 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30313 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
30314 wxPyEndAllowThreads(__tstate
);
30315 if (PyErr_Occurred()) SWIG_fail
;
30317 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30324 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30325 PyObject
*resultobj
= 0;
30326 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30330 PyObject
*swig_obj
[1] ;
30332 if (!args
) SWIG_fail
;
30333 swig_obj
[0] = args
;
30334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30335 if (!SWIG_IsOK(res1
)) {
30336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30338 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30341 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
30342 wxPyEndAllowThreads(__tstate
);
30343 if (PyErr_Occurred()) SWIG_fail
;
30345 resultobj
= SWIG_From_int(static_cast< int >(result
));
30352 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30353 PyObject
*resultobj
= 0;
30354 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30358 PyObject
*swig_obj
[1] ;
30360 if (!args
) SWIG_fail
;
30361 swig_obj
[0] = args
;
30362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30363 if (!SWIG_IsOK(res1
)) {
30364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30366 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30369 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
30370 wxPyEndAllowThreads(__tstate
);
30371 if (PyErr_Occurred()) SWIG_fail
;
30373 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30380 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30381 PyObject
*resultobj
= 0;
30382 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30383 wxColour
*arg2
= 0 ;
30387 PyObject
* obj0
= 0 ;
30388 PyObject
* obj1
= 0 ;
30389 char * kwnames
[] = {
30390 (char *) "self",(char *) "col", NULL
30393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30395 if (!SWIG_IsOK(res1
)) {
30396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30398 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30401 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30405 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30406 wxPyEndAllowThreads(__tstate
);
30407 if (PyErr_Occurred()) SWIG_fail
;
30409 resultobj
= SWIG_Py_Void();
30416 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30417 PyObject
*resultobj
= 0;
30418 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30422 PyObject
*swig_obj
[1] ;
30424 if (!args
) SWIG_fail
;
30425 swig_obj
[0] = args
;
30426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30427 if (!SWIG_IsOK(res1
)) {
30428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30430 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30433 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30434 wxPyEndAllowThreads(__tstate
);
30435 if (PyErr_Occurred()) SWIG_fail
;
30437 resultobj
= SWIG_From_long(static_cast< long >(result
));
30444 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30445 PyObject
*resultobj
= 0;
30446 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30448 bool arg3
= (bool) true ;
30455 PyObject
* obj0
= 0 ;
30456 PyObject
* obj1
= 0 ;
30457 PyObject
* obj2
= 0 ;
30458 char * kwnames
[] = {
30459 (char *) "self",(char *) "style",(char *) "add", NULL
30462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30464 if (!SWIG_IsOK(res1
)) {
30465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30467 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30468 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30469 if (!SWIG_IsOK(ecode2
)) {
30470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30472 arg2
= static_cast< long >(val2
);
30474 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30475 if (!SWIG_IsOK(ecode3
)) {
30476 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30478 arg3
= static_cast< bool >(val3
);
30481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30482 (arg1
)->SetSingleStyle(arg2
,arg3
);
30483 wxPyEndAllowThreads(__tstate
);
30484 if (PyErr_Occurred()) SWIG_fail
;
30486 resultobj
= SWIG_Py_Void();
30493 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30494 PyObject
*resultobj
= 0;
30495 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30497 int arg3
= (int) wxLIST_NEXT_ALL
;
30498 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30508 PyObject
* obj0
= 0 ;
30509 PyObject
* obj1
= 0 ;
30510 PyObject
* obj2
= 0 ;
30511 PyObject
* obj3
= 0 ;
30512 char * kwnames
[] = {
30513 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
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_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30526 arg2
= static_cast< long >(val2
);
30528 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30529 if (!SWIG_IsOK(ecode3
)) {
30530 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30532 arg3
= static_cast< int >(val3
);
30535 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30536 if (!SWIG_IsOK(ecode4
)) {
30537 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30539 arg4
= static_cast< int >(val4
);
30542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30543 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30544 wxPyEndAllowThreads(__tstate
);
30545 if (PyErr_Occurred()) SWIG_fail
;
30547 resultobj
= SWIG_From_long(static_cast< long >(result
));
30554 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30555 PyObject
*resultobj
= 0;
30556 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30558 wxImageList
*result
= 0 ;
30563 PyObject
* obj0
= 0 ;
30564 PyObject
* obj1
= 0 ;
30565 char * kwnames
[] = {
30566 (char *) "self",(char *) "which", NULL
30569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30571 if (!SWIG_IsOK(res1
)) {
30572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30574 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30575 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30576 if (!SWIG_IsOK(ecode2
)) {
30577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30579 arg2
= static_cast< int >(val2
);
30581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30582 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30583 wxPyEndAllowThreads(__tstate
);
30584 if (PyErr_Occurred()) SWIG_fail
;
30587 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30595 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30596 PyObject
*resultobj
= 0;
30597 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30598 wxImageList
*arg2
= (wxImageList
*) 0 ;
30606 PyObject
* obj0
= 0 ;
30607 PyObject
* obj1
= 0 ;
30608 PyObject
* obj2
= 0 ;
30609 char * kwnames
[] = {
30610 (char *) "self",(char *) "imageList",(char *) "which", NULL
30613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30615 if (!SWIG_IsOK(res1
)) {
30616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30618 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30619 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30620 if (!SWIG_IsOK(res2
)) {
30621 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30623 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30624 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30625 if (!SWIG_IsOK(ecode3
)) {
30626 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30628 arg3
= static_cast< int >(val3
);
30630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30631 (arg1
)->SetImageList(arg2
,arg3
);
30632 wxPyEndAllowThreads(__tstate
);
30633 if (PyErr_Occurred()) SWIG_fail
;
30635 resultobj
= SWIG_Py_Void();
30642 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30643 PyObject
*resultobj
= 0;
30644 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30645 wxImageList
*arg2
= (wxImageList
*) 0 ;
30652 PyObject
* obj0
= 0 ;
30653 PyObject
* obj1
= 0 ;
30654 PyObject
* obj2
= 0 ;
30655 char * kwnames
[] = {
30656 (char *) "self",(char *) "imageList",(char *) "which", NULL
30659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30661 if (!SWIG_IsOK(res1
)) {
30662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30664 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30665 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30666 if (!SWIG_IsOK(res2
)) {
30667 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30669 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30670 if (!SWIG_IsOK(ecode3
)) {
30671 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30673 arg3
= static_cast< int >(val3
);
30675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30676 (arg1
)->AssignImageList(arg2
,arg3
);
30677 wxPyEndAllowThreads(__tstate
);
30678 if (PyErr_Occurred()) SWIG_fail
;
30680 resultobj
= SWIG_Py_Void();
30687 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30688 PyObject
*resultobj
= 0;
30689 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30693 PyObject
*swig_obj
[1] ;
30695 if (!args
) SWIG_fail
;
30696 swig_obj
[0] = args
;
30697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30698 if (!SWIG_IsOK(res1
)) {
30699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30701 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30704 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30705 wxPyEndAllowThreads(__tstate
);
30706 if (PyErr_Occurred()) SWIG_fail
;
30709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30717 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30718 PyObject
*resultobj
= 0;
30719 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30723 PyObject
*swig_obj
[1] ;
30725 if (!args
) SWIG_fail
;
30726 swig_obj
[0] = args
;
30727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30728 if (!SWIG_IsOK(res1
)) {
30729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30731 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30734 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30735 wxPyEndAllowThreads(__tstate
);
30736 if (PyErr_Occurred()) SWIG_fail
;
30739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30747 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30748 PyObject
*resultobj
= 0;
30749 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30755 PyObject
* obj0
= 0 ;
30756 PyObject
* obj1
= 0 ;
30757 char * kwnames
[] = {
30758 (char *) "self",(char *) "item", NULL
30761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30763 if (!SWIG_IsOK(res1
)) {
30764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30766 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30767 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30768 if (!SWIG_IsOK(ecode2
)) {
30769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30771 arg2
= static_cast< long >(val2
);
30773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30774 (arg1
)->RefreshItem(arg2
);
30775 wxPyEndAllowThreads(__tstate
);
30776 if (PyErr_Occurred()) SWIG_fail
;
30778 resultobj
= SWIG_Py_Void();
30785 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30786 PyObject
*resultobj
= 0;
30787 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30796 PyObject
* obj0
= 0 ;
30797 PyObject
* obj1
= 0 ;
30798 PyObject
* obj2
= 0 ;
30799 char * kwnames
[] = {
30800 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30805 if (!SWIG_IsOK(res1
)) {
30806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30808 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30809 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30810 if (!SWIG_IsOK(ecode2
)) {
30811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30813 arg2
= static_cast< long >(val2
);
30814 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30815 if (!SWIG_IsOK(ecode3
)) {
30816 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30818 arg3
= static_cast< long >(val3
);
30820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30821 (arg1
)->RefreshItems(arg2
,arg3
);
30822 wxPyEndAllowThreads(__tstate
);
30823 if (PyErr_Occurred()) SWIG_fail
;
30825 resultobj
= SWIG_Py_Void();
30832 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30833 PyObject
*resultobj
= 0;
30834 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30835 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30841 PyObject
* obj0
= 0 ;
30842 PyObject
* obj1
= 0 ;
30843 char * kwnames
[] = {
30844 (char *) "self",(char *) "flag", NULL
30847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30849 if (!SWIG_IsOK(res1
)) {
30850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30852 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30854 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30855 if (!SWIG_IsOK(ecode2
)) {
30856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30858 arg2
= static_cast< int >(val2
);
30861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30862 result
= (bool)(arg1
)->Arrange(arg2
);
30863 wxPyEndAllowThreads(__tstate
);
30864 if (PyErr_Occurred()) SWIG_fail
;
30867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30875 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30876 PyObject
*resultobj
= 0;
30877 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30884 PyObject
* obj0
= 0 ;
30885 PyObject
* obj1
= 0 ;
30886 char * kwnames
[] = {
30887 (char *) "self",(char *) "item", NULL
30890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30892 if (!SWIG_IsOK(res1
)) {
30893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30895 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30896 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30897 if (!SWIG_IsOK(ecode2
)) {
30898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30900 arg2
= static_cast< long >(val2
);
30902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30903 result
= (bool)(arg1
)->DeleteItem(arg2
);
30904 wxPyEndAllowThreads(__tstate
);
30905 if (PyErr_Occurred()) SWIG_fail
;
30908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30916 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30917 PyObject
*resultobj
= 0;
30918 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30922 PyObject
*swig_obj
[1] ;
30924 if (!args
) SWIG_fail
;
30925 swig_obj
[0] = args
;
30926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30927 if (!SWIG_IsOK(res1
)) {
30928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30930 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30933 result
= (bool)(arg1
)->DeleteAllItems();
30934 wxPyEndAllowThreads(__tstate
);
30935 if (PyErr_Occurred()) SWIG_fail
;
30938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30946 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30947 PyObject
*resultobj
= 0;
30948 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30955 PyObject
* obj0
= 0 ;
30956 PyObject
* obj1
= 0 ;
30957 char * kwnames
[] = {
30958 (char *) "self",(char *) "col", NULL
30961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30963 if (!SWIG_IsOK(res1
)) {
30964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30966 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30967 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30968 if (!SWIG_IsOK(ecode2
)) {
30969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30971 arg2
= static_cast< int >(val2
);
30973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30974 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30975 wxPyEndAllowThreads(__tstate
);
30976 if (PyErr_Occurred()) SWIG_fail
;
30979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30987 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30988 PyObject
*resultobj
= 0;
30989 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30993 PyObject
*swig_obj
[1] ;
30995 if (!args
) SWIG_fail
;
30996 swig_obj
[0] = args
;
30997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30998 if (!SWIG_IsOK(res1
)) {
30999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31001 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31004 result
= (bool)(arg1
)->DeleteAllColumns();
31005 wxPyEndAllowThreads(__tstate
);
31006 if (PyErr_Occurred()) SWIG_fail
;
31009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31017 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31018 PyObject
*resultobj
= 0;
31019 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31022 PyObject
*swig_obj
[1] ;
31024 if (!args
) SWIG_fail
;
31025 swig_obj
[0] = args
;
31026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31027 if (!SWIG_IsOK(res1
)) {
31028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31030 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31033 (arg1
)->ClearAll();
31034 wxPyEndAllowThreads(__tstate
);
31035 if (PyErr_Occurred()) SWIG_fail
;
31037 resultobj
= SWIG_Py_Void();
31044 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31045 PyObject
*resultobj
= 0;
31046 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31048 wxTextCtrl
*result
= 0 ;
31053 PyObject
* obj0
= 0 ;
31054 PyObject
* obj1
= 0 ;
31055 char * kwnames
[] = {
31056 (char *) "self",(char *) "item", NULL
31059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31061 if (!SWIG_IsOK(res1
)) {
31062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31064 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31065 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31066 if (!SWIG_IsOK(ecode2
)) {
31067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
31069 arg2
= static_cast< long >(val2
);
31071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31072 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
31073 wxPyEndAllowThreads(__tstate
);
31074 if (PyErr_Occurred()) SWIG_fail
;
31077 resultobj
= wxPyMake_wxObject(result
, 0);
31085 SWIGINTERN PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31086 PyObject
*resultobj
= 0;
31087 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31094 PyObject
* obj0
= 0 ;
31095 PyObject
* obj1
= 0 ;
31096 char * kwnames
[] = {
31097 (char *) "self",(char *) "cancel", NULL
31100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31102 if (!SWIG_IsOK(res1
)) {
31103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31105 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31106 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
31107 if (!SWIG_IsOK(ecode2
)) {
31108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "2"" of type '" "bool""'");
31110 arg2
= static_cast< bool >(val2
);
31112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31113 result
= (bool)(arg1
)->EndEditLabel(arg2
);
31114 wxPyEndAllowThreads(__tstate
);
31115 if (PyErr_Occurred()) SWIG_fail
;
31118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31126 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31127 PyObject
*resultobj
= 0;
31128 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31135 PyObject
* obj0
= 0 ;
31136 PyObject
* obj1
= 0 ;
31137 char * kwnames
[] = {
31138 (char *) "self",(char *) "item", NULL
31141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31143 if (!SWIG_IsOK(res1
)) {
31144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31146 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31147 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31148 if (!SWIG_IsOK(ecode2
)) {
31149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
31151 arg2
= static_cast< long >(val2
);
31153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31154 result
= (bool)(arg1
)->EnsureVisible(arg2
);
31155 wxPyEndAllowThreads(__tstate
);
31156 if (PyErr_Occurred()) SWIG_fail
;
31159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31167 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31168 PyObject
*resultobj
= 0;
31169 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31171 wxString
*arg3
= 0 ;
31172 bool arg4
= (bool) false ;
31178 bool temp3
= false ;
31181 PyObject
* obj0
= 0 ;
31182 PyObject
* obj1
= 0 ;
31183 PyObject
* obj2
= 0 ;
31184 PyObject
* obj3
= 0 ;
31185 char * kwnames
[] = {
31186 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
31189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31191 if (!SWIG_IsOK(res1
)) {
31192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31194 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31195 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31196 if (!SWIG_IsOK(ecode2
)) {
31197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31199 arg2
= static_cast< long >(val2
);
31201 arg3
= wxString_in_helper(obj2
);
31202 if (arg3
== NULL
) SWIG_fail
;
31206 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
31207 if (!SWIG_IsOK(ecode4
)) {
31208 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31210 arg4
= static_cast< bool >(val4
);
31213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31214 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
31215 wxPyEndAllowThreads(__tstate
);
31216 if (PyErr_Occurred()) SWIG_fail
;
31218 resultobj
= SWIG_From_long(static_cast< long >(result
));
31233 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31234 PyObject
*resultobj
= 0;
31235 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31245 PyObject
* obj0
= 0 ;
31246 PyObject
* obj1
= 0 ;
31247 PyObject
* obj2
= 0 ;
31248 char * kwnames
[] = {
31249 (char *) "self",(char *) "start",(char *) "data", NULL
31252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31254 if (!SWIG_IsOK(res1
)) {
31255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31257 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31258 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31259 if (!SWIG_IsOK(ecode2
)) {
31260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31262 arg2
= static_cast< long >(val2
);
31263 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
31264 if (!SWIG_IsOK(ecode3
)) {
31265 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31267 arg3
= static_cast< long >(val3
);
31269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31270 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
31271 wxPyEndAllowThreads(__tstate
);
31272 if (PyErr_Occurred()) SWIG_fail
;
31274 resultobj
= SWIG_From_long(static_cast< long >(result
));
31281 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31282 PyObject
*resultobj
= 0;
31283 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31285 wxPoint
*arg3
= 0 ;
31295 PyObject
* obj0
= 0 ;
31296 PyObject
* obj1
= 0 ;
31297 PyObject
* obj2
= 0 ;
31298 PyObject
* obj3
= 0 ;
31299 char * kwnames
[] = {
31300 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31305 if (!SWIG_IsOK(res1
)) {
31306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31308 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31309 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31310 if (!SWIG_IsOK(ecode2
)) {
31311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31313 arg2
= static_cast< long >(val2
);
31316 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31318 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31319 if (!SWIG_IsOK(ecode4
)) {
31320 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31322 arg4
= static_cast< int >(val4
);
31324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31325 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
31326 wxPyEndAllowThreads(__tstate
);
31327 if (PyErr_Occurred()) SWIG_fail
;
31329 resultobj
= SWIG_From_long(static_cast< long >(result
));
31336 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31337 PyObject
*resultobj
= 0;
31338 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31339 wxPoint
*arg2
= 0 ;
31346 int res3
= SWIG_TMPOBJ
;
31347 PyObject
* obj0
= 0 ;
31348 PyObject
* obj1
= 0 ;
31349 char * kwnames
[] = {
31350 (char *) "self",(char *) "point", NULL
31354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31356 if (!SWIG_IsOK(res1
)) {
31357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31359 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31362 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31366 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31367 wxPyEndAllowThreads(__tstate
);
31368 if (PyErr_Occurred()) SWIG_fail
;
31370 resultobj
= SWIG_From_long(static_cast< long >(result
));
31371 if (SWIG_IsTmpObj(res3
)) {
31372 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31374 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31375 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31383 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31384 PyObject
*resultobj
= 0;
31385 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31386 wxPoint
*arg2
= 0 ;
31388 long *arg4
= (long *) 0 ;
31394 int res3
= SWIG_TMPOBJ
;
31396 int res4
= SWIG_TMPOBJ
;
31397 PyObject
* obj0
= 0 ;
31398 PyObject
* obj1
= 0 ;
31399 char * kwnames
[] = {
31400 (char *) "self",(char *) "point", NULL
31405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31407 if (!SWIG_IsOK(res1
)) {
31408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31410 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31413 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31417 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
31418 wxPyEndAllowThreads(__tstate
);
31419 if (PyErr_Occurred()) SWIG_fail
;
31421 resultobj
= SWIG_From_long(static_cast< long >(result
));
31422 if (SWIG_IsTmpObj(res3
)) {
31423 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31425 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31426 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31428 if (SWIG_IsTmpObj(res4
)) {
31429 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31431 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31432 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31440 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31441 PyObject
*resultobj
= 0;
31442 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31443 wxListItem
*arg2
= 0 ;
31449 PyObject
* obj0
= 0 ;
31450 PyObject
* obj1
= 0 ;
31451 char * kwnames
[] = {
31452 (char *) "self",(char *) "info", NULL
31455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31457 if (!SWIG_IsOK(res1
)) {
31458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31460 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31461 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31462 if (!SWIG_IsOK(res2
)) {
31463 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31466 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31468 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31471 result
= (long)(arg1
)->InsertItem(*arg2
);
31472 wxPyEndAllowThreads(__tstate
);
31473 if (PyErr_Occurred()) SWIG_fail
;
31475 resultobj
= SWIG_From_long(static_cast< long >(result
));
31482 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31483 PyObject
*resultobj
= 0;
31484 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31486 wxString
*arg3
= 0 ;
31487 int arg4
= (int) -1 ;
31493 bool temp3
= false ;
31496 PyObject
* obj0
= 0 ;
31497 PyObject
* obj1
= 0 ;
31498 PyObject
* obj2
= 0 ;
31499 PyObject
* obj3
= 0 ;
31500 char * kwnames
[] = {
31501 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31506 if (!SWIG_IsOK(res1
)) {
31507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31509 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31510 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31511 if (!SWIG_IsOK(ecode2
)) {
31512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31514 arg2
= static_cast< long >(val2
);
31516 arg3
= wxString_in_helper(obj2
);
31517 if (arg3
== NULL
) SWIG_fail
;
31521 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31522 if (!SWIG_IsOK(ecode4
)) {
31523 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31525 arg4
= static_cast< int >(val4
);
31528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31529 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31530 wxPyEndAllowThreads(__tstate
);
31531 if (PyErr_Occurred()) SWIG_fail
;
31533 resultobj
= SWIG_From_long(static_cast< long >(result
));
31548 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31549 PyObject
*resultobj
= 0;
31550 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31560 PyObject
* obj0
= 0 ;
31561 PyObject
* obj1
= 0 ;
31562 PyObject
* obj2
= 0 ;
31563 char * kwnames
[] = {
31564 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31569 if (!SWIG_IsOK(res1
)) {
31570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31572 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31573 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31574 if (!SWIG_IsOK(ecode2
)) {
31575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31577 arg2
= static_cast< long >(val2
);
31578 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31579 if (!SWIG_IsOK(ecode3
)) {
31580 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31582 arg3
= static_cast< int >(val3
);
31584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31585 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31586 wxPyEndAllowThreads(__tstate
);
31587 if (PyErr_Occurred()) SWIG_fail
;
31589 resultobj
= SWIG_From_long(static_cast< long >(result
));
31596 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31597 PyObject
*resultobj
= 0;
31598 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31600 wxString
*arg3
= 0 ;
31607 bool temp3
= false ;
31610 PyObject
* obj0
= 0 ;
31611 PyObject
* obj1
= 0 ;
31612 PyObject
* obj2
= 0 ;
31613 PyObject
* obj3
= 0 ;
31614 char * kwnames
[] = {
31615 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31620 if (!SWIG_IsOK(res1
)) {
31621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31623 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31624 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31625 if (!SWIG_IsOK(ecode2
)) {
31626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31628 arg2
= static_cast< long >(val2
);
31630 arg3
= wxString_in_helper(obj2
);
31631 if (arg3
== NULL
) SWIG_fail
;
31634 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31635 if (!SWIG_IsOK(ecode4
)) {
31636 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31638 arg4
= static_cast< int >(val4
);
31640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31641 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31642 wxPyEndAllowThreads(__tstate
);
31643 if (PyErr_Occurred()) SWIG_fail
;
31645 resultobj
= SWIG_From_long(static_cast< long >(result
));
31660 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31661 PyObject
*resultobj
= 0;
31662 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31664 wxListItem
*arg3
= 0 ;
31672 PyObject
* obj0
= 0 ;
31673 PyObject
* obj1
= 0 ;
31674 PyObject
* obj2
= 0 ;
31675 char * kwnames
[] = {
31676 (char *) "self",(char *) "col",(char *) "info", NULL
31679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31681 if (!SWIG_IsOK(res1
)) {
31682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31684 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31685 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31686 if (!SWIG_IsOK(ecode2
)) {
31687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31689 arg2
= static_cast< long >(val2
);
31690 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31691 if (!SWIG_IsOK(res3
)) {
31692 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31695 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31697 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31700 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31701 wxPyEndAllowThreads(__tstate
);
31702 if (PyErr_Occurred()) SWIG_fail
;
31704 resultobj
= SWIG_From_long(static_cast< long >(result
));
31711 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31712 PyObject
*resultobj
= 0;
31713 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31715 wxString
*arg3
= 0 ;
31716 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31717 int arg5
= (int) -1 ;
31723 bool temp3
= false ;
31728 PyObject
* obj0
= 0 ;
31729 PyObject
* obj1
= 0 ;
31730 PyObject
* obj2
= 0 ;
31731 PyObject
* obj3
= 0 ;
31732 PyObject
* obj4
= 0 ;
31733 char * kwnames
[] = {
31734 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31739 if (!SWIG_IsOK(res1
)) {
31740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31742 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31743 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31744 if (!SWIG_IsOK(ecode2
)) {
31745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31747 arg2
= static_cast< long >(val2
);
31749 arg3
= wxString_in_helper(obj2
);
31750 if (arg3
== NULL
) SWIG_fail
;
31754 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31755 if (!SWIG_IsOK(ecode4
)) {
31756 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31758 arg4
= static_cast< int >(val4
);
31761 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31762 if (!SWIG_IsOK(ecode5
)) {
31763 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31765 arg5
= static_cast< int >(val5
);
31768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31769 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31770 wxPyEndAllowThreads(__tstate
);
31771 if (PyErr_Occurred()) SWIG_fail
;
31773 resultobj
= SWIG_From_long(static_cast< long >(result
));
31788 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31789 PyObject
*resultobj
= 0;
31790 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31796 PyObject
* obj0
= 0 ;
31797 PyObject
* obj1
= 0 ;
31798 char * kwnames
[] = {
31799 (char *) "self",(char *) "count", NULL
31802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31804 if (!SWIG_IsOK(res1
)) {
31805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31807 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31808 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31809 if (!SWIG_IsOK(ecode2
)) {
31810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31812 arg2
= static_cast< long >(val2
);
31814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31815 (arg1
)->SetItemCount(arg2
);
31816 wxPyEndAllowThreads(__tstate
);
31817 if (PyErr_Occurred()) SWIG_fail
;
31819 resultobj
= SWIG_Py_Void();
31826 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31827 PyObject
*resultobj
= 0;
31828 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31838 PyObject
* obj0
= 0 ;
31839 PyObject
* obj1
= 0 ;
31840 PyObject
* obj2
= 0 ;
31841 char * kwnames
[] = {
31842 (char *) "self",(char *) "dx",(char *) "dy", NULL
31845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31847 if (!SWIG_IsOK(res1
)) {
31848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31850 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31851 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31852 if (!SWIG_IsOK(ecode2
)) {
31853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31855 arg2
= static_cast< int >(val2
);
31856 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31857 if (!SWIG_IsOK(ecode3
)) {
31858 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31860 arg3
= static_cast< int >(val3
);
31862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31863 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31864 wxPyEndAllowThreads(__tstate
);
31865 if (PyErr_Occurred()) SWIG_fail
;
31868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31876 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31877 PyObject
*resultobj
= 0;
31878 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31880 wxColour
*arg3
= 0 ;
31886 PyObject
* obj0
= 0 ;
31887 PyObject
* obj1
= 0 ;
31888 PyObject
* obj2
= 0 ;
31889 char * kwnames
[] = {
31890 (char *) "self",(char *) "item",(char *) "col", NULL
31893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31895 if (!SWIG_IsOK(res1
)) {
31896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31898 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31899 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31900 if (!SWIG_IsOK(ecode2
)) {
31901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31903 arg2
= static_cast< long >(val2
);
31906 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31910 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31911 wxPyEndAllowThreads(__tstate
);
31912 if (PyErr_Occurred()) SWIG_fail
;
31914 resultobj
= SWIG_Py_Void();
31921 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31922 PyObject
*resultobj
= 0;
31923 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31930 PyObject
* obj0
= 0 ;
31931 PyObject
* obj1
= 0 ;
31932 char * kwnames
[] = {
31933 (char *) "self",(char *) "item", NULL
31936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31938 if (!SWIG_IsOK(res1
)) {
31939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31941 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31942 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31943 if (!SWIG_IsOK(ecode2
)) {
31944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31946 arg2
= static_cast< long >(val2
);
31948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31949 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31950 wxPyEndAllowThreads(__tstate
);
31951 if (PyErr_Occurred()) SWIG_fail
;
31953 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31960 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31961 PyObject
*resultobj
= 0;
31962 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31964 wxColour
*arg3
= 0 ;
31970 PyObject
* obj0
= 0 ;
31971 PyObject
* obj1
= 0 ;
31972 PyObject
* obj2
= 0 ;
31973 char * kwnames
[] = {
31974 (char *) "self",(char *) "item",(char *) "col", NULL
31977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31979 if (!SWIG_IsOK(res1
)) {
31980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31982 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31983 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31984 if (!SWIG_IsOK(ecode2
)) {
31985 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31987 arg2
= static_cast< long >(val2
);
31990 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31994 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31995 wxPyEndAllowThreads(__tstate
);
31996 if (PyErr_Occurred()) SWIG_fail
;
31998 resultobj
= SWIG_Py_Void();
32005 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32006 PyObject
*resultobj
= 0;
32007 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32014 PyObject
* obj0
= 0 ;
32015 PyObject
* obj1
= 0 ;
32016 char * kwnames
[] = {
32017 (char *) "self",(char *) "item", NULL
32020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32022 if (!SWIG_IsOK(res1
)) {
32023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32025 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32026 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32027 if (!SWIG_IsOK(ecode2
)) {
32028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
32030 arg2
= static_cast< long >(val2
);
32032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32033 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
32034 wxPyEndAllowThreads(__tstate
);
32035 if (PyErr_Occurred()) SWIG_fail
;
32037 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32044 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32045 PyObject
*resultobj
= 0;
32046 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32055 PyObject
* obj0
= 0 ;
32056 PyObject
* obj1
= 0 ;
32057 PyObject
* obj2
= 0 ;
32058 char * kwnames
[] = {
32059 (char *) "self",(char *) "item",(char *) "f", NULL
32062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32064 if (!SWIG_IsOK(res1
)) {
32065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32067 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32068 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32069 if (!SWIG_IsOK(ecode2
)) {
32070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
32072 arg2
= static_cast< long >(val2
);
32073 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
32074 if (!SWIG_IsOK(res3
)) {
32075 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32078 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32080 arg3
= reinterpret_cast< wxFont
* >(argp3
);
32082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32083 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
32084 wxPyEndAllowThreads(__tstate
);
32085 if (PyErr_Occurred()) SWIG_fail
;
32087 resultobj
= SWIG_Py_Void();
32094 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32095 PyObject
*resultobj
= 0;
32096 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32103 PyObject
* obj0
= 0 ;
32104 PyObject
* obj1
= 0 ;
32105 char * kwnames
[] = {
32106 (char *) "self",(char *) "item", NULL
32109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32111 if (!SWIG_IsOK(res1
)) {
32112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32114 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32115 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32116 if (!SWIG_IsOK(ecode2
)) {
32117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
32119 arg2
= static_cast< long >(val2
);
32121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32122 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
32123 wxPyEndAllowThreads(__tstate
);
32124 if (PyErr_Occurred()) SWIG_fail
;
32126 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
32133 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32134 PyObject
*resultobj
= 0;
32135 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32136 PyObject
*arg2
= (PyObject
*) 0 ;
32140 PyObject
* obj0
= 0 ;
32141 PyObject
* obj1
= 0 ;
32142 char * kwnames
[] = {
32143 (char *) "self",(char *) "func", NULL
32146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32148 if (!SWIG_IsOK(res1
)) {
32149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32151 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32155 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
32156 wxPyEndAllowThreads(__tstate
);
32157 if (PyErr_Occurred()) SWIG_fail
;
32160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32168 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32169 PyObject
*resultobj
= 0;
32170 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32171 wxWindow
*result
= 0 ;
32174 PyObject
*swig_obj
[1] ;
32176 if (!args
) SWIG_fail
;
32177 swig_obj
[0] = args
;
32178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32179 if (!SWIG_IsOK(res1
)) {
32180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32182 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32185 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
32186 wxPyEndAllowThreads(__tstate
);
32187 if (PyErr_Occurred()) SWIG_fail
;
32190 resultobj
= wxPyMake_wxObject(result
, 0);
32198 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32199 PyObject
*resultobj
= 0;
32200 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
32201 SwigValueWrapper
<wxVisualAttributes
> result
;
32204 PyObject
* obj0
= 0 ;
32205 char * kwnames
[] = {
32206 (char *) "variant", NULL
32209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
32211 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32212 if (!SWIG_IsOK(ecode1
)) {
32213 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32215 arg1
= static_cast< wxWindowVariant
>(val1
);
32218 if (!wxPyCheckForApp()) SWIG_fail
;
32219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32220 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
32221 wxPyEndAllowThreads(__tstate
);
32222 if (PyErr_Occurred()) SWIG_fail
;
32224 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
32231 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32233 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32234 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
32235 return SWIG_Py_Void();
32238 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32239 return SWIG_Python_InitShadowInstance(args
);
32242 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32243 PyObject
*resultobj
= 0;
32244 wxWindow
*arg1
= (wxWindow
*) 0 ;
32245 int arg2
= (int) -1 ;
32246 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32247 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32248 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32249 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32250 long arg5
= (long) wxLC_REPORT
;
32251 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32252 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32253 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
32254 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32255 wxListView
*result
= 0 ;
32266 bool temp7
= false ;
32267 PyObject
* obj0
= 0 ;
32268 PyObject
* obj1
= 0 ;
32269 PyObject
* obj2
= 0 ;
32270 PyObject
* obj3
= 0 ;
32271 PyObject
* obj4
= 0 ;
32272 PyObject
* obj5
= 0 ;
32273 PyObject
* obj6
= 0 ;
32274 char * kwnames
[] = {
32275 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32280 if (!SWIG_IsOK(res1
)) {
32281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32283 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32286 if (!SWIG_IsOK(ecode2
)) {
32287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32289 arg2
= static_cast< int >(val2
);
32294 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32300 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32304 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
32305 if (!SWIG_IsOK(ecode5
)) {
32306 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32308 arg5
= static_cast< long >(val5
);
32311 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
32312 if (!SWIG_IsOK(res6
)) {
32313 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32316 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32318 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
32322 arg7
= wxString_in_helper(obj6
);
32323 if (arg7
== NULL
) SWIG_fail
;
32328 if (!wxPyCheckForApp()) SWIG_fail
;
32329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32330 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32331 wxPyEndAllowThreads(__tstate
);
32332 if (PyErr_Occurred()) SWIG_fail
;
32334 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
32349 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32350 PyObject
*resultobj
= 0;
32351 wxListView
*result
= 0 ;
32353 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
32355 if (!wxPyCheckForApp()) SWIG_fail
;
32356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32357 result
= (wxListView
*)new wxListView();
32358 wxPyEndAllowThreads(__tstate
);
32359 if (PyErr_Occurred()) SWIG_fail
;
32361 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
32368 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32369 PyObject
*resultobj
= 0;
32370 wxListView
*arg1
= (wxListView
*) 0 ;
32371 wxWindow
*arg2
= (wxWindow
*) 0 ;
32372 int arg3
= (int) -1 ;
32373 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32374 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32375 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32376 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32377 long arg6
= (long) wxLC_REPORT
;
32378 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32379 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32380 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
32381 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32395 bool temp8
= false ;
32396 PyObject
* obj0
= 0 ;
32397 PyObject
* obj1
= 0 ;
32398 PyObject
* obj2
= 0 ;
32399 PyObject
* obj3
= 0 ;
32400 PyObject
* obj4
= 0 ;
32401 PyObject
* obj5
= 0 ;
32402 PyObject
* obj6
= 0 ;
32403 PyObject
* obj7
= 0 ;
32404 char * kwnames
[] = {
32405 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32410 if (!SWIG_IsOK(res1
)) {
32411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32413 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32414 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32415 if (!SWIG_IsOK(res2
)) {
32416 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32418 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32420 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32421 if (!SWIG_IsOK(ecode3
)) {
32422 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32424 arg3
= static_cast< int >(val3
);
32429 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32435 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32439 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32440 if (!SWIG_IsOK(ecode6
)) {
32441 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32443 arg6
= static_cast< long >(val6
);
32446 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32447 if (!SWIG_IsOK(res7
)) {
32448 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32451 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32453 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32457 arg8
= wxString_in_helper(obj7
);
32458 if (arg8
== NULL
) SWIG_fail
;
32463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32464 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32465 wxPyEndAllowThreads(__tstate
);
32466 if (PyErr_Occurred()) SWIG_fail
;
32469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32485 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32486 PyObject
*resultobj
= 0;
32487 wxListView
*arg1
= (wxListView
*) 0 ;
32489 bool arg3
= (bool) true ;
32496 PyObject
* obj0
= 0 ;
32497 PyObject
* obj1
= 0 ;
32498 PyObject
* obj2
= 0 ;
32499 char * kwnames
[] = {
32500 (char *) "self",(char *) "n",(char *) "on", NULL
32503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32505 if (!SWIG_IsOK(res1
)) {
32506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32508 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32509 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32510 if (!SWIG_IsOK(ecode2
)) {
32511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32513 arg2
= static_cast< long >(val2
);
32515 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32516 if (!SWIG_IsOK(ecode3
)) {
32517 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32519 arg3
= static_cast< bool >(val3
);
32522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32523 (arg1
)->Select(arg2
,arg3
);
32524 wxPyEndAllowThreads(__tstate
);
32525 if (PyErr_Occurred()) SWIG_fail
;
32527 resultobj
= SWIG_Py_Void();
32534 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32535 PyObject
*resultobj
= 0;
32536 wxListView
*arg1
= (wxListView
*) 0 ;
32542 PyObject
* obj0
= 0 ;
32543 PyObject
* obj1
= 0 ;
32544 char * kwnames
[] = {
32545 (char *) "self",(char *) "index", NULL
32548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32550 if (!SWIG_IsOK(res1
)) {
32551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32553 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32554 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32555 if (!SWIG_IsOK(ecode2
)) {
32556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32558 arg2
= static_cast< long >(val2
);
32560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32561 (arg1
)->Focus(arg2
);
32562 wxPyEndAllowThreads(__tstate
);
32563 if (PyErr_Occurred()) SWIG_fail
;
32565 resultobj
= SWIG_Py_Void();
32572 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32573 PyObject
*resultobj
= 0;
32574 wxListView
*arg1
= (wxListView
*) 0 ;
32578 PyObject
*swig_obj
[1] ;
32580 if (!args
) SWIG_fail
;
32581 swig_obj
[0] = args
;
32582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32583 if (!SWIG_IsOK(res1
)) {
32584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32586 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32589 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32590 wxPyEndAllowThreads(__tstate
);
32591 if (PyErr_Occurred()) SWIG_fail
;
32593 resultobj
= SWIG_From_long(static_cast< long >(result
));
32600 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32601 PyObject
*resultobj
= 0;
32602 wxListView
*arg1
= (wxListView
*) 0 ;
32609 PyObject
* obj0
= 0 ;
32610 PyObject
* obj1
= 0 ;
32611 char * kwnames
[] = {
32612 (char *) "self",(char *) "item", NULL
32615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32617 if (!SWIG_IsOK(res1
)) {
32618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32620 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32621 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32622 if (!SWIG_IsOK(ecode2
)) {
32623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32625 arg2
= static_cast< long >(val2
);
32627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32628 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32629 wxPyEndAllowThreads(__tstate
);
32630 if (PyErr_Occurred()) SWIG_fail
;
32632 resultobj
= SWIG_From_long(static_cast< long >(result
));
32639 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32640 PyObject
*resultobj
= 0;
32641 wxListView
*arg1
= (wxListView
*) 0 ;
32645 PyObject
*swig_obj
[1] ;
32647 if (!args
) SWIG_fail
;
32648 swig_obj
[0] = args
;
32649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32650 if (!SWIG_IsOK(res1
)) {
32651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32653 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32656 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32657 wxPyEndAllowThreads(__tstate
);
32658 if (PyErr_Occurred()) SWIG_fail
;
32660 resultobj
= SWIG_From_long(static_cast< long >(result
));
32667 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32668 PyObject
*resultobj
= 0;
32669 wxListView
*arg1
= (wxListView
*) 0 ;
32676 PyObject
* obj0
= 0 ;
32677 PyObject
* obj1
= 0 ;
32678 char * kwnames
[] = {
32679 (char *) "self",(char *) "index", NULL
32682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32684 if (!SWIG_IsOK(res1
)) {
32685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32687 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32688 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32689 if (!SWIG_IsOK(ecode2
)) {
32690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32692 arg2
= static_cast< long >(val2
);
32694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32695 result
= (bool)(arg1
)->IsSelected(arg2
);
32696 wxPyEndAllowThreads(__tstate
);
32697 if (PyErr_Occurred()) SWIG_fail
;
32700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32708 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32709 PyObject
*resultobj
= 0;
32710 wxListView
*arg1
= (wxListView
*) 0 ;
32719 PyObject
* obj0
= 0 ;
32720 PyObject
* obj1
= 0 ;
32721 PyObject
* obj2
= 0 ;
32722 char * kwnames
[] = {
32723 (char *) "self",(char *) "col",(char *) "image", NULL
32726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32728 if (!SWIG_IsOK(res1
)) {
32729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32731 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32732 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32733 if (!SWIG_IsOK(ecode2
)) {
32734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32736 arg2
= static_cast< int >(val2
);
32737 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32738 if (!SWIG_IsOK(ecode3
)) {
32739 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32741 arg3
= static_cast< int >(val3
);
32743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32744 (arg1
)->SetColumnImage(arg2
,arg3
);
32745 wxPyEndAllowThreads(__tstate
);
32746 if (PyErr_Occurred()) SWIG_fail
;
32748 resultobj
= SWIG_Py_Void();
32755 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32756 PyObject
*resultobj
= 0;
32757 wxListView
*arg1
= (wxListView
*) 0 ;
32763 PyObject
* obj0
= 0 ;
32764 PyObject
* obj1
= 0 ;
32765 char * kwnames
[] = {
32766 (char *) "self",(char *) "col", NULL
32769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32771 if (!SWIG_IsOK(res1
)) {
32772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32774 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32775 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32776 if (!SWIG_IsOK(ecode2
)) {
32777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32779 arg2
= static_cast< int >(val2
);
32781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32782 (arg1
)->ClearColumnImage(arg2
);
32783 wxPyEndAllowThreads(__tstate
);
32784 if (PyErr_Occurred()) SWIG_fail
;
32786 resultobj
= SWIG_Py_Void();
32793 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32795 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32796 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32797 return SWIG_Py_Void();
32800 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32801 return SWIG_Python_InitShadowInstance(args
);
32804 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32805 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32810 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32811 PyObject
*pyobj
= 0;
32815 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32817 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32824 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32825 PyObject
*resultobj
= 0;
32826 wxTreeItemId
*result
= 0 ;
32828 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32831 result
= (wxTreeItemId
*)new wxTreeItemId();
32832 wxPyEndAllowThreads(__tstate
);
32833 if (PyErr_Occurred()) SWIG_fail
;
32835 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32842 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32843 PyObject
*resultobj
= 0;
32844 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32847 PyObject
*swig_obj
[1] ;
32849 if (!args
) SWIG_fail
;
32850 swig_obj
[0] = args
;
32851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32852 if (!SWIG_IsOK(res1
)) {
32853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32855 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32860 wxPyEndAllowThreads(__tstate
);
32861 if (PyErr_Occurred()) SWIG_fail
;
32863 resultobj
= SWIG_Py_Void();
32870 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32871 PyObject
*resultobj
= 0;
32872 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32876 PyObject
*swig_obj
[1] ;
32878 if (!args
) SWIG_fail
;
32879 swig_obj
[0] = args
;
32880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32881 if (!SWIG_IsOK(res1
)) {
32882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32884 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32887 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32888 wxPyEndAllowThreads(__tstate
);
32889 if (PyErr_Occurred()) SWIG_fail
;
32892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32900 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32901 PyObject
*resultobj
= 0;
32902 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32903 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32909 PyObject
* obj0
= 0 ;
32910 PyObject
* obj1
= 0 ;
32911 char * kwnames
[] = {
32912 (char *) "self",(char *) "other", NULL
32915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32917 if (!SWIG_IsOK(res1
)) {
32918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32920 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32921 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32922 if (!SWIG_IsOK(res2
)) {
32923 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32925 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32928 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32929 wxPyEndAllowThreads(__tstate
);
32930 if (PyErr_Occurred()) SWIG_fail
;
32933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32941 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32942 PyObject
*resultobj
= 0;
32943 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32944 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32950 PyObject
* obj0
= 0 ;
32951 PyObject
* obj1
= 0 ;
32952 char * kwnames
[] = {
32953 (char *) "self",(char *) "other", NULL
32956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32958 if (!SWIG_IsOK(res1
)) {
32959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32961 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32962 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32963 if (!SWIG_IsOK(res2
)) {
32964 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32966 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32969 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32970 wxPyEndAllowThreads(__tstate
);
32971 if (PyErr_Occurred()) SWIG_fail
;
32974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32982 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32983 PyObject
*resultobj
= 0;
32984 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32985 void *arg2
= (void *) 0 ;
32989 PyObject
*swig_obj
[2] ;
32991 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32993 if (!SWIG_IsOK(res1
)) {
32994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32996 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32997 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32998 if (!SWIG_IsOK(res2
)) {
32999 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
33001 if (arg1
) (arg1
)->m_pItem
= arg2
;
33003 resultobj
= SWIG_Py_Void();
33010 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33011 PyObject
*resultobj
= 0;
33012 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
33016 PyObject
*swig_obj
[1] ;
33018 if (!args
) SWIG_fail
;
33019 swig_obj
[0] = args
;
33020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33021 if (!SWIG_IsOK(res1
)) {
33022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33024 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
33025 result
= (void *) ((arg1
)->m_pItem
);
33026 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
33033 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33035 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33036 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
33037 return SWIG_Py_Void();
33040 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33041 return SWIG_Python_InitShadowInstance(args
);
33044 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33045 PyObject
*resultobj
= 0;
33046 PyObject
*arg1
= (PyObject
*) NULL
;
33047 wxPyTreeItemData
*result
= 0 ;
33048 PyObject
* obj0
= 0 ;
33049 char * kwnames
[] = {
33050 (char *) "obj", NULL
33053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
33058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33059 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
33060 wxPyEndAllowThreads(__tstate
);
33061 if (PyErr_Occurred()) SWIG_fail
;
33063 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
33070 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33071 PyObject
*resultobj
= 0;
33072 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33075 PyObject
*swig_obj
[1] ;
33077 if (!args
) SWIG_fail
;
33078 swig_obj
[0] = args
;
33079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
33080 if (!SWIG_IsOK(res1
)) {
33081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33083 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33088 wxPyEndAllowThreads(__tstate
);
33089 if (PyErr_Occurred()) SWIG_fail
;
33091 resultobj
= SWIG_Py_Void();
33098 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33099 PyObject
*resultobj
= 0;
33100 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33101 PyObject
*result
= 0 ;
33104 PyObject
*swig_obj
[1] ;
33106 if (!args
) SWIG_fail
;
33107 swig_obj
[0] = args
;
33108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33109 if (!SWIG_IsOK(res1
)) {
33110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33112 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33115 result
= (PyObject
*)(arg1
)->GetData();
33116 wxPyEndAllowThreads(__tstate
);
33117 if (PyErr_Occurred()) SWIG_fail
;
33119 resultobj
= result
;
33126 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33127 PyObject
*resultobj
= 0;
33128 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33129 PyObject
*arg2
= (PyObject
*) 0 ;
33132 PyObject
* obj0
= 0 ;
33133 PyObject
* obj1
= 0 ;
33134 char * kwnames
[] = {
33135 (char *) "self",(char *) "obj", NULL
33138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33140 if (!SWIG_IsOK(res1
)) {
33141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33143 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33147 (arg1
)->SetData(arg2
);
33148 wxPyEndAllowThreads(__tstate
);
33149 if (PyErr_Occurred()) SWIG_fail
;
33151 resultobj
= SWIG_Py_Void();
33158 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33159 PyObject
*resultobj
= 0;
33160 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33161 wxTreeItemId
*result
= 0 ;
33164 PyObject
*swig_obj
[1] ;
33166 if (!args
) SWIG_fail
;
33167 swig_obj
[0] = args
;
33168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33169 if (!SWIG_IsOK(res1
)) {
33170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33172 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33176 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
33177 result
= (wxTreeItemId
*) &_result_ref
;
33179 wxPyEndAllowThreads(__tstate
);
33180 if (PyErr_Occurred()) SWIG_fail
;
33182 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33189 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33190 PyObject
*resultobj
= 0;
33191 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33192 wxTreeItemId
*arg2
= 0 ;
33197 PyObject
* obj0
= 0 ;
33198 PyObject
* obj1
= 0 ;
33199 char * kwnames
[] = {
33200 (char *) "self",(char *) "id", NULL
33203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33205 if (!SWIG_IsOK(res1
)) {
33206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33208 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33209 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33210 if (!SWIG_IsOK(res2
)) {
33211 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33214 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33216 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33219 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
33220 wxPyEndAllowThreads(__tstate
);
33221 if (PyErr_Occurred()) SWIG_fail
;
33223 resultobj
= SWIG_Py_Void();
33230 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33231 PyObject
*resultobj
= 0;
33232 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33235 PyObject
*swig_obj
[1] ;
33237 if (!args
) SWIG_fail
;
33238 swig_obj
[0] = args
;
33239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33240 if (!SWIG_IsOK(res1
)) {
33241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33243 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33246 wxPyTreeItemData_Destroy(arg1
);
33247 wxPyEndAllowThreads(__tstate
);
33248 if (PyErr_Occurred()) SWIG_fail
;
33250 resultobj
= SWIG_Py_Void();
33257 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33259 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33260 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
33261 return SWIG_Py_Void();
33264 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33265 return SWIG_Python_InitShadowInstance(args
);
33268 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
33271 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33272 if (!SWIG_IsOK(res
)) {
33273 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33276 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33278 wxTreeItemId
* temp
;
33279 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
33280 wxNullTreeItemId
= *temp
;
33281 if (SWIG_IsNewObj(res
)) delete temp
;
33290 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
33291 PyObject
*pyobj
= 0;
33293 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
33298 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33299 PyObject
*resultobj
= 0;
33300 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33301 int arg2
= (int) 0 ;
33302 wxTreeEvent
*result
= 0 ;
33308 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
33310 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33311 if (!SWIG_IsOK(ecode1
)) {
33312 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33314 arg1
= static_cast< wxEventType
>(val1
);
33317 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33318 if (!SWIG_IsOK(ecode2
)) {
33319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33321 arg2
= static_cast< int >(val2
);
33324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33325 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
33326 wxPyEndAllowThreads(__tstate
);
33327 if (PyErr_Occurred()) SWIG_fail
;
33329 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33336 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33337 PyObject
*resultobj
= 0;
33339 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
33340 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
33341 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
33342 wxTreeEvent
*result
= 0 ;
33350 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33351 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33352 if (!SWIG_IsOK(ecode1
)) {
33353 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33355 arg1
= static_cast< wxEventType
>(val1
);
33356 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33357 if (!SWIG_IsOK(res2
)) {
33358 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33360 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
33362 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
33363 if (!SWIG_IsOK(res3
)) {
33364 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33367 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33369 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
33372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33373 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
33374 wxPyEndAllowThreads(__tstate
);
33375 if (PyErr_Occurred()) SWIG_fail
;
33377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33384 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
33388 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
33390 if ((argc
>= 0) && (argc
<= 2)) {
33395 int res
= SWIG_AsVal_int(argv
[1], NULL
);
33396 _v
= SWIG_CheckState(res
);
33399 if (!_v
) goto check_1
;
33401 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
33405 if ((argc
>= 2) && (argc
<= 3)) {
33406 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
33410 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
33415 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33416 PyObject
*resultobj
= 0;
33417 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33418 wxTreeItemId result
;
33421 PyObject
*swig_obj
[1] ;
33423 if (!args
) SWIG_fail
;
33424 swig_obj
[0] = args
;
33425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33426 if (!SWIG_IsOK(res1
)) {
33427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33429 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33432 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
33433 wxPyEndAllowThreads(__tstate
);
33434 if (PyErr_Occurred()) SWIG_fail
;
33436 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33443 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33444 PyObject
*resultobj
= 0;
33445 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33446 wxTreeItemId
*arg2
= 0 ;
33451 PyObject
* obj0
= 0 ;
33452 PyObject
* obj1
= 0 ;
33453 char * kwnames
[] = {
33454 (char *) "self",(char *) "item", NULL
33457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33459 if (!SWIG_IsOK(res1
)) {
33460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33462 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33463 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33464 if (!SWIG_IsOK(res2
)) {
33465 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33468 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33470 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33473 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33474 wxPyEndAllowThreads(__tstate
);
33475 if (PyErr_Occurred()) SWIG_fail
;
33477 resultobj
= SWIG_Py_Void();
33484 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33485 PyObject
*resultobj
= 0;
33486 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33487 wxTreeItemId result
;
33490 PyObject
*swig_obj
[1] ;
33492 if (!args
) SWIG_fail
;
33493 swig_obj
[0] = args
;
33494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33495 if (!SWIG_IsOK(res1
)) {
33496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33498 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33501 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33502 wxPyEndAllowThreads(__tstate
);
33503 if (PyErr_Occurred()) SWIG_fail
;
33505 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33512 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33513 PyObject
*resultobj
= 0;
33514 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33515 wxTreeItemId
*arg2
= 0 ;
33520 PyObject
* obj0
= 0 ;
33521 PyObject
* obj1
= 0 ;
33522 char * kwnames
[] = {
33523 (char *) "self",(char *) "item", NULL
33526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33528 if (!SWIG_IsOK(res1
)) {
33529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33531 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33532 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33533 if (!SWIG_IsOK(res2
)) {
33534 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33537 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33539 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33542 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33543 wxPyEndAllowThreads(__tstate
);
33544 if (PyErr_Occurred()) SWIG_fail
;
33546 resultobj
= SWIG_Py_Void();
33553 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33554 PyObject
*resultobj
= 0;
33555 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33559 PyObject
*swig_obj
[1] ;
33561 if (!args
) SWIG_fail
;
33562 swig_obj
[0] = args
;
33563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33564 if (!SWIG_IsOK(res1
)) {
33565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33567 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33570 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33571 wxPyEndAllowThreads(__tstate
);
33572 if (PyErr_Occurred()) SWIG_fail
;
33574 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33581 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33582 PyObject
*resultobj
= 0;
33583 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33584 wxPoint
*arg2
= 0 ;
33588 PyObject
* obj0
= 0 ;
33589 PyObject
* obj1
= 0 ;
33590 char * kwnames
[] = {
33591 (char *) "self",(char *) "pt", NULL
33594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33596 if (!SWIG_IsOK(res1
)) {
33597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33599 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33602 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33606 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33607 wxPyEndAllowThreads(__tstate
);
33608 if (PyErr_Occurred()) SWIG_fail
;
33610 resultobj
= SWIG_Py_Void();
33617 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33618 PyObject
*resultobj
= 0;
33619 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33620 wxKeyEvent
*result
= 0 ;
33623 PyObject
*swig_obj
[1] ;
33625 if (!args
) SWIG_fail
;
33626 swig_obj
[0] = args
;
33627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33628 if (!SWIG_IsOK(res1
)) {
33629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33631 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33635 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33636 result
= (wxKeyEvent
*) &_result_ref
;
33638 wxPyEndAllowThreads(__tstate
);
33639 if (PyErr_Occurred()) SWIG_fail
;
33641 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33648 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33649 PyObject
*resultobj
= 0;
33650 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33654 PyObject
*swig_obj
[1] ;
33656 if (!args
) SWIG_fail
;
33657 swig_obj
[0] = args
;
33658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33659 if (!SWIG_IsOK(res1
)) {
33660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33662 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33665 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33666 wxPyEndAllowThreads(__tstate
);
33667 if (PyErr_Occurred()) SWIG_fail
;
33669 resultobj
= SWIG_From_int(static_cast< int >(result
));
33676 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33677 PyObject
*resultobj
= 0;
33678 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33679 wxKeyEvent
*arg2
= 0 ;
33684 PyObject
* obj0
= 0 ;
33685 PyObject
* obj1
= 0 ;
33686 char * kwnames
[] = {
33687 (char *) "self",(char *) "evt", NULL
33690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33692 if (!SWIG_IsOK(res1
)) {
33693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33695 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33696 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33697 if (!SWIG_IsOK(res2
)) {
33698 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33701 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33703 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33706 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33707 wxPyEndAllowThreads(__tstate
);
33708 if (PyErr_Occurred()) SWIG_fail
;
33710 resultobj
= SWIG_Py_Void();
33717 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33718 PyObject
*resultobj
= 0;
33719 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33720 wxString
*result
= 0 ;
33723 PyObject
*swig_obj
[1] ;
33725 if (!args
) SWIG_fail
;
33726 swig_obj
[0] = args
;
33727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33728 if (!SWIG_IsOK(res1
)) {
33729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33731 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33735 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33736 result
= (wxString
*) &_result_ref
;
33738 wxPyEndAllowThreads(__tstate
);
33739 if (PyErr_Occurred()) SWIG_fail
;
33743 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33745 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33754 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33755 PyObject
*resultobj
= 0;
33756 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33757 wxString
*arg2
= 0 ;
33760 bool temp2
= false ;
33761 PyObject
* obj0
= 0 ;
33762 PyObject
* obj1
= 0 ;
33763 char * kwnames
[] = {
33764 (char *) "self",(char *) "label", NULL
33767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33769 if (!SWIG_IsOK(res1
)) {
33770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33772 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33774 arg2
= wxString_in_helper(obj1
);
33775 if (arg2
== NULL
) SWIG_fail
;
33779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33780 (arg1
)->SetLabel((wxString
const &)*arg2
);
33781 wxPyEndAllowThreads(__tstate
);
33782 if (PyErr_Occurred()) SWIG_fail
;
33784 resultobj
= SWIG_Py_Void();
33799 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33800 PyObject
*resultobj
= 0;
33801 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33805 PyObject
*swig_obj
[1] ;
33807 if (!args
) SWIG_fail
;
33808 swig_obj
[0] = args
;
33809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33810 if (!SWIG_IsOK(res1
)) {
33811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33813 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33816 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33817 wxPyEndAllowThreads(__tstate
);
33818 if (PyErr_Occurred()) SWIG_fail
;
33821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33829 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33830 PyObject
*resultobj
= 0;
33831 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33837 PyObject
* obj0
= 0 ;
33838 PyObject
* obj1
= 0 ;
33839 char * kwnames
[] = {
33840 (char *) "self",(char *) "editCancelled", NULL
33843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33845 if (!SWIG_IsOK(res1
)) {
33846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33848 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33849 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33850 if (!SWIG_IsOK(ecode2
)) {
33851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33853 arg2
= static_cast< bool >(val2
);
33855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33856 (arg1
)->SetEditCanceled(arg2
);
33857 wxPyEndAllowThreads(__tstate
);
33858 if (PyErr_Occurred()) SWIG_fail
;
33860 resultobj
= SWIG_Py_Void();
33867 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33868 PyObject
*resultobj
= 0;
33869 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33870 wxString
*arg2
= 0 ;
33873 bool temp2
= false ;
33874 PyObject
* obj0
= 0 ;
33875 PyObject
* obj1
= 0 ;
33876 char * kwnames
[] = {
33877 (char *) "self",(char *) "toolTip", NULL
33880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33882 if (!SWIG_IsOK(res1
)) {
33883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33885 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33887 arg2
= wxString_in_helper(obj1
);
33888 if (arg2
== NULL
) SWIG_fail
;
33892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33893 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33894 wxPyEndAllowThreads(__tstate
);
33895 if (PyErr_Occurred()) SWIG_fail
;
33897 resultobj
= SWIG_Py_Void();
33912 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33913 PyObject
*resultobj
= 0;
33914 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33918 PyObject
*swig_obj
[1] ;
33920 if (!args
) SWIG_fail
;
33921 swig_obj
[0] = args
;
33922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33923 if (!SWIG_IsOK(res1
)) {
33924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33926 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33929 result
= (arg1
)->GetToolTip();
33930 wxPyEndAllowThreads(__tstate
);
33931 if (PyErr_Occurred()) SWIG_fail
;
33935 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33937 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33946 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33948 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33949 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33950 return SWIG_Py_Void();
33953 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33954 return SWIG_Python_InitShadowInstance(args
);
33957 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33958 PyObject
*resultobj
= 0;
33959 wxWindow
*arg1
= (wxWindow
*) 0 ;
33960 int arg2
= (int) -1 ;
33961 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33962 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33963 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33964 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33965 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33966 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33967 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33968 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33969 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33970 wxPyTreeCtrl
*result
= 0 ;
33981 bool temp7
= false ;
33982 PyObject
* obj0
= 0 ;
33983 PyObject
* obj1
= 0 ;
33984 PyObject
* obj2
= 0 ;
33985 PyObject
* obj3
= 0 ;
33986 PyObject
* obj4
= 0 ;
33987 PyObject
* obj5
= 0 ;
33988 PyObject
* obj6
= 0 ;
33989 char * kwnames
[] = {
33990 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33995 if (!SWIG_IsOK(res1
)) {
33996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33998 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34000 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34001 if (!SWIG_IsOK(ecode2
)) {
34002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
34004 arg2
= static_cast< int >(val2
);
34009 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34015 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34019 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
34020 if (!SWIG_IsOK(ecode5
)) {
34021 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
34023 arg5
= static_cast< long >(val5
);
34026 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
34027 if (!SWIG_IsOK(res6
)) {
34028 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
34031 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
34033 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
34037 arg7
= wxString_in_helper(obj6
);
34038 if (arg7
== NULL
) SWIG_fail
;
34043 if (!wxPyCheckForApp()) SWIG_fail
;
34044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34045 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
34046 wxPyEndAllowThreads(__tstate
);
34047 if (PyErr_Occurred()) SWIG_fail
;
34049 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
34064 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34065 PyObject
*resultobj
= 0;
34066 wxPyTreeCtrl
*result
= 0 ;
34068 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
34070 if (!wxPyCheckForApp()) SWIG_fail
;
34071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34072 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
34073 wxPyEndAllowThreads(__tstate
);
34074 if (PyErr_Occurred()) SWIG_fail
;
34076 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
34083 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34084 PyObject
*resultobj
= 0;
34085 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34086 wxWindow
*arg2
= (wxWindow
*) 0 ;
34087 int arg3
= (int) -1 ;
34088 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34089 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34090 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34091 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34092 long arg6
= (long) wxTR_DEFAULT_STYLE
;
34093 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34094 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34095 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
34096 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34110 bool temp8
= false ;
34111 PyObject
* obj0
= 0 ;
34112 PyObject
* obj1
= 0 ;
34113 PyObject
* obj2
= 0 ;
34114 PyObject
* obj3
= 0 ;
34115 PyObject
* obj4
= 0 ;
34116 PyObject
* obj5
= 0 ;
34117 PyObject
* obj6
= 0 ;
34118 PyObject
* obj7
= 0 ;
34119 char * kwnames
[] = {
34120 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
34124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34125 if (!SWIG_IsOK(res1
)) {
34126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34128 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34129 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34130 if (!SWIG_IsOK(res2
)) {
34131 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
34133 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34135 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34136 if (!SWIG_IsOK(ecode3
)) {
34137 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
34139 arg3
= static_cast< int >(val3
);
34144 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34150 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34154 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
34155 if (!SWIG_IsOK(ecode6
)) {
34156 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
34158 arg6
= static_cast< long >(val6
);
34161 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
34162 if (!SWIG_IsOK(res7
)) {
34163 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34166 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34168 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
34172 arg8
= wxString_in_helper(obj7
);
34173 if (arg8
== NULL
) SWIG_fail
;
34178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34179 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34180 wxPyEndAllowThreads(__tstate
);
34181 if (PyErr_Occurred()) SWIG_fail
;
34184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34200 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34201 PyObject
*resultobj
= 0;
34202 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34203 PyObject
*arg2
= (PyObject
*) 0 ;
34204 PyObject
*arg3
= (PyObject
*) 0 ;
34207 PyObject
* obj0
= 0 ;
34208 PyObject
* obj1
= 0 ;
34209 PyObject
* obj2
= 0 ;
34210 char * kwnames
[] = {
34211 (char *) "self",(char *) "self",(char *) "_class", NULL
34214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34216 if (!SWIG_IsOK(res1
)) {
34217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34219 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34224 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34225 wxPyEndAllowThreads(__tstate
);
34226 if (PyErr_Occurred()) SWIG_fail
;
34228 resultobj
= SWIG_Py_Void();
34235 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34236 PyObject
*resultobj
= 0;
34237 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34238 unsigned int result
;
34241 PyObject
*swig_obj
[1] ;
34243 if (!args
) SWIG_fail
;
34244 swig_obj
[0] = args
;
34245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34246 if (!SWIG_IsOK(res1
)) {
34247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34249 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34252 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
34253 wxPyEndAllowThreads(__tstate
);
34254 if (PyErr_Occurred()) SWIG_fail
;
34256 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34263 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34264 PyObject
*resultobj
= 0;
34265 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34266 unsigned int result
;
34269 PyObject
*swig_obj
[1] ;
34271 if (!args
) SWIG_fail
;
34272 swig_obj
[0] = args
;
34273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34274 if (!SWIG_IsOK(res1
)) {
34275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34277 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34280 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
34281 wxPyEndAllowThreads(__tstate
);
34282 if (PyErr_Occurred()) SWIG_fail
;
34284 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34291 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34292 PyObject
*resultobj
= 0;
34293 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34294 unsigned int arg2
;
34297 unsigned int val2
;
34299 PyObject
* obj0
= 0 ;
34300 PyObject
* obj1
= 0 ;
34301 char * kwnames
[] = {
34302 (char *) "self",(char *) "indent", NULL
34305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34307 if (!SWIG_IsOK(res1
)) {
34308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34310 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34311 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34312 if (!SWIG_IsOK(ecode2
)) {
34313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34315 arg2
= static_cast< unsigned int >(val2
);
34317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34318 (arg1
)->SetIndent(arg2
);
34319 wxPyEndAllowThreads(__tstate
);
34320 if (PyErr_Occurred()) SWIG_fail
;
34322 resultobj
= SWIG_Py_Void();
34329 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34330 PyObject
*resultobj
= 0;
34331 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34332 unsigned int result
;
34335 PyObject
*swig_obj
[1] ;
34337 if (!args
) SWIG_fail
;
34338 swig_obj
[0] = args
;
34339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34340 if (!SWIG_IsOK(res1
)) {
34341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34343 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34346 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
34347 wxPyEndAllowThreads(__tstate
);
34348 if (PyErr_Occurred()) SWIG_fail
;
34350 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34357 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34358 PyObject
*resultobj
= 0;
34359 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34360 unsigned int arg2
;
34363 unsigned int val2
;
34365 PyObject
* obj0
= 0 ;
34366 PyObject
* obj1
= 0 ;
34367 char * kwnames
[] = {
34368 (char *) "self",(char *) "spacing", NULL
34371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34373 if (!SWIG_IsOK(res1
)) {
34374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34376 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34377 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34378 if (!SWIG_IsOK(ecode2
)) {
34379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34381 arg2
= static_cast< unsigned int >(val2
);
34383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34384 (arg1
)->SetSpacing(arg2
);
34385 wxPyEndAllowThreads(__tstate
);
34386 if (PyErr_Occurred()) SWIG_fail
;
34388 resultobj
= SWIG_Py_Void();
34395 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34396 PyObject
*resultobj
= 0;
34397 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34398 wxImageList
*result
= 0 ;
34401 PyObject
*swig_obj
[1] ;
34403 if (!args
) SWIG_fail
;
34404 swig_obj
[0] = args
;
34405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34406 if (!SWIG_IsOK(res1
)) {
34407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34409 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34412 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
34413 wxPyEndAllowThreads(__tstate
);
34414 if (PyErr_Occurred()) SWIG_fail
;
34417 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34425 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34426 PyObject
*resultobj
= 0;
34427 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34428 wxImageList
*result
= 0 ;
34431 PyObject
*swig_obj
[1] ;
34433 if (!args
) SWIG_fail
;
34434 swig_obj
[0] = args
;
34435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34436 if (!SWIG_IsOK(res1
)) {
34437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34439 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34442 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
34443 wxPyEndAllowThreads(__tstate
);
34444 if (PyErr_Occurred()) SWIG_fail
;
34447 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34455 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34456 PyObject
*resultobj
= 0;
34457 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34458 wxImageList
*arg2
= (wxImageList
*) 0 ;
34463 PyObject
* obj0
= 0 ;
34464 PyObject
* obj1
= 0 ;
34465 char * kwnames
[] = {
34466 (char *) "self",(char *) "imageList", NULL
34469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34471 if (!SWIG_IsOK(res1
)) {
34472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34474 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34475 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34476 if (!SWIG_IsOK(res2
)) {
34477 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34479 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34482 (arg1
)->SetImageList(arg2
);
34483 wxPyEndAllowThreads(__tstate
);
34484 if (PyErr_Occurred()) SWIG_fail
;
34486 resultobj
= SWIG_Py_Void();
34493 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34494 PyObject
*resultobj
= 0;
34495 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34496 wxImageList
*arg2
= (wxImageList
*) 0 ;
34501 PyObject
* obj0
= 0 ;
34502 PyObject
* obj1
= 0 ;
34503 char * kwnames
[] = {
34504 (char *) "self",(char *) "imageList", NULL
34507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34509 if (!SWIG_IsOK(res1
)) {
34510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34512 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34513 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34514 if (!SWIG_IsOK(res2
)) {
34515 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34517 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34520 (arg1
)->SetStateImageList(arg2
);
34521 wxPyEndAllowThreads(__tstate
);
34522 if (PyErr_Occurred()) SWIG_fail
;
34524 resultobj
= SWIG_Py_Void();
34531 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34532 PyObject
*resultobj
= 0;
34533 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34534 wxImageList
*arg2
= (wxImageList
*) 0 ;
34538 PyObject
* obj0
= 0 ;
34539 PyObject
* obj1
= 0 ;
34540 char * kwnames
[] = {
34541 (char *) "self",(char *) "imageList", NULL
34544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34546 if (!SWIG_IsOK(res1
)) {
34547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34549 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34550 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34551 if (!SWIG_IsOK(res2
)) {
34552 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34556 (arg1
)->AssignImageList(arg2
);
34557 wxPyEndAllowThreads(__tstate
);
34558 if (PyErr_Occurred()) SWIG_fail
;
34560 resultobj
= SWIG_Py_Void();
34567 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34568 PyObject
*resultobj
= 0;
34569 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34570 wxImageList
*arg2
= (wxImageList
*) 0 ;
34574 PyObject
* obj0
= 0 ;
34575 PyObject
* obj1
= 0 ;
34576 char * kwnames
[] = {
34577 (char *) "self",(char *) "imageList", NULL
34580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34582 if (!SWIG_IsOK(res1
)) {
34583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34585 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34586 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34587 if (!SWIG_IsOK(res2
)) {
34588 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34592 (arg1
)->AssignStateImageList(arg2
);
34593 wxPyEndAllowThreads(__tstate
);
34594 if (PyErr_Occurred()) SWIG_fail
;
34596 resultobj
= SWIG_Py_Void();
34603 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34604 PyObject
*resultobj
= 0;
34605 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34606 wxTreeItemId
*arg2
= 0 ;
34612 PyObject
* obj0
= 0 ;
34613 PyObject
* obj1
= 0 ;
34614 char * kwnames
[] = {
34615 (char *) "self",(char *) "item", NULL
34618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) 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_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
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_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34629 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34631 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34634 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34635 wxPyEndAllowThreads(__tstate
);
34636 if (PyErr_Occurred()) SWIG_fail
;
34640 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34642 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34651 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34652 PyObject
*resultobj
= 0;
34653 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34654 wxTreeItemId
*arg2
= 0 ;
34655 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34663 PyObject
* obj0
= 0 ;
34664 PyObject
* obj1
= 0 ;
34665 PyObject
* obj2
= 0 ;
34666 char * kwnames
[] = {
34667 (char *) "self",(char *) "item",(char *) "which", NULL
34670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34672 if (!SWIG_IsOK(res1
)) {
34673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34675 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34676 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34677 if (!SWIG_IsOK(res2
)) {
34678 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34681 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34683 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34685 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34686 if (!SWIG_IsOK(ecode3
)) {
34687 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34689 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34693 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34694 wxPyEndAllowThreads(__tstate
);
34695 if (PyErr_Occurred()) SWIG_fail
;
34697 resultobj
= SWIG_From_int(static_cast< int >(result
));
34704 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34705 PyObject
*resultobj
= 0;
34706 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34707 wxTreeItemId
*arg2
= 0 ;
34708 wxPyTreeItemData
*result
= 0 ;
34713 PyObject
* obj0
= 0 ;
34714 PyObject
* obj1
= 0 ;
34715 char * kwnames
[] = {
34716 (char *) "self",(char *) "item", NULL
34719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34721 if (!SWIG_IsOK(res1
)) {
34722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34724 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34725 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34726 if (!SWIG_IsOK(res2
)) {
34727 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34730 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34732 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34735 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34736 wxPyEndAllowThreads(__tstate
);
34737 if (PyErr_Occurred()) SWIG_fail
;
34739 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34746 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34747 PyObject
*resultobj
= 0;
34748 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34749 wxTreeItemId
*arg2
= 0 ;
34750 PyObject
*result
= 0 ;
34755 PyObject
* obj0
= 0 ;
34756 PyObject
* obj1
= 0 ;
34757 char * kwnames
[] = {
34758 (char *) "self",(char *) "item", NULL
34761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34763 if (!SWIG_IsOK(res1
)) {
34764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34766 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34767 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34768 if (!SWIG_IsOK(res2
)) {
34769 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34772 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34774 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34777 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34778 wxPyEndAllowThreads(__tstate
);
34779 if (PyErr_Occurred()) SWIG_fail
;
34781 resultobj
= result
;
34788 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34789 PyObject
*resultobj
= 0;
34790 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34791 wxTreeItemId
*arg2
= 0 ;
34797 PyObject
* obj0
= 0 ;
34798 PyObject
* obj1
= 0 ;
34799 char * kwnames
[] = {
34800 (char *) "self",(char *) "item", NULL
34803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34805 if (!SWIG_IsOK(res1
)) {
34806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34808 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34809 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34810 if (!SWIG_IsOK(res2
)) {
34811 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34814 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34816 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34819 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34820 wxPyEndAllowThreads(__tstate
);
34821 if (PyErr_Occurred()) SWIG_fail
;
34823 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34830 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34831 PyObject
*resultobj
= 0;
34832 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34833 wxTreeItemId
*arg2
= 0 ;
34839 PyObject
* obj0
= 0 ;
34840 PyObject
* obj1
= 0 ;
34841 char * kwnames
[] = {
34842 (char *) "self",(char *) "item", NULL
34845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34847 if (!SWIG_IsOK(res1
)) {
34848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34850 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34851 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34852 if (!SWIG_IsOK(res2
)) {
34853 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34856 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34858 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34861 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34862 wxPyEndAllowThreads(__tstate
);
34863 if (PyErr_Occurred()) SWIG_fail
;
34865 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34872 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34873 PyObject
*resultobj
= 0;
34874 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34875 wxTreeItemId
*arg2
= 0 ;
34881 PyObject
* obj0
= 0 ;
34882 PyObject
* obj1
= 0 ;
34883 char * kwnames
[] = {
34884 (char *) "self",(char *) "item", NULL
34887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34889 if (!SWIG_IsOK(res1
)) {
34890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34892 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34893 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34894 if (!SWIG_IsOK(res2
)) {
34895 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34898 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34900 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34903 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34904 wxPyEndAllowThreads(__tstate
);
34905 if (PyErr_Occurred()) SWIG_fail
;
34907 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34914 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34915 PyObject
*resultobj
= 0;
34916 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34917 wxTreeItemId
*arg2
= 0 ;
34918 wxString
*arg3
= 0 ;
34923 bool temp3
= false ;
34924 PyObject
* obj0
= 0 ;
34925 PyObject
* obj1
= 0 ;
34926 PyObject
* obj2
= 0 ;
34927 char * kwnames
[] = {
34928 (char *) "self",(char *) "item",(char *) "text", NULL
34931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34933 if (!SWIG_IsOK(res1
)) {
34934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34936 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34937 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34938 if (!SWIG_IsOK(res2
)) {
34939 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34942 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34944 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34946 arg3
= wxString_in_helper(obj2
);
34947 if (arg3
== NULL
) SWIG_fail
;
34951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34952 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34953 wxPyEndAllowThreads(__tstate
);
34954 if (PyErr_Occurred()) SWIG_fail
;
34956 resultobj
= SWIG_Py_Void();
34971 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34972 PyObject
*resultobj
= 0;
34973 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34974 wxTreeItemId
*arg2
= 0 ;
34976 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34985 PyObject
* obj0
= 0 ;
34986 PyObject
* obj1
= 0 ;
34987 PyObject
* obj2
= 0 ;
34988 PyObject
* obj3
= 0 ;
34989 char * kwnames
[] = {
34990 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34995 if (!SWIG_IsOK(res1
)) {
34996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34998 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34999 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35000 if (!SWIG_IsOK(res2
)) {
35001 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35004 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35006 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35007 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35008 if (!SWIG_IsOK(ecode3
)) {
35009 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
35011 arg3
= static_cast< int >(val3
);
35013 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35014 if (!SWIG_IsOK(ecode4
)) {
35015 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
35017 arg4
= static_cast< wxTreeItemIcon
>(val4
);
35020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35021 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
35022 wxPyEndAllowThreads(__tstate
);
35023 if (PyErr_Occurred()) SWIG_fail
;
35025 resultobj
= SWIG_Py_Void();
35032 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35033 PyObject
*resultobj
= 0;
35034 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35035 wxTreeItemId
*arg2
= 0 ;
35036 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
35042 PyObject
* obj0
= 0 ;
35043 PyObject
* obj1
= 0 ;
35044 PyObject
* obj2
= 0 ;
35045 char * kwnames
[] = {
35046 (char *) "self",(char *) "item",(char *) "data", NULL
35049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35051 if (!SWIG_IsOK(res1
)) {
35052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35054 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35055 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35056 if (!SWIG_IsOK(res2
)) {
35057 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35060 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35062 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35063 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35064 if (!SWIG_IsOK(res3
)) {
35065 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
35068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35069 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35070 wxPyEndAllowThreads(__tstate
);
35071 if (PyErr_Occurred()) SWIG_fail
;
35073 resultobj
= SWIG_Py_Void();
35080 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35081 PyObject
*resultobj
= 0;
35082 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35083 wxTreeItemId
*arg2
= 0 ;
35084 PyObject
*arg3
= (PyObject
*) 0 ;
35089 PyObject
* obj0
= 0 ;
35090 PyObject
* obj1
= 0 ;
35091 PyObject
* obj2
= 0 ;
35092 char * kwnames
[] = {
35093 (char *) "self",(char *) "item",(char *) "obj", NULL
35096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35098 if (!SWIG_IsOK(res1
)) {
35099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35101 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35102 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35103 if (!SWIG_IsOK(res2
)) {
35104 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35107 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35109 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35113 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35114 wxPyEndAllowThreads(__tstate
);
35115 if (PyErr_Occurred()) SWIG_fail
;
35117 resultobj
= SWIG_Py_Void();
35124 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35125 PyObject
*resultobj
= 0;
35126 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35127 wxTreeItemId
*arg2
= 0 ;
35128 bool arg3
= (bool) true ;
35135 PyObject
* obj0
= 0 ;
35136 PyObject
* obj1
= 0 ;
35137 PyObject
* obj2
= 0 ;
35138 char * kwnames
[] = {
35139 (char *) "self",(char *) "item",(char *) "has", NULL
35142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) 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_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
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_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35153 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35155 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35157 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35158 if (!SWIG_IsOK(ecode3
)) {
35159 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
35161 arg3
= static_cast< bool >(val3
);
35164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35165 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
35166 wxPyEndAllowThreads(__tstate
);
35167 if (PyErr_Occurred()) SWIG_fail
;
35169 resultobj
= SWIG_Py_Void();
35176 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35177 PyObject
*resultobj
= 0;
35178 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35179 wxTreeItemId
*arg2
= 0 ;
35180 bool arg3
= (bool) true ;
35187 PyObject
* obj0
= 0 ;
35188 PyObject
* obj1
= 0 ;
35189 PyObject
* obj2
= 0 ;
35190 char * kwnames
[] = {
35191 (char *) "self",(char *) "item",(char *) "bold", NULL
35194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35196 if (!SWIG_IsOK(res1
)) {
35197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35199 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35200 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35201 if (!SWIG_IsOK(res2
)) {
35202 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35205 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35207 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35209 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35210 if (!SWIG_IsOK(ecode3
)) {
35211 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35213 arg3
= static_cast< bool >(val3
);
35216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35217 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
35218 wxPyEndAllowThreads(__tstate
);
35219 if (PyErr_Occurred()) SWIG_fail
;
35221 resultobj
= SWIG_Py_Void();
35228 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35229 PyObject
*resultobj
= 0;
35230 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35231 wxTreeItemId
*arg2
= 0 ;
35232 bool arg3
= (bool) true ;
35239 PyObject
* obj0
= 0 ;
35240 PyObject
* obj1
= 0 ;
35241 PyObject
* obj2
= 0 ;
35242 char * kwnames
[] = {
35243 (char *) "self",(char *) "item",(char *) "highlight", NULL
35246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35248 if (!SWIG_IsOK(res1
)) {
35249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35251 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35252 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35253 if (!SWIG_IsOK(res2
)) {
35254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35257 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35259 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35261 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35262 if (!SWIG_IsOK(ecode3
)) {
35263 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35265 arg3
= static_cast< bool >(val3
);
35268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35269 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
35270 wxPyEndAllowThreads(__tstate
);
35271 if (PyErr_Occurred()) SWIG_fail
;
35273 resultobj
= SWIG_Py_Void();
35280 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35281 PyObject
*resultobj
= 0;
35282 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35283 wxTreeItemId
*arg2
= 0 ;
35284 wxColour
*arg3
= 0 ;
35290 PyObject
* obj0
= 0 ;
35291 PyObject
* obj1
= 0 ;
35292 PyObject
* obj2
= 0 ;
35293 char * kwnames
[] = {
35294 (char *) "self",(char *) "item",(char *) "col", NULL
35297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35299 if (!SWIG_IsOK(res1
)) {
35300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35302 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35303 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35304 if (!SWIG_IsOK(res2
)) {
35305 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35308 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35310 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35313 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35317 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35318 wxPyEndAllowThreads(__tstate
);
35319 if (PyErr_Occurred()) SWIG_fail
;
35321 resultobj
= SWIG_Py_Void();
35328 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35329 PyObject
*resultobj
= 0;
35330 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35331 wxTreeItemId
*arg2
= 0 ;
35332 wxColour
*arg3
= 0 ;
35338 PyObject
* obj0
= 0 ;
35339 PyObject
* obj1
= 0 ;
35340 PyObject
* obj2
= 0 ;
35341 char * kwnames
[] = {
35342 (char *) "self",(char *) "item",(char *) "col", NULL
35345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35347 if (!SWIG_IsOK(res1
)) {
35348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35350 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35351 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35352 if (!SWIG_IsOK(res2
)) {
35353 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35356 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35358 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35361 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35365 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35366 wxPyEndAllowThreads(__tstate
);
35367 if (PyErr_Occurred()) SWIG_fail
;
35369 resultobj
= SWIG_Py_Void();
35376 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35377 PyObject
*resultobj
= 0;
35378 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35379 wxTreeItemId
*arg2
= 0 ;
35387 PyObject
* obj0
= 0 ;
35388 PyObject
* obj1
= 0 ;
35389 PyObject
* obj2
= 0 ;
35390 char * kwnames
[] = {
35391 (char *) "self",(char *) "item",(char *) "font", NULL
35394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35396 if (!SWIG_IsOK(res1
)) {
35397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35399 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35400 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35401 if (!SWIG_IsOK(res2
)) {
35402 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35405 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35407 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35408 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
35409 if (!SWIG_IsOK(res3
)) {
35410 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35413 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35415 arg3
= reinterpret_cast< wxFont
* >(argp3
);
35417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35418 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
35419 wxPyEndAllowThreads(__tstate
);
35420 if (PyErr_Occurred()) SWIG_fail
;
35422 resultobj
= SWIG_Py_Void();
35429 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35430 PyObject
*resultobj
= 0;
35431 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35432 wxTreeItemId
*arg2
= 0 ;
35438 PyObject
* obj0
= 0 ;
35439 PyObject
* obj1
= 0 ;
35440 char * kwnames
[] = {
35441 (char *) "self",(char *) "item", NULL
35444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35446 if (!SWIG_IsOK(res1
)) {
35447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35449 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35450 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35451 if (!SWIG_IsOK(res2
)) {
35452 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35455 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35457 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35460 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35461 wxPyEndAllowThreads(__tstate
);
35462 if (PyErr_Occurred()) SWIG_fail
;
35465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35473 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35474 PyObject
*resultobj
= 0;
35475 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35476 wxTreeItemId
*arg2
= 0 ;
35482 PyObject
* obj0
= 0 ;
35483 PyObject
* obj1
= 0 ;
35484 char * kwnames
[] = {
35485 (char *) "self",(char *) "item", NULL
35488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35490 if (!SWIG_IsOK(res1
)) {
35491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35493 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35494 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35495 if (!SWIG_IsOK(res2
)) {
35496 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35499 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35501 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35504 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35505 wxPyEndAllowThreads(__tstate
);
35506 if (PyErr_Occurred()) SWIG_fail
;
35509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35517 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35518 PyObject
*resultobj
= 0;
35519 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35520 wxTreeItemId
*arg2
= 0 ;
35526 PyObject
* obj0
= 0 ;
35527 PyObject
* obj1
= 0 ;
35528 char * kwnames
[] = {
35529 (char *) "self",(char *) "item", NULL
35532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35534 if (!SWIG_IsOK(res1
)) {
35535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35537 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35538 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35539 if (!SWIG_IsOK(res2
)) {
35540 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35543 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35545 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35548 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35549 wxPyEndAllowThreads(__tstate
);
35550 if (PyErr_Occurred()) SWIG_fail
;
35553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35561 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35562 PyObject
*resultobj
= 0;
35563 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35564 wxTreeItemId
*arg2
= 0 ;
35570 PyObject
* obj0
= 0 ;
35571 PyObject
* obj1
= 0 ;
35572 char * kwnames
[] = {
35573 (char *) "self",(char *) "item", NULL
35576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35578 if (!SWIG_IsOK(res1
)) {
35579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35581 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35582 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35583 if (!SWIG_IsOK(res2
)) {
35584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35587 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35589 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35592 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35593 wxPyEndAllowThreads(__tstate
);
35594 if (PyErr_Occurred()) SWIG_fail
;
35597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35605 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35606 PyObject
*resultobj
= 0;
35607 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35608 wxTreeItemId
*arg2
= 0 ;
35614 PyObject
* obj0
= 0 ;
35615 PyObject
* obj1
= 0 ;
35616 char * kwnames
[] = {
35617 (char *) "self",(char *) "item", NULL
35620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35622 if (!SWIG_IsOK(res1
)) {
35623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35625 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35626 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35627 if (!SWIG_IsOK(res2
)) {
35628 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35631 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35633 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35636 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35637 wxPyEndAllowThreads(__tstate
);
35638 if (PyErr_Occurred()) SWIG_fail
;
35641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35649 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35650 PyObject
*resultobj
= 0;
35651 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35655 PyObject
*swig_obj
[1] ;
35657 if (!args
) SWIG_fail
;
35658 swig_obj
[0] = args
;
35659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35660 if (!SWIG_IsOK(res1
)) {
35661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35663 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35666 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsEmpty();
35667 wxPyEndAllowThreads(__tstate
);
35668 if (PyErr_Occurred()) SWIG_fail
;
35671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35679 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35680 PyObject
*resultobj
= 0;
35681 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35682 wxTreeItemId
*arg2
= 0 ;
35683 bool arg3
= (bool) true ;
35691 PyObject
* obj0
= 0 ;
35692 PyObject
* obj1
= 0 ;
35693 PyObject
* obj2
= 0 ;
35694 char * kwnames
[] = {
35695 (char *) "self",(char *) "item",(char *) "recursively", NULL
35698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35700 if (!SWIG_IsOK(res1
)) {
35701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35703 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35704 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35705 if (!SWIG_IsOK(res2
)) {
35706 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35709 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35711 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35713 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35714 if (!SWIG_IsOK(ecode3
)) {
35715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35717 arg3
= static_cast< bool >(val3
);
35720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35721 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35722 wxPyEndAllowThreads(__tstate
);
35723 if (PyErr_Occurred()) SWIG_fail
;
35725 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35732 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35733 PyObject
*resultobj
= 0;
35734 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35735 wxTreeItemId result
;
35738 PyObject
*swig_obj
[1] ;
35740 if (!args
) SWIG_fail
;
35741 swig_obj
[0] = args
;
35742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35743 if (!SWIG_IsOK(res1
)) {
35744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35746 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35749 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35750 wxPyEndAllowThreads(__tstate
);
35751 if (PyErr_Occurred()) SWIG_fail
;
35753 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35760 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35761 PyObject
*resultobj
= 0;
35762 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35763 wxTreeItemId result
;
35766 PyObject
*swig_obj
[1] ;
35768 if (!args
) SWIG_fail
;
35769 swig_obj
[0] = args
;
35770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35771 if (!SWIG_IsOK(res1
)) {
35772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35774 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35777 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35778 wxPyEndAllowThreads(__tstate
);
35779 if (PyErr_Occurred()) SWIG_fail
;
35781 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35788 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35789 PyObject
*resultobj
= 0;
35790 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35791 PyObject
*result
= 0 ;
35794 PyObject
*swig_obj
[1] ;
35796 if (!args
) SWIG_fail
;
35797 swig_obj
[0] = args
;
35798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35799 if (!SWIG_IsOK(res1
)) {
35800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35802 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35805 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35806 wxPyEndAllowThreads(__tstate
);
35807 if (PyErr_Occurred()) SWIG_fail
;
35809 resultobj
= result
;
35816 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35817 PyObject
*resultobj
= 0;
35818 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35819 wxTreeItemId
*arg2
= 0 ;
35820 wxTreeItemId result
;
35825 PyObject
* obj0
= 0 ;
35826 PyObject
* obj1
= 0 ;
35827 char * kwnames
[] = {
35828 (char *) "self",(char *) "item", NULL
35831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35833 if (!SWIG_IsOK(res1
)) {
35834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35836 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35837 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35838 if (!SWIG_IsOK(res2
)) {
35839 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35842 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35844 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35847 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35848 wxPyEndAllowThreads(__tstate
);
35849 if (PyErr_Occurred()) SWIG_fail
;
35851 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35858 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35859 PyObject
*resultobj
= 0;
35860 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35861 wxTreeItemId
*arg2
= 0 ;
35862 PyObject
*result
= 0 ;
35867 PyObject
* obj0
= 0 ;
35868 PyObject
* obj1
= 0 ;
35869 char * kwnames
[] = {
35870 (char *) "self",(char *) "item", NULL
35873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35875 if (!SWIG_IsOK(res1
)) {
35876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35878 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35879 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35880 if (!SWIG_IsOK(res2
)) {
35881 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35884 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35886 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35889 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35890 wxPyEndAllowThreads(__tstate
);
35891 if (PyErr_Occurred()) SWIG_fail
;
35893 resultobj
= result
;
35900 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35901 PyObject
*resultobj
= 0;
35902 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35903 wxTreeItemId
*arg2
= 0 ;
35904 void *arg3
= (void *) 0 ;
35905 PyObject
*result
= 0 ;
35911 PyObject
* obj0
= 0 ;
35912 PyObject
* obj1
= 0 ;
35913 PyObject
* obj2
= 0 ;
35914 char * kwnames
[] = {
35915 (char *) "self",(char *) "item",(char *) "cookie", NULL
35918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35920 if (!SWIG_IsOK(res1
)) {
35921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35923 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35924 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35925 if (!SWIG_IsOK(res2
)) {
35926 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35929 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35931 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35932 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35933 if (!SWIG_IsOK(res3
)) {
35934 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35938 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35939 wxPyEndAllowThreads(__tstate
);
35940 if (PyErr_Occurred()) SWIG_fail
;
35942 resultobj
= result
;
35949 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35950 PyObject
*resultobj
= 0;
35951 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35952 wxTreeItemId
*arg2
= 0 ;
35953 wxTreeItemId result
;
35958 PyObject
* obj0
= 0 ;
35959 PyObject
* obj1
= 0 ;
35960 char * kwnames
[] = {
35961 (char *) "self",(char *) "item", NULL
35964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35966 if (!SWIG_IsOK(res1
)) {
35967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35969 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35970 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35971 if (!SWIG_IsOK(res2
)) {
35972 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35975 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35977 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35980 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35981 wxPyEndAllowThreads(__tstate
);
35982 if (PyErr_Occurred()) SWIG_fail
;
35984 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35991 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35992 PyObject
*resultobj
= 0;
35993 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35994 wxTreeItemId
*arg2
= 0 ;
35995 wxTreeItemId result
;
36000 PyObject
* obj0
= 0 ;
36001 PyObject
* obj1
= 0 ;
36002 char * kwnames
[] = {
36003 (char *) "self",(char *) "item", NULL
36006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36008 if (!SWIG_IsOK(res1
)) {
36009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36011 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36012 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36013 if (!SWIG_IsOK(res2
)) {
36014 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36017 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36019 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36022 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
36023 wxPyEndAllowThreads(__tstate
);
36024 if (PyErr_Occurred()) SWIG_fail
;
36026 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36033 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36034 PyObject
*resultobj
= 0;
36035 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36036 wxTreeItemId
*arg2
= 0 ;
36037 wxTreeItemId result
;
36042 PyObject
* obj0
= 0 ;
36043 PyObject
* obj1
= 0 ;
36044 char * kwnames
[] = {
36045 (char *) "self",(char *) "item", NULL
36048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36050 if (!SWIG_IsOK(res1
)) {
36051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36053 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36054 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36055 if (!SWIG_IsOK(res2
)) {
36056 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36059 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36061 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36064 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
36065 wxPyEndAllowThreads(__tstate
);
36066 if (PyErr_Occurred()) SWIG_fail
;
36068 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36075 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36076 PyObject
*resultobj
= 0;
36077 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36078 wxTreeItemId result
;
36081 PyObject
*swig_obj
[1] ;
36083 if (!args
) SWIG_fail
;
36084 swig_obj
[0] = args
;
36085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36086 if (!SWIG_IsOK(res1
)) {
36087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36089 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36092 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
36093 wxPyEndAllowThreads(__tstate
);
36094 if (PyErr_Occurred()) SWIG_fail
;
36096 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36103 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36104 PyObject
*resultobj
= 0;
36105 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36106 wxTreeItemId
*arg2
= 0 ;
36107 wxTreeItemId result
;
36112 PyObject
* obj0
= 0 ;
36113 PyObject
* obj1
= 0 ;
36114 char * kwnames
[] = {
36115 (char *) "self",(char *) "item", NULL
36118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36120 if (!SWIG_IsOK(res1
)) {
36121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36123 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36124 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36125 if (!SWIG_IsOK(res2
)) {
36126 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36129 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36131 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36134 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
36135 wxPyEndAllowThreads(__tstate
);
36136 if (PyErr_Occurred()) SWIG_fail
;
36138 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36145 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36146 PyObject
*resultobj
= 0;
36147 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36148 wxTreeItemId
*arg2
= 0 ;
36149 wxTreeItemId result
;
36154 PyObject
* obj0
= 0 ;
36155 PyObject
* obj1
= 0 ;
36156 char * kwnames
[] = {
36157 (char *) "self",(char *) "item", NULL
36160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36162 if (!SWIG_IsOK(res1
)) {
36163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36165 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36166 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36167 if (!SWIG_IsOK(res2
)) {
36168 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36171 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36173 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36176 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
36177 wxPyEndAllowThreads(__tstate
);
36178 if (PyErr_Occurred()) SWIG_fail
;
36180 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36187 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36188 PyObject
*resultobj
= 0;
36189 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36190 wxString
*arg2
= 0 ;
36191 int arg3
= (int) -1 ;
36192 int arg4
= (int) -1 ;
36193 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
36194 wxTreeItemId result
;
36197 bool temp2
= false ;
36203 PyObject
* obj0
= 0 ;
36204 PyObject
* obj1
= 0 ;
36205 PyObject
* obj2
= 0 ;
36206 PyObject
* obj3
= 0 ;
36207 PyObject
* obj4
= 0 ;
36208 char * kwnames
[] = {
36209 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36214 if (!SWIG_IsOK(res1
)) {
36215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36217 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36219 arg2
= wxString_in_helper(obj1
);
36220 if (arg2
== NULL
) SWIG_fail
;
36224 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36225 if (!SWIG_IsOK(ecode3
)) {
36226 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36228 arg3
= static_cast< int >(val3
);
36231 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36232 if (!SWIG_IsOK(ecode4
)) {
36233 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36235 arg4
= static_cast< int >(val4
);
36238 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36239 if (!SWIG_IsOK(res5
)) {
36240 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36245 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
36246 wxPyEndAllowThreads(__tstate
);
36247 if (PyErr_Occurred()) SWIG_fail
;
36249 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36264 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36265 PyObject
*resultobj
= 0;
36266 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36267 wxTreeItemId
*arg2
= 0 ;
36268 wxString
*arg3
= 0 ;
36269 int arg4
= (int) -1 ;
36270 int arg5
= (int) -1 ;
36271 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36272 wxTreeItemId result
;
36277 bool temp3
= false ;
36283 PyObject
* obj0
= 0 ;
36284 PyObject
* obj1
= 0 ;
36285 PyObject
* obj2
= 0 ;
36286 PyObject
* obj3
= 0 ;
36287 PyObject
* obj4
= 0 ;
36288 PyObject
* obj5
= 0 ;
36289 char * kwnames
[] = {
36290 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36295 if (!SWIG_IsOK(res1
)) {
36296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36298 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36299 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36300 if (!SWIG_IsOK(res2
)) {
36301 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36304 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36306 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36308 arg3
= wxString_in_helper(obj2
);
36309 if (arg3
== NULL
) SWIG_fail
;
36313 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36314 if (!SWIG_IsOK(ecode4
)) {
36315 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36317 arg4
= static_cast< int >(val4
);
36320 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36321 if (!SWIG_IsOK(ecode5
)) {
36322 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36324 arg5
= static_cast< int >(val5
);
36327 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36328 if (!SWIG_IsOK(res6
)) {
36329 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36334 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36335 wxPyEndAllowThreads(__tstate
);
36336 if (PyErr_Occurred()) SWIG_fail
;
36338 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36353 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36354 PyObject
*resultobj
= 0;
36355 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36356 wxTreeItemId
*arg2
= 0 ;
36357 wxTreeItemId
*arg3
= 0 ;
36358 wxString
*arg4
= 0 ;
36359 int arg5
= (int) -1 ;
36360 int arg6
= (int) -1 ;
36361 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36362 wxTreeItemId result
;
36369 bool temp4
= false ;
36375 PyObject
* obj0
= 0 ;
36376 PyObject
* obj1
= 0 ;
36377 PyObject
* obj2
= 0 ;
36378 PyObject
* obj3
= 0 ;
36379 PyObject
* obj4
= 0 ;
36380 PyObject
* obj5
= 0 ;
36381 PyObject
* obj6
= 0 ;
36382 char * kwnames
[] = {
36383 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36388 if (!SWIG_IsOK(res1
)) {
36389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36391 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36392 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36393 if (!SWIG_IsOK(res2
)) {
36394 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36397 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36399 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36400 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36401 if (!SWIG_IsOK(res3
)) {
36402 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36405 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36407 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
36409 arg4
= wxString_in_helper(obj3
);
36410 if (arg4
== NULL
) SWIG_fail
;
36414 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36415 if (!SWIG_IsOK(ecode5
)) {
36416 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36418 arg5
= static_cast< int >(val5
);
36421 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36422 if (!SWIG_IsOK(ecode6
)) {
36423 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36425 arg6
= static_cast< int >(val6
);
36428 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36429 if (!SWIG_IsOK(res7
)) {
36430 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36435 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36436 wxPyEndAllowThreads(__tstate
);
36437 if (PyErr_Occurred()) SWIG_fail
;
36439 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36454 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36455 PyObject
*resultobj
= 0;
36456 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36457 wxTreeItemId
*arg2
= 0 ;
36459 wxString
*arg4
= 0 ;
36460 int arg5
= (int) -1 ;
36461 int arg6
= (int) -1 ;
36462 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36463 wxTreeItemId result
;
36470 bool temp4
= false ;
36476 PyObject
* obj0
= 0 ;
36477 PyObject
* obj1
= 0 ;
36478 PyObject
* obj2
= 0 ;
36479 PyObject
* obj3
= 0 ;
36480 PyObject
* obj4
= 0 ;
36481 PyObject
* obj5
= 0 ;
36482 PyObject
* obj6
= 0 ;
36483 char * kwnames
[] = {
36484 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36489 if (!SWIG_IsOK(res1
)) {
36490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36492 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36493 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36494 if (!SWIG_IsOK(res2
)) {
36495 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36498 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36500 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36501 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36502 if (!SWIG_IsOK(ecode3
)) {
36503 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36505 arg3
= static_cast< size_t >(val3
);
36507 arg4
= wxString_in_helper(obj3
);
36508 if (arg4
== NULL
) SWIG_fail
;
36512 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36513 if (!SWIG_IsOK(ecode5
)) {
36514 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36516 arg5
= static_cast< int >(val5
);
36519 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36520 if (!SWIG_IsOK(ecode6
)) {
36521 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36523 arg6
= static_cast< int >(val6
);
36526 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36527 if (!SWIG_IsOK(res7
)) {
36528 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36533 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36534 wxPyEndAllowThreads(__tstate
);
36535 if (PyErr_Occurred()) SWIG_fail
;
36537 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36552 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36553 PyObject
*resultobj
= 0;
36554 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36555 wxTreeItemId
*arg2
= 0 ;
36556 wxString
*arg3
= 0 ;
36557 int arg4
= (int) -1 ;
36558 int arg5
= (int) -1 ;
36559 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36560 wxTreeItemId result
;
36565 bool temp3
= false ;
36571 PyObject
* obj0
= 0 ;
36572 PyObject
* obj1
= 0 ;
36573 PyObject
* obj2
= 0 ;
36574 PyObject
* obj3
= 0 ;
36575 PyObject
* obj4
= 0 ;
36576 PyObject
* obj5
= 0 ;
36577 char * kwnames
[] = {
36578 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36583 if (!SWIG_IsOK(res1
)) {
36584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36586 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36587 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36588 if (!SWIG_IsOK(res2
)) {
36589 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36592 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36594 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36596 arg3
= wxString_in_helper(obj2
);
36597 if (arg3
== NULL
) SWIG_fail
;
36601 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36602 if (!SWIG_IsOK(ecode4
)) {
36603 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36605 arg4
= static_cast< int >(val4
);
36608 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36609 if (!SWIG_IsOK(ecode5
)) {
36610 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36612 arg5
= static_cast< int >(val5
);
36615 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36616 if (!SWIG_IsOK(res6
)) {
36617 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36622 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36623 wxPyEndAllowThreads(__tstate
);
36624 if (PyErr_Occurred()) SWIG_fail
;
36626 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36641 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36642 PyObject
*resultobj
= 0;
36643 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36644 wxTreeItemId
*arg2
= 0 ;
36649 PyObject
* obj0
= 0 ;
36650 PyObject
* obj1
= 0 ;
36651 char * kwnames
[] = {
36652 (char *) "self",(char *) "item", NULL
36655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36657 if (!SWIG_IsOK(res1
)) {
36658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36660 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36661 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36662 if (!SWIG_IsOK(res2
)) {
36663 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36666 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36668 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36671 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36672 wxPyEndAllowThreads(__tstate
);
36673 if (PyErr_Occurred()) SWIG_fail
;
36675 resultobj
= SWIG_Py_Void();
36682 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36683 PyObject
*resultobj
= 0;
36684 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36685 wxTreeItemId
*arg2
= 0 ;
36690 PyObject
* obj0
= 0 ;
36691 PyObject
* obj1
= 0 ;
36692 char * kwnames
[] = {
36693 (char *) "self",(char *) "item", NULL
36696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36698 if (!SWIG_IsOK(res1
)) {
36699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36701 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36702 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36703 if (!SWIG_IsOK(res2
)) {
36704 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36707 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36709 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36712 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36713 wxPyEndAllowThreads(__tstate
);
36714 if (PyErr_Occurred()) SWIG_fail
;
36716 resultobj
= SWIG_Py_Void();
36723 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36724 PyObject
*resultobj
= 0;
36725 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36728 PyObject
*swig_obj
[1] ;
36730 if (!args
) SWIG_fail
;
36731 swig_obj
[0] = args
;
36732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36733 if (!SWIG_IsOK(res1
)) {
36734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36736 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36739 (arg1
)->DeleteAllItems();
36740 wxPyEndAllowThreads(__tstate
);
36741 if (PyErr_Occurred()) SWIG_fail
;
36743 resultobj
= SWIG_Py_Void();
36750 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36751 PyObject
*resultobj
= 0;
36752 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36753 wxTreeItemId
*arg2
= 0 ;
36758 PyObject
* obj0
= 0 ;
36759 PyObject
* obj1
= 0 ;
36760 char * kwnames
[] = {
36761 (char *) "self",(char *) "item", NULL
36764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36766 if (!SWIG_IsOK(res1
)) {
36767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36769 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36770 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36771 if (!SWIG_IsOK(res2
)) {
36772 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36775 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36777 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36780 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36781 wxPyEndAllowThreads(__tstate
);
36782 if (PyErr_Occurred()) SWIG_fail
;
36784 resultobj
= SWIG_Py_Void();
36791 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36792 PyObject
*resultobj
= 0;
36793 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36794 wxTreeItemId
*arg2
= 0 ;
36799 PyObject
* obj0
= 0 ;
36800 PyObject
* obj1
= 0 ;
36801 char * kwnames
[] = {
36802 (char *) "self",(char *) "item", NULL
36805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36807 if (!SWIG_IsOK(res1
)) {
36808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36810 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36811 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36812 if (!SWIG_IsOK(res2
)) {
36813 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36816 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36818 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36821 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
36822 wxPyEndAllowThreads(__tstate
);
36823 if (PyErr_Occurred()) SWIG_fail
;
36825 resultobj
= SWIG_Py_Void();
36832 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36833 PyObject
*resultobj
= 0;
36834 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36837 PyObject
*swig_obj
[1] ;
36839 if (!args
) SWIG_fail
;
36840 swig_obj
[0] = args
;
36841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36842 if (!SWIG_IsOK(res1
)) {
36843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36845 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36848 (arg1
)->ExpandAll();
36849 wxPyEndAllowThreads(__tstate
);
36850 if (PyErr_Occurred()) SWIG_fail
;
36852 resultobj
= SWIG_Py_Void();
36859 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36860 PyObject
*resultobj
= 0;
36861 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36862 wxTreeItemId
*arg2
= 0 ;
36867 PyObject
* obj0
= 0 ;
36868 PyObject
* obj1
= 0 ;
36869 char * kwnames
[] = {
36870 (char *) "self",(char *) "item", NULL
36873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36875 if (!SWIG_IsOK(res1
)) {
36876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36878 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36879 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36880 if (!SWIG_IsOK(res2
)) {
36881 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36884 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36886 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36889 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36890 wxPyEndAllowThreads(__tstate
);
36891 if (PyErr_Occurred()) SWIG_fail
;
36893 resultobj
= SWIG_Py_Void();
36900 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36901 PyObject
*resultobj
= 0;
36902 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36903 wxTreeItemId
*arg2
= 0 ;
36908 PyObject
* obj0
= 0 ;
36909 PyObject
* obj1
= 0 ;
36910 char * kwnames
[] = {
36911 (char *) "self",(char *) "item", NULL
36914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36916 if (!SWIG_IsOK(res1
)) {
36917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36919 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36920 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36921 if (!SWIG_IsOK(res2
)) {
36922 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36925 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36927 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36930 (arg1
)->CollapseAllChildren((wxTreeItemId
const &)*arg2
);
36931 wxPyEndAllowThreads(__tstate
);
36932 if (PyErr_Occurred()) SWIG_fail
;
36934 resultobj
= SWIG_Py_Void();
36941 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36942 PyObject
*resultobj
= 0;
36943 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36946 PyObject
*swig_obj
[1] ;
36948 if (!args
) SWIG_fail
;
36949 swig_obj
[0] = args
;
36950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36951 if (!SWIG_IsOK(res1
)) {
36952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36954 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36957 (arg1
)->CollapseAll();
36958 wxPyEndAllowThreads(__tstate
);
36959 if (PyErr_Occurred()) SWIG_fail
;
36961 resultobj
= SWIG_Py_Void();
36968 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36969 PyObject
*resultobj
= 0;
36970 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36971 wxTreeItemId
*arg2
= 0 ;
36976 PyObject
* obj0
= 0 ;
36977 PyObject
* obj1
= 0 ;
36978 char * kwnames
[] = {
36979 (char *) "self",(char *) "item", NULL
36982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36984 if (!SWIG_IsOK(res1
)) {
36985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36987 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36988 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36989 if (!SWIG_IsOK(res2
)) {
36990 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36993 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36995 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36998 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36999 wxPyEndAllowThreads(__tstate
);
37000 if (PyErr_Occurred()) SWIG_fail
;
37002 resultobj
= SWIG_Py_Void();
37009 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37010 PyObject
*resultobj
= 0;
37011 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37012 wxTreeItemId
*arg2
= 0 ;
37017 PyObject
* obj0
= 0 ;
37018 PyObject
* obj1
= 0 ;
37019 char * kwnames
[] = {
37020 (char *) "self",(char *) "item", NULL
37023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37025 if (!SWIG_IsOK(res1
)) {
37026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37028 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37029 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37030 if (!SWIG_IsOK(res2
)) {
37031 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37034 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37036 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37039 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
37040 wxPyEndAllowThreads(__tstate
);
37041 if (PyErr_Occurred()) SWIG_fail
;
37043 resultobj
= SWIG_Py_Void();
37050 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37051 PyObject
*resultobj
= 0;
37052 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37055 PyObject
*swig_obj
[1] ;
37057 if (!args
) SWIG_fail
;
37058 swig_obj
[0] = args
;
37059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37060 if (!SWIG_IsOK(res1
)) {
37061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37063 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37066 (arg1
)->Unselect();
37067 wxPyEndAllowThreads(__tstate
);
37068 if (PyErr_Occurred()) SWIG_fail
;
37070 resultobj
= SWIG_Py_Void();
37077 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37078 PyObject
*resultobj
= 0;
37079 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37080 wxTreeItemId
*arg2
= 0 ;
37085 PyObject
* obj0
= 0 ;
37086 PyObject
* obj1
= 0 ;
37087 char * kwnames
[] = {
37088 (char *) "self",(char *) "item", NULL
37091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37093 if (!SWIG_IsOK(res1
)) {
37094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37096 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37097 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37098 if (!SWIG_IsOK(res2
)) {
37099 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37102 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37104 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37107 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
37108 wxPyEndAllowThreads(__tstate
);
37109 if (PyErr_Occurred()) SWIG_fail
;
37111 resultobj
= SWIG_Py_Void();
37118 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37119 PyObject
*resultobj
= 0;
37120 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37123 PyObject
*swig_obj
[1] ;
37125 if (!args
) SWIG_fail
;
37126 swig_obj
[0] = args
;
37127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37128 if (!SWIG_IsOK(res1
)) {
37129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37131 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37134 (arg1
)->UnselectAll();
37135 wxPyEndAllowThreads(__tstate
);
37136 if (PyErr_Occurred()) SWIG_fail
;
37138 resultobj
= SWIG_Py_Void();
37145 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37146 PyObject
*resultobj
= 0;
37147 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37148 wxTreeItemId
*arg2
= 0 ;
37149 bool arg3
= (bool) true ;
37156 PyObject
* obj0
= 0 ;
37157 PyObject
* obj1
= 0 ;
37158 PyObject
* obj2
= 0 ;
37159 char * kwnames
[] = {
37160 (char *) "self",(char *) "item",(char *) "select", NULL
37163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37165 if (!SWIG_IsOK(res1
)) {
37166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37168 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37169 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37170 if (!SWIG_IsOK(res2
)) {
37171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37174 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37176 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37178 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37179 if (!SWIG_IsOK(ecode3
)) {
37180 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
37182 arg3
= static_cast< bool >(val3
);
37185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37186 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
37187 wxPyEndAllowThreads(__tstate
);
37188 if (PyErr_Occurred()) SWIG_fail
;
37190 resultobj
= SWIG_Py_Void();
37197 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37198 PyObject
*resultobj
= 0;
37199 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37200 wxTreeItemId
*arg2
= 0 ;
37205 PyObject
* obj0
= 0 ;
37206 PyObject
* obj1
= 0 ;
37207 char * kwnames
[] = {
37208 (char *) "self",(char *) "item", NULL
37211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37213 if (!SWIG_IsOK(res1
)) {
37214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37216 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37217 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37218 if (!SWIG_IsOK(res2
)) {
37219 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37222 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37224 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37227 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
37228 wxPyEndAllowThreads(__tstate
);
37229 if (PyErr_Occurred()) SWIG_fail
;
37231 resultobj
= SWIG_Py_Void();
37238 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37239 PyObject
*resultobj
= 0;
37240 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37241 wxTreeItemId
*arg2
= 0 ;
37246 PyObject
* obj0
= 0 ;
37247 PyObject
* obj1
= 0 ;
37248 char * kwnames
[] = {
37249 (char *) "self",(char *) "item", NULL
37252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37254 if (!SWIG_IsOK(res1
)) {
37255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37257 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37258 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37259 if (!SWIG_IsOK(res2
)) {
37260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37263 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37265 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37268 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
37269 wxPyEndAllowThreads(__tstate
);
37270 if (PyErr_Occurred()) SWIG_fail
;
37272 resultobj
= SWIG_Py_Void();
37279 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37280 PyObject
*resultobj
= 0;
37281 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37282 wxTreeItemId
*arg2
= 0 ;
37287 PyObject
* obj0
= 0 ;
37288 PyObject
* obj1
= 0 ;
37289 char * kwnames
[] = {
37290 (char *) "self",(char *) "item", NULL
37293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37295 if (!SWIG_IsOK(res1
)) {
37296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37298 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37299 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37300 if (!SWIG_IsOK(res2
)) {
37301 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37304 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37306 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37309 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
37310 wxPyEndAllowThreads(__tstate
);
37311 if (PyErr_Occurred()) SWIG_fail
;
37313 resultobj
= SWIG_Py_Void();
37320 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37321 PyObject
*resultobj
= 0;
37322 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37323 wxTreeItemId
*arg2
= 0 ;
37328 PyObject
* obj0
= 0 ;
37329 PyObject
* obj1
= 0 ;
37330 char * kwnames
[] = {
37331 (char *) "self",(char *) "item", NULL
37334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37336 if (!SWIG_IsOK(res1
)) {
37337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37339 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37340 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37341 if (!SWIG_IsOK(res2
)) {
37342 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37345 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37347 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37350 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
37351 wxPyEndAllowThreads(__tstate
);
37352 if (PyErr_Occurred()) SWIG_fail
;
37354 resultobj
= SWIG_Py_Void();
37361 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37362 PyObject
*resultobj
= 0;
37363 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37364 wxTextCtrl
*result
= 0 ;
37367 PyObject
*swig_obj
[1] ;
37369 if (!args
) SWIG_fail
;
37370 swig_obj
[0] = args
;
37371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37372 if (!SWIG_IsOK(res1
)) {
37373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37375 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37378 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
37379 wxPyEndAllowThreads(__tstate
);
37380 if (PyErr_Occurred()) SWIG_fail
;
37383 resultobj
= wxPyMake_wxObject(result
, 0);
37391 SWIGINTERN PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37392 PyObject
*resultobj
= 0;
37393 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37394 wxTreeItemId
*arg2
= 0 ;
37395 bool arg3
= (bool) false ;
37402 PyObject
* obj0
= 0 ;
37403 PyObject
* obj1
= 0 ;
37404 PyObject
* obj2
= 0 ;
37405 char * kwnames
[] = {
37406 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
37409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37411 if (!SWIG_IsOK(res1
)) {
37412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37414 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37415 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37416 if (!SWIG_IsOK(res2
)) {
37417 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37420 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37422 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37424 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37425 if (!SWIG_IsOK(ecode3
)) {
37426 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "3"" of type '" "bool""'");
37428 arg3
= static_cast< bool >(val3
);
37431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37432 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
37433 wxPyEndAllowThreads(__tstate
);
37434 if (PyErr_Occurred()) SWIG_fail
;
37436 resultobj
= SWIG_Py_Void();
37443 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37444 PyObject
*resultobj
= 0;
37445 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37446 wxTreeItemId
*arg2
= 0 ;
37451 PyObject
* obj0
= 0 ;
37452 PyObject
* obj1
= 0 ;
37453 char * kwnames
[] = {
37454 (char *) "self",(char *) "item", NULL
37457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37459 if (!SWIG_IsOK(res1
)) {
37460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37462 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37463 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37464 if (!SWIG_IsOK(res2
)) {
37465 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37468 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37470 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37473 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
37474 wxPyEndAllowThreads(__tstate
);
37475 if (PyErr_Occurred()) SWIG_fail
;
37477 resultobj
= SWIG_Py_Void();
37484 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37485 PyObject
*resultobj
= 0;
37486 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37487 wxPoint
*arg2
= 0 ;
37489 wxTreeItemId result
;
37494 int res3
= SWIG_TMPOBJ
;
37495 PyObject
* obj0
= 0 ;
37496 PyObject
* obj1
= 0 ;
37497 char * kwnames
[] = {
37498 (char *) "self",(char *) "point", NULL
37502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37504 if (!SWIG_IsOK(res1
)) {
37505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37507 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37510 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37514 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
37515 wxPyEndAllowThreads(__tstate
);
37516 if (PyErr_Occurred()) SWIG_fail
;
37518 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37519 if (SWIG_IsTmpObj(res3
)) {
37520 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
37522 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37523 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
37531 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37532 PyObject
*resultobj
= 0;
37533 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37534 wxTreeItemId
*arg2
= 0 ;
37535 bool arg3
= (bool) false ;
37536 PyObject
*result
= 0 ;
37543 PyObject
* obj0
= 0 ;
37544 PyObject
* obj1
= 0 ;
37545 PyObject
* obj2
= 0 ;
37546 char * kwnames
[] = {
37547 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37552 if (!SWIG_IsOK(res1
)) {
37553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37555 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37556 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37557 if (!SWIG_IsOK(res2
)) {
37558 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37561 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37563 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37565 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37566 if (!SWIG_IsOK(ecode3
)) {
37567 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37569 arg3
= static_cast< bool >(val3
);
37572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37573 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
37574 wxPyEndAllowThreads(__tstate
);
37575 if (PyErr_Occurred()) SWIG_fail
;
37577 resultobj
= result
;
37584 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37585 PyObject
*resultobj
= 0;
37586 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37587 wxTreeItemId
*arg2
= 0 ;
37595 PyObject
* obj0
= 0 ;
37596 PyObject
* obj1
= 0 ;
37597 PyObject
* obj2
= 0 ;
37598 char * kwnames
[] = {
37599 (char *) "self",(char *) "node",(char *) "state", NULL
37602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37604 if (!SWIG_IsOK(res1
)) {
37605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37607 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37608 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37609 if (!SWIG_IsOK(res2
)) {
37610 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37613 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37615 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37616 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37617 if (!SWIG_IsOK(ecode3
)) {
37618 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetState" "', expected argument " "3"" of type '" "int""'");
37620 arg3
= static_cast< int >(val3
);
37622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37623 (arg1
)->SetState((wxTreeItemId
const &)*arg2
,arg3
);
37624 wxPyEndAllowThreads(__tstate
);
37625 if (PyErr_Occurred()) SWIG_fail
;
37627 resultobj
= SWIG_Py_Void();
37634 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37635 PyObject
*resultobj
= 0;
37636 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37637 wxTreeItemId
*arg2
= 0 ;
37643 PyObject
* obj0
= 0 ;
37644 PyObject
* obj1
= 0 ;
37645 char * kwnames
[] = {
37646 (char *) "self",(char *) "node", NULL
37649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37651 if (!SWIG_IsOK(res1
)) {
37652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37654 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37655 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37656 if (!SWIG_IsOK(res2
)) {
37657 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37660 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37662 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37665 result
= (int)(arg1
)->GetState((wxTreeItemId
const &)*arg2
);
37666 wxPyEndAllowThreads(__tstate
);
37667 if (PyErr_Occurred()) SWIG_fail
;
37669 resultobj
= SWIG_From_int(static_cast< int >(result
));
37676 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37677 PyObject
*resultobj
= 0;
37678 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37679 SwigValueWrapper
<wxVisualAttributes
> result
;
37682 PyObject
* obj0
= 0 ;
37683 char * kwnames
[] = {
37684 (char *) "variant", NULL
37687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
37689 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37690 if (!SWIG_IsOK(ecode1
)) {
37691 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37693 arg1
= static_cast< wxWindowVariant
>(val1
);
37696 if (!wxPyCheckForApp()) SWIG_fail
;
37697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37698 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37699 wxPyEndAllowThreads(__tstate
);
37700 if (PyErr_Occurred()) SWIG_fail
;
37702 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37709 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37710 PyObject
*resultobj
= 0;
37711 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37717 PyObject
* obj0
= 0 ;
37718 PyObject
* obj1
= 0 ;
37719 char * kwnames
[] = {
37720 (char *) "self",(char *) "q", NULL
37723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37725 if (!SWIG_IsOK(res1
)) {
37726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37728 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37729 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37730 if (!SWIG_IsOK(ecode2
)) {
37731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37733 arg2
= static_cast< bool >(val2
);
37735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37736 (arg1
)->SetQuickBestSize(arg2
);
37737 wxPyEndAllowThreads(__tstate
);
37738 if (PyErr_Occurred()) SWIG_fail
;
37740 resultobj
= SWIG_Py_Void();
37747 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37748 PyObject
*resultobj
= 0;
37749 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37753 PyObject
*swig_obj
[1] ;
37755 if (!args
) SWIG_fail
;
37756 swig_obj
[0] = args
;
37757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37758 if (!SWIG_IsOK(res1
)) {
37759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37761 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37764 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37765 wxPyEndAllowThreads(__tstate
);
37766 if (PyErr_Occurred()) SWIG_fail
;
37769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37777 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37779 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37780 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37781 return SWIG_Py_Void();
37784 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37785 return SWIG_Python_InitShadowInstance(args
);
37788 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37789 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37794 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37795 PyObject
*pyobj
= 0;
37799 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37801 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37808 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37809 PyObject
*resultobj
= 0;
37810 wxWindow
*arg1
= (wxWindow
*) 0 ;
37811 int arg2
= (int) (int)-1 ;
37812 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37813 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37814 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37815 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37816 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37817 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37818 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37819 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37820 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37821 int arg8
= (int) 0 ;
37822 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37823 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37824 wxGenericDirCtrl
*result
= 0 ;
37829 bool temp3
= false ;
37834 bool temp7
= false ;
37837 bool temp9
= false ;
37838 PyObject
* obj0
= 0 ;
37839 PyObject
* obj1
= 0 ;
37840 PyObject
* obj2
= 0 ;
37841 PyObject
* obj3
= 0 ;
37842 PyObject
* obj4
= 0 ;
37843 PyObject
* obj5
= 0 ;
37844 PyObject
* obj6
= 0 ;
37845 PyObject
* obj7
= 0 ;
37846 PyObject
* obj8
= 0 ;
37847 char * kwnames
[] = {
37848 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37853 if (!SWIG_IsOK(res1
)) {
37854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37856 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37858 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37859 if (!SWIG_IsOK(ecode2
)) {
37860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37862 arg2
= static_cast< int >(val2
);
37866 arg3
= wxString_in_helper(obj2
);
37867 if (arg3
== NULL
) SWIG_fail
;
37874 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37880 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37884 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37885 if (!SWIG_IsOK(ecode6
)) {
37886 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37888 arg6
= static_cast< long >(val6
);
37892 arg7
= wxString_in_helper(obj6
);
37893 if (arg7
== NULL
) SWIG_fail
;
37898 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37899 if (!SWIG_IsOK(ecode8
)) {
37900 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37902 arg8
= static_cast< int >(val8
);
37906 arg9
= wxString_in_helper(obj8
);
37907 if (arg9
== NULL
) SWIG_fail
;
37912 if (!wxPyCheckForApp()) SWIG_fail
;
37913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37914 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37915 wxPyEndAllowThreads(__tstate
);
37916 if (PyErr_Occurred()) SWIG_fail
;
37918 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37949 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37950 PyObject
*resultobj
= 0;
37951 wxGenericDirCtrl
*result
= 0 ;
37953 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37955 if (!wxPyCheckForApp()) SWIG_fail
;
37956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37957 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37958 wxPyEndAllowThreads(__tstate
);
37959 if (PyErr_Occurred()) SWIG_fail
;
37961 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37968 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37969 PyObject
*resultobj
= 0;
37970 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37971 wxWindow
*arg2
= (wxWindow
*) 0 ;
37972 int arg3
= (int) (int)-1 ;
37973 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37974 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37975 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37976 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37977 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37978 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37979 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37980 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37981 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37982 int arg9
= (int) 0 ;
37983 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37984 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37992 bool temp4
= false ;
37997 bool temp8
= false ;
38000 bool temp10
= false ;
38001 PyObject
* obj0
= 0 ;
38002 PyObject
* obj1
= 0 ;
38003 PyObject
* obj2
= 0 ;
38004 PyObject
* obj3
= 0 ;
38005 PyObject
* obj4
= 0 ;
38006 PyObject
* obj5
= 0 ;
38007 PyObject
* obj6
= 0 ;
38008 PyObject
* obj7
= 0 ;
38009 PyObject
* obj8
= 0 ;
38010 PyObject
* obj9
= 0 ;
38011 char * kwnames
[] = {
38012 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
38015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
38016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38017 if (!SWIG_IsOK(res1
)) {
38018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38020 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38021 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38022 if (!SWIG_IsOK(res2
)) {
38023 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
38025 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
38027 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38028 if (!SWIG_IsOK(ecode3
)) {
38029 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38031 arg3
= static_cast< int >(val3
);
38035 arg4
= wxString_in_helper(obj3
);
38036 if (arg4
== NULL
) SWIG_fail
;
38043 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
38049 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
38053 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
38054 if (!SWIG_IsOK(ecode7
)) {
38055 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
38057 arg7
= static_cast< long >(val7
);
38061 arg8
= wxString_in_helper(obj7
);
38062 if (arg8
== NULL
) SWIG_fail
;
38067 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
38068 if (!SWIG_IsOK(ecode9
)) {
38069 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
38071 arg9
= static_cast< int >(val9
);
38075 arg10
= wxString_in_helper(obj9
);
38076 if (arg10
== NULL
) SWIG_fail
;
38081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38082 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
38083 wxPyEndAllowThreads(__tstate
);
38084 if (PyErr_Occurred()) SWIG_fail
;
38087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38119 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38120 PyObject
*resultobj
= 0;
38121 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38122 wxString
*arg2
= 0 ;
38126 bool temp2
= false ;
38127 PyObject
* obj0
= 0 ;
38128 PyObject
* obj1
= 0 ;
38129 char * kwnames
[] = {
38130 (char *) "self",(char *) "path", NULL
38133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38135 if (!SWIG_IsOK(res1
)) {
38136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38138 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38140 arg2
= wxString_in_helper(obj1
);
38141 if (arg2
== NULL
) SWIG_fail
;
38145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38146 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
38147 wxPyEndAllowThreads(__tstate
);
38148 if (PyErr_Occurred()) SWIG_fail
;
38151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38167 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38168 PyObject
*resultobj
= 0;
38169 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38170 wxString
*arg2
= 0 ;
38174 bool temp2
= false ;
38175 PyObject
* obj0
= 0 ;
38176 PyObject
* obj1
= 0 ;
38177 char * kwnames
[] = {
38178 (char *) "self",(char *) "path", NULL
38181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38183 if (!SWIG_IsOK(res1
)) {
38184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38186 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38188 arg2
= wxString_in_helper(obj1
);
38189 if (arg2
== NULL
) SWIG_fail
;
38193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38194 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
38195 wxPyEndAllowThreads(__tstate
);
38196 if (PyErr_Occurred()) SWIG_fail
;
38199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38215 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38216 PyObject
*resultobj
= 0;
38217 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38221 PyObject
*swig_obj
[1] ;
38223 if (!args
) SWIG_fail
;
38224 swig_obj
[0] = args
;
38225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38226 if (!SWIG_IsOK(res1
)) {
38227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38229 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38232 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
38233 wxPyEndAllowThreads(__tstate
);
38234 if (PyErr_Occurred()) SWIG_fail
;
38238 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38240 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38249 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38250 PyObject
*resultobj
= 0;
38251 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38252 wxString
*arg2
= 0 ;
38255 bool temp2
= false ;
38256 PyObject
* obj0
= 0 ;
38257 PyObject
* obj1
= 0 ;
38258 char * kwnames
[] = {
38259 (char *) "self",(char *) "path", NULL
38262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38264 if (!SWIG_IsOK(res1
)) {
38265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38267 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38269 arg2
= wxString_in_helper(obj1
);
38270 if (arg2
== NULL
) SWIG_fail
;
38274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38275 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
38276 wxPyEndAllowThreads(__tstate
);
38277 if (PyErr_Occurred()) SWIG_fail
;
38279 resultobj
= SWIG_Py_Void();
38294 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38295 PyObject
*resultobj
= 0;
38296 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38300 PyObject
*swig_obj
[1] ;
38302 if (!args
) SWIG_fail
;
38303 swig_obj
[0] = args
;
38304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38305 if (!SWIG_IsOK(res1
)) {
38306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38308 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38311 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
38312 wxPyEndAllowThreads(__tstate
);
38313 if (PyErr_Occurred()) SWIG_fail
;
38317 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38319 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38328 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38329 PyObject
*resultobj
= 0;
38330 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38334 PyObject
*swig_obj
[1] ;
38336 if (!args
) SWIG_fail
;
38337 swig_obj
[0] = args
;
38338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38339 if (!SWIG_IsOK(res1
)) {
38340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38342 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38345 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
38346 wxPyEndAllowThreads(__tstate
);
38347 if (PyErr_Occurred()) SWIG_fail
;
38351 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38353 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38362 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38363 PyObject
*resultobj
= 0;
38364 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38365 wxString
*arg2
= 0 ;
38368 bool temp2
= false ;
38369 PyObject
* obj0
= 0 ;
38370 PyObject
* obj1
= 0 ;
38371 char * kwnames
[] = {
38372 (char *) "self",(char *) "path", NULL
38375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38377 if (!SWIG_IsOK(res1
)) {
38378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38380 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38382 arg2
= wxString_in_helper(obj1
);
38383 if (arg2
== NULL
) SWIG_fail
;
38387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38388 (arg1
)->SetPath((wxString
const &)*arg2
);
38389 wxPyEndAllowThreads(__tstate
);
38390 if (PyErr_Occurred()) SWIG_fail
;
38392 resultobj
= SWIG_Py_Void();
38407 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38408 PyObject
*resultobj
= 0;
38409 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38415 PyObject
* obj0
= 0 ;
38416 PyObject
* obj1
= 0 ;
38417 char * kwnames
[] = {
38418 (char *) "self",(char *) "show", NULL
38421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38423 if (!SWIG_IsOK(res1
)) {
38424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38426 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38427 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
38428 if (!SWIG_IsOK(ecode2
)) {
38429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38431 arg2
= static_cast< bool >(val2
);
38433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38434 (arg1
)->ShowHidden(arg2
);
38435 wxPyEndAllowThreads(__tstate
);
38436 if (PyErr_Occurred()) SWIG_fail
;
38438 resultobj
= SWIG_Py_Void();
38445 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38446 PyObject
*resultobj
= 0;
38447 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38451 PyObject
*swig_obj
[1] ;
38453 if (!args
) SWIG_fail
;
38454 swig_obj
[0] = args
;
38455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38456 if (!SWIG_IsOK(res1
)) {
38457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38459 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38462 result
= (bool)(arg1
)->GetShowHidden();
38463 wxPyEndAllowThreads(__tstate
);
38464 if (PyErr_Occurred()) SWIG_fail
;
38467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38475 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38476 PyObject
*resultobj
= 0;
38477 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38481 PyObject
*swig_obj
[1] ;
38483 if (!args
) SWIG_fail
;
38484 swig_obj
[0] = args
;
38485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38486 if (!SWIG_IsOK(res1
)) {
38487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38489 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38492 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
38493 wxPyEndAllowThreads(__tstate
);
38494 if (PyErr_Occurred()) SWIG_fail
;
38498 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38500 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38509 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38510 PyObject
*resultobj
= 0;
38511 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38512 wxString
*arg2
= 0 ;
38515 bool temp2
= false ;
38516 PyObject
* obj0
= 0 ;
38517 PyObject
* obj1
= 0 ;
38518 char * kwnames
[] = {
38519 (char *) "self",(char *) "filter", NULL
38522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38524 if (!SWIG_IsOK(res1
)) {
38525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38527 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38529 arg2
= wxString_in_helper(obj1
);
38530 if (arg2
== NULL
) SWIG_fail
;
38534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38535 (arg1
)->SetFilter((wxString
const &)*arg2
);
38536 wxPyEndAllowThreads(__tstate
);
38537 if (PyErr_Occurred()) SWIG_fail
;
38539 resultobj
= SWIG_Py_Void();
38554 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38555 PyObject
*resultobj
= 0;
38556 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38560 PyObject
*swig_obj
[1] ;
38562 if (!args
) SWIG_fail
;
38563 swig_obj
[0] = args
;
38564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38565 if (!SWIG_IsOK(res1
)) {
38566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38568 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38571 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
38572 wxPyEndAllowThreads(__tstate
);
38573 if (PyErr_Occurred()) SWIG_fail
;
38575 resultobj
= SWIG_From_int(static_cast< int >(result
));
38582 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38583 PyObject
*resultobj
= 0;
38584 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38590 PyObject
* obj0
= 0 ;
38591 PyObject
* obj1
= 0 ;
38592 char * kwnames
[] = {
38593 (char *) "self",(char *) "n", NULL
38596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38598 if (!SWIG_IsOK(res1
)) {
38599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38601 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38602 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38603 if (!SWIG_IsOK(ecode2
)) {
38604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38606 arg2
= static_cast< int >(val2
);
38608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38609 (arg1
)->SetFilterIndex(arg2
);
38610 wxPyEndAllowThreads(__tstate
);
38611 if (PyErr_Occurred()) SWIG_fail
;
38613 resultobj
= SWIG_Py_Void();
38620 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38621 PyObject
*resultobj
= 0;
38622 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38623 wxTreeItemId result
;
38626 PyObject
*swig_obj
[1] ;
38628 if (!args
) SWIG_fail
;
38629 swig_obj
[0] = args
;
38630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38631 if (!SWIG_IsOK(res1
)) {
38632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38634 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38637 result
= (arg1
)->GetRootId();
38638 wxPyEndAllowThreads(__tstate
);
38639 if (PyErr_Occurred()) SWIG_fail
;
38641 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38648 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38649 PyObject
*resultobj
= 0;
38650 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38651 wxPyTreeCtrl
*result
= 0 ;
38654 PyObject
*swig_obj
[1] ;
38656 if (!args
) SWIG_fail
;
38657 swig_obj
[0] = args
;
38658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38659 if (!SWIG_IsOK(res1
)) {
38660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38662 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38665 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
38666 wxPyEndAllowThreads(__tstate
);
38667 if (PyErr_Occurred()) SWIG_fail
;
38670 resultobj
= wxPyMake_wxObject(result
, 0);
38678 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38679 PyObject
*resultobj
= 0;
38680 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38681 wxDirFilterListCtrl
*result
= 0 ;
38684 PyObject
*swig_obj
[1] ;
38686 if (!args
) SWIG_fail
;
38687 swig_obj
[0] = args
;
38688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38689 if (!SWIG_IsOK(res1
)) {
38690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38692 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38695 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38696 wxPyEndAllowThreads(__tstate
);
38697 if (PyErr_Occurred()) SWIG_fail
;
38699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38706 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38707 PyObject
*resultobj
= 0;
38708 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38709 wxTreeItemId arg2
;
38710 wxString
*arg3
= 0 ;
38712 wxTreeItemId result
;
38717 bool temp3
= false ;
38719 int res4
= SWIG_TMPOBJ
;
38720 PyObject
* obj0
= 0 ;
38721 PyObject
* obj1
= 0 ;
38722 PyObject
* obj2
= 0 ;
38723 char * kwnames
[] = {
38724 (char *) "self",(char *) "parentId",(char *) "path", NULL
38728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38730 if (!SWIG_IsOK(res1
)) {
38731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38733 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38735 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38736 if (!SWIG_IsOK(res2
)) {
38737 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38740 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38742 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38744 if (SWIG_IsNewObj(res2
)) delete temp
;
38748 arg3
= wxString_in_helper(obj2
);
38749 if (arg3
== NULL
) SWIG_fail
;
38753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38754 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38755 wxPyEndAllowThreads(__tstate
);
38756 if (PyErr_Occurred()) SWIG_fail
;
38758 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38759 if (SWIG_IsTmpObj(res4
)) {
38760 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38762 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38763 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38779 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38780 PyObject
*resultobj
= 0;
38781 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38784 PyObject
*swig_obj
[1] ;
38786 if (!args
) SWIG_fail
;
38787 swig_obj
[0] = args
;
38788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38789 if (!SWIG_IsOK(res1
)) {
38790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38792 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38795 (arg1
)->DoResize();
38796 wxPyEndAllowThreads(__tstate
);
38797 if (PyErr_Occurred()) SWIG_fail
;
38799 resultobj
= SWIG_Py_Void();
38806 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38807 PyObject
*resultobj
= 0;
38808 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38811 PyObject
*swig_obj
[1] ;
38813 if (!args
) SWIG_fail
;
38814 swig_obj
[0] = args
;
38815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38816 if (!SWIG_IsOK(res1
)) {
38817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38819 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38822 (arg1
)->ReCreateTree();
38823 wxPyEndAllowThreads(__tstate
);
38824 if (PyErr_Occurred()) SWIG_fail
;
38826 resultobj
= SWIG_Py_Void();
38833 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38835 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38836 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38837 return SWIG_Py_Void();
38840 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38841 return SWIG_Python_InitShadowInstance(args
);
38844 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38845 PyObject
*resultobj
= 0;
38846 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38847 int arg2
= (int) (int)-1 ;
38848 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38849 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38850 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38851 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38852 long arg5
= (long) 0 ;
38853 wxDirFilterListCtrl
*result
= 0 ;
38862 PyObject
* obj0
= 0 ;
38863 PyObject
* obj1
= 0 ;
38864 PyObject
* obj2
= 0 ;
38865 PyObject
* obj3
= 0 ;
38866 PyObject
* obj4
= 0 ;
38867 char * kwnames
[] = {
38868 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38873 if (!SWIG_IsOK(res1
)) {
38874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38876 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38878 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38879 if (!SWIG_IsOK(ecode2
)) {
38880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38882 arg2
= static_cast< int >(val2
);
38887 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38893 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38897 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38898 if (!SWIG_IsOK(ecode5
)) {
38899 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38901 arg5
= static_cast< long >(val5
);
38904 if (!wxPyCheckForApp()) SWIG_fail
;
38905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38906 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38907 wxPyEndAllowThreads(__tstate
);
38908 if (PyErr_Occurred()) SWIG_fail
;
38910 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38917 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38918 PyObject
*resultobj
= 0;
38919 wxDirFilterListCtrl
*result
= 0 ;
38921 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38923 if (!wxPyCheckForApp()) SWIG_fail
;
38924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38925 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38926 wxPyEndAllowThreads(__tstate
);
38927 if (PyErr_Occurred()) SWIG_fail
;
38929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38936 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38937 PyObject
*resultobj
= 0;
38938 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38939 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38940 int arg3
= (int) (int)-1 ;
38941 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38942 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38943 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38944 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38945 long arg6
= (long) 0 ;
38957 PyObject
* obj0
= 0 ;
38958 PyObject
* obj1
= 0 ;
38959 PyObject
* obj2
= 0 ;
38960 PyObject
* obj3
= 0 ;
38961 PyObject
* obj4
= 0 ;
38962 PyObject
* obj5
= 0 ;
38963 char * kwnames
[] = {
38964 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38969 if (!SWIG_IsOK(res1
)) {
38970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38972 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38973 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38974 if (!SWIG_IsOK(res2
)) {
38975 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38977 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38979 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38980 if (!SWIG_IsOK(ecode3
)) {
38981 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38983 arg3
= static_cast< int >(val3
);
38988 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38994 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38998 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38999 if (!SWIG_IsOK(ecode6
)) {
39000 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
39002 arg6
= static_cast< long >(val6
);
39005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39006 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
39007 wxPyEndAllowThreads(__tstate
);
39008 if (PyErr_Occurred()) SWIG_fail
;
39011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39019 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39020 PyObject
*resultobj
= 0;
39021 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
39022 wxString
*arg2
= 0 ;
39026 bool temp2
= false ;
39029 PyObject
* obj0
= 0 ;
39030 PyObject
* obj1
= 0 ;
39031 PyObject
* obj2
= 0 ;
39032 char * kwnames
[] = {
39033 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
39036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
39038 if (!SWIG_IsOK(res1
)) {
39039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
39041 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
39043 arg2
= wxString_in_helper(obj1
);
39044 if (arg2
== NULL
) SWIG_fail
;
39047 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39048 if (!SWIG_IsOK(ecode3
)) {
39049 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
39051 arg3
= static_cast< int >(val3
);
39053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39054 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
39055 wxPyEndAllowThreads(__tstate
);
39056 if (PyErr_Occurred()) SWIG_fail
;
39058 resultobj
= SWIG_Py_Void();
39073 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39075 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39076 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
39077 return SWIG_Py_Void();
39080 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39081 return SWIG_Python_InitShadowInstance(args
);
39084 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39085 PyObject
*resultobj
= 0;
39086 wxWindow
*arg1
= (wxWindow
*) 0 ;
39087 int arg2
= (int) (int)-1 ;
39088 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39089 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39090 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39091 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39092 long arg5
= (long) 0 ;
39093 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
39094 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
39095 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
39096 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
39097 wxPyControl
*result
= 0 ;
39108 bool temp7
= false ;
39109 PyObject
* obj0
= 0 ;
39110 PyObject
* obj1
= 0 ;
39111 PyObject
* obj2
= 0 ;
39112 PyObject
* obj3
= 0 ;
39113 PyObject
* obj4
= 0 ;
39114 PyObject
* obj5
= 0 ;
39115 PyObject
* obj6
= 0 ;
39116 char * kwnames
[] = {
39117 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
39120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
39121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39122 if (!SWIG_IsOK(res1
)) {
39123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
39125 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39127 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39128 if (!SWIG_IsOK(ecode2
)) {
39129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
39131 arg2
= static_cast< int >(val2
);
39136 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39142 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39146 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39147 if (!SWIG_IsOK(ecode5
)) {
39148 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
39150 arg5
= static_cast< long >(val5
);
39153 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
39154 if (!SWIG_IsOK(res6
)) {
39155 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
39158 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
39160 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
39164 arg7
= wxString_in_helper(obj6
);
39165 if (arg7
== NULL
) SWIG_fail
;
39170 if (!wxPyCheckForApp()) SWIG_fail
;
39171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39172 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
39173 wxPyEndAllowThreads(__tstate
);
39174 if (PyErr_Occurred()) SWIG_fail
;
39176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
39191 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39192 PyObject
*resultobj
= 0;
39193 wxPyControl
*result
= 0 ;
39195 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
39197 if (!wxPyCheckForApp()) SWIG_fail
;
39198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39199 result
= (wxPyControl
*)new wxPyControl();
39200 wxPyEndAllowThreads(__tstate
);
39201 if (PyErr_Occurred()) SWIG_fail
;
39203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
39210 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39211 PyObject
*resultobj
= 0;
39212 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39213 PyObject
*arg2
= (PyObject
*) 0 ;
39214 PyObject
*arg3
= (PyObject
*) 0 ;
39217 PyObject
* obj0
= 0 ;
39218 PyObject
* obj1
= 0 ;
39219 PyObject
* obj2
= 0 ;
39220 char * kwnames
[] = {
39221 (char *) "self",(char *) "self",(char *) "_class", NULL
39224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39226 if (!SWIG_IsOK(res1
)) {
39227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
39229 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39234 (arg1
)->_setCallbackInfo(arg2
,arg3
);
39235 wxPyEndAllowThreads(__tstate
);
39236 if (PyErr_Occurred()) SWIG_fail
;
39238 resultobj
= SWIG_Py_Void();
39245 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39246 PyObject
*resultobj
= 0;
39247 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39248 wxDC
*arg2
= (wxDC
*) 0 ;
39254 PyObject
* obj0
= 0 ;
39255 PyObject
* obj1
= 0 ;
39256 char * kwnames
[] = {
39257 (char *) "self",(char *) "dc", NULL
39260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39262 if (!SWIG_IsOK(res1
)) {
39263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
39265 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39266 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
39267 if (!SWIG_IsOK(res2
)) {
39268 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
39270 arg2
= reinterpret_cast< wxDC
* >(argp2
);
39272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39273 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
39274 wxPyEndAllowThreads(__tstate
);
39275 if (PyErr_Occurred()) SWIG_fail
;
39278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39286 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39287 PyObject
*resultobj
= 0;
39288 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39303 PyObject
* obj0
= 0 ;
39304 PyObject
* obj1
= 0 ;
39305 PyObject
* obj2
= 0 ;
39306 PyObject
* obj3
= 0 ;
39307 PyObject
* obj4
= 0 ;
39308 char * kwnames
[] = {
39309 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39314 if (!SWIG_IsOK(res1
)) {
39315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
39317 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39318 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39319 if (!SWIG_IsOK(ecode2
)) {
39320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
39322 arg2
= static_cast< int >(val2
);
39323 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39324 if (!SWIG_IsOK(ecode3
)) {
39325 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
39327 arg3
= static_cast< int >(val3
);
39328 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39329 if (!SWIG_IsOK(ecode4
)) {
39330 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
39332 arg4
= static_cast< int >(val4
);
39333 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39334 if (!SWIG_IsOK(ecode5
)) {
39335 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
39337 arg5
= static_cast< int >(val5
);
39339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39340 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
39341 wxPyEndAllowThreads(__tstate
);
39342 if (PyErr_Occurred()) SWIG_fail
;
39344 resultobj
= SWIG_Py_Void();
39351 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39352 PyObject
*resultobj
= 0;
39353 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39358 int arg6
= (int) wxSIZE_AUTO
;
39371 PyObject
* obj0
= 0 ;
39372 PyObject
* obj1
= 0 ;
39373 PyObject
* obj2
= 0 ;
39374 PyObject
* obj3
= 0 ;
39375 PyObject
* obj4
= 0 ;
39376 PyObject
* obj5
= 0 ;
39377 char * kwnames
[] = {
39378 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
39381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
39382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39383 if (!SWIG_IsOK(res1
)) {
39384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39386 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39387 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39388 if (!SWIG_IsOK(ecode2
)) {
39389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
39391 arg2
= static_cast< int >(val2
);
39392 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39393 if (!SWIG_IsOK(ecode3
)) {
39394 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
39396 arg3
= static_cast< int >(val3
);
39397 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39398 if (!SWIG_IsOK(ecode4
)) {
39399 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39401 arg4
= static_cast< int >(val4
);
39402 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39403 if (!SWIG_IsOK(ecode5
)) {
39404 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39406 arg5
= static_cast< int >(val5
);
39408 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
39409 if (!SWIG_IsOK(ecode6
)) {
39410 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39412 arg6
= static_cast< int >(val6
);
39415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39416 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
39417 wxPyEndAllowThreads(__tstate
);
39418 if (PyErr_Occurred()) SWIG_fail
;
39420 resultobj
= SWIG_Py_Void();
39427 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39428 PyObject
*resultobj
= 0;
39429 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39438 PyObject
* obj0
= 0 ;
39439 PyObject
* obj1
= 0 ;
39440 PyObject
* obj2
= 0 ;
39441 char * kwnames
[] = {
39442 (char *) "self",(char *) "width",(char *) "height", NULL
39445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39447 if (!SWIG_IsOK(res1
)) {
39448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39450 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39451 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39452 if (!SWIG_IsOK(ecode2
)) {
39453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39455 arg2
= static_cast< int >(val2
);
39456 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39457 if (!SWIG_IsOK(ecode3
)) {
39458 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39460 arg3
= static_cast< int >(val3
);
39462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39463 (arg1
)->DoSetClientSize(arg2
,arg3
);
39464 wxPyEndAllowThreads(__tstate
);
39465 if (PyErr_Occurred()) SWIG_fail
;
39467 resultobj
= SWIG_Py_Void();
39474 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39475 PyObject
*resultobj
= 0;
39476 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39485 PyObject
* obj0
= 0 ;
39486 PyObject
* obj1
= 0 ;
39487 PyObject
* obj2
= 0 ;
39488 char * kwnames
[] = {
39489 (char *) "self",(char *) "x",(char *) "y", NULL
39492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39494 if (!SWIG_IsOK(res1
)) {
39495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39497 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39498 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39499 if (!SWIG_IsOK(ecode2
)) {
39500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39502 arg2
= static_cast< int >(val2
);
39503 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39504 if (!SWIG_IsOK(ecode3
)) {
39505 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39507 arg3
= static_cast< int >(val3
);
39509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39510 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
39511 wxPyEndAllowThreads(__tstate
);
39512 if (PyErr_Occurred()) SWIG_fail
;
39514 resultobj
= SWIG_Py_Void();
39521 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39522 PyObject
*resultobj
= 0;
39523 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39524 int *arg2
= (int *) 0 ;
39525 int *arg3
= (int *) 0 ;
39529 int res2
= SWIG_TMPOBJ
;
39531 int res3
= SWIG_TMPOBJ
;
39532 PyObject
*swig_obj
[1] ;
39536 if (!args
) SWIG_fail
;
39537 swig_obj
[0] = args
;
39538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39539 if (!SWIG_IsOK(res1
)) {
39540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39542 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39545 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
39546 wxPyEndAllowThreads(__tstate
);
39547 if (PyErr_Occurred()) SWIG_fail
;
39549 resultobj
= SWIG_Py_Void();
39550 if (SWIG_IsTmpObj(res2
)) {
39551 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39553 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39554 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39556 if (SWIG_IsTmpObj(res3
)) {
39557 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39559 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39560 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39568 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39569 PyObject
*resultobj
= 0;
39570 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39571 int *arg2
= (int *) 0 ;
39572 int *arg3
= (int *) 0 ;
39576 int res2
= SWIG_TMPOBJ
;
39578 int res3
= SWIG_TMPOBJ
;
39579 PyObject
*swig_obj
[1] ;
39583 if (!args
) SWIG_fail
;
39584 swig_obj
[0] = args
;
39585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39586 if (!SWIG_IsOK(res1
)) {
39587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39589 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39592 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
39593 wxPyEndAllowThreads(__tstate
);
39594 if (PyErr_Occurred()) SWIG_fail
;
39596 resultobj
= SWIG_Py_Void();
39597 if (SWIG_IsTmpObj(res2
)) {
39598 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39600 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39601 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39603 if (SWIG_IsTmpObj(res3
)) {
39604 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39606 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39607 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39615 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39616 PyObject
*resultobj
= 0;
39617 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39618 int *arg2
= (int *) 0 ;
39619 int *arg3
= (int *) 0 ;
39623 int res2
= SWIG_TMPOBJ
;
39625 int res3
= SWIG_TMPOBJ
;
39626 PyObject
*swig_obj
[1] ;
39630 if (!args
) SWIG_fail
;
39631 swig_obj
[0] = args
;
39632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39633 if (!SWIG_IsOK(res1
)) {
39634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39636 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39639 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
39640 wxPyEndAllowThreads(__tstate
);
39641 if (PyErr_Occurred()) SWIG_fail
;
39643 resultobj
= SWIG_Py_Void();
39644 if (SWIG_IsTmpObj(res2
)) {
39645 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39647 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39648 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39650 if (SWIG_IsTmpObj(res3
)) {
39651 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39653 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39654 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39662 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39663 PyObject
*resultobj
= 0;
39664 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39668 PyObject
*swig_obj
[1] ;
39670 if (!args
) SWIG_fail
;
39671 swig_obj
[0] = args
;
39672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39673 if (!SWIG_IsOK(res1
)) {
39674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39676 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39679 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39680 wxPyEndAllowThreads(__tstate
);
39681 if (PyErr_Occurred()) SWIG_fail
;
39683 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39690 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39691 PyObject
*resultobj
= 0;
39692 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39696 PyObject
*swig_obj
[1] ;
39698 if (!args
) SWIG_fail
;
39699 swig_obj
[0] = args
;
39700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39701 if (!SWIG_IsOK(res1
)) {
39702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39704 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39707 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39708 wxPyEndAllowThreads(__tstate
);
39709 if (PyErr_Occurred()) SWIG_fail
;
39711 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39718 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39719 PyObject
*resultobj
= 0;
39720 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39721 SwigValueWrapper
<wxVisualAttributes
> result
;
39724 PyObject
*swig_obj
[1] ;
39726 if (!args
) SWIG_fail
;
39727 swig_obj
[0] = args
;
39728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39729 if (!SWIG_IsOK(res1
)) {
39730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39732 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39735 result
= (arg1
)->GetDefaultAttributes();
39736 wxPyEndAllowThreads(__tstate
);
39737 if (PyErr_Occurred()) SWIG_fail
;
39739 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39746 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39747 PyObject
*resultobj
= 0;
39748 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39751 PyObject
*swig_obj
[1] ;
39753 if (!args
) SWIG_fail
;
39754 swig_obj
[0] = args
;
39755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39756 if (!SWIG_IsOK(res1
)) {
39757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39759 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39762 (arg1
)->OnInternalIdle();
39763 wxPyEndAllowThreads(__tstate
);
39764 if (PyErr_Occurred()) SWIG_fail
;
39766 resultobj
= SWIG_Py_Void();
39773 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39775 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39776 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39777 return SWIG_Py_Void();
39780 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39781 return SWIG_Python_InitShadowInstance(args
);
39784 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39785 PyObject
*resultobj
= 0;
39786 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39787 int arg2
= (int) 0 ;
39788 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39789 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39790 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39791 wxHelpEvent
*result
= 0 ;
39799 PyObject
* obj0
= 0 ;
39800 PyObject
* obj1
= 0 ;
39801 PyObject
* obj2
= 0 ;
39802 PyObject
* obj3
= 0 ;
39803 char * kwnames
[] = {
39804 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39809 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39810 if (!SWIG_IsOK(ecode1
)) {
39811 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39813 arg1
= static_cast< wxEventType
>(val1
);
39816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39817 if (!SWIG_IsOK(ecode2
)) {
39818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39820 arg2
= static_cast< int >(val2
);
39825 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39829 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39830 if (!SWIG_IsOK(ecode4
)) {
39831 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39833 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39837 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39838 wxPyEndAllowThreads(__tstate
);
39839 if (PyErr_Occurred()) SWIG_fail
;
39841 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39848 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39849 PyObject
*resultobj
= 0;
39850 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39854 PyObject
*swig_obj
[1] ;
39856 if (!args
) SWIG_fail
;
39857 swig_obj
[0] = args
;
39858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39859 if (!SWIG_IsOK(res1
)) {
39860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39862 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39865 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39866 wxPyEndAllowThreads(__tstate
);
39867 if (PyErr_Occurred()) SWIG_fail
;
39869 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39876 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39877 PyObject
*resultobj
= 0;
39878 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39879 wxPoint
*arg2
= 0 ;
39883 PyObject
* obj0
= 0 ;
39884 PyObject
* obj1
= 0 ;
39885 char * kwnames
[] = {
39886 (char *) "self",(char *) "pos", NULL
39889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39891 if (!SWIG_IsOK(res1
)) {
39892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39894 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39897 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39901 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39902 wxPyEndAllowThreads(__tstate
);
39903 if (PyErr_Occurred()) SWIG_fail
;
39905 resultobj
= SWIG_Py_Void();
39912 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39913 PyObject
*resultobj
= 0;
39914 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39915 wxString
*result
= 0 ;
39918 PyObject
*swig_obj
[1] ;
39920 if (!args
) SWIG_fail
;
39921 swig_obj
[0] = args
;
39922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39923 if (!SWIG_IsOK(res1
)) {
39924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39926 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39930 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39931 result
= (wxString
*) &_result_ref
;
39933 wxPyEndAllowThreads(__tstate
);
39934 if (PyErr_Occurred()) SWIG_fail
;
39938 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39940 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39949 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39950 PyObject
*resultobj
= 0;
39951 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39952 wxString
*arg2
= 0 ;
39955 bool temp2
= false ;
39956 PyObject
* obj0
= 0 ;
39957 PyObject
* obj1
= 0 ;
39958 char * kwnames
[] = {
39959 (char *) "self",(char *) "link", NULL
39962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39964 if (!SWIG_IsOK(res1
)) {
39965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39967 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39969 arg2
= wxString_in_helper(obj1
);
39970 if (arg2
== NULL
) SWIG_fail
;
39974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39975 (arg1
)->SetLink((wxString
const &)*arg2
);
39976 wxPyEndAllowThreads(__tstate
);
39977 if (PyErr_Occurred()) SWIG_fail
;
39979 resultobj
= SWIG_Py_Void();
39994 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39995 PyObject
*resultobj
= 0;
39996 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39997 wxString
*result
= 0 ;
40000 PyObject
*swig_obj
[1] ;
40002 if (!args
) SWIG_fail
;
40003 swig_obj
[0] = args
;
40004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
40005 if (!SWIG_IsOK(res1
)) {
40006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
40008 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
40010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40012 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
40013 result
= (wxString
*) &_result_ref
;
40015 wxPyEndAllowThreads(__tstate
);
40016 if (PyErr_Occurred()) SWIG_fail
;
40020 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
40022 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
40031 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40032 PyObject
*resultobj
= 0;
40033 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
40034 wxString
*arg2
= 0 ;
40037 bool temp2
= false ;
40038 PyObject
* obj0
= 0 ;
40039 PyObject
* obj1
= 0 ;
40040 char * kwnames
[] = {
40041 (char *) "self",(char *) "target", NULL
40044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
40046 if (!SWIG_IsOK(res1
)) {
40047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
40049 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
40051 arg2
= wxString_in_helper(obj1
);
40052 if (arg2
== NULL
) SWIG_fail
;
40056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40057 (arg1
)->SetTarget((wxString
const &)*arg2
);
40058 wxPyEndAllowThreads(__tstate
);
40059 if (PyErr_Occurred()) SWIG_fail
;
40061 resultobj
= SWIG_Py_Void();
40076 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40077 PyObject
*resultobj
= 0;
40078 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
40079 wxHelpEvent::Origin result
;
40082 PyObject
*swig_obj
[1] ;
40084 if (!args
) SWIG_fail
;
40085 swig_obj
[0] = args
;
40086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
40087 if (!SWIG_IsOK(res1
)) {
40088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
40090 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
40092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40093 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
40094 wxPyEndAllowThreads(__tstate
);
40095 if (PyErr_Occurred()) SWIG_fail
;
40097 resultobj
= SWIG_From_int(static_cast< int >(result
));
40104 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40105 PyObject
*resultobj
= 0;
40106 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
40107 wxHelpEvent::Origin arg2
;
40112 PyObject
* obj0
= 0 ;
40113 PyObject
* obj1
= 0 ;
40114 char * kwnames
[] = {
40115 (char *) "self",(char *) "origin", NULL
40118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
40120 if (!SWIG_IsOK(res1
)) {
40121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
40123 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
40124 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40125 if (!SWIG_IsOK(ecode2
)) {
40126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
40128 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
40130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40131 (arg1
)->SetOrigin(arg2
);
40132 wxPyEndAllowThreads(__tstate
);
40133 if (PyErr_Occurred()) SWIG_fail
;
40135 resultobj
= SWIG_Py_Void();
40142 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40144 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40145 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
40146 return SWIG_Py_Void();
40149 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40150 return SWIG_Python_InitShadowInstance(args
);
40153 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40154 PyObject
*resultobj
= 0;
40155 wxWindow
*arg1
= (wxWindow
*) NULL
;
40156 bool arg2
= (bool) true ;
40157 wxContextHelp
*result
= 0 ;
40162 PyObject
* obj0
= 0 ;
40163 PyObject
* obj1
= 0 ;
40164 char * kwnames
[] = {
40165 (char *) "window",(char *) "doNow", NULL
40168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40171 if (!SWIG_IsOK(res1
)) {
40172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
40174 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40177 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
40178 if (!SWIG_IsOK(ecode2
)) {
40179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
40181 arg2
= static_cast< bool >(val2
);
40184 if (!wxPyCheckForApp()) SWIG_fail
;
40185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40186 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
40187 wxPyEndAllowThreads(__tstate
);
40188 if (PyErr_Occurred()) SWIG_fail
;
40190 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
40197 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40198 PyObject
*resultobj
= 0;
40199 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40202 PyObject
*swig_obj
[1] ;
40204 if (!args
) SWIG_fail
;
40205 swig_obj
[0] = args
;
40206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
40207 if (!SWIG_IsOK(res1
)) {
40208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40210 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40215 wxPyEndAllowThreads(__tstate
);
40216 if (PyErr_Occurred()) SWIG_fail
;
40218 resultobj
= SWIG_Py_Void();
40225 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40226 PyObject
*resultobj
= 0;
40227 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40228 wxWindow
*arg2
= (wxWindow
*) NULL
;
40234 PyObject
* obj0
= 0 ;
40235 PyObject
* obj1
= 0 ;
40236 char * kwnames
[] = {
40237 (char *) "self",(char *) "window", NULL
40240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
40242 if (!SWIG_IsOK(res1
)) {
40243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40245 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40247 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40248 if (!SWIG_IsOK(res2
)) {
40249 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40251 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40255 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
40256 wxPyEndAllowThreads(__tstate
);
40257 if (PyErr_Occurred()) SWIG_fail
;
40260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40268 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40269 PyObject
*resultobj
= 0;
40270 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40274 PyObject
*swig_obj
[1] ;
40276 if (!args
) SWIG_fail
;
40277 swig_obj
[0] = args
;
40278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
40279 if (!SWIG_IsOK(res1
)) {
40280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40282 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40285 result
= (bool)(arg1
)->EndContextHelp();
40286 wxPyEndAllowThreads(__tstate
);
40287 if (PyErr_Occurred()) SWIG_fail
;
40290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40298 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40300 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40301 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
40302 return SWIG_Py_Void();
40305 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40306 return SWIG_Python_InitShadowInstance(args
);
40309 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40310 PyObject
*resultobj
= 0;
40311 wxWindow
*arg1
= (wxWindow
*) 0 ;
40312 int arg2
= (int) wxID_CONTEXT_HELP
;
40313 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
40314 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
40315 wxSize
const &arg4_defvalue
= wxDefaultSize
;
40316 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
40317 long arg5
= (long) wxBU_AUTODRAW
;
40318 wxContextHelpButton
*result
= 0 ;
40327 PyObject
* obj0
= 0 ;
40328 PyObject
* obj1
= 0 ;
40329 PyObject
* obj2
= 0 ;
40330 PyObject
* obj3
= 0 ;
40331 PyObject
* obj4
= 0 ;
40332 char * kwnames
[] = {
40333 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
40336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40338 if (!SWIG_IsOK(res1
)) {
40339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
40341 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40343 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40344 if (!SWIG_IsOK(ecode2
)) {
40345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
40347 arg2
= static_cast< int >(val2
);
40352 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40358 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
40362 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
40363 if (!SWIG_IsOK(ecode5
)) {
40364 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
40366 arg5
= static_cast< long >(val5
);
40369 if (!wxPyCheckForApp()) SWIG_fail
;
40370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40371 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
40372 wxPyEndAllowThreads(__tstate
);
40373 if (PyErr_Occurred()) SWIG_fail
;
40375 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
40382 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40384 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40385 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
40386 return SWIG_Py_Void();
40389 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40390 return SWIG_Python_InitShadowInstance(args
);
40393 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40394 PyObject
*resultobj
= 0;
40395 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40398 PyObject
*swig_obj
[1] ;
40400 if (!args
) SWIG_fail
;
40401 swig_obj
[0] = args
;
40402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40403 if (!SWIG_IsOK(res1
)) {
40404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40406 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40411 wxPyEndAllowThreads(__tstate
);
40412 if (PyErr_Occurred()) SWIG_fail
;
40414 resultobj
= SWIG_Py_Void();
40421 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40422 PyObject
*resultobj
= 0;
40423 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40424 wxHelpProvider
*result
= 0 ;
40426 PyObject
* obj0
= 0 ;
40427 char * kwnames
[] = {
40428 (char *) "helpProvider", NULL
40431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
40432 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40433 if (!SWIG_IsOK(res1
)) {
40434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40438 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
40439 wxPyEndAllowThreads(__tstate
);
40440 if (PyErr_Occurred()) SWIG_fail
;
40442 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
40449 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40450 PyObject
*resultobj
= 0;
40451 wxHelpProvider
*result
= 0 ;
40453 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
40455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40456 result
= (wxHelpProvider
*)wxHelpProvider::Get();
40457 wxPyEndAllowThreads(__tstate
);
40458 if (PyErr_Occurred()) SWIG_fail
;
40460 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40467 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40468 PyObject
*resultobj
= 0;
40469 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40470 wxWindow
*arg2
= (wxWindow
*) 0 ;
40476 PyObject
* obj0
= 0 ;
40477 PyObject
* obj1
= 0 ;
40478 char * kwnames
[] = {
40479 (char *) "self",(char *) "window", NULL
40482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40484 if (!SWIG_IsOK(res1
)) {
40485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40487 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40488 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40489 if (!SWIG_IsOK(res2
)) {
40490 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40492 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40495 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
40496 wxPyEndAllowThreads(__tstate
);
40497 if (PyErr_Occurred()) SWIG_fail
;
40501 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40503 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40512 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40513 PyObject
*resultobj
= 0;
40514 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40515 wxWindow
*arg2
= (wxWindow
*) 0 ;
40521 PyObject
* obj0
= 0 ;
40522 PyObject
* obj1
= 0 ;
40523 char * kwnames
[] = {
40524 (char *) "self",(char *) "window", NULL
40527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40529 if (!SWIG_IsOK(res1
)) {
40530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40532 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40533 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40534 if (!SWIG_IsOK(res2
)) {
40535 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40537 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40540 result
= (bool)(arg1
)->ShowHelp(arg2
);
40541 wxPyEndAllowThreads(__tstate
);
40542 if (PyErr_Occurred()) SWIG_fail
;
40545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40553 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40554 PyObject
*resultobj
= 0;
40555 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40556 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
40557 wxPoint
*arg3
= 0 ;
40558 wxHelpEvent::Origin arg4
;
40567 PyObject
* obj0
= 0 ;
40568 PyObject
* obj1
= 0 ;
40569 PyObject
* obj2
= 0 ;
40570 PyObject
* obj3
= 0 ;
40571 char * kwnames
[] = {
40572 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40577 if (!SWIG_IsOK(res1
)) {
40578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40580 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40581 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
40582 if (!SWIG_IsOK(res2
)) {
40583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40585 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
40588 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40590 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
40591 if (!SWIG_IsOK(ecode4
)) {
40592 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40594 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
40596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40597 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
40598 wxPyEndAllowThreads(__tstate
);
40599 if (PyErr_Occurred()) SWIG_fail
;
40602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40610 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40611 PyObject
*resultobj
= 0;
40612 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40613 wxWindow
*arg2
= (wxWindow
*) 0 ;
40614 wxString
*arg3
= 0 ;
40619 bool temp3
= false ;
40620 PyObject
* obj0
= 0 ;
40621 PyObject
* obj1
= 0 ;
40622 PyObject
* obj2
= 0 ;
40623 char * kwnames
[] = {
40624 (char *) "self",(char *) "window",(char *) "text", NULL
40627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40629 if (!SWIG_IsOK(res1
)) {
40630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40632 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40633 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40634 if (!SWIG_IsOK(res2
)) {
40635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40637 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40639 arg3
= wxString_in_helper(obj2
);
40640 if (arg3
== NULL
) SWIG_fail
;
40644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40645 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40646 wxPyEndAllowThreads(__tstate
);
40647 if (PyErr_Occurred()) SWIG_fail
;
40649 resultobj
= SWIG_Py_Void();
40664 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40665 PyObject
*resultobj
= 0;
40666 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40668 wxString
*arg3
= 0 ;
40673 bool temp3
= false ;
40674 PyObject
* obj0
= 0 ;
40675 PyObject
* obj1
= 0 ;
40676 PyObject
* obj2
= 0 ;
40677 char * kwnames
[] = {
40678 (char *) "self",(char *) "id",(char *) "text", NULL
40681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40683 if (!SWIG_IsOK(res1
)) {
40684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40686 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40687 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40688 if (!SWIG_IsOK(ecode2
)) {
40689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40691 arg2
= static_cast< int >(val2
);
40693 arg3
= wxString_in_helper(obj2
);
40694 if (arg3
== NULL
) SWIG_fail
;
40698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40699 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40700 wxPyEndAllowThreads(__tstate
);
40701 if (PyErr_Occurred()) SWIG_fail
;
40703 resultobj
= SWIG_Py_Void();
40718 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40719 PyObject
*resultobj
= 0;
40720 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40721 wxWindow
*arg2
= (wxWindow
*) 0 ;
40726 PyObject
* obj0
= 0 ;
40727 PyObject
* obj1
= 0 ;
40728 char * kwnames
[] = {
40729 (char *) "self",(char *) "window", NULL
40732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40734 if (!SWIG_IsOK(res1
)) {
40735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40737 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40738 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40739 if (!SWIG_IsOK(res2
)) {
40740 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40742 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40745 (arg1
)->RemoveHelp(arg2
);
40746 wxPyEndAllowThreads(__tstate
);
40747 if (PyErr_Occurred()) SWIG_fail
;
40749 resultobj
= SWIG_Py_Void();
40756 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40757 PyObject
*resultobj
= 0;
40758 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40761 PyObject
*swig_obj
[1] ;
40763 if (!args
) SWIG_fail
;
40764 swig_obj
[0] = args
;
40765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40766 if (!SWIG_IsOK(res1
)) {
40767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40769 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40772 wxHelpProvider_Destroy(arg1
);
40773 wxPyEndAllowThreads(__tstate
);
40774 if (PyErr_Occurred()) SWIG_fail
;
40776 resultobj
= SWIG_Py_Void();
40783 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40785 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40786 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40787 return SWIG_Py_Void();
40790 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40791 PyObject
*resultobj
= 0;
40792 wxSimpleHelpProvider
*result
= 0 ;
40794 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40797 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40798 wxPyEndAllowThreads(__tstate
);
40799 if (PyErr_Occurred()) SWIG_fail
;
40801 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40808 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40810 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40811 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40812 return SWIG_Py_Void();
40815 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40816 return SWIG_Python_InitShadowInstance(args
);
40819 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40820 PyObject
*resultobj
= 0;
40821 wxBitmap
*arg1
= 0 ;
40822 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40823 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40824 wxGenericDragImage
*result
= 0 ;
40829 PyObject
* obj0
= 0 ;
40830 PyObject
* obj1
= 0 ;
40831 char * kwnames
[] = {
40832 (char *) "image",(char *) "cursor", NULL
40835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40836 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40837 if (!SWIG_IsOK(res1
)) {
40838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40841 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40843 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40845 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40846 if (!SWIG_IsOK(res2
)) {
40847 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40850 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40852 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40855 if (!wxPyCheckForApp()) SWIG_fail
;
40856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40857 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40858 wxPyEndAllowThreads(__tstate
);
40859 if (PyErr_Occurred()) SWIG_fail
;
40861 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40868 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40869 PyObject
*resultobj
= 0;
40871 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40872 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40873 wxGenericDragImage
*result
= 0 ;
40878 PyObject
* obj0
= 0 ;
40879 PyObject
* obj1
= 0 ;
40880 char * kwnames
[] = {
40881 (char *) "image",(char *) "cursor", NULL
40884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40885 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40886 if (!SWIG_IsOK(res1
)) {
40887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40890 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40892 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40894 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40895 if (!SWIG_IsOK(res2
)) {
40896 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40899 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40901 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40904 if (!wxPyCheckForApp()) SWIG_fail
;
40905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40906 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40907 wxPyEndAllowThreads(__tstate
);
40908 if (PyErr_Occurred()) SWIG_fail
;
40910 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40917 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40918 PyObject
*resultobj
= 0;
40919 wxString
*arg1
= 0 ;
40920 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40921 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40922 wxGenericDragImage
*result
= 0 ;
40923 bool temp1
= false ;
40926 PyObject
* obj0
= 0 ;
40927 PyObject
* obj1
= 0 ;
40928 char * kwnames
[] = {
40929 (char *) "str",(char *) "cursor", NULL
40932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40934 arg1
= wxString_in_helper(obj0
);
40935 if (arg1
== NULL
) SWIG_fail
;
40939 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40940 if (!SWIG_IsOK(res2
)) {
40941 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40944 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40946 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40949 if (!wxPyCheckForApp()) SWIG_fail
;
40950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40951 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40952 wxPyEndAllowThreads(__tstate
);
40953 if (PyErr_Occurred()) SWIG_fail
;
40955 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40970 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40971 PyObject
*resultobj
= 0;
40972 wxPyTreeCtrl
*arg1
= 0 ;
40973 wxTreeItemId
*arg2
= 0 ;
40974 wxGenericDragImage
*result
= 0 ;
40979 PyObject
* obj0
= 0 ;
40980 PyObject
* obj1
= 0 ;
40981 char * kwnames
[] = {
40982 (char *) "treeCtrl",(char *) "id", NULL
40985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40986 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40987 if (!SWIG_IsOK(res1
)) {
40988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40991 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40993 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40994 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40995 if (!SWIG_IsOK(res2
)) {
40996 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40999 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
41001 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
41003 if (!wxPyCheckForApp()) SWIG_fail
;
41004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41005 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
41006 wxPyEndAllowThreads(__tstate
);
41007 if (PyErr_Occurred()) SWIG_fail
;
41009 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
41016 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41017 PyObject
*resultobj
= 0;
41018 wxPyListCtrl
*arg1
= 0 ;
41020 wxGenericDragImage
*result
= 0 ;
41025 PyObject
* obj0
= 0 ;
41026 PyObject
* obj1
= 0 ;
41027 char * kwnames
[] = {
41028 (char *) "listCtrl",(char *) "id", NULL
41031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41032 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
41033 if (!SWIG_IsOK(res1
)) {
41034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
41037 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
41039 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
41040 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
41041 if (!SWIG_IsOK(ecode2
)) {
41042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
41044 arg2
= static_cast< long >(val2
);
41046 if (!wxPyCheckForApp()) SWIG_fail
;
41047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41048 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
41049 wxPyEndAllowThreads(__tstate
);
41050 if (PyErr_Occurred()) SWIG_fail
;
41052 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
41059 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41060 PyObject
*resultobj
= 0;
41061 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41064 PyObject
*swig_obj
[1] ;
41066 if (!args
) SWIG_fail
;
41067 swig_obj
[0] = args
;
41068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
41069 if (!SWIG_IsOK(res1
)) {
41070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41072 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41077 wxPyEndAllowThreads(__tstate
);
41078 if (PyErr_Occurred()) SWIG_fail
;
41080 resultobj
= SWIG_Py_Void();
41087 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41088 PyObject
*resultobj
= 0;
41089 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41090 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
41095 PyObject
* obj0
= 0 ;
41096 PyObject
* obj1
= 0 ;
41097 char * kwnames
[] = {
41098 (char *) "self",(char *) "bitmap", NULL
41101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41103 if (!SWIG_IsOK(res1
)) {
41104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41106 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41107 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
41108 if (!SWIG_IsOK(res2
)) {
41109 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
41111 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
41113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41114 (arg1
)->SetBackingBitmap(arg2
);
41115 wxPyEndAllowThreads(__tstate
);
41116 if (PyErr_Occurred()) SWIG_fail
;
41118 resultobj
= SWIG_Py_Void();
41125 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41126 PyObject
*resultobj
= 0;
41127 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41128 wxPoint
*arg2
= 0 ;
41129 wxWindow
*arg3
= (wxWindow
*) 0 ;
41130 bool arg4
= (bool) false ;
41131 wxRect
*arg5
= (wxRect
*) NULL
;
41142 PyObject
* obj0
= 0 ;
41143 PyObject
* obj1
= 0 ;
41144 PyObject
* obj2
= 0 ;
41145 PyObject
* obj3
= 0 ;
41146 PyObject
* obj4
= 0 ;
41147 char * kwnames
[] = {
41148 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
41151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41153 if (!SWIG_IsOK(res1
)) {
41154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41156 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41159 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41161 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41162 if (!SWIG_IsOK(res3
)) {
41163 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
41165 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
41167 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41168 if (!SWIG_IsOK(ecode4
)) {
41169 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
41171 arg4
= static_cast< bool >(val4
);
41174 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
41175 if (!SWIG_IsOK(res5
)) {
41176 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
41178 arg5
= reinterpret_cast< wxRect
* >(argp5
);
41181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41182 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
41183 wxPyEndAllowThreads(__tstate
);
41184 if (PyErr_Occurred()) SWIG_fail
;
41187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41195 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41196 PyObject
*resultobj
= 0;
41197 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41198 wxPoint
*arg2
= 0 ;
41199 wxWindow
*arg3
= (wxWindow
*) 0 ;
41200 wxWindow
*arg4
= (wxWindow
*) 0 ;
41209 PyObject
* obj0
= 0 ;
41210 PyObject
* obj1
= 0 ;
41211 PyObject
* obj2
= 0 ;
41212 PyObject
* obj3
= 0 ;
41213 char * kwnames
[] = {
41214 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
41217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
41218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41219 if (!SWIG_IsOK(res1
)) {
41220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41222 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41225 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41227 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41228 if (!SWIG_IsOK(res3
)) {
41229 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
41231 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
41232 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41233 if (!SWIG_IsOK(res4
)) {
41234 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
41236 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
41238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41239 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
41240 wxPyEndAllowThreads(__tstate
);
41241 if (PyErr_Occurred()) SWIG_fail
;
41244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41252 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41253 PyObject
*resultobj
= 0;
41254 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41258 PyObject
*swig_obj
[1] ;
41260 if (!args
) SWIG_fail
;
41261 swig_obj
[0] = args
;
41262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41263 if (!SWIG_IsOK(res1
)) {
41264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41266 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41269 result
= (bool)(arg1
)->EndDrag();
41270 wxPyEndAllowThreads(__tstate
);
41271 if (PyErr_Occurred()) SWIG_fail
;
41274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41282 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41283 PyObject
*resultobj
= 0;
41284 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41285 wxPoint
*arg2
= 0 ;
41290 PyObject
* obj0
= 0 ;
41291 PyObject
* obj1
= 0 ;
41292 char * kwnames
[] = {
41293 (char *) "self",(char *) "pt", NULL
41296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41298 if (!SWIG_IsOK(res1
)) {
41299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41301 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41304 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41308 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
41309 wxPyEndAllowThreads(__tstate
);
41310 if (PyErr_Occurred()) SWIG_fail
;
41313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41321 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41322 PyObject
*resultobj
= 0;
41323 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41327 PyObject
*swig_obj
[1] ;
41329 if (!args
) SWIG_fail
;
41330 swig_obj
[0] = args
;
41331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41332 if (!SWIG_IsOK(res1
)) {
41333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41335 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41338 result
= (bool)(arg1
)->Show();
41339 wxPyEndAllowThreads(__tstate
);
41340 if (PyErr_Occurred()) SWIG_fail
;
41343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41351 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41352 PyObject
*resultobj
= 0;
41353 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41357 PyObject
*swig_obj
[1] ;
41359 if (!args
) SWIG_fail
;
41360 swig_obj
[0] = args
;
41361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41362 if (!SWIG_IsOK(res1
)) {
41363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41365 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41368 result
= (bool)(arg1
)->Hide();
41369 wxPyEndAllowThreads(__tstate
);
41370 if (PyErr_Occurred()) SWIG_fail
;
41373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41381 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41382 PyObject
*resultobj
= 0;
41383 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41384 wxPoint
*arg2
= 0 ;
41389 PyObject
* obj0
= 0 ;
41390 PyObject
* obj1
= 0 ;
41391 char * kwnames
[] = {
41392 (char *) "self",(char *) "pos", NULL
41395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41397 if (!SWIG_IsOK(res1
)) {
41398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41400 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41403 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41407 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
41408 wxPyEndAllowThreads(__tstate
);
41409 if (PyErr_Occurred()) SWIG_fail
;
41411 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
41418 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41419 PyObject
*resultobj
= 0;
41420 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41422 wxPoint
*arg3
= 0 ;
41429 PyObject
* obj0
= 0 ;
41430 PyObject
* obj1
= 0 ;
41431 PyObject
* obj2
= 0 ;
41432 char * kwnames
[] = {
41433 (char *) "self",(char *) "dc",(char *) "pos", NULL
41436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41438 if (!SWIG_IsOK(res1
)) {
41439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41441 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41442 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41443 if (!SWIG_IsOK(res2
)) {
41444 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41447 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41449 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41452 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41456 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
41457 wxPyEndAllowThreads(__tstate
);
41458 if (PyErr_Occurred()) SWIG_fail
;
41461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41469 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41470 PyObject
*resultobj
= 0;
41471 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41473 wxMemoryDC
*arg3
= 0 ;
41485 PyObject
* obj0
= 0 ;
41486 PyObject
* obj1
= 0 ;
41487 PyObject
* obj2
= 0 ;
41488 PyObject
* obj3
= 0 ;
41489 PyObject
* obj4
= 0 ;
41490 char * kwnames
[] = {
41491 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41496 if (!SWIG_IsOK(res1
)) {
41497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41499 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41500 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41501 if (!SWIG_IsOK(res2
)) {
41502 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41505 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41507 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41508 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
41509 if (!SWIG_IsOK(res3
)) {
41510 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41513 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41515 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
41518 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
41522 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
41525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41526 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
41527 wxPyEndAllowThreads(__tstate
);
41528 if (PyErr_Occurred()) SWIG_fail
;
41531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41539 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41540 PyObject
*resultobj
= 0;
41541 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41542 wxPoint
*arg2
= 0 ;
41543 wxPoint
*arg3
= 0 ;
41555 PyObject
* obj0
= 0 ;
41556 PyObject
* obj1
= 0 ;
41557 PyObject
* obj2
= 0 ;
41558 PyObject
* obj3
= 0 ;
41559 PyObject
* obj4
= 0 ;
41560 char * kwnames
[] = {
41561 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41566 if (!SWIG_IsOK(res1
)) {
41567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41569 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41572 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41576 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41578 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41579 if (!SWIG_IsOK(ecode4
)) {
41580 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41582 arg4
= static_cast< bool >(val4
);
41583 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
41584 if (!SWIG_IsOK(ecode5
)) {
41585 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41587 arg5
= static_cast< bool >(val5
);
41589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41590 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
41591 wxPyEndAllowThreads(__tstate
);
41592 if (PyErr_Occurred()) SWIG_fail
;
41595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41603 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41605 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41606 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
41607 return SWIG_Py_Void();
41610 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41611 return SWIG_Python_InitShadowInstance(args
);
41614 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
41615 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
41620 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
41621 PyObject
*pyobj
= 0;
41625 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41627 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41634 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41635 PyObject
*resultobj
= 0;
41636 wxWindow
*arg1
= (wxWindow
*) 0 ;
41637 int arg2
= (int) -1 ;
41638 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
41639 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
41640 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
41641 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
41642 wxSize
const &arg5_defvalue
= wxDefaultSize
;
41643 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
41644 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41645 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
41646 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
41647 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
41648 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41649 wxDatePickerCtrl
*result
= 0 ;
41662 bool temp8
= false ;
41663 PyObject
* obj0
= 0 ;
41664 PyObject
* obj1
= 0 ;
41665 PyObject
* obj2
= 0 ;
41666 PyObject
* obj3
= 0 ;
41667 PyObject
* obj4
= 0 ;
41668 PyObject
* obj5
= 0 ;
41669 PyObject
* obj6
= 0 ;
41670 PyObject
* obj7
= 0 ;
41671 char * kwnames
[] = {
41672 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41677 if (!SWIG_IsOK(res1
)) {
41678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41680 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41682 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41683 if (!SWIG_IsOK(ecode2
)) {
41684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41686 arg2
= static_cast< int >(val2
);
41689 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41690 if (!SWIG_IsOK(res3
)) {
41691 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41694 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41696 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41701 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41707 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41711 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41712 if (!SWIG_IsOK(ecode6
)) {
41713 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41715 arg6
= static_cast< long >(val6
);
41718 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41719 if (!SWIG_IsOK(res7
)) {
41720 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41723 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41725 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41729 arg8
= wxString_in_helper(obj7
);
41730 if (arg8
== NULL
) SWIG_fail
;
41735 if (!wxPyCheckForApp()) SWIG_fail
;
41736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41737 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41738 wxPyEndAllowThreads(__tstate
);
41739 if (PyErr_Occurred()) SWIG_fail
;
41741 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41756 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41757 PyObject
*resultobj
= 0;
41758 wxDatePickerCtrl
*result
= 0 ;
41760 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41762 if (!wxPyCheckForApp()) SWIG_fail
;
41763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41764 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41765 wxPyEndAllowThreads(__tstate
);
41766 if (PyErr_Occurred()) SWIG_fail
;
41768 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41775 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41776 PyObject
*resultobj
= 0;
41777 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41778 wxWindow
*arg2
= (wxWindow
*) 0 ;
41779 int arg3
= (int) -1 ;
41780 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41781 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41782 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41783 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41784 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41785 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41786 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41787 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41788 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41789 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41790 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41806 bool temp9
= false ;
41807 PyObject
* obj0
= 0 ;
41808 PyObject
* obj1
= 0 ;
41809 PyObject
* obj2
= 0 ;
41810 PyObject
* obj3
= 0 ;
41811 PyObject
* obj4
= 0 ;
41812 PyObject
* obj5
= 0 ;
41813 PyObject
* obj6
= 0 ;
41814 PyObject
* obj7
= 0 ;
41815 PyObject
* obj8
= 0 ;
41816 char * kwnames
[] = {
41817 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41822 if (!SWIG_IsOK(res1
)) {
41823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41825 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41826 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41827 if (!SWIG_IsOK(res2
)) {
41828 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41830 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41832 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41833 if (!SWIG_IsOK(ecode3
)) {
41834 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41836 arg3
= static_cast< int >(val3
);
41839 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41840 if (!SWIG_IsOK(res4
)) {
41841 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41844 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41846 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41851 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41857 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41861 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41862 if (!SWIG_IsOK(ecode7
)) {
41863 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41865 arg7
= static_cast< long >(val7
);
41868 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41869 if (!SWIG_IsOK(res8
)) {
41870 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41873 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41875 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41879 arg9
= wxString_in_helper(obj8
);
41880 if (arg9
== NULL
) SWIG_fail
;
41885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41886 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41887 wxPyEndAllowThreads(__tstate
);
41888 if (PyErr_Occurred()) SWIG_fail
;
41891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41907 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41908 PyObject
*resultobj
= 0;
41909 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41910 wxDateTime
*arg2
= 0 ;
41915 PyObject
* obj0
= 0 ;
41916 PyObject
* obj1
= 0 ;
41917 char * kwnames
[] = {
41918 (char *) "self",(char *) "dt", NULL
41921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41923 if (!SWIG_IsOK(res1
)) {
41924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41926 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41927 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41928 if (!SWIG_IsOK(res2
)) {
41929 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41932 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41934 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41937 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41938 wxPyEndAllowThreads(__tstate
);
41939 if (PyErr_Occurred()) SWIG_fail
;
41941 resultobj
= SWIG_Py_Void();
41948 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41949 PyObject
*resultobj
= 0;
41950 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41954 PyObject
*swig_obj
[1] ;
41956 if (!args
) SWIG_fail
;
41957 swig_obj
[0] = args
;
41958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41959 if (!SWIG_IsOK(res1
)) {
41960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41962 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41965 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41966 wxPyEndAllowThreads(__tstate
);
41967 if (PyErr_Occurred()) SWIG_fail
;
41969 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41976 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41977 PyObject
*resultobj
= 0;
41978 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41979 wxDateTime
*arg2
= 0 ;
41980 wxDateTime
*arg3
= 0 ;
41987 PyObject
* obj0
= 0 ;
41988 PyObject
* obj1
= 0 ;
41989 PyObject
* obj2
= 0 ;
41990 char * kwnames
[] = {
41991 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41996 if (!SWIG_IsOK(res1
)) {
41997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41999 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
42000 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
42001 if (!SWIG_IsOK(res2
)) {
42002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
42005 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
42007 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
42008 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
42009 if (!SWIG_IsOK(res3
)) {
42010 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
42013 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
42015 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
42017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42018 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
42019 wxPyEndAllowThreads(__tstate
);
42020 if (PyErr_Occurred()) SWIG_fail
;
42022 resultobj
= SWIG_Py_Void();
42029 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42030 PyObject
*resultobj
= 0;
42031 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
42035 PyObject
*swig_obj
[1] ;
42037 if (!args
) SWIG_fail
;
42038 swig_obj
[0] = args
;
42039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
42040 if (!SWIG_IsOK(res1
)) {
42041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
42043 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
42045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42046 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
42047 wxPyEndAllowThreads(__tstate
);
42048 if (PyErr_Occurred()) SWIG_fail
;
42050 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
42057 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42058 PyObject
*resultobj
= 0;
42059 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
42063 PyObject
*swig_obj
[1] ;
42065 if (!args
) SWIG_fail
;
42066 swig_obj
[0] = args
;
42067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
42068 if (!SWIG_IsOK(res1
)) {
42069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
42071 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
42073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42074 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
42075 wxPyEndAllowThreads(__tstate
);
42076 if (PyErr_Occurred()) SWIG_fail
;
42078 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
42085 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42087 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42088 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
42089 return SWIG_Py_Void();
42092 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42093 return SWIG_Python_InitShadowInstance(args
);
42096 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
42097 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
42102 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
42103 PyObject
*pyobj
= 0;
42107 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
42109 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
42116 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42117 PyObject
*resultobj
= 0;
42118 wxWindow
*arg1
= (wxWindow
*) 0 ;
42120 wxString
*arg3
= 0 ;
42121 wxString
*arg4
= 0 ;
42122 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42123 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42124 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42125 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42126 long arg7
= (long) wxHL_DEFAULT_STYLE
;
42127 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
42128 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
42129 wxHyperlinkCtrl
*result
= 0 ;
42134 bool temp3
= false ;
42135 bool temp4
= false ;
42140 bool temp8
= false ;
42141 PyObject
* obj0
= 0 ;
42142 PyObject
* obj1
= 0 ;
42143 PyObject
* obj2
= 0 ;
42144 PyObject
* obj3
= 0 ;
42145 PyObject
* obj4
= 0 ;
42146 PyObject
* obj5
= 0 ;
42147 PyObject
* obj6
= 0 ;
42148 PyObject
* obj7
= 0 ;
42149 char * kwnames
[] = {
42150 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
42154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42155 if (!SWIG_IsOK(res1
)) {
42156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
42158 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
42159 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42160 if (!SWIG_IsOK(ecode2
)) {
42161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
42163 arg2
= static_cast< int >(val2
);
42165 arg3
= wxString_in_helper(obj2
);
42166 if (arg3
== NULL
) SWIG_fail
;
42170 arg4
= wxString_in_helper(obj3
);
42171 if (arg4
== NULL
) SWIG_fail
;
42177 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42183 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42187 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42188 if (!SWIG_IsOK(ecode7
)) {
42189 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
42191 arg7
= static_cast< long >(val7
);
42195 arg8
= wxString_in_helper(obj7
);
42196 if (arg8
== NULL
) SWIG_fail
;
42201 if (!wxPyCheckForApp()) SWIG_fail
;
42202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42203 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
42204 wxPyEndAllowThreads(__tstate
);
42205 if (PyErr_Occurred()) SWIG_fail
;
42207 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
42238 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42239 PyObject
*resultobj
= 0;
42240 wxHyperlinkCtrl
*result
= 0 ;
42242 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
42244 if (!wxPyCheckForApp()) SWIG_fail
;
42245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42246 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
42247 wxPyEndAllowThreads(__tstate
);
42248 if (PyErr_Occurred()) SWIG_fail
;
42250 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
42257 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42258 PyObject
*resultobj
= 0;
42259 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42260 wxWindow
*arg2
= (wxWindow
*) 0 ;
42262 wxString
*arg4
= 0 ;
42263 wxString
*arg5
= 0 ;
42264 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
42265 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
42266 wxSize
const &arg7_defvalue
= wxDefaultSize
;
42267 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
42268 long arg8
= (long) wxHL_DEFAULT_STYLE
;
42269 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
42270 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42278 bool temp4
= false ;
42279 bool temp5
= false ;
42284 bool temp9
= false ;
42285 PyObject
* obj0
= 0 ;
42286 PyObject
* obj1
= 0 ;
42287 PyObject
* obj2
= 0 ;
42288 PyObject
* obj3
= 0 ;
42289 PyObject
* obj4
= 0 ;
42290 PyObject
* obj5
= 0 ;
42291 PyObject
* obj6
= 0 ;
42292 PyObject
* obj7
= 0 ;
42293 PyObject
* obj8
= 0 ;
42294 char * kwnames
[] = {
42295 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42300 if (!SWIG_IsOK(res1
)) {
42301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42303 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42304 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42305 if (!SWIG_IsOK(res2
)) {
42306 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42308 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42309 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42310 if (!SWIG_IsOK(ecode3
)) {
42311 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42313 arg3
= static_cast< int >(val3
);
42315 arg4
= wxString_in_helper(obj3
);
42316 if (arg4
== NULL
) SWIG_fail
;
42320 arg5
= wxString_in_helper(obj4
);
42321 if (arg5
== NULL
) SWIG_fail
;
42327 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
42333 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
42337 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
42338 if (!SWIG_IsOK(ecode8
)) {
42339 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
42341 arg8
= static_cast< long >(val8
);
42345 arg9
= wxString_in_helper(obj8
);
42346 if (arg9
== NULL
) SWIG_fail
;
42351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42352 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
42353 wxPyEndAllowThreads(__tstate
);
42354 if (PyErr_Occurred()) SWIG_fail
;
42357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42389 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42390 PyObject
*resultobj
= 0;
42391 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42395 PyObject
*swig_obj
[1] ;
42397 if (!args
) SWIG_fail
;
42398 swig_obj
[0] = args
;
42399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42400 if (!SWIG_IsOK(res1
)) {
42401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42403 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42406 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
42407 wxPyEndAllowThreads(__tstate
);
42408 if (PyErr_Occurred()) SWIG_fail
;
42410 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42417 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42418 PyObject
*resultobj
= 0;
42419 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42420 wxColour
*arg2
= 0 ;
42424 PyObject
* obj0
= 0 ;
42425 PyObject
* obj1
= 0 ;
42426 char * kwnames
[] = {
42427 (char *) "self",(char *) "colour", NULL
42430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42432 if (!SWIG_IsOK(res1
)) {
42433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42435 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42438 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42442 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
42443 wxPyEndAllowThreads(__tstate
);
42444 if (PyErr_Occurred()) SWIG_fail
;
42446 resultobj
= SWIG_Py_Void();
42453 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42454 PyObject
*resultobj
= 0;
42455 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42459 PyObject
*swig_obj
[1] ;
42461 if (!args
) SWIG_fail
;
42462 swig_obj
[0] = args
;
42463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42464 if (!SWIG_IsOK(res1
)) {
42465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42467 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42470 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
42471 wxPyEndAllowThreads(__tstate
);
42472 if (PyErr_Occurred()) SWIG_fail
;
42474 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42481 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42482 PyObject
*resultobj
= 0;
42483 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42484 wxColour
*arg2
= 0 ;
42488 PyObject
* obj0
= 0 ;
42489 PyObject
* obj1
= 0 ;
42490 char * kwnames
[] = {
42491 (char *) "self",(char *) "colour", NULL
42494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42496 if (!SWIG_IsOK(res1
)) {
42497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42499 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42502 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42506 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
42507 wxPyEndAllowThreads(__tstate
);
42508 if (PyErr_Occurred()) SWIG_fail
;
42510 resultobj
= SWIG_Py_Void();
42517 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42518 PyObject
*resultobj
= 0;
42519 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42523 PyObject
*swig_obj
[1] ;
42525 if (!args
) SWIG_fail
;
42526 swig_obj
[0] = args
;
42527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42528 if (!SWIG_IsOK(res1
)) {
42529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42531 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42534 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
42535 wxPyEndAllowThreads(__tstate
);
42536 if (PyErr_Occurred()) SWIG_fail
;
42538 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42545 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42546 PyObject
*resultobj
= 0;
42547 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42548 wxColour
*arg2
= 0 ;
42552 PyObject
* obj0
= 0 ;
42553 PyObject
* obj1
= 0 ;
42554 char * kwnames
[] = {
42555 (char *) "self",(char *) "colour", NULL
42558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42560 if (!SWIG_IsOK(res1
)) {
42561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42563 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42566 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42570 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
42571 wxPyEndAllowThreads(__tstate
);
42572 if (PyErr_Occurred()) SWIG_fail
;
42574 resultobj
= SWIG_Py_Void();
42581 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42582 PyObject
*resultobj
= 0;
42583 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42587 PyObject
*swig_obj
[1] ;
42589 if (!args
) SWIG_fail
;
42590 swig_obj
[0] = args
;
42591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42592 if (!SWIG_IsOK(res1
)) {
42593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42595 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42598 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
42599 wxPyEndAllowThreads(__tstate
);
42600 if (PyErr_Occurred()) SWIG_fail
;
42604 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42606 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42615 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42616 PyObject
*resultobj
= 0;
42617 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42618 wxString
*arg2
= 0 ;
42621 bool temp2
= false ;
42622 PyObject
* obj0
= 0 ;
42623 PyObject
* obj1
= 0 ;
42624 char * kwnames
[] = {
42625 (char *) "self",(char *) "url", NULL
42628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42630 if (!SWIG_IsOK(res1
)) {
42631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42633 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42635 arg2
= wxString_in_helper(obj1
);
42636 if (arg2
== NULL
) SWIG_fail
;
42640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42641 (arg1
)->SetURL((wxString
const &)*arg2
);
42642 wxPyEndAllowThreads(__tstate
);
42643 if (PyErr_Occurred()) SWIG_fail
;
42645 resultobj
= SWIG_Py_Void();
42660 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42661 PyObject
*resultobj
= 0;
42662 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42663 bool arg2
= (bool) true ;
42668 PyObject
* obj0
= 0 ;
42669 PyObject
* obj1
= 0 ;
42670 char * kwnames
[] = {
42671 (char *) "self",(char *) "visited", NULL
42674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42676 if (!SWIG_IsOK(res1
)) {
42677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42679 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42681 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42682 if (!SWIG_IsOK(ecode2
)) {
42683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42685 arg2
= static_cast< bool >(val2
);
42688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42689 (arg1
)->SetVisited(arg2
);
42690 wxPyEndAllowThreads(__tstate
);
42691 if (PyErr_Occurred()) SWIG_fail
;
42693 resultobj
= SWIG_Py_Void();
42700 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42701 PyObject
*resultobj
= 0;
42702 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42706 PyObject
*swig_obj
[1] ;
42708 if (!args
) SWIG_fail
;
42709 swig_obj
[0] = args
;
42710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42711 if (!SWIG_IsOK(res1
)) {
42712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42714 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42717 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42718 wxPyEndAllowThreads(__tstate
);
42719 if (PyErr_Occurred()) SWIG_fail
;
42722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42730 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42732 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42733 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42734 return SWIG_Py_Void();
42737 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42738 return SWIG_Python_InitShadowInstance(args
);
42741 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42742 PyObject
*resultobj
= 0;
42743 wxObject
*arg1
= (wxObject
*) 0 ;
42745 wxString
*arg3
= 0 ;
42746 wxHyperlinkEvent
*result
= 0 ;
42751 bool temp3
= false ;
42752 PyObject
* obj0
= 0 ;
42753 PyObject
* obj1
= 0 ;
42754 PyObject
* obj2
= 0 ;
42755 char * kwnames
[] = {
42756 (char *) "generator",(char *) "id",(char *) "url", NULL
42759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42761 if (!SWIG_IsOK(res1
)) {
42762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42764 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42765 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42766 if (!SWIG_IsOK(ecode2
)) {
42767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42769 arg2
= static_cast< int >(val2
);
42771 arg3
= wxString_in_helper(obj2
);
42772 if (arg3
== NULL
) SWIG_fail
;
42776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42777 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42778 wxPyEndAllowThreads(__tstate
);
42779 if (PyErr_Occurred()) SWIG_fail
;
42781 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42796 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42797 PyObject
*resultobj
= 0;
42798 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42802 PyObject
*swig_obj
[1] ;
42804 if (!args
) SWIG_fail
;
42805 swig_obj
[0] = args
;
42806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42807 if (!SWIG_IsOK(res1
)) {
42808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42810 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42813 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42814 wxPyEndAllowThreads(__tstate
);
42815 if (PyErr_Occurred()) SWIG_fail
;
42819 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42821 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42830 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42831 PyObject
*resultobj
= 0;
42832 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42833 wxString
*arg2
= 0 ;
42836 bool temp2
= false ;
42837 PyObject
* obj0
= 0 ;
42838 PyObject
* obj1
= 0 ;
42839 char * kwnames
[] = {
42840 (char *) "self",(char *) "url", NULL
42843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42845 if (!SWIG_IsOK(res1
)) {
42846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42848 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42850 arg2
= wxString_in_helper(obj1
);
42851 if (arg2
== NULL
) SWIG_fail
;
42855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42856 (arg1
)->SetURL((wxString
const &)*arg2
);
42857 wxPyEndAllowThreads(__tstate
);
42858 if (PyErr_Occurred()) SWIG_fail
;
42860 resultobj
= SWIG_Py_Void();
42875 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42877 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42878 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42879 return SWIG_Py_Void();
42882 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42883 return SWIG_Python_InitShadowInstance(args
);
42886 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42887 PyObject
*resultobj
= 0;
42888 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42889 wxWindow
*arg2
= (wxWindow
*) 0 ;
42891 wxString
const &arg4_defvalue
= wxEmptyString
;
42892 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42893 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42894 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42895 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42896 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42897 long arg7
= (long) 0 ;
42898 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42899 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42900 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42901 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42909 bool temp4
= false ;
42916 bool temp9
= false ;
42917 PyObject
* obj0
= 0 ;
42918 PyObject
* obj1
= 0 ;
42919 PyObject
* obj2
= 0 ;
42920 PyObject
* obj3
= 0 ;
42921 PyObject
* obj4
= 0 ;
42922 PyObject
* obj5
= 0 ;
42923 PyObject
* obj6
= 0 ;
42924 PyObject
* obj7
= 0 ;
42925 PyObject
* obj8
= 0 ;
42926 char * kwnames
[] = {
42927 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42932 if (!SWIG_IsOK(res1
)) {
42933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42935 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42936 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42937 if (!SWIG_IsOK(res2
)) {
42938 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42940 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42941 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42942 if (!SWIG_IsOK(ecode3
)) {
42943 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42945 arg3
= static_cast< int >(val3
);
42948 arg4
= wxString_in_helper(obj3
);
42949 if (arg4
== NULL
) SWIG_fail
;
42956 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42962 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42966 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42967 if (!SWIG_IsOK(ecode7
)) {
42968 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42970 arg7
= static_cast< long >(val7
);
42973 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42974 if (!SWIG_IsOK(res8
)) {
42975 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42980 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42984 arg9
= wxString_in_helper(obj8
);
42985 if (arg9
== NULL
) SWIG_fail
;
42990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42991 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42992 wxPyEndAllowThreads(__tstate
);
42993 if (PyErr_Occurred()) SWIG_fail
;
42996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43020 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43021 PyObject
*resultobj
= 0;
43022 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43028 PyObject
* obj0
= 0 ;
43029 PyObject
* obj1
= 0 ;
43030 char * kwnames
[] = {
43031 (char *) "self",(char *) "newmargin", NULL
43034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43036 if (!SWIG_IsOK(res1
)) {
43037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43039 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43040 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43041 if (!SWIG_IsOK(ecode2
)) {
43042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
43044 arg2
= static_cast< int >(val2
);
43046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43047 (arg1
)->SetInternalMargin(arg2
);
43048 wxPyEndAllowThreads(__tstate
);
43049 if (PyErr_Occurred()) SWIG_fail
;
43051 resultobj
= SWIG_Py_Void();
43058 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43059 PyObject
*resultobj
= 0;
43060 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43064 PyObject
*swig_obj
[1] ;
43066 if (!args
) SWIG_fail
;
43067 swig_obj
[0] = args
;
43068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43069 if (!SWIG_IsOK(res1
)) {
43070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43072 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43075 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
43076 wxPyEndAllowThreads(__tstate
);
43077 if (PyErr_Occurred()) SWIG_fail
;
43079 resultobj
= SWIG_From_int(static_cast< int >(result
));
43086 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43087 PyObject
*resultobj
= 0;
43088 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43094 PyObject
* obj0
= 0 ;
43095 PyObject
* obj1
= 0 ;
43096 char * kwnames
[] = {
43097 (char *) "self",(char *) "prop", NULL
43100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43102 if (!SWIG_IsOK(res1
)) {
43103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43105 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43107 if (!SWIG_IsOK(ecode2
)) {
43108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
43110 arg2
= static_cast< int >(val2
);
43112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43113 (arg1
)->SetTextCtrlProportion(arg2
);
43114 wxPyEndAllowThreads(__tstate
);
43115 if (PyErr_Occurred()) SWIG_fail
;
43117 resultobj
= SWIG_Py_Void();
43124 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43125 PyObject
*resultobj
= 0;
43126 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43130 PyObject
*swig_obj
[1] ;
43132 if (!args
) SWIG_fail
;
43133 swig_obj
[0] = args
;
43134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43135 if (!SWIG_IsOK(res1
)) {
43136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43138 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43141 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
43142 wxPyEndAllowThreads(__tstate
);
43143 if (PyErr_Occurred()) SWIG_fail
;
43145 resultobj
= SWIG_From_int(static_cast< int >(result
));
43152 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43153 PyObject
*resultobj
= 0;
43154 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43160 PyObject
* obj0
= 0 ;
43161 PyObject
* obj1
= 0 ;
43162 char * kwnames
[] = {
43163 (char *) "self",(char *) "prop", NULL
43166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43168 if (!SWIG_IsOK(res1
)) {
43169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43171 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43172 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43173 if (!SWIG_IsOK(ecode2
)) {
43174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
43176 arg2
= static_cast< int >(val2
);
43178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43179 (arg1
)->SetPickerCtrlProportion(arg2
);
43180 wxPyEndAllowThreads(__tstate
);
43181 if (PyErr_Occurred()) SWIG_fail
;
43183 resultobj
= SWIG_Py_Void();
43190 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43191 PyObject
*resultobj
= 0;
43192 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43196 PyObject
*swig_obj
[1] ;
43198 if (!args
) SWIG_fail
;
43199 swig_obj
[0] = args
;
43200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43201 if (!SWIG_IsOK(res1
)) {
43202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43204 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43207 result
= (int)((wxPickerBase
const *)arg1
)->GetPickerCtrlProportion();
43208 wxPyEndAllowThreads(__tstate
);
43209 if (PyErr_Occurred()) SWIG_fail
;
43211 resultobj
= SWIG_From_int(static_cast< int >(result
));
43218 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43219 PyObject
*resultobj
= 0;
43220 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43224 PyObject
*swig_obj
[1] ;
43226 if (!args
) SWIG_fail
;
43227 swig_obj
[0] = args
;
43228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43229 if (!SWIG_IsOK(res1
)) {
43230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43232 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43235 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
43236 wxPyEndAllowThreads(__tstate
);
43237 if (PyErr_Occurred()) SWIG_fail
;
43240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43248 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43249 PyObject
*resultobj
= 0;
43250 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43251 bool arg2
= (bool) true ;
43256 PyObject
* obj0
= 0 ;
43257 PyObject
* obj1
= 0 ;
43258 char * kwnames
[] = {
43259 (char *) "self",(char *) "grow", NULL
43262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43264 if (!SWIG_IsOK(res1
)) {
43265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43267 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43269 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43270 if (!SWIG_IsOK(ecode2
)) {
43271 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43273 arg2
= static_cast< bool >(val2
);
43276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43277 (arg1
)->SetTextCtrlGrowable(arg2
);
43278 wxPyEndAllowThreads(__tstate
);
43279 if (PyErr_Occurred()) SWIG_fail
;
43281 resultobj
= SWIG_Py_Void();
43288 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43289 PyObject
*resultobj
= 0;
43290 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43294 PyObject
*swig_obj
[1] ;
43296 if (!args
) SWIG_fail
;
43297 swig_obj
[0] = args
;
43298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43299 if (!SWIG_IsOK(res1
)) {
43300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43302 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43305 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
43306 wxPyEndAllowThreads(__tstate
);
43307 if (PyErr_Occurred()) SWIG_fail
;
43310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43318 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43319 PyObject
*resultobj
= 0;
43320 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43321 bool arg2
= (bool) true ;
43326 PyObject
* obj0
= 0 ;
43327 PyObject
* obj1
= 0 ;
43328 char * kwnames
[] = {
43329 (char *) "self",(char *) "grow", NULL
43332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43334 if (!SWIG_IsOK(res1
)) {
43335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43337 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43339 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43340 if (!SWIG_IsOK(ecode2
)) {
43341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43343 arg2
= static_cast< bool >(val2
);
43346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43347 (arg1
)->SetPickerCtrlGrowable(arg2
);
43348 wxPyEndAllowThreads(__tstate
);
43349 if (PyErr_Occurred()) SWIG_fail
;
43351 resultobj
= SWIG_Py_Void();
43358 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43359 PyObject
*resultobj
= 0;
43360 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43364 PyObject
*swig_obj
[1] ;
43366 if (!args
) SWIG_fail
;
43367 swig_obj
[0] = args
;
43368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43369 if (!SWIG_IsOK(res1
)) {
43370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43372 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43375 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
43376 wxPyEndAllowThreads(__tstate
);
43377 if (PyErr_Occurred()) SWIG_fail
;
43380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43388 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43389 PyObject
*resultobj
= 0;
43390 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43391 wxTextCtrl
*result
= 0 ;
43394 PyObject
*swig_obj
[1] ;
43396 if (!args
) SWIG_fail
;
43397 swig_obj
[0] = args
;
43398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43399 if (!SWIG_IsOK(res1
)) {
43400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43402 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43405 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
43406 wxPyEndAllowThreads(__tstate
);
43407 if (PyErr_Occurred()) SWIG_fail
;
43410 resultobj
= wxPyMake_wxObject(result
, 0);
43418 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43419 PyObject
*resultobj
= 0;
43420 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43421 wxControl
*result
= 0 ;
43424 PyObject
*swig_obj
[1] ;
43426 if (!args
) SWIG_fail
;
43427 swig_obj
[0] = args
;
43428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43429 if (!SWIG_IsOK(res1
)) {
43430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43432 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43435 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
43436 wxPyEndAllowThreads(__tstate
);
43437 if (PyErr_Occurred()) SWIG_fail
;
43440 resultobj
= wxPyMake_wxObject(result
, 0);
43448 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43450 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43451 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
43452 return SWIG_Py_Void();
43455 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
43456 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
43461 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
43462 PyObject
*pyobj
= 0;
43466 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43468 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43475 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43476 PyObject
*resultobj
= 0;
43477 wxWindow
*arg1
= (wxWindow
*) 0 ;
43478 int arg2
= (int) -1 ;
43479 wxColour
const &arg3_defvalue
= *wxBLACK
;
43480 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
43481 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43482 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43483 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43484 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43485 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
43486 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43487 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43488 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
43489 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43490 wxColourPickerCtrl
*result
= 0 ;
43502 bool temp8
= false ;
43503 PyObject
* obj0
= 0 ;
43504 PyObject
* obj1
= 0 ;
43505 PyObject
* obj2
= 0 ;
43506 PyObject
* obj3
= 0 ;
43507 PyObject
* obj4
= 0 ;
43508 PyObject
* obj5
= 0 ;
43509 PyObject
* obj6
= 0 ;
43510 PyObject
* obj7
= 0 ;
43511 char * kwnames
[] = {
43512 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43517 if (!SWIG_IsOK(res1
)) {
43518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43520 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43523 if (!SWIG_IsOK(ecode2
)) {
43524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43526 arg2
= static_cast< int >(val2
);
43531 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43537 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43543 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43547 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43548 if (!SWIG_IsOK(ecode6
)) {
43549 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43551 arg6
= static_cast< long >(val6
);
43554 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43555 if (!SWIG_IsOK(res7
)) {
43556 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43559 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43561 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43565 arg8
= wxString_in_helper(obj7
);
43566 if (arg8
== NULL
) SWIG_fail
;
43571 if (!wxPyCheckForApp()) SWIG_fail
;
43572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43573 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43574 wxPyEndAllowThreads(__tstate
);
43575 if (PyErr_Occurred()) SWIG_fail
;
43577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43592 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43593 PyObject
*resultobj
= 0;
43594 wxColourPickerCtrl
*result
= 0 ;
43596 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
43598 if (!wxPyCheckForApp()) SWIG_fail
;
43599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43600 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
43601 wxPyEndAllowThreads(__tstate
);
43602 if (PyErr_Occurred()) SWIG_fail
;
43604 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43611 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43612 PyObject
*resultobj
= 0;
43613 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43614 wxWindow
*arg2
= (wxWindow
*) 0 ;
43616 wxColour
const &arg4_defvalue
= *wxBLACK
;
43617 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
43618 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43619 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43620 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43621 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43622 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
43623 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43624 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43625 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
43626 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43641 bool temp9
= false ;
43642 PyObject
* obj0
= 0 ;
43643 PyObject
* obj1
= 0 ;
43644 PyObject
* obj2
= 0 ;
43645 PyObject
* obj3
= 0 ;
43646 PyObject
* obj4
= 0 ;
43647 PyObject
* obj5
= 0 ;
43648 PyObject
* obj6
= 0 ;
43649 PyObject
* obj7
= 0 ;
43650 PyObject
* obj8
= 0 ;
43651 char * kwnames
[] = {
43652 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43657 if (!SWIG_IsOK(res1
)) {
43658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43660 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43661 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43662 if (!SWIG_IsOK(res2
)) {
43663 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43665 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43666 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43667 if (!SWIG_IsOK(ecode3
)) {
43668 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43670 arg3
= static_cast< int >(val3
);
43674 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
43680 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43686 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43690 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43691 if (!SWIG_IsOK(ecode7
)) {
43692 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43694 arg7
= static_cast< long >(val7
);
43697 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43698 if (!SWIG_IsOK(res8
)) {
43699 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43702 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43704 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43708 arg9
= wxString_in_helper(obj8
);
43709 if (arg9
== NULL
) SWIG_fail
;
43714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43715 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43716 wxPyEndAllowThreads(__tstate
);
43717 if (PyErr_Occurred()) SWIG_fail
;
43720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43736 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43737 PyObject
*resultobj
= 0;
43738 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43742 PyObject
*swig_obj
[1] ;
43744 if (!args
) SWIG_fail
;
43745 swig_obj
[0] = args
;
43746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43747 if (!SWIG_IsOK(res1
)) {
43748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43750 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43753 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43754 wxPyEndAllowThreads(__tstate
);
43755 if (PyErr_Occurred()) SWIG_fail
;
43757 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43764 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43765 PyObject
*resultobj
= 0;
43766 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43767 wxColour
*arg2
= 0 ;
43771 PyObject
* obj0
= 0 ;
43772 PyObject
* obj1
= 0 ;
43773 char * kwnames
[] = {
43774 (char *) "self",(char *) "col", NULL
43777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43779 if (!SWIG_IsOK(res1
)) {
43780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43782 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43785 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43789 (arg1
)->SetColour((wxColour
const &)*arg2
);
43790 wxPyEndAllowThreads(__tstate
);
43791 if (PyErr_Occurred()) SWIG_fail
;
43793 resultobj
= SWIG_Py_Void();
43800 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43802 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43803 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43804 return SWIG_Py_Void();
43807 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43808 return SWIG_Python_InitShadowInstance(args
);
43811 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43812 PyObject
*resultobj
= 0;
43813 wxObject
*arg1
= (wxObject
*) 0 ;
43815 wxColour
*arg3
= 0 ;
43816 wxColourPickerEvent
*result
= 0 ;
43822 PyObject
* obj0
= 0 ;
43823 PyObject
* obj1
= 0 ;
43824 PyObject
* obj2
= 0 ;
43825 char * kwnames
[] = {
43826 (char *) "generator",(char *) "id",(char *) "col", NULL
43829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43831 if (!SWIG_IsOK(res1
)) {
43832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43834 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43835 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43836 if (!SWIG_IsOK(ecode2
)) {
43837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43839 arg2
= static_cast< int >(val2
);
43842 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43846 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43847 wxPyEndAllowThreads(__tstate
);
43848 if (PyErr_Occurred()) SWIG_fail
;
43850 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43857 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43858 PyObject
*resultobj
= 0;
43859 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43863 PyObject
*swig_obj
[1] ;
43865 if (!args
) SWIG_fail
;
43866 swig_obj
[0] = args
;
43867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43868 if (!SWIG_IsOK(res1
)) {
43869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43871 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43874 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43875 wxPyEndAllowThreads(__tstate
);
43876 if (PyErr_Occurred()) SWIG_fail
;
43878 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43885 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43886 PyObject
*resultobj
= 0;
43887 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43888 wxColour
*arg2
= 0 ;
43892 PyObject
* obj0
= 0 ;
43893 PyObject
* obj1
= 0 ;
43894 char * kwnames
[] = {
43895 (char *) "self",(char *) "c", NULL
43898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43900 if (!SWIG_IsOK(res1
)) {
43901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43903 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43906 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43910 (arg1
)->SetColour((wxColour
const &)*arg2
);
43911 wxPyEndAllowThreads(__tstate
);
43912 if (PyErr_Occurred()) SWIG_fail
;
43914 resultobj
= SWIG_Py_Void();
43921 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43923 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43924 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43925 return SWIG_Py_Void();
43928 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43929 return SWIG_Python_InitShadowInstance(args
);
43932 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43933 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43938 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43939 PyObject
*pyobj
= 0;
43943 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43945 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43952 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43953 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43958 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43959 PyObject
*pyobj
= 0;
43963 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43965 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43972 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43973 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43978 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43979 PyObject
*pyobj
= 0;
43983 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43985 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43992 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43993 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43998 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43999 PyObject
*pyobj
= 0;
44003 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
44005 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
44012 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
44013 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
44018 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
44019 PyObject
*pyobj
= 0;
44023 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
44025 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
44032 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44033 PyObject
*resultobj
= 0;
44034 wxWindow
*arg1
= (wxWindow
*) 0 ;
44035 int arg2
= (int) -1 ;
44036 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44037 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44038 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
44039 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44040 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
44041 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44042 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44043 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44044 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44045 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44046 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
44047 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44048 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44049 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
44050 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44051 wxFilePickerCtrl
*result
= 0 ;
44056 bool temp3
= false ;
44057 bool temp4
= false ;
44058 bool temp5
= false ;
44065 bool temp10
= false ;
44066 PyObject
* obj0
= 0 ;
44067 PyObject
* obj1
= 0 ;
44068 PyObject
* obj2
= 0 ;
44069 PyObject
* obj3
= 0 ;
44070 PyObject
* obj4
= 0 ;
44071 PyObject
* obj5
= 0 ;
44072 PyObject
* obj6
= 0 ;
44073 PyObject
* obj7
= 0 ;
44074 PyObject
* obj8
= 0 ;
44075 PyObject
* obj9
= 0 ;
44076 char * kwnames
[] = {
44077 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44082 if (!SWIG_IsOK(res1
)) {
44083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44085 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44088 if (!SWIG_IsOK(ecode2
)) {
44089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
44091 arg2
= static_cast< int >(val2
);
44095 arg3
= wxString_in_helper(obj2
);
44096 if (arg3
== NULL
) SWIG_fail
;
44102 arg4
= wxString_in_helper(obj3
);
44103 if (arg4
== NULL
) SWIG_fail
;
44109 arg5
= wxString_in_helper(obj4
);
44110 if (arg5
== NULL
) SWIG_fail
;
44117 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44123 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44127 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44128 if (!SWIG_IsOK(ecode8
)) {
44129 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
44131 arg8
= static_cast< long >(val8
);
44134 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44135 if (!SWIG_IsOK(res9
)) {
44136 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
44139 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
44141 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44145 arg10
= wxString_in_helper(obj9
);
44146 if (arg10
== NULL
) SWIG_fail
;
44151 if (!wxPyCheckForApp()) SWIG_fail
;
44152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44153 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
);
44154 wxPyEndAllowThreads(__tstate
);
44155 if (PyErr_Occurred()) SWIG_fail
;
44157 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
44196 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44197 PyObject
*resultobj
= 0;
44198 wxFilePickerCtrl
*result
= 0 ;
44200 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
44202 if (!wxPyCheckForApp()) SWIG_fail
;
44203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44204 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
44205 wxPyEndAllowThreads(__tstate
);
44206 if (PyErr_Occurred()) SWIG_fail
;
44208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
44215 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44216 PyObject
*resultobj
= 0;
44217 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44218 wxWindow
*arg2
= (wxWindow
*) 0 ;
44219 int arg3
= (int) -1 ;
44220 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44221 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44222 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
44223 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44224 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
44225 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
44226 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
44227 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
44228 wxSize
const &arg8_defvalue
= wxDefaultSize
;
44229 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
44230 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
44231 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
44232 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
44233 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
44234 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
44242 bool temp4
= false ;
44243 bool temp5
= false ;
44244 bool temp6
= false ;
44251 bool temp11
= false ;
44252 PyObject
* obj0
= 0 ;
44253 PyObject
* obj1
= 0 ;
44254 PyObject
* obj2
= 0 ;
44255 PyObject
* obj3
= 0 ;
44256 PyObject
* obj4
= 0 ;
44257 PyObject
* obj5
= 0 ;
44258 PyObject
* obj6
= 0 ;
44259 PyObject
* obj7
= 0 ;
44260 PyObject
* obj8
= 0 ;
44261 PyObject
* obj9
= 0 ;
44262 PyObject
* obj10
= 0 ;
44263 char * kwnames
[] = {
44264 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
44268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44269 if (!SWIG_IsOK(res1
)) {
44270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44272 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44273 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44274 if (!SWIG_IsOK(res2
)) {
44275 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44277 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44279 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44280 if (!SWIG_IsOK(ecode3
)) {
44281 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44283 arg3
= static_cast< int >(val3
);
44287 arg4
= wxString_in_helper(obj3
);
44288 if (arg4
== NULL
) SWIG_fail
;
44294 arg5
= wxString_in_helper(obj4
);
44295 if (arg5
== NULL
) SWIG_fail
;
44301 arg6
= wxString_in_helper(obj5
);
44302 if (arg6
== NULL
) SWIG_fail
;
44309 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
44315 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
44319 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
44320 if (!SWIG_IsOK(ecode9
)) {
44321 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
44323 arg9
= static_cast< long >(val9
);
44326 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
44327 if (!SWIG_IsOK(res10
)) {
44328 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44331 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44333 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
44337 arg11
= wxString_in_helper(obj10
);
44338 if (arg11
== NULL
) SWIG_fail
;
44343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44344 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
);
44345 wxPyEndAllowThreads(__tstate
);
44346 if (PyErr_Occurred()) SWIG_fail
;
44349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44389 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44390 PyObject
*resultobj
= 0;
44391 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44395 PyObject
*swig_obj
[1] ;
44397 if (!args
) SWIG_fail
;
44398 swig_obj
[0] = args
;
44399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44400 if (!SWIG_IsOK(res1
)) {
44401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44403 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44406 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
44407 wxPyEndAllowThreads(__tstate
);
44408 if (PyErr_Occurred()) SWIG_fail
;
44412 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44414 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44423 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44424 PyObject
*resultobj
= 0;
44425 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44426 wxString
*arg2
= 0 ;
44429 bool temp2
= false ;
44430 PyObject
* obj0
= 0 ;
44431 PyObject
* obj1
= 0 ;
44432 char * kwnames
[] = {
44433 (char *) "self",(char *) "str", NULL
44436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44438 if (!SWIG_IsOK(res1
)) {
44439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44441 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44443 arg2
= wxString_in_helper(obj1
);
44444 if (arg2
== NULL
) SWIG_fail
;
44448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44449 (arg1
)->SetPath((wxString
const &)*arg2
);
44450 wxPyEndAllowThreads(__tstate
);
44451 if (PyErr_Occurred()) SWIG_fail
;
44453 resultobj
= SWIG_Py_Void();
44468 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44469 PyObject
*resultobj
= 0;
44470 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44471 wxString
*arg2
= 0 ;
44475 bool temp2
= false ;
44476 PyObject
* obj0
= 0 ;
44477 PyObject
* obj1
= 0 ;
44478 char * kwnames
[] = {
44479 (char *) "self",(char *) "path", NULL
44482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44484 if (!SWIG_IsOK(res1
)) {
44485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44487 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44489 arg2
= wxString_in_helper(obj1
);
44490 if (arg2
== NULL
) SWIG_fail
;
44494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44495 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44496 wxPyEndAllowThreads(__tstate
);
44497 if (PyErr_Occurred()) SWIG_fail
;
44500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44516 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44517 PyObject
*resultobj
= 0;
44518 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44522 PyObject
*swig_obj
[1] ;
44524 if (!args
) SWIG_fail
;
44525 swig_obj
[0] = args
;
44526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44527 if (!SWIG_IsOK(res1
)) {
44528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44530 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44533 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
44534 wxPyEndAllowThreads(__tstate
);
44535 if (PyErr_Occurred()) SWIG_fail
;
44539 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44541 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44550 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44552 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44553 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
44554 return SWIG_Py_Void();
44557 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44558 return SWIG_Python_InitShadowInstance(args
);
44561 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44562 PyObject
*resultobj
= 0;
44563 wxWindow
*arg1
= (wxWindow
*) 0 ;
44564 int arg2
= (int) -1 ;
44565 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44566 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44567 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
44568 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44569 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44570 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44571 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44572 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44573 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
44574 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44575 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44576 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
44577 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44578 wxDirPickerCtrl
*result
= 0 ;
44583 bool temp3
= false ;
44584 bool temp4
= false ;
44591 bool temp9
= false ;
44592 PyObject
* obj0
= 0 ;
44593 PyObject
* obj1
= 0 ;
44594 PyObject
* obj2
= 0 ;
44595 PyObject
* obj3
= 0 ;
44596 PyObject
* obj4
= 0 ;
44597 PyObject
* obj5
= 0 ;
44598 PyObject
* obj6
= 0 ;
44599 PyObject
* obj7
= 0 ;
44600 PyObject
* obj8
= 0 ;
44601 char * kwnames
[] = {
44602 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44607 if (!SWIG_IsOK(res1
)) {
44608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44610 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44612 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44613 if (!SWIG_IsOK(ecode2
)) {
44614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44616 arg2
= static_cast< int >(val2
);
44620 arg3
= wxString_in_helper(obj2
);
44621 if (arg3
== NULL
) SWIG_fail
;
44627 arg4
= wxString_in_helper(obj3
);
44628 if (arg4
== NULL
) SWIG_fail
;
44635 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44641 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44645 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44646 if (!SWIG_IsOK(ecode7
)) {
44647 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44649 arg7
= static_cast< long >(val7
);
44652 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44653 if (!SWIG_IsOK(res8
)) {
44654 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44657 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44659 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44663 arg9
= wxString_in_helper(obj8
);
44664 if (arg9
== NULL
) SWIG_fail
;
44669 if (!wxPyCheckForApp()) SWIG_fail
;
44670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44671 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
);
44672 wxPyEndAllowThreads(__tstate
);
44673 if (PyErr_Occurred()) SWIG_fail
;
44675 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44706 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44707 PyObject
*resultobj
= 0;
44708 wxDirPickerCtrl
*result
= 0 ;
44710 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44712 if (!wxPyCheckForApp()) SWIG_fail
;
44713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44714 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44715 wxPyEndAllowThreads(__tstate
);
44716 if (PyErr_Occurred()) SWIG_fail
;
44718 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44725 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44726 PyObject
*resultobj
= 0;
44727 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44728 wxWindow
*arg2
= (wxWindow
*) 0 ;
44729 int arg3
= (int) -1 ;
44730 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44731 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44732 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44733 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44734 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44735 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44736 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44737 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44738 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44739 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44740 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44741 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
44742 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44750 bool temp4
= false ;
44751 bool temp5
= false ;
44758 bool temp10
= false ;
44759 PyObject
* obj0
= 0 ;
44760 PyObject
* obj1
= 0 ;
44761 PyObject
* obj2
= 0 ;
44762 PyObject
* obj3
= 0 ;
44763 PyObject
* obj4
= 0 ;
44764 PyObject
* obj5
= 0 ;
44765 PyObject
* obj6
= 0 ;
44766 PyObject
* obj7
= 0 ;
44767 PyObject
* obj8
= 0 ;
44768 PyObject
* obj9
= 0 ;
44769 char * kwnames
[] = {
44770 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44775 if (!SWIG_IsOK(res1
)) {
44776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44778 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44779 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44780 if (!SWIG_IsOK(res2
)) {
44781 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44783 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44785 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44786 if (!SWIG_IsOK(ecode3
)) {
44787 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44789 arg3
= static_cast< int >(val3
);
44793 arg4
= wxString_in_helper(obj3
);
44794 if (arg4
== NULL
) SWIG_fail
;
44800 arg5
= wxString_in_helper(obj4
);
44801 if (arg5
== NULL
) SWIG_fail
;
44808 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44814 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44818 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44819 if (!SWIG_IsOK(ecode8
)) {
44820 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44822 arg8
= static_cast< long >(val8
);
44825 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44826 if (!SWIG_IsOK(res9
)) {
44827 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44830 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44832 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44836 arg10
= wxString_in_helper(obj9
);
44837 if (arg10
== NULL
) SWIG_fail
;
44842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44843 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
);
44844 wxPyEndAllowThreads(__tstate
);
44845 if (PyErr_Occurred()) SWIG_fail
;
44848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44880 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44881 PyObject
*resultobj
= 0;
44882 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44886 PyObject
*swig_obj
[1] ;
44888 if (!args
) SWIG_fail
;
44889 swig_obj
[0] = args
;
44890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44891 if (!SWIG_IsOK(res1
)) {
44892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44894 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44897 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44898 wxPyEndAllowThreads(__tstate
);
44899 if (PyErr_Occurred()) SWIG_fail
;
44903 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44905 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44914 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44915 PyObject
*resultobj
= 0;
44916 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44917 wxString
*arg2
= 0 ;
44920 bool temp2
= false ;
44921 PyObject
* obj0
= 0 ;
44922 PyObject
* obj1
= 0 ;
44923 char * kwnames
[] = {
44924 (char *) "self",(char *) "str", NULL
44927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44929 if (!SWIG_IsOK(res1
)) {
44930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44932 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44934 arg2
= wxString_in_helper(obj1
);
44935 if (arg2
== NULL
) SWIG_fail
;
44939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44940 (arg1
)->SetPath((wxString
const &)*arg2
);
44941 wxPyEndAllowThreads(__tstate
);
44942 if (PyErr_Occurred()) SWIG_fail
;
44944 resultobj
= SWIG_Py_Void();
44959 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44960 PyObject
*resultobj
= 0;
44961 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44962 wxString
*arg2
= 0 ;
44966 bool temp2
= false ;
44967 PyObject
* obj0
= 0 ;
44968 PyObject
* obj1
= 0 ;
44969 char * kwnames
[] = {
44970 (char *) "self",(char *) "path", NULL
44973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44975 if (!SWIG_IsOK(res1
)) {
44976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44978 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44980 arg2
= wxString_in_helper(obj1
);
44981 if (arg2
== NULL
) SWIG_fail
;
44985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44986 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44987 wxPyEndAllowThreads(__tstate
);
44988 if (PyErr_Occurred()) SWIG_fail
;
44991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45007 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45008 PyObject
*resultobj
= 0;
45009 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
45013 PyObject
*swig_obj
[1] ;
45015 if (!args
) SWIG_fail
;
45016 swig_obj
[0] = args
;
45017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
45018 if (!SWIG_IsOK(res1
)) {
45019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
45021 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
45023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45024 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
45025 wxPyEndAllowThreads(__tstate
);
45026 if (PyErr_Occurred()) SWIG_fail
;
45030 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
45032 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
45041 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45043 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45044 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
45045 return SWIG_Py_Void();
45048 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45049 return SWIG_Python_InitShadowInstance(args
);
45052 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45053 PyObject
*resultobj
= 0;
45055 wxObject
*arg2
= (wxObject
*) 0 ;
45057 wxString
*arg4
= 0 ;
45058 wxFileDirPickerEvent
*result
= 0 ;
45065 bool temp4
= false ;
45066 PyObject
* obj0
= 0 ;
45067 PyObject
* obj1
= 0 ;
45068 PyObject
* obj2
= 0 ;
45069 PyObject
* obj3
= 0 ;
45070 char * kwnames
[] = {
45071 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
45074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
45075 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
45076 if (!SWIG_IsOK(ecode1
)) {
45077 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
45079 arg1
= static_cast< wxEventType
>(val1
);
45080 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
45081 if (!SWIG_IsOK(res2
)) {
45082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
45084 arg2
= reinterpret_cast< wxObject
* >(argp2
);
45085 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45086 if (!SWIG_IsOK(ecode3
)) {
45087 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
45089 arg3
= static_cast< int >(val3
);
45091 arg4
= wxString_in_helper(obj3
);
45092 if (arg4
== NULL
) SWIG_fail
;
45096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45097 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
45098 wxPyEndAllowThreads(__tstate
);
45099 if (PyErr_Occurred()) SWIG_fail
;
45101 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
45116 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45117 PyObject
*resultobj
= 0;
45118 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
45122 PyObject
*swig_obj
[1] ;
45124 if (!args
) SWIG_fail
;
45125 swig_obj
[0] = args
;
45126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
45127 if (!SWIG_IsOK(res1
)) {
45128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
45130 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
45132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45133 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
45134 wxPyEndAllowThreads(__tstate
);
45135 if (PyErr_Occurred()) SWIG_fail
;
45139 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
45141 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
45150 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45151 PyObject
*resultobj
= 0;
45152 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
45153 wxString
*arg2
= 0 ;
45156 bool temp2
= false ;
45157 PyObject
* obj0
= 0 ;
45158 PyObject
* obj1
= 0 ;
45159 char * kwnames
[] = {
45160 (char *) "self",(char *) "p", NULL
45163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
45165 if (!SWIG_IsOK(res1
)) {
45166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
45168 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
45170 arg2
= wxString_in_helper(obj1
);
45171 if (arg2
== NULL
) SWIG_fail
;
45175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45176 (arg1
)->SetPath((wxString
const &)*arg2
);
45177 wxPyEndAllowThreads(__tstate
);
45178 if (PyErr_Occurred()) SWIG_fail
;
45180 resultobj
= SWIG_Py_Void();
45195 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45197 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45198 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
45199 return SWIG_Py_Void();
45202 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45203 return SWIG_Python_InitShadowInstance(args
);
45206 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
45207 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
45212 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
45213 PyObject
*pyobj
= 0;
45217 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
45219 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
45226 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45227 PyObject
*resultobj
= 0;
45228 wxWindow
*arg1
= (wxWindow
*) 0 ;
45229 int arg2
= (int) -1 ;
45230 wxFont
const &arg3_defvalue
= wxNullFont
;
45231 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
45232 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45233 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45234 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45235 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45236 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
45237 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45238 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45239 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
45240 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45241 wxFontPickerCtrl
*result
= 0 ;
45254 bool temp8
= false ;
45255 PyObject
* obj0
= 0 ;
45256 PyObject
* obj1
= 0 ;
45257 PyObject
* obj2
= 0 ;
45258 PyObject
* obj3
= 0 ;
45259 PyObject
* obj4
= 0 ;
45260 PyObject
* obj5
= 0 ;
45261 PyObject
* obj6
= 0 ;
45262 PyObject
* obj7
= 0 ;
45263 char * kwnames
[] = {
45264 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45269 if (!SWIG_IsOK(res1
)) {
45270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
45272 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45274 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45275 if (!SWIG_IsOK(ecode2
)) {
45276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
45278 arg2
= static_cast< int >(val2
);
45281 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45282 if (!SWIG_IsOK(res3
)) {
45283 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45286 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45288 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45293 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45299 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45303 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45304 if (!SWIG_IsOK(ecode6
)) {
45305 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
45307 arg6
= static_cast< long >(val6
);
45310 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45311 if (!SWIG_IsOK(res7
)) {
45312 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45315 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45317 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45321 arg8
= wxString_in_helper(obj7
);
45322 if (arg8
== NULL
) SWIG_fail
;
45327 if (!wxPyCheckForApp()) SWIG_fail
;
45328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45329 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45330 wxPyEndAllowThreads(__tstate
);
45331 if (PyErr_Occurred()) SWIG_fail
;
45333 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
45348 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45349 PyObject
*resultobj
= 0;
45350 wxFontPickerCtrl
*result
= 0 ;
45352 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
45354 if (!wxPyCheckForApp()) SWIG_fail
;
45355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45356 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
45357 wxPyEndAllowThreads(__tstate
);
45358 if (PyErr_Occurred()) SWIG_fail
;
45360 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
45367 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45368 PyObject
*resultobj
= 0;
45369 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45370 wxWindow
*arg2
= (wxWindow
*) 0 ;
45371 int arg3
= (int) -1 ;
45372 wxFont
const &arg4_defvalue
= wxNullFont
;
45373 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
45374 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45375 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45376 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45377 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45378 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
45379 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45380 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45381 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
45382 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45398 bool temp9
= false ;
45399 PyObject
* obj0
= 0 ;
45400 PyObject
* obj1
= 0 ;
45401 PyObject
* obj2
= 0 ;
45402 PyObject
* obj3
= 0 ;
45403 PyObject
* obj4
= 0 ;
45404 PyObject
* obj5
= 0 ;
45405 PyObject
* obj6
= 0 ;
45406 PyObject
* obj7
= 0 ;
45407 PyObject
* obj8
= 0 ;
45408 char * kwnames
[] = {
45409 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45414 if (!SWIG_IsOK(res1
)) {
45415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45417 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45418 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45419 if (!SWIG_IsOK(res2
)) {
45420 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45422 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45424 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45425 if (!SWIG_IsOK(ecode3
)) {
45426 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45428 arg3
= static_cast< int >(val3
);
45431 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
45432 if (!SWIG_IsOK(res4
)) {
45433 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45436 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45438 arg4
= reinterpret_cast< wxFont
* >(argp4
);
45443 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45449 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45453 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45454 if (!SWIG_IsOK(ecode7
)) {
45455 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45457 arg7
= static_cast< long >(val7
);
45460 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45461 if (!SWIG_IsOK(res8
)) {
45462 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45465 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45467 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45471 arg9
= wxString_in_helper(obj8
);
45472 if (arg9
== NULL
) SWIG_fail
;
45477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45478 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45479 wxPyEndAllowThreads(__tstate
);
45480 if (PyErr_Occurred()) SWIG_fail
;
45483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45499 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45500 PyObject
*resultobj
= 0;
45501 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45505 PyObject
*swig_obj
[1] ;
45507 if (!args
) SWIG_fail
;
45508 swig_obj
[0] = args
;
45509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45510 if (!SWIG_IsOK(res1
)) {
45511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45513 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45516 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
45517 wxPyEndAllowThreads(__tstate
);
45518 if (PyErr_Occurred()) SWIG_fail
;
45520 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45527 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45528 PyObject
*resultobj
= 0;
45529 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45535 PyObject
* obj0
= 0 ;
45536 PyObject
* obj1
= 0 ;
45537 char * kwnames
[] = {
45538 (char *) "self",(char *) "f", NULL
45541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45543 if (!SWIG_IsOK(res1
)) {
45544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45546 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45547 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45548 if (!SWIG_IsOK(res2
)) {
45549 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45552 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45554 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45557 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
45558 wxPyEndAllowThreads(__tstate
);
45559 if (PyErr_Occurred()) SWIG_fail
;
45561 resultobj
= SWIG_Py_Void();
45568 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45569 PyObject
*resultobj
= 0;
45570 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45571 unsigned int arg2
;
45574 unsigned int val2
;
45576 PyObject
* obj0
= 0 ;
45577 PyObject
* obj1
= 0 ;
45578 char * kwnames
[] = {
45579 (char *) "self",(char *) "max", NULL
45582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45584 if (!SWIG_IsOK(res1
)) {
45585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45587 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45588 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45589 if (!SWIG_IsOK(ecode2
)) {
45590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45592 arg2
= static_cast< unsigned int >(val2
);
45594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45595 (arg1
)->SetMaxPointSize(arg2
);
45596 wxPyEndAllowThreads(__tstate
);
45597 if (PyErr_Occurred()) SWIG_fail
;
45599 resultobj
= SWIG_Py_Void();
45606 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45607 PyObject
*resultobj
= 0;
45608 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45609 unsigned int result
;
45612 PyObject
*swig_obj
[1] ;
45614 if (!args
) SWIG_fail
;
45615 swig_obj
[0] = args
;
45616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45617 if (!SWIG_IsOK(res1
)) {
45618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45620 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45623 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
45624 wxPyEndAllowThreads(__tstate
);
45625 if (PyErr_Occurred()) SWIG_fail
;
45627 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
45634 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45636 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45637 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
45638 return SWIG_Py_Void();
45641 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45642 return SWIG_Python_InitShadowInstance(args
);
45645 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45646 PyObject
*resultobj
= 0;
45647 wxObject
*arg1
= (wxObject
*) 0 ;
45650 wxFontPickerEvent
*result
= 0 ;
45657 PyObject
* obj0
= 0 ;
45658 PyObject
* obj1
= 0 ;
45659 PyObject
* obj2
= 0 ;
45660 char * kwnames
[] = {
45661 (char *) "generator",(char *) "id",(char *) "f", NULL
45664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45666 if (!SWIG_IsOK(res1
)) {
45667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45669 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45670 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45671 if (!SWIG_IsOK(ecode2
)) {
45672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45674 arg2
= static_cast< int >(val2
);
45675 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45676 if (!SWIG_IsOK(res3
)) {
45677 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45680 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45682 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45685 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45686 wxPyEndAllowThreads(__tstate
);
45687 if (PyErr_Occurred()) SWIG_fail
;
45689 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45696 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45697 PyObject
*resultobj
= 0;
45698 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45702 PyObject
*swig_obj
[1] ;
45704 if (!args
) SWIG_fail
;
45705 swig_obj
[0] = args
;
45706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45707 if (!SWIG_IsOK(res1
)) {
45708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45710 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45713 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45714 wxPyEndAllowThreads(__tstate
);
45715 if (PyErr_Occurred()) SWIG_fail
;
45717 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45724 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45725 PyObject
*resultobj
= 0;
45726 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45732 PyObject
* obj0
= 0 ;
45733 PyObject
* obj1
= 0 ;
45734 char * kwnames
[] = {
45735 (char *) "self",(char *) "c", NULL
45738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45740 if (!SWIG_IsOK(res1
)) {
45741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45743 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45744 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45745 if (!SWIG_IsOK(res2
)) {
45746 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45749 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45751 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45754 (arg1
)->SetFont((wxFont
const &)*arg2
);
45755 wxPyEndAllowThreads(__tstate
);
45756 if (PyErr_Occurred()) SWIG_fail
;
45758 resultobj
= SWIG_Py_Void();
45765 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45767 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45768 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45769 return SWIG_Py_Void();
45772 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45773 return SWIG_Python_InitShadowInstance(args
);
45776 SWIGINTERN
int CollapsiblePaneNameStr_set(PyObject
*) {
45777 SWIG_Error(SWIG_AttributeError
,"Variable CollapsiblePaneNameStr is read-only.");
45782 SWIGINTERN PyObject
*CollapsiblePaneNameStr_get(void) {
45783 PyObject
*pyobj
= 0;
45787 pyobj
= PyUnicode_FromWideChar((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45789 pyobj
= PyString_FromStringAndSize((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45796 SWIGINTERN PyObject
*_wrap_new_CollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45797 PyObject
*resultobj
= 0;
45798 wxWindow
*arg1
= (wxWindow
*) 0 ;
45799 int arg2
= (int) -1 ;
45800 wxString
const &arg3_defvalue
= wxPyEmptyString
;
45801 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
45802 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45803 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45804 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45805 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45806 long arg6
= (long) wxCP_DEFAULT_STYLE
;
45807 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45808 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45809 wxString
const &arg8_defvalue
= wxPyCollapsiblePaneNameStr
;
45810 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45811 wxCollapsiblePane
*result
= 0 ;
45816 bool temp3
= false ;
45823 bool temp8
= false ;
45824 PyObject
* obj0
= 0 ;
45825 PyObject
* obj1
= 0 ;
45826 PyObject
* obj2
= 0 ;
45827 PyObject
* obj3
= 0 ;
45828 PyObject
* obj4
= 0 ;
45829 PyObject
* obj5
= 0 ;
45830 PyObject
* obj6
= 0 ;
45831 PyObject
* obj7
= 0 ;
45832 char * kwnames
[] = {
45833 (char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CollapsiblePane",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45838 if (!SWIG_IsOK(res1
)) {
45839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePane" "', expected argument " "1"" of type '" "wxWindow *""'");
45841 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45844 if (!SWIG_IsOK(ecode2
)) {
45845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePane" "', expected argument " "2"" of type '" "int""'");
45847 arg2
= static_cast< int >(val2
);
45851 arg3
= wxString_in_helper(obj2
);
45852 if (arg3
== NULL
) SWIG_fail
;
45859 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45865 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45869 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45870 if (!SWIG_IsOK(ecode6
)) {
45871 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CollapsiblePane" "', expected argument " "6"" of type '" "long""'");
45873 arg6
= static_cast< long >(val6
);
45876 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45877 if (!SWIG_IsOK(res7
)) {
45878 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45881 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45883 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45887 arg8
= wxString_in_helper(obj7
);
45888 if (arg8
== NULL
) SWIG_fail
;
45893 if (!wxPyCheckForApp()) SWIG_fail
;
45894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45895 result
= (wxCollapsiblePane
*)new wxCollapsiblePane(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45896 wxPyEndAllowThreads(__tstate
);
45897 if (PyErr_Occurred()) SWIG_fail
;
45899 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_NEW
| 0 );
45922 SWIGINTERN PyObject
*_wrap_new_PreCollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45923 PyObject
*resultobj
= 0;
45924 wxCollapsiblePane
*result
= 0 ;
45926 if (!SWIG_Python_UnpackTuple(args
,"new_PreCollapsiblePane",0,0,0)) SWIG_fail
;
45928 if (!wxPyCheckForApp()) SWIG_fail
;
45929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45930 result
= (wxCollapsiblePane
*)new wxCollapsiblePane();
45931 wxPyEndAllowThreads(__tstate
);
45932 if (PyErr_Occurred()) SWIG_fail
;
45934 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_OWN
| 0 );
45941 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45942 PyObject
*resultobj
= 0;
45943 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45944 wxWindow
*arg2
= (wxWindow
*) 0 ;
45945 int arg3
= (int) -1 ;
45946 wxString
const &arg4_defvalue
= wxPyEmptyString
;
45947 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
45948 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45949 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45950 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45951 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45952 long arg7
= (long) wxCP_DEFAULT_STYLE
;
45953 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45954 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45955 wxString
const &arg9_defvalue
= wxPyCollapsiblePaneNameStr
;
45956 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45964 bool temp4
= false ;
45971 bool temp9
= false ;
45972 PyObject
* obj0
= 0 ;
45973 PyObject
* obj1
= 0 ;
45974 PyObject
* obj2
= 0 ;
45975 PyObject
* obj3
= 0 ;
45976 PyObject
* obj4
= 0 ;
45977 PyObject
* obj5
= 0 ;
45978 PyObject
* obj6
= 0 ;
45979 PyObject
* obj7
= 0 ;
45980 PyObject
* obj8
= 0 ;
45981 char * kwnames
[] = {
45982 (char *) "self",(char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CollapsiblePane_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45987 if (!SWIG_IsOK(res1
)) {
45988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Create" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45990 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45991 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45992 if (!SWIG_IsOK(res2
)) {
45993 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CollapsiblePane_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45995 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45997 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45998 if (!SWIG_IsOK(ecode3
)) {
45999 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CollapsiblePane_Create" "', expected argument " "3"" of type '" "int""'");
46001 arg3
= static_cast< int >(val3
);
46005 arg4
= wxString_in_helper(obj3
);
46006 if (arg4
== NULL
) SWIG_fail
;
46013 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
46019 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
46023 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
46024 if (!SWIG_IsOK(ecode7
)) {
46025 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CollapsiblePane_Create" "', expected argument " "7"" of type '" "long""'");
46027 arg7
= static_cast< long >(val7
);
46030 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
46031 if (!SWIG_IsOK(res8
)) {
46032 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46035 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46037 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
46041 arg9
= wxString_in_helper(obj8
);
46042 if (arg9
== NULL
) SWIG_fail
;
46047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46048 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
46049 wxPyEndAllowThreads(__tstate
);
46050 if (PyErr_Occurred()) SWIG_fail
;
46053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46077 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46078 PyObject
*resultobj
= 0;
46079 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46080 bool arg2
= (bool) true ;
46085 PyObject
* obj0
= 0 ;
46086 PyObject
* obj1
= 0 ;
46087 char * kwnames
[] = {
46088 (char *) "self",(char *) "collapse", NULL
46091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CollapsiblePane_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46093 if (!SWIG_IsOK(res1
)) {
46094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
46096 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46098 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46099 if (!SWIG_IsOK(ecode2
)) {
46100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "2"" of type '" "bool""'");
46102 arg2
= static_cast< bool >(val2
);
46105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46106 (arg1
)->Collapse(arg2
);
46107 wxPyEndAllowThreads(__tstate
);
46108 if (PyErr_Occurred()) SWIG_fail
;
46110 resultobj
= SWIG_Py_Void();
46117 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46118 PyObject
*resultobj
= 0;
46119 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46122 PyObject
*swig_obj
[1] ;
46124 if (!args
) SWIG_fail
;
46125 swig_obj
[0] = args
;
46126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46127 if (!SWIG_IsOK(res1
)) {
46128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Expand" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
46130 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46134 wxPyEndAllowThreads(__tstate
);
46135 if (PyErr_Occurred()) SWIG_fail
;
46137 resultobj
= SWIG_Py_Void();
46144 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46145 PyObject
*resultobj
= 0;
46146 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46150 PyObject
*swig_obj
[1] ;
46152 if (!args
) SWIG_fail
;
46153 swig_obj
[0] = args
;
46154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46155 if (!SWIG_IsOK(res1
)) {
46156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46158 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46161 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsCollapsed();
46162 wxPyEndAllowThreads(__tstate
);
46163 if (PyErr_Occurred()) SWIG_fail
;
46166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46174 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46175 PyObject
*resultobj
= 0;
46176 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46180 PyObject
*swig_obj
[1] ;
46182 if (!args
) SWIG_fail
;
46183 swig_obj
[0] = args
;
46184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46185 if (!SWIG_IsOK(res1
)) {
46186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsExpanded" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46188 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46191 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsExpanded();
46192 wxPyEndAllowThreads(__tstate
);
46193 if (PyErr_Occurred()) SWIG_fail
;
46196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46204 SWIGINTERN PyObject
*_wrap_CollapsiblePane_GetPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46205 PyObject
*resultobj
= 0;
46206 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46207 wxWindow
*result
= 0 ;
46210 PyObject
*swig_obj
[1] ;
46212 if (!args
) SWIG_fail
;
46213 swig_obj
[0] = args
;
46214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46215 if (!SWIG_IsOK(res1
)) {
46216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_GetPane" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46218 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46221 result
= (wxWindow
*)((wxCollapsiblePane
const *)arg1
)->GetPane();
46222 wxPyEndAllowThreads(__tstate
);
46223 if (PyErr_Occurred()) SWIG_fail
;
46226 resultobj
= wxPyMake_wxObject(result
, 0);
46234 SWIGINTERN PyObject
*CollapsiblePane_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46236 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46237 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePane
, SWIG_NewClientData(obj
));
46238 return SWIG_Py_Void();
46241 SWIGINTERN PyObject
*CollapsiblePane_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46242 return SWIG_Python_InitShadowInstance(args
);
46245 SWIGINTERN PyObject
*_wrap_new_CollapsiblePaneEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46246 PyObject
*resultobj
= 0;
46247 wxObject
*arg1
= (wxObject
*) 0 ;
46250 wxCollapsiblePaneEvent
*result
= 0 ;
46257 PyObject
* obj0
= 0 ;
46258 PyObject
* obj1
= 0 ;
46259 PyObject
* obj2
= 0 ;
46260 char * kwnames
[] = {
46261 (char *) "generator",(char *) "id",(char *) "collapsed", NULL
46264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_CollapsiblePaneEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
46265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
46266 if (!SWIG_IsOK(res1
)) {
46267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "1"" of type '" "wxObject *""'");
46269 arg1
= reinterpret_cast< wxObject
* >(argp1
);
46270 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46271 if (!SWIG_IsOK(ecode2
)) {
46272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "2"" of type '" "int""'");
46274 arg2
= static_cast< int >(val2
);
46275 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
46276 if (!SWIG_IsOK(ecode3
)) {
46277 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "3"" of type '" "bool""'");
46279 arg3
= static_cast< bool >(val3
);
46281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46282 result
= (wxCollapsiblePaneEvent
*)new wxCollapsiblePaneEvent(arg1
,arg2
,arg3
);
46283 wxPyEndAllowThreads(__tstate
);
46284 if (PyErr_Occurred()) SWIG_fail
;
46286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_POINTER_NEW
| 0 );
46293 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_GetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46294 PyObject
*resultobj
= 0;
46295 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
46299 PyObject
*swig_obj
[1] ;
46301 if (!args
) SWIG_fail
;
46302 swig_obj
[0] = args
;
46303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
46304 if (!SWIG_IsOK(res1
)) {
46305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_GetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent const *""'");
46307 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
46309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46310 result
= (bool)((wxCollapsiblePaneEvent
const *)arg1
)->GetCollapsed();
46311 wxPyEndAllowThreads(__tstate
);
46312 if (PyErr_Occurred()) SWIG_fail
;
46315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46323 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_SetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46324 PyObject
*resultobj
= 0;
46325 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
46331 PyObject
* obj0
= 0 ;
46332 PyObject
* obj1
= 0 ;
46333 char * kwnames
[] = {
46334 (char *) "self",(char *) "c", NULL
46337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CollapsiblePaneEvent_SetCollapsed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
46339 if (!SWIG_IsOK(res1
)) {
46340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent *""'");
46342 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
46343 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46344 if (!SWIG_IsOK(ecode2
)) {
46345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "2"" of type '" "bool""'");
46347 arg2
= static_cast< bool >(val2
);
46349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46350 (arg1
)->SetCollapsed(arg2
);
46351 wxPyEndAllowThreads(__tstate
);
46352 if (PyErr_Occurred()) SWIG_fail
;
46354 resultobj
= SWIG_Py_Void();
46361 SWIGINTERN PyObject
*CollapsiblePaneEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46363 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46364 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_NewClientData(obj
));
46365 return SWIG_Py_Void();
46368 SWIGINTERN PyObject
*CollapsiblePaneEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46369 return SWIG_Python_InitShadowInstance(args
);
46372 SWIGINTERN
int SearchCtrlNameStr_set(PyObject
*) {
46373 SWIG_Error(SWIG_AttributeError
,"Variable SearchCtrlNameStr is read-only.");
46378 SWIGINTERN PyObject
*SearchCtrlNameStr_get(void) {
46379 PyObject
*pyobj
= 0;
46383 pyobj
= PyUnicode_FromWideChar((&wxPySearchCtrlNameStr
)->c_str(), (&wxPySearchCtrlNameStr
)->Len());
46385 pyobj
= PyString_FromStringAndSize((&wxPySearchCtrlNameStr
)->c_str(), (&wxPySearchCtrlNameStr
)->Len());
46392 SWIGINTERN PyObject
*_wrap_new_SearchCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46393 PyObject
*resultobj
= 0;
46394 wxWindow
*arg1
= (wxWindow
*) 0 ;
46395 int arg2
= (int) -1 ;
46396 wxString
const &arg3_defvalue
= wxEmptyString
;
46397 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
46398 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
46399 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
46400 wxSize
const &arg5_defvalue
= wxDefaultSize
;
46401 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
46402 long arg6
= (long) 0 ;
46403 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
46404 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
46405 wxString
const &arg8_defvalue
= wxPySearchCtrlNameStr
;
46406 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
46407 wxSearchCtrl
*result
= 0 ;
46412 bool temp3
= false ;
46419 bool temp8
= false ;
46420 PyObject
* obj0
= 0 ;
46421 PyObject
* obj1
= 0 ;
46422 PyObject
* obj2
= 0 ;
46423 PyObject
* obj3
= 0 ;
46424 PyObject
* obj4
= 0 ;
46425 PyObject
* obj5
= 0 ;
46426 PyObject
* obj6
= 0 ;
46427 PyObject
* obj7
= 0 ;
46428 char * kwnames
[] = {
46429 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_SearchCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
46433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46434 if (!SWIG_IsOK(res1
)) {
46435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SearchCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
46437 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
46439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46440 if (!SWIG_IsOK(ecode2
)) {
46441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SearchCtrl" "', expected argument " "2"" of type '" "int""'");
46443 arg2
= static_cast< int >(val2
);
46447 arg3
= wxString_in_helper(obj2
);
46448 if (arg3
== NULL
) SWIG_fail
;
46455 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
46461 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
46465 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
46466 if (!SWIG_IsOK(ecode6
)) {
46467 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SearchCtrl" "', expected argument " "6"" of type '" "long""'");
46469 arg6
= static_cast< long >(val6
);
46472 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
46473 if (!SWIG_IsOK(res7
)) {
46474 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46477 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46479 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
46483 arg8
= wxString_in_helper(obj7
);
46484 if (arg8
== NULL
) SWIG_fail
;
46489 if (!wxPyCheckForApp()) SWIG_fail
;
46490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46491 result
= (wxSearchCtrl
*)new wxSearchCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
46492 wxPyEndAllowThreads(__tstate
);
46493 if (PyErr_Occurred()) SWIG_fail
;
46495 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSearchCtrl
, SWIG_POINTER_NEW
| 0 );
46518 SWIGINTERN PyObject
*_wrap_new_PreSearchCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46519 PyObject
*resultobj
= 0;
46520 wxSearchCtrl
*result
= 0 ;
46522 if (!SWIG_Python_UnpackTuple(args
,"new_PreSearchCtrl",0,0,0)) SWIG_fail
;
46524 if (!wxPyCheckForApp()) SWIG_fail
;
46525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46526 result
= (wxSearchCtrl
*)new wxSearchCtrl();
46527 wxPyEndAllowThreads(__tstate
);
46528 if (PyErr_Occurred()) SWIG_fail
;
46530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSearchCtrl
, SWIG_POINTER_OWN
| 0 );
46537 SWIGINTERN PyObject
*_wrap_SearchCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46538 PyObject
*resultobj
= 0;
46539 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46540 wxWindow
*arg2
= (wxWindow
*) 0 ;
46541 int arg3
= (int) -1 ;
46542 wxString
const &arg4_defvalue
= wxEmptyString
;
46543 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
46544 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
46545 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
46546 wxSize
const &arg6_defvalue
= wxDefaultSize
;
46547 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
46548 long arg7
= (long) 0 ;
46549 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
46550 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
46551 wxString
const &arg9_defvalue
= wxPySearchCtrlNameStr
;
46552 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
46560 bool temp4
= false ;
46567 bool temp9
= false ;
46568 PyObject
* obj0
= 0 ;
46569 PyObject
* obj1
= 0 ;
46570 PyObject
* obj2
= 0 ;
46571 PyObject
* obj3
= 0 ;
46572 PyObject
* obj4
= 0 ;
46573 PyObject
* obj5
= 0 ;
46574 PyObject
* obj6
= 0 ;
46575 PyObject
* obj7
= 0 ;
46576 PyObject
* obj8
= 0 ;
46577 char * kwnames
[] = {
46578 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:SearchCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
46582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46583 if (!SWIG_IsOK(res1
)) {
46584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_Create" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46586 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46587 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46588 if (!SWIG_IsOK(res2
)) {
46589 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
46591 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46593 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46594 if (!SWIG_IsOK(ecode3
)) {
46595 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SearchCtrl_Create" "', expected argument " "3"" of type '" "int""'");
46597 arg3
= static_cast< int >(val3
);
46601 arg4
= wxString_in_helper(obj3
);
46602 if (arg4
== NULL
) SWIG_fail
;
46609 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
46615 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
46619 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
46620 if (!SWIG_IsOK(ecode7
)) {
46621 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SearchCtrl_Create" "', expected argument " "7"" of type '" "long""'");
46623 arg7
= static_cast< long >(val7
);
46626 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
46627 if (!SWIG_IsOK(res8
)) {
46628 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46631 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46633 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
46637 arg9
= wxString_in_helper(obj8
);
46638 if (arg9
== NULL
) SWIG_fail
;
46643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46644 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
46645 wxPyEndAllowThreads(__tstate
);
46646 if (PyErr_Occurred()) SWIG_fail
;
46649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46673 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46674 PyObject
*resultobj
= 0;
46675 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46676 wxMenu
*arg2
= (wxMenu
*) 0 ;
46681 PyObject
* obj0
= 0 ;
46682 PyObject
* obj1
= 0 ;
46683 char * kwnames
[] = {
46684 (char *) "self",(char *) "menu", NULL
46687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46689 if (!SWIG_IsOK(res1
)) {
46690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46692 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46693 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
46694 if (!SWIG_IsOK(res2
)) {
46695 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
46697 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
46699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46700 (arg1
)->SetMenu(arg2
);
46701 wxPyEndAllowThreads(__tstate
);
46702 if (PyErr_Occurred()) SWIG_fail
;
46704 resultobj
= SWIG_Py_Void();
46711 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46712 PyObject
*resultobj
= 0;
46713 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46714 wxMenu
*result
= 0 ;
46717 PyObject
*swig_obj
[1] ;
46719 if (!args
) SWIG_fail
;
46720 swig_obj
[0] = args
;
46721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46722 if (!SWIG_IsOK(res1
)) {
46723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46725 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46728 result
= (wxMenu
*)(arg1
)->GetMenu();
46729 wxPyEndAllowThreads(__tstate
);
46730 if (PyErr_Occurred()) SWIG_fail
;
46733 resultobj
= wxPyMake_wxObject(result
, 0);
46741 SWIGINTERN PyObject
*_wrap_SearchCtrl_ShowSearchButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46742 PyObject
*resultobj
= 0;
46743 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46749 PyObject
* obj0
= 0 ;
46750 PyObject
* obj1
= 0 ;
46751 char * kwnames
[] = {
46752 (char *) "self",(char *) "show", NULL
46755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_ShowSearchButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46757 if (!SWIG_IsOK(res1
)) {
46758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46760 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46761 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46762 if (!SWIG_IsOK(ecode2
)) {
46763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "2"" of type '" "bool""'");
46765 arg2
= static_cast< bool >(val2
);
46767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46768 (arg1
)->ShowSearchButton(arg2
);
46769 wxPyEndAllowThreads(__tstate
);
46770 if (PyErr_Occurred()) SWIG_fail
;
46772 resultobj
= SWIG_Py_Void();
46779 SWIGINTERN PyObject
*_wrap_SearchCtrl_IsSearchButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46780 PyObject
*resultobj
= 0;
46781 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46785 PyObject
*swig_obj
[1] ;
46787 if (!args
) SWIG_fail
;
46788 swig_obj
[0] = args
;
46789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46790 if (!SWIG_IsOK(res1
)) {
46791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_IsSearchButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46793 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46796 result
= (bool)((wxSearchCtrl
const *)arg1
)->IsSearchButtonVisible();
46797 wxPyEndAllowThreads(__tstate
);
46798 if (PyErr_Occurred()) SWIG_fail
;
46801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46809 SWIGINTERN PyObject
*_wrap_SearchCtrl_ShowCancelButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46810 PyObject
*resultobj
= 0;
46811 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46817 PyObject
* obj0
= 0 ;
46818 PyObject
* obj1
= 0 ;
46819 char * kwnames
[] = {
46820 (char *) "self",(char *) "show", NULL
46823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_ShowCancelButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46825 if (!SWIG_IsOK(res1
)) {
46826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46828 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46829 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46830 if (!SWIG_IsOK(ecode2
)) {
46831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "2"" of type '" "bool""'");
46833 arg2
= static_cast< bool >(val2
);
46835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46836 (arg1
)->ShowCancelButton(arg2
);
46837 wxPyEndAllowThreads(__tstate
);
46838 if (PyErr_Occurred()) SWIG_fail
;
46840 resultobj
= SWIG_Py_Void();
46847 SWIGINTERN PyObject
*_wrap_SearchCtrl_IsCancelButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46848 PyObject
*resultobj
= 0;
46849 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46853 PyObject
*swig_obj
[1] ;
46855 if (!args
) SWIG_fail
;
46856 swig_obj
[0] = args
;
46857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46858 if (!SWIG_IsOK(res1
)) {
46859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_IsCancelButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46861 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46864 result
= (bool)((wxSearchCtrl
const *)arg1
)->IsCancelButtonVisible();
46865 wxPyEndAllowThreads(__tstate
);
46866 if (PyErr_Occurred()) SWIG_fail
;
46869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46877 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetDescriptiveText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46878 PyObject
*resultobj
= 0;
46879 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46880 wxString
*arg2
= 0 ;
46883 bool temp2
= false ;
46884 PyObject
* obj0
= 0 ;
46885 PyObject
* obj1
= 0 ;
46886 char * kwnames
[] = {
46887 (char *) "self",(char *) "text", NULL
46890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetDescriptiveText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46892 if (!SWIG_IsOK(res1
)) {
46893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetDescriptiveText" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46895 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46897 arg2
= wxString_in_helper(obj1
);
46898 if (arg2
== NULL
) SWIG_fail
;
46902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46903 (arg1
)->SetDescriptiveText((wxString
const &)*arg2
);
46904 wxPyEndAllowThreads(__tstate
);
46905 if (PyErr_Occurred()) SWIG_fail
;
46907 resultobj
= SWIG_Py_Void();
46922 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetDescriptiveText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46923 PyObject
*resultobj
= 0;
46924 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46928 PyObject
*swig_obj
[1] ;
46930 if (!args
) SWIG_fail
;
46931 swig_obj
[0] = args
;
46932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46933 if (!SWIG_IsOK(res1
)) {
46934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetDescriptiveText" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46936 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46939 result
= ((wxSearchCtrl
const *)arg1
)->GetDescriptiveText();
46940 wxPyEndAllowThreads(__tstate
);
46941 if (PyErr_Occurred()) SWIG_fail
;
46945 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
46947 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
46956 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46957 PyObject
*resultobj
= 0;
46958 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46959 wxBitmap
*arg2
= 0 ;
46964 PyObject
* obj0
= 0 ;
46965 PyObject
* obj1
= 0 ;
46966 char * kwnames
[] = {
46967 (char *) "self",(char *) "bitmap", NULL
46970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46972 if (!SWIG_IsOK(res1
)) {
46973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46975 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46976 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46977 if (!SWIG_IsOK(res2
)) {
46978 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46983 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46986 (arg1
)->SetSearchBitmap((wxBitmap
const &)*arg2
);
46987 wxPyEndAllowThreads(__tstate
);
46988 if (PyErr_Occurred()) SWIG_fail
;
46990 resultobj
= SWIG_Py_Void();
46997 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchMenuBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46998 PyObject
*resultobj
= 0;
46999 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
47000 wxBitmap
*arg2
= 0 ;
47005 PyObject
* obj0
= 0 ;
47006 PyObject
* obj1
= 0 ;
47007 char * kwnames
[] = {
47008 (char *) "self",(char *) "bitmap", NULL
47011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchMenuBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
47013 if (!SWIG_IsOK(res1
)) {
47014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
47016 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
47017 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
47018 if (!SWIG_IsOK(res2
)) {
47019 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47022 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47024 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
47026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47027 (arg1
)->SetSearchMenuBitmap((wxBitmap
const &)*arg2
);
47028 wxPyEndAllowThreads(__tstate
);
47029 if (PyErr_Occurred()) SWIG_fail
;
47031 resultobj
= SWIG_Py_Void();
47038 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetCancelBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47039 PyObject
*resultobj
= 0;
47040 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
47041 wxBitmap
*arg2
= 0 ;
47046 PyObject
* obj0
= 0 ;
47047 PyObject
* obj1
= 0 ;
47048 char * kwnames
[] = {
47049 (char *) "self",(char *) "bitmap", NULL
47052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetCancelBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
47054 if (!SWIG_IsOK(res1
)) {
47055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
47057 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
47058 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
47059 if (!SWIG_IsOK(res2
)) {
47060 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47063 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47065 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
47067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47068 (arg1
)->SetCancelBitmap((wxBitmap
const &)*arg2
);
47069 wxPyEndAllowThreads(__tstate
);
47070 if (PyErr_Occurred()) SWIG_fail
;
47072 resultobj
= SWIG_Py_Void();
47079 SWIGINTERN PyObject
*SearchCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47081 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47082 SWIG_TypeNewClientData(SWIGTYPE_p_wxSearchCtrl
, SWIG_NewClientData(obj
));
47083 return SWIG_Py_Void();
47086 SWIGINTERN PyObject
*SearchCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47087 return SWIG_Python_InitShadowInstance(args
);
47090 static PyMethodDef SwigMethods
[] = {
47091 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47092 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
47093 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47094 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
47095 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
47096 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47097 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
47098 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
47099 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47100 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
47101 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47102 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
47103 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
47104 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
47105 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
47106 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
47107 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47108 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47109 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47110 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47111 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47112 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47113 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
47114 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
47115 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
47116 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
47117 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47118 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
47119 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47120 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
47121 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
47122 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47123 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
47124 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47125 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
47126 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
47127 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47128 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
47129 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
47130 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47131 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
47132 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47133 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
47134 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47135 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
47136 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
47137 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47138 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
47139 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47140 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
47141 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47142 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
47143 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
47144 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
47145 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47146 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
47147 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
47148 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47149 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47150 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
47151 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
47152 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47153 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47154 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
47155 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47156 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
47157 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
47158 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
47159 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
47160 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
47161 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
47162 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
47163 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
47164 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
47165 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47166 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
47167 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
47168 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47169 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
47170 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47171 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47172 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
47173 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47174 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
47175 { (char *)"Gauge_Pulse", (PyCFunction
)_wrap_Gauge_Pulse
, METH_O
, NULL
},
47176 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
47177 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47178 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
47179 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47180 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
47181 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47182 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
47183 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
47184 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47185 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
47186 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47187 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47188 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
47189 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
47190 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47191 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
47192 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47193 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
47194 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
47195 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47196 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
47197 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
47198 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47199 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
47200 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47201 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47202 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47203 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
47204 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
47205 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47206 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
47207 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47208 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
47209 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47210 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47211 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47212 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
47213 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
47214 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47215 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
47216 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47217 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47218 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47219 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47220 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47221 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47222 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47223 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47224 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47225 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47226 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
47227 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47228 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47229 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47230 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47231 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
47232 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47233 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47234 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47235 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47236 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47237 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
47238 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
47239 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47240 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
47241 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47242 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47243 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47244 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
47245 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
47246 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
47247 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47248 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
47249 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
47250 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47251 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47252 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47253 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47254 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47255 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47256 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47257 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47258 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47259 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
47260 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
47261 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
47262 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
47263 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
47264 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
47265 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
47266 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47267 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
47268 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
47269 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
47270 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
47271 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
47272 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
47273 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
47274 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
47275 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
47276 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
47277 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47278 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
47279 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
47280 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47281 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
47282 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47283 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
47284 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47285 { (char *)"TextCtrl_IsEmpty", (PyCFunction
)_wrap_TextCtrl_IsEmpty
, METH_O
, NULL
},
47286 { (char *)"TextCtrl_ChangeValue", (PyCFunction
) _wrap_TextCtrl_ChangeValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47287 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47288 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47289 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47290 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
47291 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
47292 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
47293 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
47294 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
47295 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
47296 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
47297 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
47298 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47299 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47300 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47301 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47302 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
47303 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
47304 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47305 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47306 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47307 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47308 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47309 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47310 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47311 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47312 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
47313 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47314 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47315 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47316 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47317 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47318 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
47319 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
47320 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
47321 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
47322 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
47323 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
47324 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
47325 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
47326 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
47327 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
47328 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47329 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
47330 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
47331 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
47332 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47333 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
47334 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47335 { (char *)"TextCtrl_MacCheckSpelling", (PyCFunction
) _wrap_TextCtrl_MacCheckSpelling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47336 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction
)_wrap_TextCtrl_SendTextUpdatedEvent
, METH_O
, NULL
},
47337 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47338 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
)_wrap_TextCtrl_HideNativeCaret
, METH_O
, NULL
},
47339 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47340 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47341 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47342 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
47343 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
47344 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47345 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
47346 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
47347 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
47348 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
47349 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
47350 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47351 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
47352 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47353 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
47354 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
47355 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
47356 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
47357 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
47358 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47359 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47360 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
47361 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
47362 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47363 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
47364 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47365 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
47366 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
47367 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
47368 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47369 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47370 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47371 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47372 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
47373 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47374 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
47375 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
47376 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47377 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
47378 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47379 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
47380 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47381 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47382 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47383 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
47384 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
47385 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47386 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47387 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
47388 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
47389 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47390 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
47391 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47392 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
47393 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
47394 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47395 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
47396 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47397 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47398 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
47399 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
47400 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47401 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
47402 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47403 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47404 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47405 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47406 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47407 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47408 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47409 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
47410 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
47411 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47412 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47413 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47414 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47415 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47416 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47417 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
47418 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
47419 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47420 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
47421 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47422 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
47423 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47424 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47425 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
47426 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
47427 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47428 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
47429 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47430 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
47431 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47432 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47433 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
47434 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
47435 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47436 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47437 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47438 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47439 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
47440 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
47441 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47442 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
47443 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47444 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
47445 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
47446 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47447 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
47448 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
47449 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
47450 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47451 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47452 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
47453 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
47454 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47455 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
47456 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47457 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47458 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
47459 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47460 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
47461 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
47462 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
47463 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47464 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
47465 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
47466 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47467 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47468 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47469 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47470 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
47471 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47472 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47473 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47474 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47475 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
47476 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47477 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
47478 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47479 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
47480 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47481 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
47482 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
47483 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47484 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47485 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
47486 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47487 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47488 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47489 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction
) _wrap_BookCtrlBase_ChangeSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47490 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47491 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47492 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47493 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
47494 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47495 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
47496 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47497 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
47498 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47499 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
47500 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
47501 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47502 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
47503 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47504 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
47505 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47506 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47507 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
47508 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47509 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction
) _wrap_Notebook_SendPageChangingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47510 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction
) _wrap_Notebook_SendPageChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47511 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
47512 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
47513 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47514 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
47515 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
47516 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47517 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
47518 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47519 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
47520 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
47521 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
47522 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47523 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
47524 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
47525 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47526 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
47527 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47528 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
47529 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
47530 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
47531 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47532 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
47533 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
47534 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47535 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
47536 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47537 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47538 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47539 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47540 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47541 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47542 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47543 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
47544 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
47545 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
47546 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47547 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
47548 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
47549 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47550 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
47551 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47552 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
47553 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
47554 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
47555 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
47556 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47557 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
47558 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
47559 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
47560 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
47561 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
47562 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
47563 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
47564 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
47565 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
47566 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
47567 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
47568 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
47569 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
47570 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
47571 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
47572 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
47573 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
47574 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
47575 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
47576 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47577 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
47578 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47579 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47580 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47581 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47582 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47583 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47584 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
47585 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47586 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
47587 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47588 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
47589 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47590 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47591 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47592 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47593 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47594 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47595 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47596 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
47597 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47598 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47599 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47600 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47601 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
47602 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
47603 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47604 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47605 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47606 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47607 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47608 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47609 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47610 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47611 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47612 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47613 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47614 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47615 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47616 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47617 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47618 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47619 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
47620 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
47621 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
47622 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
47623 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47624 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47625 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
47626 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
47627 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47628 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
47629 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
47630 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47631 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47632 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
47633 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
47634 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
47635 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47636 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
47637 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47638 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47639 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
47640 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
47641 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47642 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
47643 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47644 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47645 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47646 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
47647 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
47648 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
47649 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
47650 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
47651 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
47652 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47653 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
47654 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
47655 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
47656 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
47657 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
47658 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
47659 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
47660 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47661 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47662 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47663 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47664 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47665 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47666 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47667 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47668 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47669 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47670 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47671 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47672 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47673 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
47674 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
47675 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
47676 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
47677 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
47678 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
47679 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
47680 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
47681 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
47682 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
47683 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
47684 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
47685 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
47686 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
47687 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
47688 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
47689 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
47690 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
47691 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
47692 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
47693 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
47694 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
47695 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
47696 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
47697 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
47698 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
47699 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
47700 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
47701 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
47702 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
47703 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
47704 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
47705 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
47706 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
47707 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
47708 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
47709 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47710 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
47711 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
47712 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
47713 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
47714 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
47715 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
47716 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
47717 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
47718 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
47719 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
47720 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
47721 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
47722 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
47723 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
47724 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
47725 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
47726 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
47727 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
47728 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
47729 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
47730 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
47731 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
47732 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
47733 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
47734 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47735 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
47736 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
47737 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47738 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
47739 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47740 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47741 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47742 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47743 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47744 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47745 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
47746 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
47747 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
47748 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47749 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47750 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47751 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47752 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47753 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47754 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47755 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47756 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47757 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47758 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47759 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47760 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47761 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47762 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
47763 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
47764 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
47765 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
47766 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
47767 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47768 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
47769 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47770 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47771 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47772 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47773 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47774 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
47775 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
47776 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47777 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47778 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47779 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47780 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
47781 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47782 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
47783 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
47784 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47785 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47786 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47787 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47788 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47789 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47790 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47791 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47792 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47793 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47794 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47795 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47796 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47797 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47798 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47799 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47800 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47801 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47802 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47803 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47804 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47805 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47806 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47807 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
47808 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47809 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
47810 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
47811 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47812 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
47813 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47814 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47815 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47816 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
47817 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47818 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
47819 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47820 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47821 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47822 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
47823 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
47824 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
47825 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
47826 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
47827 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47828 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47829 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
47830 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
47831 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
47832 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
47833 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47834 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
47835 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
47836 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47837 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
47838 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47839 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
47840 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
47841 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
47842 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
47843 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
47844 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47845 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
47846 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47847 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
47848 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47849 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
47850 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
47851 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47852 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
47853 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47854 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
47855 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47856 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47857 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
47858 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
47859 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
47860 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47861 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
47862 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47863 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47864 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
47865 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
47866 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47867 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
47868 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47869 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
47870 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
47871 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47872 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47873 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47874 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47875 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47876 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47877 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47878 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47879 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47880 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47881 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47882 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47883 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47884 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47885 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47886 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47887 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47888 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47889 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47890 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47891 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47892 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47893 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47894 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47895 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47896 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47897 { (char *)"TreeCtrl_IsEmpty", (PyCFunction
)_wrap_TreeCtrl_IsEmpty
, METH_O
, NULL
},
47898 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47899 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
47900 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
47901 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
47902 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47903 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47904 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47905 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47906 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47907 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47908 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
47909 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47910 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47911 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47912 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47913 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47914 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47915 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47916 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47917 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47918 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
47919 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47920 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47921 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
47922 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47923 { (char *)"TreeCtrl_CollapseAllChildren", (PyCFunction
) _wrap_TreeCtrl_CollapseAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47924 { (char *)"TreeCtrl_CollapseAll", (PyCFunction
)_wrap_TreeCtrl_CollapseAll
, METH_O
, NULL
},
47925 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47926 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47927 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
47928 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47929 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
47930 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47931 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47932 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47933 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47934 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47935 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
47936 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47937 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47938 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47939 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47940 { (char *)"TreeCtrl_SetState", (PyCFunction
) _wrap_TreeCtrl_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47941 { (char *)"TreeCtrl_GetState", (PyCFunction
) _wrap_TreeCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47942 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47943 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47944 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
47945 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
47946 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
47947 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47948 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
47949 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47950 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47951 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47952 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
47953 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47954 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
47955 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
47956 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47957 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47958 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
47959 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
47960 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47961 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
47962 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47963 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
47964 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
47965 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
47966 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47967 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
47968 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
47969 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
47970 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
47971 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47972 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
47973 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47974 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47975 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
47976 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
47977 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47978 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
47979 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47980 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47981 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47982 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47983 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47984 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47985 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
47986 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
47987 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
47988 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
47989 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
47990 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
47991 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
47992 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
47993 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
47994 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47995 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
47996 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47997 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
47998 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47999 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
48000 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48001 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
48002 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48003 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
48004 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
48005 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48006 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
48007 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48008 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
48009 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
48010 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
48011 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48012 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
48013 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
48014 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
48015 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48016 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
48017 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48018 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48019 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48020 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48021 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48022 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48023 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
48024 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
48025 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
48026 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
48027 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
48028 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48029 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48030 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48031 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48032 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48033 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
48034 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48035 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48036 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48037 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
48038 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48039 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
48040 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
48041 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48042 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48043 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48044 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48045 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
48046 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
48047 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48048 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
48049 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48050 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48051 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
48052 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48053 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
48054 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
48055 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
48056 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
48057 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48058 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
48059 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48060 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
48061 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48062 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
48063 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48064 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
48065 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48066 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
48067 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48068 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48069 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
48070 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
48071 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
48072 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48073 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
48074 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48075 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
48076 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
48077 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48078 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48079 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
48080 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48081 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
48082 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48083 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetPickerCtrlProportion
, METH_O
, NULL
},
48084 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
48085 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48086 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
48087 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48088 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
48089 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
48090 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
48091 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
48092 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48093 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
48094 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48095 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
48096 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48097 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
48098 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
48099 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48100 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
48101 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48102 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
48103 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
48104 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48105 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
48106 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48107 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
48108 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48109 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48110 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
48111 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
48112 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
48113 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48114 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
48115 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48116 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
48117 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48118 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48119 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
48120 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
48121 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
48122 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48123 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
48124 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48125 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
48126 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
48127 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48128 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
48129 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48130 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
48131 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48132 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48133 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
48134 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
48135 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
48136 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48137 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
48138 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48139 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
48140 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
48141 { (char *)"new_CollapsiblePane", (PyCFunction
) _wrap_new_CollapsiblePane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48142 { (char *)"new_PreCollapsiblePane", (PyCFunction
)_wrap_new_PreCollapsiblePane
, METH_NOARGS
, NULL
},
48143 { (char *)"CollapsiblePane_Create", (PyCFunction
) _wrap_CollapsiblePane_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48144 { (char *)"CollapsiblePane_Collapse", (PyCFunction
) _wrap_CollapsiblePane_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48145 { (char *)"CollapsiblePane_Expand", (PyCFunction
)_wrap_CollapsiblePane_Expand
, METH_O
, NULL
},
48146 { (char *)"CollapsiblePane_IsCollapsed", (PyCFunction
)_wrap_CollapsiblePane_IsCollapsed
, METH_O
, NULL
},
48147 { (char *)"CollapsiblePane_IsExpanded", (PyCFunction
)_wrap_CollapsiblePane_IsExpanded
, METH_O
, NULL
},
48148 { (char *)"CollapsiblePane_GetPane", (PyCFunction
)_wrap_CollapsiblePane_GetPane
, METH_O
, NULL
},
48149 { (char *)"CollapsiblePane_swigregister", CollapsiblePane_swigregister
, METH_VARARGS
, NULL
},
48150 { (char *)"CollapsiblePane_swiginit", CollapsiblePane_swiginit
, METH_VARARGS
, NULL
},
48151 { (char *)"new_CollapsiblePaneEvent", (PyCFunction
) _wrap_new_CollapsiblePaneEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48152 { (char *)"CollapsiblePaneEvent_GetCollapsed", (PyCFunction
)_wrap_CollapsiblePaneEvent_GetCollapsed
, METH_O
, NULL
},
48153 { (char *)"CollapsiblePaneEvent_SetCollapsed", (PyCFunction
) _wrap_CollapsiblePaneEvent_SetCollapsed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48154 { (char *)"CollapsiblePaneEvent_swigregister", CollapsiblePaneEvent_swigregister
, METH_VARARGS
, NULL
},
48155 { (char *)"CollapsiblePaneEvent_swiginit", CollapsiblePaneEvent_swiginit
, METH_VARARGS
, NULL
},
48156 { (char *)"new_SearchCtrl", (PyCFunction
) _wrap_new_SearchCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48157 { (char *)"new_PreSearchCtrl", (PyCFunction
)_wrap_new_PreSearchCtrl
, METH_NOARGS
, NULL
},
48158 { (char *)"SearchCtrl_Create", (PyCFunction
) _wrap_SearchCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48159 { (char *)"SearchCtrl_SetMenu", (PyCFunction
) _wrap_SearchCtrl_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48160 { (char *)"SearchCtrl_GetMenu", (PyCFunction
)_wrap_SearchCtrl_GetMenu
, METH_O
, NULL
},
48161 { (char *)"SearchCtrl_ShowSearchButton", (PyCFunction
) _wrap_SearchCtrl_ShowSearchButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48162 { (char *)"SearchCtrl_IsSearchButtonVisible", (PyCFunction
)_wrap_SearchCtrl_IsSearchButtonVisible
, METH_O
, NULL
},
48163 { (char *)"SearchCtrl_ShowCancelButton", (PyCFunction
) _wrap_SearchCtrl_ShowCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48164 { (char *)"SearchCtrl_IsCancelButtonVisible", (PyCFunction
)_wrap_SearchCtrl_IsCancelButtonVisible
, METH_O
, NULL
},
48165 { (char *)"SearchCtrl_SetDescriptiveText", (PyCFunction
) _wrap_SearchCtrl_SetDescriptiveText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48166 { (char *)"SearchCtrl_GetDescriptiveText", (PyCFunction
)_wrap_SearchCtrl_GetDescriptiveText
, METH_O
, NULL
},
48167 { (char *)"SearchCtrl_SetSearchBitmap", (PyCFunction
) _wrap_SearchCtrl_SetSearchBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48168 { (char *)"SearchCtrl_SetSearchMenuBitmap", (PyCFunction
) _wrap_SearchCtrl_SetSearchMenuBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48169 { (char *)"SearchCtrl_SetCancelBitmap", (PyCFunction
) _wrap_SearchCtrl_SetCancelBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48170 { (char *)"SearchCtrl_swigregister", SearchCtrl_swigregister
, METH_VARARGS
, NULL
},
48171 { (char *)"SearchCtrl_swiginit", SearchCtrl_swiginit
, METH_VARARGS
, NULL
},
48172 { NULL
, NULL
, 0, NULL
}
48176 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
48178 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
48179 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
48181 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
48182 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
48184 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
48185 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
48187 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
48188 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
48190 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
48191 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
48193 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
48194 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48196 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
48197 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48199 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
48200 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
48202 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
48203 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48205 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
48206 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48208 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
48209 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48211 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
48212 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
48214 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
48215 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
48217 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
48218 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48220 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
48221 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48223 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
48224 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
48226 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
48227 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
48229 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
48230 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
48232 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
48233 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48235 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
48236 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48238 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
48239 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48241 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
48242 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48244 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
48245 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48247 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
48248 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
48250 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
48251 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
48253 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
48254 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48256 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
48257 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
48259 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
48260 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
48262 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
48263 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
48265 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
48266 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
48268 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
48269 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
48271 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
48272 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
48274 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
48275 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
48277 static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x
) {
48278 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48280 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
48281 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
48283 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
48284 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
48286 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
48287 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48289 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
48290 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48292 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
48293 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
48295 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
48296 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
48298 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
48299 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
48301 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
48302 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
48304 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
48305 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48307 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
48308 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
48310 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
48311 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
48313 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
48314 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48316 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
48317 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
48319 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
48320 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
48322 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
48323 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48325 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
48326 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48328 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
48329 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
48331 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
48332 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
48334 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
48335 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
48337 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
48338 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48340 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
48341 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48343 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
48344 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48346 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
48347 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48349 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
48350 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48352 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
48353 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
48355 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
48356 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48358 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
48359 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
48361 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
48362 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
48364 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
48365 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
48367 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
48368 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48370 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
48371 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
48373 static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x
) {
48374 return (void *)((wxControl
*) ((wxCollapsiblePane
*) x
));
48376 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
48377 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
48379 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
48380 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
48382 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
48383 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
48385 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
48386 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
48388 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
48389 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
48391 static void *_p_wxSearchCtrlTo_p_wxControl(void *x
) {
48392 return (void *)((wxControl
*) (wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48394 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
48395 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
48397 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
48398 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
48400 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
48401 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48403 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
48404 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
48406 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
48407 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
48409 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
48410 return (void *)((wxControl
*) ((wxPyControl
*) x
));
48412 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
48413 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
48415 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
48416 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
48418 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
48419 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
48421 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
48422 return (void *)((wxControl
*) ((wxGauge
*) x
));
48424 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
48425 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
48427 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
48428 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48430 static void *_p_wxListbookTo_p_wxControl(void *x
) {
48431 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
48433 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
48434 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
48436 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
48437 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
48439 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
48440 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
48442 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
48443 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
48445 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
48446 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
48448 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
48449 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
48451 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
48452 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48454 static void *_p_wxListViewTo_p_wxControl(void *x
) {
48455 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
48457 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
48458 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
48460 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
48461 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
48463 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
48464 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
48466 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
48467 return (void *)((wxControl
*) ((wxStaticText
*) x
));
48469 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
48470 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
48472 static void *_p_wxSliderTo_p_wxControl(void *x
) {
48473 return (void *)((wxControl
*) ((wxSlider
*) x
));
48475 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
48476 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
48478 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
48479 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
48481 static void *_p_wxButtonTo_p_wxControl(void *x
) {
48482 return (void *)((wxControl
*) ((wxButton
*) x
));
48484 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
48485 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
48487 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
48488 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48490 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
48491 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
48493 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
48494 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48496 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
48497 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48499 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
48500 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48502 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
48503 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48505 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
48506 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
48508 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
48509 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
48511 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
48512 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
48514 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
48515 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48517 static void *_p_wxSearchCtrlTo_p_wxTextCtrl(void *x
) {
48518 return (void *)((wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48520 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
48521 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48523 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
48524 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48526 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
48527 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
48529 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
48530 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48532 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
48533 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48535 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
48536 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48538 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
48539 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48541 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
48542 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48544 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
48545 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48547 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
48548 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48550 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
48551 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
48553 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
48554 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
48556 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
48557 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
48559 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
48560 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
48562 static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x
) {
48563 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
48565 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
48566 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
48568 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
48569 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
48571 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
48572 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
48574 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
48575 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
48577 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
48578 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48580 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
48581 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
48583 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
48584 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
48586 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
48587 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
48589 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
48590 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
48592 static void *_p_wxSearchCtrlTo_p_wxEvtHandler(void *x
) {
48593 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48595 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
48596 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48598 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
48599 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
48601 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
48602 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
48604 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
48605 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
48607 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
48608 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
48610 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
48611 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
48613 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
48614 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48616 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
48617 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
48619 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
48620 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
48622 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
48623 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
48625 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
48626 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
48628 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
48629 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
48631 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
48632 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
48634 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
48635 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
48637 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
48638 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48640 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
48641 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48643 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
48644 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
48646 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
48647 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
48649 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
48650 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
48652 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
48653 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
48655 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
48656 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48658 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
48659 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48661 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
48662 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48664 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
48665 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48667 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
48668 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
48670 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
48671 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48673 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
48674 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
48676 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
48677 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
48679 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
48680 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
48682 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
48683 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
48685 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
48686 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48688 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
48689 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
48691 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
48692 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
48694 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
48695 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48697 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
48698 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48700 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
48701 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
48703 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
48704 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48706 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
48707 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48709 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
48710 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48712 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
48713 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48715 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
48716 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
48718 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
48719 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
48721 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
48722 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
48724 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
48725 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48727 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
48728 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48730 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
48731 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
48733 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
48734 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
48736 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
48737 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48739 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
48740 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
48742 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
48743 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
48745 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
48746 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
48748 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
48749 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
48751 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
48752 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48754 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
48755 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
48757 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
48758 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
48760 static void *_p_wxSizerTo_p_wxObject(void *x
) {
48761 return (void *)((wxObject
*) ((wxSizer
*) x
));
48763 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
48764 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
48766 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
48767 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
48769 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
48770 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
48772 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
48773 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48775 static void *_p_wxEventTo_p_wxObject(void *x
) {
48776 return (void *)((wxObject
*) ((wxEvent
*) x
));
48778 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
48779 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
48781 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
48782 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
48784 static void *_p_wxSearchCtrlTo_p_wxObject(void *x
) {
48785 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48787 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
48788 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
48790 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
48791 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
48793 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
48794 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
48796 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
48797 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
48799 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
48800 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48802 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
48803 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48805 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
48806 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
48808 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
48809 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
48811 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
48812 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
48814 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
48815 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
48817 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
48818 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
48820 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
48821 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
48823 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
48824 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
48826 static void *_p_wxControlTo_p_wxObject(void *x
) {
48827 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
48829 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
48830 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
48832 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
48833 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
48835 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
48836 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
48838 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
48839 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
48841 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
48842 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
48844 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
48845 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
48847 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
48848 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48850 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
48851 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48853 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
48854 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48856 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
48857 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48859 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
48860 return (void *)((wxObject
*) ((wxFSFile
*) x
));
48862 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
48863 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
48865 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
48866 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48868 static void *_p_wxListViewTo_p_wxObject(void *x
) {
48869 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48871 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
48872 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48874 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
48875 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
48877 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
48878 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48880 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
48881 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
48883 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
48884 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48886 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
48887 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48889 static void *_p_wxListbookTo_p_wxObject(void *x
) {
48890 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48892 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
48893 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
48895 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
48896 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
48898 static void *_p_wxSliderTo_p_wxObject(void *x
) {
48899 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
48901 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
48902 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
48904 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
48905 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
48907 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
48908 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
48910 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
48911 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48913 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
48914 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
48916 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
48917 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
48919 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
48920 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
48922 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
48923 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
48925 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
48926 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
48928 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
48929 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
48931 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
48932 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
48934 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
48935 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
48937 static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x
) {
48938 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48940 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
48941 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
48943 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
48944 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
48946 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
48947 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
48949 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
48950 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
48952 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
48953 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
48955 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
48956 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
48958 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
48959 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
48961 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
48962 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
48964 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
48965 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
48967 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
48968 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
48970 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
48971 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
48973 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
48974 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
48976 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
48977 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
48979 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
48980 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
48982 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
48983 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
48985 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
48986 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
48988 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
48989 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
48991 static void *_p_wxListEventTo_p_wxObject(void *x
) {
48992 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
48994 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
48995 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48997 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
48998 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
49000 static void *_p_wxButtonTo_p_wxObject(void *x
) {
49001 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
49003 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
49004 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
49006 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
49007 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
49009 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
49010 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
49012 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
49013 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
49015 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
49016 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
49018 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
49019 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
49021 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
49022 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
49024 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
49025 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
49027 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
49028 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
49030 static void *_p_wxListItemTo_p_wxObject(void *x
) {
49031 return (void *)((wxObject
*) ((wxListItem
*) x
));
49033 static void *_p_wxImageTo_p_wxObject(void *x
) {
49034 return (void *)((wxObject
*) ((wxImage
*) x
));
49036 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
49037 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
49039 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
49040 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
49042 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
49043 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
49045 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
49046 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
49048 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
49049 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
49051 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
49052 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
49054 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
49055 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
49057 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
49058 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
49060 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
49061 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
49063 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
49064 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
49066 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
49067 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
49069 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
49070 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
49072 static void *_p_wxWindowTo_p_wxObject(void *x
) {
49073 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
49075 static void *_p_wxMenuTo_p_wxObject(void *x
) {
49076 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
49078 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
49079 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
49081 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
49082 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
49084 static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x
) {
49085 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
49087 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
49088 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
49090 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
49091 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
49093 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
49094 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
49096 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
49097 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
49099 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
49100 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
49102 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
49103 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
49105 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
49106 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
49108 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
49109 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
49111 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
49112 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
49114 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
49115 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
49117 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
49118 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
49120 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
49121 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
49123 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
49124 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
49126 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
49127 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
49129 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
49130 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
49132 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
49133 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
49135 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
49136 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
49138 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
49139 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
49141 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
49142 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
49144 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
49145 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
49147 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
49148 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
49150 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
49151 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
49153 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
49154 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
49156 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
49157 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
49159 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
49160 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
49162 static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x
) {
49163 return (void *)((wxWindow
*) (wxControl
*) ((wxCollapsiblePane
*) x
));
49165 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
49166 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
49168 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
49169 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
49171 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
49172 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
49174 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
49175 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
49177 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
49178 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
49180 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
49181 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
49183 static void *_p_wxSearchCtrlTo_p_wxWindow(void *x
) {
49184 return (void *)((wxWindow
*) (wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
49186 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
49187 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
49189 static void *_p_wxControlTo_p_wxWindow(void *x
) {
49190 return (void *)((wxWindow
*) ((wxControl
*) x
));
49192 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
49193 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
49195 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
49196 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
49198 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
49199 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
49201 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
49202 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
49204 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
49205 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
49207 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
49208 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
49210 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
49211 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
49213 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
49214 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
49216 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
49217 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
49219 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
49220 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
49222 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
49223 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
49225 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
49226 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
49228 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
49229 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
49231 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
49232 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
49234 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
49235 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
49237 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
49238 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
49240 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
49241 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
49243 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
49244 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
49246 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
49247 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
49249 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
49250 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
49252 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
49253 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
49255 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
49256 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
49258 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
49259 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
49261 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
49262 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
49264 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
49265 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
49267 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
49268 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
49270 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
49271 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
49273 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
49274 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
49276 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
49277 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
49279 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
49280 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
49282 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
49283 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
49285 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
49286 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
49288 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
49289 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
49291 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
49292 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
49294 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
49295 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
49297 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
49298 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
49300 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
49301 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
49303 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49304 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
49306 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49307 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
49309 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49310 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
49312 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49313 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
49315 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49316 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
49318 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
49319 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
49321 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
49322 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
49324 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
49325 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
49327 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
49328 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
49330 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
49331 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
49333 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
49334 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
49336 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
49337 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
49339 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
49340 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
49342 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
49343 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
49345 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
49346 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
49348 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
49349 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
49351 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
49352 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
49354 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
49355 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
49357 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
49358 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
49360 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
49361 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
49363 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
49364 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
49366 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
49367 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
49369 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
49370 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
49372 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
49373 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
49375 static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x
) {
49376 return (void *)((wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
49378 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
49379 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
49381 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
49382 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
49384 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
49385 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
49387 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
49388 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
49390 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
49391 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
49393 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
49394 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
49396 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
49397 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
49399 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
49400 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
49402 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
49403 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
49405 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
49406 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
49408 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
49409 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
49411 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
49412 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
49414 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
49415 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
49416 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};
49417 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
49418 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
49419 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
49420 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
49421 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
49422 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
49423 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
49424 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
49425 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
49426 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
49427 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
49428 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
49429 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
49430 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
49431 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
49432 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
49433 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
49434 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
49435 static swig_type_info _swigt__p_wxCollapsiblePane
= {"_p_wxCollapsiblePane", "wxCollapsiblePane *", 0, 0, (void*)0, 0};
49436 static swig_type_info _swigt__p_wxCollapsiblePaneEvent
= {"_p_wxCollapsiblePaneEvent", "wxCollapsiblePaneEvent *", 0, 0, (void*)0, 0};
49437 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
49438 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
49439 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
49440 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
49441 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
49442 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
49443 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
49444 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
49445 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
49446 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
49447 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
49448 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
49449 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
49450 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
49451 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
49452 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
49453 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
49454 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
49455 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
49456 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
49457 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
49458 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
49459 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
49460 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
49461 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
49462 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
49463 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
49464 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
49465 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
49466 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
49467 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
49468 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
49469 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
49470 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
49471 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
49472 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
49473 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
49474 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
49475 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
49476 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
49477 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
49478 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
49479 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
49480 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
49481 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
49482 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
49483 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
49484 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
49485 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
49486 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
49487 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
49488 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
49489 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
49490 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
49491 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
49492 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
49493 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
49494 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
49495 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
49496 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
49497 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
49498 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
49499 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
49500 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
49501 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
49502 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
49503 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
49504 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
49505 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
49506 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
49507 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
49508 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
49509 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
49510 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
49511 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
49512 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
49513 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
49514 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
49515 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
49516 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
49517 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
49518 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
49519 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
49520 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
49521 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
49522 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
49523 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
49524 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
49525 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
49526 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
49527 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
49528 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
49529 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
49530 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
49531 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
49532 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
49533 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
49534 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
49535 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
49536 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
49537 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
49538 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
49539 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
49540 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
49541 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
49542 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
49543 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
49544 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
49545 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
49546 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
49547 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
49548 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
49549 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
49550 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
49551 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
49552 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
49553 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
49554 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
49555 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
49556 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
49557 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
49558 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
49559 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
49560 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
49561 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
49562 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
49563 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
49564 static swig_type_info _swigt__p_wxSearchCtrl
= {"_p_wxSearchCtrl", "wxSearchCtrl *", 0, 0, (void*)0, 0};
49565 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
49566 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
49567 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
49568 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
49569 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
49570 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
49571 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
49572 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
49573 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
49574 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
49575 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
49576 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
49577 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
49578 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
49579 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
49580 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
49581 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
49582 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
49583 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
49584 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
49585 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
49586 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
49587 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
49588 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
49589 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
49590 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
49591 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
49592 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
49594 static swig_type_info
*swig_type_initial
[] = {
49597 &_swigt__p_form_ops_t
,
49600 &_swigt__p_unsigned_char
,
49601 &_swigt__p_unsigned_int
,
49602 &_swigt__p_unsigned_long
,
49604 &_swigt__p_wxANIHandler
,
49605 &_swigt__p_wxAcceleratorTable
,
49606 &_swigt__p_wxActivateEvent
,
49607 &_swigt__p_wxArrayInt
,
49608 &_swigt__p_wxArrayString
,
49609 &_swigt__p_wxBMPHandler
,
49610 &_swigt__p_wxBitmap
,
49611 &_swigt__p_wxBitmapButton
,
49612 &_swigt__p_wxBookCtrlBase
,
49613 &_swigt__p_wxBookCtrlBaseEvent
,
49614 &_swigt__p_wxBoxSizer
,
49615 &_swigt__p_wxButton
,
49616 &_swigt__p_wxCURHandler
,
49617 &_swigt__p_wxCheckBox
,
49618 &_swigt__p_wxCheckListBox
,
49619 &_swigt__p_wxChildFocusEvent
,
49620 &_swigt__p_wxChoice
,
49621 &_swigt__p_wxChoicebook
,
49622 &_swigt__p_wxChoicebookEvent
,
49623 &_swigt__p_wxClipboardTextEvent
,
49624 &_swigt__p_wxCloseEvent
,
49625 &_swigt__p_wxCollapsiblePane
,
49626 &_swigt__p_wxCollapsiblePaneEvent
,
49627 &_swigt__p_wxColour
,
49628 &_swigt__p_wxColourPickerCtrl
,
49629 &_swigt__p_wxColourPickerEvent
,
49630 &_swigt__p_wxComboBox
,
49631 &_swigt__p_wxCommandEvent
,
49632 &_swigt__p_wxContextHelp
,
49633 &_swigt__p_wxContextHelpButton
,
49634 &_swigt__p_wxContextMenuEvent
,
49635 &_swigt__p_wxControl
,
49636 &_swigt__p_wxControlWithItems
,
49637 &_swigt__p_wxCursor
,
49639 &_swigt__p_wxDateEvent
,
49640 &_swigt__p_wxDatePickerCtrl
,
49641 &_swigt__p_wxDateTime
,
49642 &_swigt__p_wxDirFilterListCtrl
,
49643 &_swigt__p_wxDirPickerCtrl
,
49644 &_swigt__p_wxDisplayChangedEvent
,
49645 &_swigt__p_wxDropFilesEvent
,
49646 &_swigt__p_wxDuplexMode
,
49647 &_swigt__p_wxEraseEvent
,
49648 &_swigt__p_wxEvent
,
49649 &_swigt__p_wxEvtHandler
,
49650 &_swigt__p_wxFSFile
,
49651 &_swigt__p_wxFileDirPickerEvent
,
49652 &_swigt__p_wxFilePickerCtrl
,
49653 &_swigt__p_wxFileSystem
,
49654 &_swigt__p_wxFlexGridSizer
,
49655 &_swigt__p_wxFocusEvent
,
49657 &_swigt__p_wxFontPickerCtrl
,
49658 &_swigt__p_wxFontPickerEvent
,
49659 &_swigt__p_wxGBSizerItem
,
49660 &_swigt__p_wxGIFHandler
,
49661 &_swigt__p_wxGauge
,
49662 &_swigt__p_wxGenericDirCtrl
,
49663 &_swigt__p_wxGenericDragImage
,
49664 &_swigt__p_wxGridBagSizer
,
49665 &_swigt__p_wxGridSizer
,
49666 &_swigt__p_wxHelpEvent
,
49667 &_swigt__p_wxHelpProvider
,
49668 &_swigt__p_wxHyperlinkCtrl
,
49669 &_swigt__p_wxHyperlinkEvent
,
49670 &_swigt__p_wxICOHandler
,
49672 &_swigt__p_wxIconizeEvent
,
49673 &_swigt__p_wxIdleEvent
,
49674 &_swigt__p_wxImage
,
49675 &_swigt__p_wxImageHandler
,
49676 &_swigt__p_wxImageList
,
49677 &_swigt__p_wxIndividualLayoutConstraint
,
49678 &_swigt__p_wxInitDialogEvent
,
49679 &_swigt__p_wxItemContainer
,
49680 &_swigt__p_wxJPEGHandler
,
49681 &_swigt__p_wxKeyEvent
,
49682 &_swigt__p_wxLayoutConstraints
,
49683 &_swigt__p_wxListBox
,
49684 &_swigt__p_wxListEvent
,
49685 &_swigt__p_wxListItem
,
49686 &_swigt__p_wxListItemAttr
,
49687 &_swigt__p_wxListView
,
49688 &_swigt__p_wxListbook
,
49689 &_swigt__p_wxListbookEvent
,
49690 &_swigt__p_wxMaximizeEvent
,
49691 &_swigt__p_wxMemoryDC
,
49693 &_swigt__p_wxMenuBar
,
49694 &_swigt__p_wxMenuEvent
,
49695 &_swigt__p_wxMenuItem
,
49696 &_swigt__p_wxMouseCaptureChangedEvent
,
49697 &_swigt__p_wxMouseCaptureLostEvent
,
49698 &_swigt__p_wxMouseEvent
,
49699 &_swigt__p_wxMoveEvent
,
49700 &_swigt__p_wxNavigationKeyEvent
,
49701 &_swigt__p_wxNcPaintEvent
,
49702 &_swigt__p_wxNotebook
,
49703 &_swigt__p_wxNotebookEvent
,
49704 &_swigt__p_wxNotifyEvent
,
49705 &_swigt__p_wxObject
,
49706 &_swigt__p_wxPCXHandler
,
49707 &_swigt__p_wxPNGHandler
,
49708 &_swigt__p_wxPNMHandler
,
49709 &_swigt__p_wxPaintEvent
,
49710 &_swigt__p_wxPaletteChangedEvent
,
49711 &_swigt__p_wxPaperSize
,
49712 &_swigt__p_wxPickerBase
,
49713 &_swigt__p_wxPoint
,
49714 &_swigt__p_wxPyApp
,
49715 &_swigt__p_wxPyCommandEvent
,
49716 &_swigt__p_wxPyControl
,
49717 &_swigt__p_wxPyEvent
,
49718 &_swigt__p_wxPyImageHandler
,
49719 &_swigt__p_wxPyListCtrl
,
49720 &_swigt__p_wxPySizer
,
49721 &_swigt__p_wxPyTreeCtrl
,
49722 &_swigt__p_wxPyTreeItemData
,
49723 &_swigt__p_wxPyValidator
,
49724 &_swigt__p_wxQueryNewPaletteEvent
,
49725 &_swigt__p_wxRadioBox
,
49726 &_swigt__p_wxRadioButton
,
49728 &_swigt__p_wxScrollBar
,
49729 &_swigt__p_wxScrollEvent
,
49730 &_swigt__p_wxScrollWinEvent
,
49731 &_swigt__p_wxSearchCtrl
,
49732 &_swigt__p_wxSetCursorEvent
,
49733 &_swigt__p_wxShowEvent
,
49734 &_swigt__p_wxSimpleHelpProvider
,
49736 &_swigt__p_wxSizeEvent
,
49737 &_swigt__p_wxSizer
,
49738 &_swigt__p_wxSizerItem
,
49739 &_swigt__p_wxSlider
,
49740 &_swigt__p_wxSpinButton
,
49741 &_swigt__p_wxSpinCtrl
,
49742 &_swigt__p_wxSpinEvent
,
49743 &_swigt__p_wxStaticBitmap
,
49744 &_swigt__p_wxStaticBox
,
49745 &_swigt__p_wxStaticBoxSizer
,
49746 &_swigt__p_wxStaticLine
,
49747 &_swigt__p_wxStaticText
,
49748 &_swigt__p_wxStdDialogButtonSizer
,
49749 &_swigt__p_wxString
,
49750 &_swigt__p_wxSysColourChangedEvent
,
49751 &_swigt__p_wxTGAHandler
,
49752 &_swigt__p_wxTIFFHandler
,
49753 &_swigt__p_wxTextAttr
,
49754 &_swigt__p_wxTextCtrl
,
49755 &_swigt__p_wxTextUrlEvent
,
49756 &_swigt__p_wxToggleButton
,
49757 &_swigt__p_wxToolBar
,
49758 &_swigt__p_wxToolBarBase
,
49759 &_swigt__p_wxToolBarToolBase
,
49760 &_swigt__p_wxToolbook
,
49761 &_swigt__p_wxToolbookEvent
,
49762 &_swigt__p_wxTreeEvent
,
49763 &_swigt__p_wxTreeItemId
,
49764 &_swigt__p_wxTreebook
,
49765 &_swigt__p_wxTreebookEvent
,
49766 &_swigt__p_wxUpdateUIEvent
,
49767 &_swigt__p_wxValidator
,
49768 &_swigt__p_wxVisualAttributes
,
49769 &_swigt__p_wxWindow
,
49770 &_swigt__p_wxWindowBase
,
49771 &_swigt__p_wxWindowCreateEvent
,
49772 &_swigt__p_wxWindowDestroyEvent
,
49773 &_swigt__p_wxXPMHandler
,
49776 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
49777 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
49778 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
49779 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
49780 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
49781 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
49782 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
49783 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
49784 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
49785 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
49786 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
49787 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
49788 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}};
49789 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}};
49790 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}};
49791 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}};
49792 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
49793 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
49794 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}};
49795 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
49796 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49797 static swig_cast_info _swigc__p_wxCollapsiblePane
[] = { {&_swigt__p_wxCollapsiblePane
, 0, 0, 0},{0, 0, 0, 0}};
49798 static swig_cast_info _swigc__p_wxCollapsiblePaneEvent
[] = { {&_swigt__p_wxCollapsiblePaneEvent
, 0, 0, 0},{0, 0, 0, 0}};
49799 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
49800 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49801 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49802 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
49803 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49804 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
49805 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
49806 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
49807 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
49808 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
49809 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49810 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49811 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
49812 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent
, _p_wxCollapsiblePaneEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
49813 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
49814 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
49815 static swig_cast_info _swigc__p_wxControl
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxControl
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSearchCtrl
, _p_wxSearchCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControl
, 0, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxControl
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxControl
, 0, 0},{0, 0, 0, 0}};
49816 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}};
49817 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
49818 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
49819 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49820 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
49821 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49822 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49823 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
49824 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
49825 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49826 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49827 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
49828 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
49829 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49830 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
49831 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
49832 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49833 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49834 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49835 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49836 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
49837 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
49838 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
49839 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
49840 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49841 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49842 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49843 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49844 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
49845 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
49846 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
49847 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49848 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
49849 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent
, _p_wxCollapsiblePaneEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
49850 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
49851 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
49852 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
49853 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSearchCtrl
, _p_wxSearchCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
49854 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49855 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49856 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
49857 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49858 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49859 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
49860 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49861 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
49862 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
49863 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}};
49864 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49865 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
49866 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
49867 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
49868 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}};
49869 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49870 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}};
49871 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
49872 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
49873 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
49874 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
49875 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
49876 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49877 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
49878 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
49879 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49880 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
49881 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49882 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}};
49883 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
49884 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
49885 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
49886 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
49887 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49888 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49889 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49890 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
49891 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
49892 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
49893 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
49894 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
49895 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
49896 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
49897 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
49898 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
49899 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
49900 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
49901 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
49902 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
49903 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
49904 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
49905 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
49906 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
49907 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
49908 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
49909 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
49910 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
49911 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
49912 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
49913 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
49914 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSearchCtrl
, _p_wxSearchCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent
, _p_wxCollapsiblePaneEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelp
, _p_wxContextHelpTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListItem
, _p_wxListItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDragImage
, _p_wxGenericDragImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarToolBase
, _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
49915 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
49916 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}};
49917 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
49918 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
49919 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}};
49920 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49921 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
49922 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
49923 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
49924 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
49925 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
49926 static swig_cast_info _swigc__p_wxSearchCtrl
[] = { {&_swigt__p_wxSearchCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49927 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
49928 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
49929 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
49930 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
49931 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49932 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
49933 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
49934 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
49935 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
49936 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
49937 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
49938 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
49939 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0}, {&_swigt__p_wxSearchCtrl
, _p_wxSearchCtrlTo_p_wxTextCtrl
, 0, 0},{0, 0, 0, 0}};
49940 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
49941 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
49942 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
49943 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}};
49944 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
49945 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
49946 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49947 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49948 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
49949 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
49950 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49951 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}};
49952 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
49953 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSearchCtrl
, _p_wxSearchCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
49954 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
49956 static swig_cast_info
*swig_cast_initial
[] = {
49959 _swigc__p_form_ops_t
,
49962 _swigc__p_unsigned_char
,
49963 _swigc__p_unsigned_int
,
49964 _swigc__p_unsigned_long
,
49966 _swigc__p_wxANIHandler
,
49967 _swigc__p_wxAcceleratorTable
,
49968 _swigc__p_wxActivateEvent
,
49969 _swigc__p_wxArrayInt
,
49970 _swigc__p_wxArrayString
,
49971 _swigc__p_wxBMPHandler
,
49972 _swigc__p_wxBitmap
,
49973 _swigc__p_wxBitmapButton
,
49974 _swigc__p_wxBookCtrlBase
,
49975 _swigc__p_wxBookCtrlBaseEvent
,
49976 _swigc__p_wxBoxSizer
,
49977 _swigc__p_wxButton
,
49978 _swigc__p_wxCURHandler
,
49979 _swigc__p_wxCheckBox
,
49980 _swigc__p_wxCheckListBox
,
49981 _swigc__p_wxChildFocusEvent
,
49982 _swigc__p_wxChoice
,
49983 _swigc__p_wxChoicebook
,
49984 _swigc__p_wxChoicebookEvent
,
49985 _swigc__p_wxClipboardTextEvent
,
49986 _swigc__p_wxCloseEvent
,
49987 _swigc__p_wxCollapsiblePane
,
49988 _swigc__p_wxCollapsiblePaneEvent
,
49989 _swigc__p_wxColour
,
49990 _swigc__p_wxColourPickerCtrl
,
49991 _swigc__p_wxColourPickerEvent
,
49992 _swigc__p_wxComboBox
,
49993 _swigc__p_wxCommandEvent
,
49994 _swigc__p_wxContextHelp
,
49995 _swigc__p_wxContextHelpButton
,
49996 _swigc__p_wxContextMenuEvent
,
49997 _swigc__p_wxControl
,
49998 _swigc__p_wxControlWithItems
,
49999 _swigc__p_wxCursor
,
50001 _swigc__p_wxDateEvent
,
50002 _swigc__p_wxDatePickerCtrl
,
50003 _swigc__p_wxDateTime
,
50004 _swigc__p_wxDirFilterListCtrl
,
50005 _swigc__p_wxDirPickerCtrl
,
50006 _swigc__p_wxDisplayChangedEvent
,
50007 _swigc__p_wxDropFilesEvent
,
50008 _swigc__p_wxDuplexMode
,
50009 _swigc__p_wxEraseEvent
,
50011 _swigc__p_wxEvtHandler
,
50012 _swigc__p_wxFSFile
,
50013 _swigc__p_wxFileDirPickerEvent
,
50014 _swigc__p_wxFilePickerCtrl
,
50015 _swigc__p_wxFileSystem
,
50016 _swigc__p_wxFlexGridSizer
,
50017 _swigc__p_wxFocusEvent
,
50019 _swigc__p_wxFontPickerCtrl
,
50020 _swigc__p_wxFontPickerEvent
,
50021 _swigc__p_wxGBSizerItem
,
50022 _swigc__p_wxGIFHandler
,
50024 _swigc__p_wxGenericDirCtrl
,
50025 _swigc__p_wxGenericDragImage
,
50026 _swigc__p_wxGridBagSizer
,
50027 _swigc__p_wxGridSizer
,
50028 _swigc__p_wxHelpEvent
,
50029 _swigc__p_wxHelpProvider
,
50030 _swigc__p_wxHyperlinkCtrl
,
50031 _swigc__p_wxHyperlinkEvent
,
50032 _swigc__p_wxICOHandler
,
50034 _swigc__p_wxIconizeEvent
,
50035 _swigc__p_wxIdleEvent
,
50037 _swigc__p_wxImageHandler
,
50038 _swigc__p_wxImageList
,
50039 _swigc__p_wxIndividualLayoutConstraint
,
50040 _swigc__p_wxInitDialogEvent
,
50041 _swigc__p_wxItemContainer
,
50042 _swigc__p_wxJPEGHandler
,
50043 _swigc__p_wxKeyEvent
,
50044 _swigc__p_wxLayoutConstraints
,
50045 _swigc__p_wxListBox
,
50046 _swigc__p_wxListEvent
,
50047 _swigc__p_wxListItem
,
50048 _swigc__p_wxListItemAttr
,
50049 _swigc__p_wxListView
,
50050 _swigc__p_wxListbook
,
50051 _swigc__p_wxListbookEvent
,
50052 _swigc__p_wxMaximizeEvent
,
50053 _swigc__p_wxMemoryDC
,
50055 _swigc__p_wxMenuBar
,
50056 _swigc__p_wxMenuEvent
,
50057 _swigc__p_wxMenuItem
,
50058 _swigc__p_wxMouseCaptureChangedEvent
,
50059 _swigc__p_wxMouseCaptureLostEvent
,
50060 _swigc__p_wxMouseEvent
,
50061 _swigc__p_wxMoveEvent
,
50062 _swigc__p_wxNavigationKeyEvent
,
50063 _swigc__p_wxNcPaintEvent
,
50064 _swigc__p_wxNotebook
,
50065 _swigc__p_wxNotebookEvent
,
50066 _swigc__p_wxNotifyEvent
,
50067 _swigc__p_wxObject
,
50068 _swigc__p_wxPCXHandler
,
50069 _swigc__p_wxPNGHandler
,
50070 _swigc__p_wxPNMHandler
,
50071 _swigc__p_wxPaintEvent
,
50072 _swigc__p_wxPaletteChangedEvent
,
50073 _swigc__p_wxPaperSize
,
50074 _swigc__p_wxPickerBase
,
50077 _swigc__p_wxPyCommandEvent
,
50078 _swigc__p_wxPyControl
,
50079 _swigc__p_wxPyEvent
,
50080 _swigc__p_wxPyImageHandler
,
50081 _swigc__p_wxPyListCtrl
,
50082 _swigc__p_wxPySizer
,
50083 _swigc__p_wxPyTreeCtrl
,
50084 _swigc__p_wxPyTreeItemData
,
50085 _swigc__p_wxPyValidator
,
50086 _swigc__p_wxQueryNewPaletteEvent
,
50087 _swigc__p_wxRadioBox
,
50088 _swigc__p_wxRadioButton
,
50090 _swigc__p_wxScrollBar
,
50091 _swigc__p_wxScrollEvent
,
50092 _swigc__p_wxScrollWinEvent
,
50093 _swigc__p_wxSearchCtrl
,
50094 _swigc__p_wxSetCursorEvent
,
50095 _swigc__p_wxShowEvent
,
50096 _swigc__p_wxSimpleHelpProvider
,
50098 _swigc__p_wxSizeEvent
,
50100 _swigc__p_wxSizerItem
,
50101 _swigc__p_wxSlider
,
50102 _swigc__p_wxSpinButton
,
50103 _swigc__p_wxSpinCtrl
,
50104 _swigc__p_wxSpinEvent
,
50105 _swigc__p_wxStaticBitmap
,
50106 _swigc__p_wxStaticBox
,
50107 _swigc__p_wxStaticBoxSizer
,
50108 _swigc__p_wxStaticLine
,
50109 _swigc__p_wxStaticText
,
50110 _swigc__p_wxStdDialogButtonSizer
,
50111 _swigc__p_wxString
,
50112 _swigc__p_wxSysColourChangedEvent
,
50113 _swigc__p_wxTGAHandler
,
50114 _swigc__p_wxTIFFHandler
,
50115 _swigc__p_wxTextAttr
,
50116 _swigc__p_wxTextCtrl
,
50117 _swigc__p_wxTextUrlEvent
,
50118 _swigc__p_wxToggleButton
,
50119 _swigc__p_wxToolBar
,
50120 _swigc__p_wxToolBarBase
,
50121 _swigc__p_wxToolBarToolBase
,
50122 _swigc__p_wxToolbook
,
50123 _swigc__p_wxToolbookEvent
,
50124 _swigc__p_wxTreeEvent
,
50125 _swigc__p_wxTreeItemId
,
50126 _swigc__p_wxTreebook
,
50127 _swigc__p_wxTreebookEvent
,
50128 _swigc__p_wxUpdateUIEvent
,
50129 _swigc__p_wxValidator
,
50130 _swigc__p_wxVisualAttributes
,
50131 _swigc__p_wxWindow
,
50132 _swigc__p_wxWindowBase
,
50133 _swigc__p_wxWindowCreateEvent
,
50134 _swigc__p_wxWindowDestroyEvent
,
50135 _swigc__p_wxXPMHandler
,
50139 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
50141 static swig_const_info swig_const_table
[] = {
50142 {0, 0, 0, 0.0, 0, 0}};
50147 /* -----------------------------------------------------------------------------
50148 * Type initialization:
50149 * This problem is tough by the requirement that no dynamic
50150 * memory is used. Also, since swig_type_info structures store pointers to
50151 * swig_cast_info structures and swig_cast_info structures store pointers back
50152 * to swig_type_info structures, we need some lookup code at initialization.
50153 * The idea is that swig generates all the structures that are needed.
50154 * The runtime then collects these partially filled structures.
50155 * The SWIG_InitializeModule function takes these initial arrays out of
50156 * swig_module, and does all the lookup, filling in the swig_module.types
50157 * array with the correct data and linking the correct swig_cast_info
50158 * structures together.
50160 * The generated swig_type_info structures are assigned staticly to an initial
50161 * array. We just loop though that array, and handle each type individually.
50162 * First we lookup if this type has been already loaded, and if so, use the
50163 * loaded structure instead of the generated one. Then we have to fill in the
50164 * cast linked list. The cast data is initially stored in something like a
50165 * two-dimensional array. Each row corresponds to a type (there are the same
50166 * number of rows as there are in the swig_type_initial array). Each entry in
50167 * a column is one of the swig_cast_info structures for that type.
50168 * The cast_initial array is actually an array of arrays, because each row has
50169 * a variable number of columns. So to actually build the cast linked list,
50170 * we find the array of casts associated with the type, and loop through it
50171 * adding the casts to the list. The one last trick we need to do is making
50172 * sure the type pointer in the swig_cast_info struct is correct.
50174 * First off, we lookup the cast->type name to see if it is already loaded.
50175 * There are three cases to handle:
50176 * 1) If the cast->type has already been loaded AND the type we are adding
50177 * casting info to has not been loaded (it is in this module), THEN we
50178 * replace the cast->type pointer with the type pointer that has already
50180 * 2) If BOTH types (the one we are adding casting info to, and the
50181 * cast->type) are loaded, THEN the cast info has already been loaded by
50182 * the previous module so we just ignore it.
50183 * 3) Finally, if cast->type has not already been loaded, then we add that
50184 * swig_cast_info to the linked list (because the cast->type) pointer will
50186 * ----------------------------------------------------------------------------- */
50196 #define SWIGRUNTIME_DEBUG
50200 SWIG_InitializeModule(void *clientdata
) {
50202 swig_module_info
*module_head
;
50203 static int init_run
= 0;
50205 clientdata
= clientdata
;
50207 if (init_run
) return;
50210 /* Initialize the swig_module */
50211 swig_module
.type_initial
= swig_type_initial
;
50212 swig_module
.cast_initial
= swig_cast_initial
;
50214 /* Try and load any already created modules */
50215 module_head
= SWIG_GetModule(clientdata
);
50217 swig_module
.next
= module_head
->next
;
50218 module_head
->next
= &swig_module
;
50220 /* This is the first module loaded */
50221 swig_module
.next
= &swig_module
;
50222 SWIG_SetModule(clientdata
, &swig_module
);
50225 /* Now work on filling in swig_module.types */
50226 #ifdef SWIGRUNTIME_DEBUG
50227 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
50229 for (i
= 0; i
< swig_module
.size
; ++i
) {
50230 swig_type_info
*type
= 0;
50231 swig_type_info
*ret
;
50232 swig_cast_info
*cast
;
50234 #ifdef SWIGRUNTIME_DEBUG
50235 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
50238 /* if there is another module already loaded */
50239 if (swig_module
.next
!= &swig_module
) {
50240 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
50243 /* Overwrite clientdata field */
50244 #ifdef SWIGRUNTIME_DEBUG
50245 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
50247 if (swig_module
.type_initial
[i
]->clientdata
) {
50248 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
50249 #ifdef SWIGRUNTIME_DEBUG
50250 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
50254 type
= swig_module
.type_initial
[i
];
50257 /* Insert casting types */
50258 cast
= swig_module
.cast_initial
[i
];
50259 while (cast
->type
) {
50260 /* Don't need to add information already in the list */
50262 #ifdef SWIGRUNTIME_DEBUG
50263 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
50265 if (swig_module
.next
!= &swig_module
) {
50266 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
50267 #ifdef SWIGRUNTIME_DEBUG
50268 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
50272 if (type
== swig_module
.type_initial
[i
]) {
50273 #ifdef SWIGRUNTIME_DEBUG
50274 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
50279 /* Check for casting already in the list */
50280 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
50281 #ifdef SWIGRUNTIME_DEBUG
50282 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
50284 if (!ocast
) ret
= 0;
50289 #ifdef SWIGRUNTIME_DEBUG
50290 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
50293 type
->cast
->prev
= cast
;
50294 cast
->next
= type
->cast
;
50300 /* Set entry in modules->types array equal to the type */
50301 swig_module
.types
[i
] = type
;
50303 swig_module
.types
[i
] = 0;
50305 #ifdef SWIGRUNTIME_DEBUG
50306 printf("**** SWIG_InitializeModule: Cast List ******\n");
50307 for (i
= 0; i
< swig_module
.size
; ++i
) {
50309 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
50310 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
50311 while (cast
->type
) {
50312 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
50316 printf("---- Total casts: %d\n",j
);
50318 printf("**** SWIG_InitializeModule: Cast List ******\n");
50322 /* This function will propagate the clientdata field of type to
50323 * any new swig_type_info structures that have been added into the list
50324 * of equivalent types. It is like calling
50325 * SWIG_TypeClientData(type, clientdata) a second time.
50328 SWIG_PropagateClientData(void) {
50330 swig_cast_info
*equiv
;
50331 static int init_run
= 0;
50333 if (init_run
) return;
50336 for (i
= 0; i
< swig_module
.size
; i
++) {
50337 if (swig_module
.types
[i
]->clientdata
) {
50338 equiv
= swig_module
.types
[i
]->cast
;
50340 if (!equiv
->converter
) {
50341 if (equiv
->type
&& !equiv
->type
->clientdata
)
50342 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
50344 equiv
= equiv
->next
;
50364 /* Python-specific SWIG API */
50365 #define SWIG_newvarlink() SWIG_Python_newvarlink()
50366 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
50367 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
50369 /* -----------------------------------------------------------------------------
50370 * global variable support code.
50371 * ----------------------------------------------------------------------------- */
50373 typedef struct swig_globalvar
{
50374 char *name
; /* Name of global variable */
50375 PyObject
*(*get_attr
)(void); /* Return the current value */
50376 int (*set_attr
)(PyObject
*); /* Set the value */
50377 struct swig_globalvar
*next
;
50380 typedef struct swig_varlinkobject
{
50382 swig_globalvar
*vars
;
50383 } swig_varlinkobject
;
50385 SWIGINTERN PyObject
*
50386 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
50387 return PyString_FromString("<Swig global variables>");
50390 SWIGINTERN PyObject
*
50391 swig_varlink_str(swig_varlinkobject
*v
) {
50392 PyObject
*str
= PyString_FromString("(");
50393 swig_globalvar
*var
;
50394 for (var
= v
->vars
; var
; var
=var
->next
) {
50395 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
50396 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
50398 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
50403 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
50404 PyObject
*str
= swig_varlink_str(v
);
50405 fprintf(fp
,"Swig global variables ");
50406 fprintf(fp
,"%s\n", PyString_AsString(str
));
50412 swig_varlink_dealloc(swig_varlinkobject
*v
) {
50413 swig_globalvar
*var
= v
->vars
;
50415 swig_globalvar
*n
= var
->next
;
50422 SWIGINTERN PyObject
*
50423 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
50424 PyObject
*res
= NULL
;
50425 swig_globalvar
*var
= v
->vars
;
50427 if (strcmp(var
->name
,n
) == 0) {
50428 res
= (*var
->get_attr
)();
50433 if (res
== NULL
&& !PyErr_Occurred()) {
50434 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
50440 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
50442 swig_globalvar
*var
= v
->vars
;
50444 if (strcmp(var
->name
,n
) == 0) {
50445 res
= (*var
->set_attr
)(p
);
50450 if (res
== 1 && !PyErr_Occurred()) {
50451 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
50456 SWIGINTERN PyTypeObject
*
50457 swig_varlink_type(void) {
50458 static char varlink__doc__
[] = "Swig var link object";
50459 static PyTypeObject varlink_type
;
50460 static int type_init
= 0;
50462 const PyTypeObject tmp
50464 PyObject_HEAD_INIT(NULL
)
50465 0, /* Number of items in variable part (ob_size) */
50466 (char *)"swigvarlink", /* Type name (tp_name) */
50467 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
50468 0, /* Itemsize (tp_itemsize) */
50469 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
50470 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
50471 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
50472 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
50473 0, /* tp_compare */
50474 (reprfunc
) swig_varlink_repr
, /* tp_repr */
50475 0, /* tp_as_number */
50476 0, /* tp_as_sequence */
50477 0, /* tp_as_mapping */
50480 (reprfunc
)swig_varlink_str
, /* tp_str */
50481 0, /* tp_getattro */
50482 0, /* tp_setattro */
50483 0, /* tp_as_buffer */
50485 varlink__doc__
, /* tp_doc */
50486 0, /* tp_traverse */
50488 0, /* tp_richcompare */
50489 0, /* tp_weaklistoffset */
50490 #if PY_VERSION_HEX >= 0x02020000
50491 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
50493 #if PY_VERSION_HEX >= 0x02030000
50496 #ifdef COUNT_ALLOCS
50497 0,0,0,0 /* tp_alloc -> tp_next */
50500 varlink_type
= tmp
;
50501 varlink_type
.ob_type
= &PyType_Type
;
50504 return &varlink_type
;
50507 /* Create a variable linking object for use later */
50508 SWIGINTERN PyObject
*
50509 SWIG_Python_newvarlink(void) {
50510 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
50514 return ((PyObject
*) result
);
50518 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
50519 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
50520 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
50522 size_t size
= strlen(name
)+1;
50523 gv
->name
= (char *)malloc(size
);
50525 strncpy(gv
->name
,name
,size
);
50526 gv
->get_attr
= get_attr
;
50527 gv
->set_attr
= set_attr
;
50528 gv
->next
= v
->vars
;
50534 SWIGINTERN PyObject
*
50536 static PyObject
*_SWIG_globals
= 0;
50537 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
50538 return _SWIG_globals
;
50541 /* -----------------------------------------------------------------------------
50542 * constants/methods manipulation
50543 * ----------------------------------------------------------------------------- */
50545 /* Install Constants */
50547 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
50550 for (i
= 0; constants
[i
].type
; ++i
) {
50551 switch(constants
[i
].type
) {
50552 case SWIG_PY_POINTER
:
50553 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
50555 case SWIG_PY_BINARY
:
50556 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
50563 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
50569 /* -----------------------------------------------------------------------------*/
50570 /* Fix SwigMethods to carry the callback ptrs when needed */
50571 /* -----------------------------------------------------------------------------*/
50574 SWIG_Python_FixMethods(PyMethodDef
*methods
,
50575 swig_const_info
*const_table
,
50576 swig_type_info
**types
,
50577 swig_type_info
**types_initial
) {
50579 for (i
= 0; methods
[i
].ml_name
; ++i
) {
50580 const char *c
= methods
[i
].ml_doc
;
50581 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
50583 swig_const_info
*ci
= 0;
50584 const char *name
= c
+ 10;
50585 for (j
= 0; const_table
[j
].type
; ++j
) {
50586 if (strncmp(const_table
[j
].name
, name
,
50587 strlen(const_table
[j
].name
)) == 0) {
50588 ci
= &(const_table
[j
]);
50593 size_t shift
= (ci
->ptype
) - types
;
50594 swig_type_info
*ty
= types_initial
[shift
];
50595 size_t ldoc
= (c
- methods
[i
].ml_doc
);
50596 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
50597 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
50600 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
50602 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
50604 strncpy(buff
, "swig_ptr: ", 10);
50606 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
50607 methods
[i
].ml_doc
= ndoc
;
50619 /* -----------------------------------------------------------------------------*
50620 * Partial Init method
50621 * -----------------------------------------------------------------------------*/
50626 SWIGEXPORT
void SWIG_init(void) {
50629 /* Fix SwigMethods to carry the callback ptrs when needed */
50630 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
50632 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
50633 d
= PyModule_GetDict(m
);
50635 SWIG_InitializeModule(0);
50636 SWIG_InstallConstants(d
,swig_const_table
);
50639 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
50640 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
50641 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
50642 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
50643 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
50644 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
50645 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
50646 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
50647 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
50648 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
50649 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
50650 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
50651 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
50652 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
50653 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
50654 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
50655 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
50656 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
50657 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
50658 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
50659 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
50660 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
50661 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
50662 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
50663 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
50664 SWIG_addvarlink(SWIG_globals(),(char*)"StaticLineNameStr",StaticLineNameStr_get
, StaticLineNameStr_set
);
50665 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
50666 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
50667 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
50668 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
50669 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
50670 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
50671 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
50672 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
50673 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
50674 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
50675 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
50676 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
50677 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
50678 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
50679 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
50680 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
50681 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
50682 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
50683 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
50684 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
50685 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
50686 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
50687 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
50688 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
50689 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
50690 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
50691 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
50692 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
50693 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
50694 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
50695 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
50696 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
50697 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
50698 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
50699 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
50700 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
50701 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
50702 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
50703 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
50704 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
50705 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
50706 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
50707 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
50708 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
50709 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
50710 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
50711 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
50712 SWIG_Python_SetConstant(d
, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY
)));
50713 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
50714 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
50715 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
50716 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
50717 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
50718 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
50719 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
50720 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
50721 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
50722 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
50723 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
50724 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
50725 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
50726 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
50727 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
50728 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
50729 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
50730 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
50731 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
50732 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
50733 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
50734 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
50735 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
50736 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
50737 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
50738 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
50739 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
50740 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
50741 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
50742 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
50743 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
50744 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
50745 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
50746 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
50747 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
50748 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
50749 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
50750 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
50751 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
50752 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
50753 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
50754 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
50755 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
50756 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
50757 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
50758 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
50759 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
50760 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
50761 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
50762 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
50763 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
50764 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
50765 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
50766 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
50767 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
50768 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
50769 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
50770 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
50771 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
50772 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
50773 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
50774 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
50775 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
50776 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
50777 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
50778 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
50779 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
50780 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
50781 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
50782 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
50783 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
50784 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
50785 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
50786 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
50787 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
50788 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
50789 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
50790 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
50791 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
50792 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
50793 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
50794 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
50795 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
50796 SWIG_Python_SetConstant(d
, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP
)));
50797 SWIG_Python_SetConstant(d
, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT
)));
50798 SWIG_Python_SetConstant(d
, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM
)));
50799 SWIG_Python_SetConstant(d
, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT
)));
50800 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
50801 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
50802 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
50803 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
50804 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
50805 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
50806 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
50807 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
50808 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
50809 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
50810 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
50811 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
50812 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
50813 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
50814 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
50815 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
50816 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
50817 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
50818 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
50819 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
50820 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
50821 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
50822 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
50823 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
50824 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
50825 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
50826 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
50827 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
50828 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
50829 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
50830 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
50831 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
50832 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
50833 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
50834 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
50835 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
50836 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
50837 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
50838 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
50839 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
50840 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
50841 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
50842 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
50843 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
50844 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
50845 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
50846 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
50847 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
50848 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
50849 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
50850 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
50851 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
50852 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
50853 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
50854 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
50855 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
50856 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
50857 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
50858 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
50859 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
50860 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
50861 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
50862 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
50863 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
50864 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
50865 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
50866 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
50867 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
50868 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
50869 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
50870 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
50871 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
50872 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
50873 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
50874 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
50875 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
50876 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
50877 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
50878 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
50879 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
50880 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
50881 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
50882 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
50883 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
50884 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
50885 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
50886 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
50887 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
50888 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
50889 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
50890 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
50891 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
50892 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
50893 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
50894 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
50895 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
50896 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
50897 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
50898 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
50899 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
50901 // Map renamed classes back to their common name for OOR
50902 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
50904 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
50905 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
50906 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
50907 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
50908 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
50909 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
50910 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
50911 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
50912 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
50913 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
50914 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
50915 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
50916 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
50917 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
50918 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
50919 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
50920 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
50921 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
50922 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
50923 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
50924 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
50925 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
50926 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
50927 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
50928 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
50929 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
50930 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
50931 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
50932 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
50933 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
50934 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
50935 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
50936 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
50937 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
50938 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
50939 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
50940 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
50941 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
50942 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
50943 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
50944 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
50945 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
50946 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
50947 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
50948 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
50949 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
50950 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
50951 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
50952 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
50953 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
50954 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
50955 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
50956 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
50957 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
50958 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
50959 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
50961 // Map renamed classes back to their common name for OOR
50962 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
50963 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
50965 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
50966 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
50967 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
50968 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
50969 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
50970 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
50971 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
50972 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
50973 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
50974 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
50975 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
50977 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
50979 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
50980 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
50981 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
50982 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
50983 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
50984 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
50985 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
50986 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
50987 SWIG_Python_SetConstant(d
, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT
)));
50988 SWIG_Python_SetConstant(d
, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT
)));
50989 SWIG_Python_SetConstant(d
, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE
)));
50990 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
50991 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
50992 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
50993 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
50994 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
50995 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
50996 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
50997 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
50998 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
50999 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
51000 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
51001 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
51002 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
51003 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
51004 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
51005 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
51006 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
51007 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
51008 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
51009 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
51010 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
51011 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
51012 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
51013 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
51014 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
51015 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
51016 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
51017 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
51018 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
51019 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
51020 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
51021 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));
51022 SWIG_addvarlink(SWIG_globals(),(char*)"CollapsiblePaneNameStr",CollapsiblePaneNameStr_get
, CollapsiblePaneNameStr_set
);
51023 SWIG_Python_SetConstant(d
, "CP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCP_DEFAULT_STYLE
)));
51024 SWIG_Python_SetConstant(d
, "CP_NO_TLW_RESIZE",SWIG_From_int(static_cast< int >(wxCP_NO_TLW_RESIZE
)));
51025 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLLPANE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLLPANE_CHANGED
));
51026 SWIG_addvarlink(SWIG_globals(),(char*)"SearchCtrlNameStr",SearchCtrlNameStr_get
, SearchCtrlNameStr_set
);
51027 PyDict_SetItemString(d
, "wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN
));
51028 PyDict_SetItemString(d
, "wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN
));