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_wxEventBlocker swig_types[54]
2521 #define SWIGTYPE_p_wxEvtHandler swig_types[55]
2522 #define SWIGTYPE_p_wxFSFile swig_types[56]
2523 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[57]
2524 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[58]
2525 #define SWIGTYPE_p_wxFileSystem swig_types[59]
2526 #define SWIGTYPE_p_wxFlexGridSizer swig_types[60]
2527 #define SWIGTYPE_p_wxFocusEvent swig_types[61]
2528 #define SWIGTYPE_p_wxFont swig_types[62]
2529 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[63]
2530 #define SWIGTYPE_p_wxFontPickerEvent swig_types[64]
2531 #define SWIGTYPE_p_wxGBSizerItem swig_types[65]
2532 #define SWIGTYPE_p_wxGIFHandler swig_types[66]
2533 #define SWIGTYPE_p_wxGauge swig_types[67]
2534 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[68]
2535 #define SWIGTYPE_p_wxGenericDragImage swig_types[69]
2536 #define SWIGTYPE_p_wxGridBagSizer swig_types[70]
2537 #define SWIGTYPE_p_wxGridSizer swig_types[71]
2538 #define SWIGTYPE_p_wxHelpEvent swig_types[72]
2539 #define SWIGTYPE_p_wxHelpProvider swig_types[73]
2540 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[74]
2541 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[75]
2542 #define SWIGTYPE_p_wxICOHandler swig_types[76]
2543 #define SWIGTYPE_p_wxIcon swig_types[77]
2544 #define SWIGTYPE_p_wxIconizeEvent swig_types[78]
2545 #define SWIGTYPE_p_wxIdleEvent swig_types[79]
2546 #define SWIGTYPE_p_wxImage swig_types[80]
2547 #define SWIGTYPE_p_wxImageHandler swig_types[81]
2548 #define SWIGTYPE_p_wxImageList swig_types[82]
2549 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[83]
2550 #define SWIGTYPE_p_wxInitDialogEvent swig_types[84]
2551 #define SWIGTYPE_p_wxItemContainer swig_types[85]
2552 #define SWIGTYPE_p_wxJPEGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxKeyEvent swig_types[87]
2554 #define SWIGTYPE_p_wxLayoutConstraints swig_types[88]
2555 #define SWIGTYPE_p_wxListBox swig_types[89]
2556 #define SWIGTYPE_p_wxListEvent swig_types[90]
2557 #define SWIGTYPE_p_wxListItem swig_types[91]
2558 #define SWIGTYPE_p_wxListItemAttr swig_types[92]
2559 #define SWIGTYPE_p_wxListView swig_types[93]
2560 #define SWIGTYPE_p_wxListbook swig_types[94]
2561 #define SWIGTYPE_p_wxListbookEvent swig_types[95]
2562 #define SWIGTYPE_p_wxMaximizeEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMemoryDC swig_types[97]
2564 #define SWIGTYPE_p_wxMenu swig_types[98]
2565 #define SWIGTYPE_p_wxMenuBar swig_types[99]
2566 #define SWIGTYPE_p_wxMenuEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMenuItem swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMouseEvent swig_types[104]
2571 #define SWIGTYPE_p_wxMoveEvent swig_types[105]
2572 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[106]
2573 #define SWIGTYPE_p_wxNcPaintEvent swig_types[107]
2574 #define SWIGTYPE_p_wxNotebook swig_types[108]
2575 #define SWIGTYPE_p_wxNotebookEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNotifyEvent swig_types[110]
2577 #define SWIGTYPE_p_wxObject swig_types[111]
2578 #define SWIGTYPE_p_wxPCXHandler swig_types[112]
2579 #define SWIGTYPE_p_wxPNGHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPNMHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPaintEvent swig_types[115]
2582 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[116]
2583 #define SWIGTYPE_p_wxPaperSize swig_types[117]
2584 #define SWIGTYPE_p_wxPickerBase swig_types[118]
2585 #define SWIGTYPE_p_wxPoint swig_types[119]
2586 #define SWIGTYPE_p_wxPyApp swig_types[120]
2587 #define SWIGTYPE_p_wxPyCommandEvent swig_types[121]
2588 #define SWIGTYPE_p_wxPyControl swig_types[122]
2589 #define SWIGTYPE_p_wxPyEvent swig_types[123]
2590 #define SWIGTYPE_p_wxPyImageHandler swig_types[124]
2591 #define SWIGTYPE_p_wxPyListCtrl swig_types[125]
2592 #define SWIGTYPE_p_wxPySizer swig_types[126]
2593 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[127]
2594 #define SWIGTYPE_p_wxPyTreeItemData swig_types[128]
2595 #define SWIGTYPE_p_wxPyValidator swig_types[129]
2596 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[130]
2597 #define SWIGTYPE_p_wxRadioBox swig_types[131]
2598 #define SWIGTYPE_p_wxRadioButton swig_types[132]
2599 #define SWIGTYPE_p_wxRect swig_types[133]
2600 #define SWIGTYPE_p_wxScrollBar swig_types[134]
2601 #define SWIGTYPE_p_wxScrollEvent swig_types[135]
2602 #define SWIGTYPE_p_wxScrollWinEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSearchCtrl swig_types[137]
2604 #define SWIGTYPE_p_wxSetCursorEvent swig_types[138]
2605 #define SWIGTYPE_p_wxShowEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[140]
2607 #define SWIGTYPE_p_wxSize swig_types[141]
2608 #define SWIGTYPE_p_wxSizeEvent swig_types[142]
2609 #define SWIGTYPE_p_wxSizer swig_types[143]
2610 #define SWIGTYPE_p_wxSizerItem swig_types[144]
2611 #define SWIGTYPE_p_wxSlider swig_types[145]
2612 #define SWIGTYPE_p_wxSpinButton swig_types[146]
2613 #define SWIGTYPE_p_wxSpinCtrl swig_types[147]
2614 #define SWIGTYPE_p_wxSpinEvent swig_types[148]
2615 #define SWIGTYPE_p_wxStaticBitmap swig_types[149]
2616 #define SWIGTYPE_p_wxStaticBox swig_types[150]
2617 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[151]
2618 #define SWIGTYPE_p_wxStaticLine swig_types[152]
2619 #define SWIGTYPE_p_wxStaticText swig_types[153]
2620 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[154]
2621 #define SWIGTYPE_p_wxString swig_types[155]
2622 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[156]
2623 #define SWIGTYPE_p_wxTGAHandler swig_types[157]
2624 #define SWIGTYPE_p_wxTIFFHandler swig_types[158]
2625 #define SWIGTYPE_p_wxTextAttr swig_types[159]
2626 #define SWIGTYPE_p_wxTextCtrl swig_types[160]
2627 #define SWIGTYPE_p_wxTextUrlEvent swig_types[161]
2628 #define SWIGTYPE_p_wxToggleButton swig_types[162]
2629 #define SWIGTYPE_p_wxToolBar swig_types[163]
2630 #define SWIGTYPE_p_wxToolBarBase swig_types[164]
2631 #define SWIGTYPE_p_wxToolBarToolBase swig_types[165]
2632 #define SWIGTYPE_p_wxToolbook swig_types[166]
2633 #define SWIGTYPE_p_wxToolbookEvent swig_types[167]
2634 #define SWIGTYPE_p_wxTreeEvent swig_types[168]
2635 #define SWIGTYPE_p_wxTreeItemId swig_types[169]
2636 #define SWIGTYPE_p_wxTreebook swig_types[170]
2637 #define SWIGTYPE_p_wxTreebookEvent swig_types[171]
2638 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[172]
2639 #define SWIGTYPE_p_wxValidator swig_types[173]
2640 #define SWIGTYPE_p_wxVisualAttributes swig_types[174]
2641 #define SWIGTYPE_p_wxWindow swig_types[175]
2642 #define SWIGTYPE_p_wxWindowBase swig_types[176]
2643 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[177]
2644 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[178]
2645 #define SWIGTYPE_p_wxXPMHandler swig_types[179]
2646 static swig_type_info
*swig_types
[181];
2647 static swig_module_info swig_module
= {swig_types
, 180, 0, 0, 0, 0};
2648 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2649 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2651 /* -------- TYPES TABLE (END) -------- */
2653 #if (PY_VERSION_HEX <= 0x02000000)
2654 # if !defined(SWIG_PYTHON_CLASSIC)
2655 # error "This python version requires to use swig with the '-classic' option"
2658 #if (PY_VERSION_HEX <= 0x02020000)
2659 # error "This python version requires to use swig with the '-nomodern' option"
2661 #if (PY_VERSION_HEX <= 0x02020000)
2662 # error "This python version requires to use swig with the '-nomodernargs' option"
2665 # error "This python version requires to use swig with the '-nofastunpack' option"
2668 /*-----------------------------------------------
2669 @(target):= _controls_.so
2670 ------------------------------------------------*/
2671 #define SWIG_init init_controls_
2673 #define SWIG_name "_controls_"
2675 #define SWIGVERSION 0x010329
2678 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2679 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2682 #include <stdexcept>
2686 class PyObject_ptr
{
2691 PyObject_ptr() :_obj(0)
2695 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2700 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2702 if (initial_ref
) Py_XINCREF(_obj
);
2705 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2707 Py_XINCREF(item
._obj
);
2718 operator PyObject
*() const
2723 PyObject
*operator->() const
2732 struct PyObject_var
: PyObject_ptr
{
2733 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2735 PyObject_var
& operator = (PyObject
* obj
)
2745 #include "wx/wxPython/wxPython.h"
2746 #include "wx/wxPython/pyclasses.h"
2748 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2749 static const wxString
wxPyEmptyString(wxEmptyString
);
2750 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2752 const wxArrayString wxPyEmptyStringArray
;
2754 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2756 #define SWIG_From_long PyInt_FromLong
2759 SWIGINTERNINLINE PyObject
*
2760 SWIG_From_int (int value
)
2762 return SWIG_From_long (value
);
2768 # define LLONG_MIN LONG_LONG_MIN
2771 # define LLONG_MAX LONG_LONG_MAX
2774 # define ULLONG_MAX ULONG_LONG_MAX
2779 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2781 if (PyNumber_Check(obj
)) {
2782 if (val
) *val
= PyInt_AsLong(obj
);
2785 return SWIG_TypeError
;
2790 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2793 int res
= SWIG_AsVal_long (obj
, &v
);
2794 if (SWIG_IsOK(res
)) {
2795 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2796 return SWIG_OverflowError
;
2798 if (val
) *val
= static_cast< int >(v
);
2804 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2807 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2809 if (obj
== Py_True
) {
2810 if (val
) *val
= true;
2812 } else if (obj
== Py_False
) {
2813 if (val
) *val
= false;
2817 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2818 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2823 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2824 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2825 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2826 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2827 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2828 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2829 static const wxString
wxPyStaticLineNameStr(wxStaticLineNameStr
);
2831 #include <wx/checklst.h>
2833 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2834 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2837 wxPyClientData
* data
= new wxPyClientData(clientData
);
2838 self
->Insert(item
, pos
, data
);
2841 self
->Insert(item
, pos
);
2845 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2848 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2849 return SWIG_TypeError
;
2852 *val
= (unsigned long)v
;
2858 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2861 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2862 if (SWIG_IsOK(res
)) {
2863 if ((v
> UINT_MAX
)) {
2864 return SWIG_OverflowError
;
2866 if (val
) *val
= static_cast< unsigned int >(v
);
2872 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2873 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2875 self
->GetSelections(lst
);
2876 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2877 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2879 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2881 wxPyEndBlockThreads(blocked
);
2884 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2886 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2887 self
->GetItem(item
)->SetTextColour(c
);
2890 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2892 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2893 self
->GetItem(item
)->SetBackgroundColour(c
);
2896 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2898 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2899 self
->GetItem(item
)->SetFont(f
);
2902 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2903 SWIGINTERN
void wxTextCtrl_MacCheckSpelling(wxTextCtrl
*self
,bool check
){}
2904 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2905 self
->AppendText(text
);
2907 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2908 return self
->GetValue().Mid(from
, to
- from
);
2910 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2911 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2912 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2913 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2914 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2916 SWIGINTERNINLINE PyObject
*
2917 SWIG_From_unsigned_SS_long (unsigned long value
)
2919 return (value
> LONG_MAX
) ?
2920 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2924 SWIGINTERNINLINE PyObject
*
2925 SWIG_From_size_t (size_t value
)
2927 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2931 SWIGINTERNINLINE PyObject
*
2932 SWIG_From_unsigned_SS_int (unsigned int value
)
2934 return SWIG_From_unsigned_SS_long (value
);
2938 #include <wx/slider.h>
2941 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2942 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2944 #if !wxUSE_TOGGLEBTN
2945 // implement dummy items for platforms that don't have this class
2947 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2949 class wxToggleButton
: public wxControl
2952 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2953 const wxPoint
&, const wxSize
&, long,
2954 const wxValidator
&, const wxString
&)
2955 { wxPyRaiseNotImplemented(); }
2958 { wxPyRaiseNotImplemented(); }
2962 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2964 SWIGINTERNINLINE
int
2965 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2968 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2969 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2973 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2974 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2975 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2977 Py_INCREF(udata
->m_obj
);
2978 return udata
->m_obj
;
2984 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2985 self
->SetClientData(new wxPyUserData(clientData
));
2987 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
){
2988 wxPyUserData
* udata
= NULL
;
2989 if (clientData
&& clientData
!= Py_None
)
2990 udata
= new wxPyUserData(clientData
);
2991 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2992 shortHelp
, longHelp
, udata
);
2994 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
){
2995 wxPyUserData
* udata
= NULL
;
2996 if (clientData
&& clientData
!= Py_None
)
2997 udata
= new wxPyUserData(clientData
);
2998 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2999 shortHelp
, longHelp
, udata
);
3001 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
3002 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
3004 Py_INCREF(udata
->m_obj
);
3005 return udata
->m_obj
;
3011 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3012 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3015 #include <wx/listctrl.h>
3017 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3018 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3019 // Python aware sorting function for wxPyListCtrl
3020 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3022 PyObject
* func
= (PyObject
*)funcPtr
;
3023 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3025 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3026 PyObject
* result
= PyEval_CallObject(func
, args
);
3029 retval
= PyInt_AsLong(result
);
3033 wxPyEndBlockThreads(blocked
);
3037 // C++ Version of a Python aware class
3038 class wxPyListCtrl
: public wxListCtrl
{
3039 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3041 wxPyListCtrl() : wxListCtrl() {}
3042 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3046 const wxValidator
& validator
,
3047 const wxString
& name
) :
3048 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3050 bool Create(wxWindow
* parent
, wxWindowID id
,
3054 const wxValidator
& validator
,
3055 const wxString
& name
) {
3056 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3059 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3060 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3062 // use the virtual version to avoid a confusing assert in the base class
3063 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3064 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3069 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3071 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3072 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3073 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3074 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3077 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3079 item
.SetMask( wxLIST_MASK_STATE
|
3087 if (self
->GetColumn(col
, item
))
3088 return new wxListItem(item
);
3092 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3093 wxListItem
* info
= new wxListItem
;
3094 info
->m_itemId
= itemId
;
3096 info
->m_mask
= 0xFFFF;
3097 self
->GetItem(*info
);
3100 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3102 self
->GetItemPosition(item
, pos
);
3105 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3107 self
->GetItemRect(item
, rect
, code
);
3110 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3111 if (!PyCallable_Check(func
))
3113 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3115 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3123 #include <wx/treectrl.h>
3124 #include "wx/wxPython/pytree.h"
3126 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3127 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3128 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3129 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3131 static wxTreeItemId wxNullTreeItemId
;
3133 // C++ version of Python aware wxTreeCtrl
3134 class wxPyTreeCtrl
: public wxTreeCtrl
{
3135 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3137 wxPyTreeCtrl() : wxTreeCtrl() {}
3138 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3142 const wxValidator
& validator
,
3143 const wxString
& name
) :
3144 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3146 bool Create(wxWindow
*parent
, wxWindowID id
,
3150 const wxValidator
& validator
,
3151 const wxString
& name
) {
3152 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3156 int OnCompareItems(const wxTreeItemId
& item1
,
3157 const wxTreeItemId
& item2
) {
3160 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3161 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3162 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3163 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3164 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3168 wxPyEndBlockThreads(blocked
);
3170 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3176 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3179 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3180 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3182 data
= new wxPyTreeItemData();
3183 data
->SetId(item
); // set the id
3184 self
->SetItemData(item
, data
);
3188 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3189 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3191 data
= new wxPyTreeItemData();
3192 data
->SetId(item
); // set the id
3193 self
->SetItemData(item
, data
);
3195 return data
->GetData();
3197 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3198 data
->SetId(item
); // set the id
3199 self
->SetItemData(item
, data
);
3201 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3202 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3204 data
= new wxPyTreeItemData(obj
);
3205 data
->SetId(item
); // set the id
3206 self
->SetItemData(item
, data
);
3210 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3211 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3212 PyObject
* rval
= PyList_New(0);
3213 wxArrayTreeItemIds array
;
3215 num
= self
->GetSelections(array
);
3216 for (x
=0; x
< num
; x
++) {
3217 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3218 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3219 PyList_Append(rval
, item
);
3222 wxPyEndBlockThreads(blocked
);
3225 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3227 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3228 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3229 PyObject
* tup
= PyTuple_New(2);
3230 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3231 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3232 wxPyEndBlockThreads(blocked
);
3235 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3236 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3237 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3238 PyObject
* tup
= PyTuple_New(2);
3239 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3240 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3241 wxPyEndBlockThreads(blocked
);
3244 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3246 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3247 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3248 wxRect
* r
= new wxRect(rect
);
3249 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3250 wxPyEndBlockThreads(blocked
);
3256 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3258 SWIGINTERNINLINE PyObject
*
3259 SWIG_From_bool (bool value
)
3261 return PyBool_FromLong(value
? 1 : 0);
3264 // C++ version of Python aware wxControl
3265 class wxPyControl
: public wxControl
3267 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3269 wxPyControl() : wxControl() {}
3270 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3271 const wxPoint
& pos
= wxDefaultPosition
,
3272 const wxSize
& size
= wxDefaultSize
,
3274 const wxValidator
& validator
=wxDefaultValidator
,
3275 const wxString
& name
= wxPyControlNameStr
)
3276 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3279 bool DoEraseBackground(wxDC
* dc
) {
3281 return wxWindow::DoEraseBackground(dc
->GetHDC());
3283 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3289 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3290 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3291 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3292 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3296 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3298 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3299 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3301 DEC_PYCALLBACK__(InitDialog
);
3302 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3303 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3304 DEC_PYCALLBACK_BOOL_(Validate
);
3306 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3307 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3308 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3310 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3311 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3313 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3314 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3316 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3318 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3323 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3325 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3326 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3327 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3328 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3332 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3334 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3335 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3337 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3338 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3339 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3340 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3342 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3343 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3344 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3347 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3349 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3350 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3352 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3354 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3358 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3360 #include <wx/generic/dragimgg.h>
3362 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3363 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3365 self
->GetRange(&rv
, NULL
);
3368 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3370 self
->GetRange(NULL
, &rv
);
3373 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3374 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3375 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3376 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3377 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3378 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3379 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3380 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3381 static const wxString
wxPyCollapsiblePaneNameStr(wxCollapsiblePaneNameStr
);
3382 static const wxString
wxPySearchCtrlNameStr(wxSearchCtrlNameStr
);
3384 #if !defined(wxUSE_SEARCHCTRL) || !wxUSE_SEARCHCTRL
3385 // define a dummy class for builds that don't have wxSearchCtrl
3388 wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN
,
3389 wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN
3392 class wxSearchCtrl
: public wxTextCtrl
3395 wxSearchCtrl() { wxPyRaiseNotImplemented(); }
3396 wxSearchCtrl(wxWindow
*, wxWindowID
,
3402 const wxString
& name
)
3403 { wxPyRaiseNotImplemented(); }
3405 bool Create( wxWindow
*, wxWindowID
,
3411 const wxString
& name
) {}
3413 virtual void SetMenu( wxMenu
* ) {}
3414 virtual wxMenu
* GetMenu() { return NULL
; }
3416 // get/set search options
3417 // ----------------------
3418 virtual void ShowSearchButton( bool ) {}
3419 virtual bool IsSearchButtonVisible() const { return false; }
3421 virtual void ShowCancelButton( bool ) {}
3422 virtual bool IsCancelButtonVisible() const { return false; }
3424 virtual void SetDescriptiveText(const wxString
& text
);
3425 virtual wxString
GetDescriptiveText() const;
3432 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3433 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3438 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3439 PyObject
*pyobj
= 0;
3443 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3445 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3452 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3453 PyObject
*resultobj
= 0;
3454 wxWindow
*arg1
= (wxWindow
*) 0 ;
3455 int arg2
= (int) -1 ;
3456 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3457 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3458 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3459 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3460 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3461 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3462 long arg6
= (long) 0 ;
3463 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3464 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3465 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3466 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3467 wxButton
*result
= 0 ;
3472 bool temp3
= false ;
3479 bool temp8
= false ;
3480 PyObject
* obj0
= 0 ;
3481 PyObject
* obj1
= 0 ;
3482 PyObject
* obj2
= 0 ;
3483 PyObject
* obj3
= 0 ;
3484 PyObject
* obj4
= 0 ;
3485 PyObject
* obj5
= 0 ;
3486 PyObject
* obj6
= 0 ;
3487 PyObject
* obj7
= 0 ;
3488 char * kwnames
[] = {
3489 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3494 if (!SWIG_IsOK(res1
)) {
3495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3497 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3500 if (!SWIG_IsOK(ecode2
)) {
3501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3503 arg2
= static_cast< int >(val2
);
3507 arg3
= wxString_in_helper(obj2
);
3508 if (arg3
== NULL
) SWIG_fail
;
3515 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3521 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3525 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3526 if (!SWIG_IsOK(ecode6
)) {
3527 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3529 arg6
= static_cast< long >(val6
);
3532 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3533 if (!SWIG_IsOK(res7
)) {
3534 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3537 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3539 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3543 arg8
= wxString_in_helper(obj7
);
3544 if (arg8
== NULL
) SWIG_fail
;
3549 if (!wxPyCheckForApp()) SWIG_fail
;
3550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3551 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3552 wxPyEndAllowThreads(__tstate
);
3553 if (PyErr_Occurred()) SWIG_fail
;
3555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3578 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3579 PyObject
*resultobj
= 0;
3580 wxButton
*result
= 0 ;
3582 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3584 if (!wxPyCheckForApp()) SWIG_fail
;
3585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3586 result
= (wxButton
*)new wxButton();
3587 wxPyEndAllowThreads(__tstate
);
3588 if (PyErr_Occurred()) SWIG_fail
;
3590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3597 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3598 PyObject
*resultobj
= 0;
3599 wxButton
*arg1
= (wxButton
*) 0 ;
3600 wxWindow
*arg2
= (wxWindow
*) 0 ;
3601 int arg3
= (int) -1 ;
3602 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3603 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3604 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3605 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3606 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3607 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3608 long arg7
= (long) 0 ;
3609 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3610 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3611 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3612 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3620 bool temp4
= false ;
3627 bool temp9
= false ;
3628 PyObject
* obj0
= 0 ;
3629 PyObject
* obj1
= 0 ;
3630 PyObject
* obj2
= 0 ;
3631 PyObject
* obj3
= 0 ;
3632 PyObject
* obj4
= 0 ;
3633 PyObject
* obj5
= 0 ;
3634 PyObject
* obj6
= 0 ;
3635 PyObject
* obj7
= 0 ;
3636 PyObject
* obj8
= 0 ;
3637 char * kwnames
[] = {
3638 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3643 if (!SWIG_IsOK(res1
)) {
3644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3646 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3647 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3648 if (!SWIG_IsOK(res2
)) {
3649 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3651 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3653 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3654 if (!SWIG_IsOK(ecode3
)) {
3655 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3657 arg3
= static_cast< int >(val3
);
3661 arg4
= wxString_in_helper(obj3
);
3662 if (arg4
== NULL
) SWIG_fail
;
3669 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3675 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3679 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3680 if (!SWIG_IsOK(ecode7
)) {
3681 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3683 arg7
= static_cast< long >(val7
);
3686 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3687 if (!SWIG_IsOK(res8
)) {
3688 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3691 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3693 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3697 arg9
= wxString_in_helper(obj8
);
3698 if (arg9
== NULL
) SWIG_fail
;
3703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3704 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3705 wxPyEndAllowThreads(__tstate
);
3706 if (PyErr_Occurred()) SWIG_fail
;
3709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3733 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3734 PyObject
*resultobj
= 0;
3735 wxButton
*arg1
= (wxButton
*) 0 ;
3736 wxWindow
*result
= 0 ;
3739 PyObject
*swig_obj
[1] ;
3741 if (!args
) SWIG_fail
;
3743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3744 if (!SWIG_IsOK(res1
)) {
3745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3747 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3750 result
= (wxWindow
*)(arg1
)->SetDefault();
3751 wxPyEndAllowThreads(__tstate
);
3752 if (PyErr_Occurred()) SWIG_fail
;
3755 resultobj
= wxPyMake_wxObject(result
, 0);
3763 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3764 PyObject
*resultobj
= 0;
3767 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3770 result
= wxButton::GetDefaultSize();
3771 wxPyEndAllowThreads(__tstate
);
3772 if (PyErr_Occurred()) SWIG_fail
;
3774 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3781 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3782 PyObject
*resultobj
= 0;
3783 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3784 SwigValueWrapper
<wxVisualAttributes
> result
;
3787 PyObject
* obj0
= 0 ;
3788 char * kwnames
[] = {
3789 (char *) "variant", NULL
3792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3794 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3795 if (!SWIG_IsOK(ecode1
)) {
3796 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3798 arg1
= static_cast< wxWindowVariant
>(val1
);
3801 if (!wxPyCheckForApp()) SWIG_fail
;
3802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3803 result
= wxButton::GetClassDefaultAttributes(arg1
);
3804 wxPyEndAllowThreads(__tstate
);
3805 if (PyErr_Occurred()) SWIG_fail
;
3807 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3814 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3816 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3817 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3818 return SWIG_Py_Void();
3821 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3822 return SWIG_Python_InitShadowInstance(args
);
3825 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3826 PyObject
*resultobj
= 0;
3827 wxWindow
*arg1
= (wxWindow
*) 0 ;
3828 int arg2
= (int) -1 ;
3829 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3830 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3831 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3832 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3833 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3834 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3835 long arg6
= (long) wxBU_AUTODRAW
;
3836 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3837 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3838 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3839 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3840 wxBitmapButton
*result
= 0 ;
3853 bool temp8
= false ;
3854 PyObject
* obj0
= 0 ;
3855 PyObject
* obj1
= 0 ;
3856 PyObject
* obj2
= 0 ;
3857 PyObject
* obj3
= 0 ;
3858 PyObject
* obj4
= 0 ;
3859 PyObject
* obj5
= 0 ;
3860 PyObject
* obj6
= 0 ;
3861 PyObject
* obj7
= 0 ;
3862 char * kwnames
[] = {
3863 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3868 if (!SWIG_IsOK(res1
)) {
3869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3871 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3874 if (!SWIG_IsOK(ecode2
)) {
3875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3877 arg2
= static_cast< int >(val2
);
3880 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3881 if (!SWIG_IsOK(res3
)) {
3882 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3885 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3887 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3892 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3898 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3902 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3903 if (!SWIG_IsOK(ecode6
)) {
3904 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3906 arg6
= static_cast< long >(val6
);
3909 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3910 if (!SWIG_IsOK(res7
)) {
3911 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3914 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3916 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3920 arg8
= wxString_in_helper(obj7
);
3921 if (arg8
== NULL
) SWIG_fail
;
3926 if (!wxPyCheckForApp()) SWIG_fail
;
3927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3928 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3929 wxPyEndAllowThreads(__tstate
);
3930 if (PyErr_Occurred()) SWIG_fail
;
3932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3947 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3948 PyObject
*resultobj
= 0;
3949 wxBitmapButton
*result
= 0 ;
3951 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3953 if (!wxPyCheckForApp()) SWIG_fail
;
3954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3955 result
= (wxBitmapButton
*)new wxBitmapButton();
3956 wxPyEndAllowThreads(__tstate
);
3957 if (PyErr_Occurred()) SWIG_fail
;
3959 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3966 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
*resultobj
= 0;
3968 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3969 wxWindow
*arg2
= (wxWindow
*) 0 ;
3970 int arg3
= (int) -1 ;
3971 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3972 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3973 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3974 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3975 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3976 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3977 long arg7
= (long) wxBU_AUTODRAW
;
3978 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3979 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3980 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3981 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3997 bool temp9
= false ;
3998 PyObject
* obj0
= 0 ;
3999 PyObject
* obj1
= 0 ;
4000 PyObject
* obj2
= 0 ;
4001 PyObject
* obj3
= 0 ;
4002 PyObject
* obj4
= 0 ;
4003 PyObject
* obj5
= 0 ;
4004 PyObject
* obj6
= 0 ;
4005 PyObject
* obj7
= 0 ;
4006 PyObject
* obj8
= 0 ;
4007 char * kwnames
[] = {
4008 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4013 if (!SWIG_IsOK(res1
)) {
4014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4016 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4017 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4018 if (!SWIG_IsOK(res2
)) {
4019 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4021 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4023 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4024 if (!SWIG_IsOK(ecode3
)) {
4025 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
4027 arg3
= static_cast< int >(val3
);
4030 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4031 if (!SWIG_IsOK(res4
)) {
4032 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
4035 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
4037 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
4042 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4048 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4052 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4053 if (!SWIG_IsOK(ecode7
)) {
4054 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
4056 arg7
= static_cast< long >(val7
);
4059 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4060 if (!SWIG_IsOK(res8
)) {
4061 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4064 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4066 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4070 arg9
= wxString_in_helper(obj8
);
4071 if (arg9
== NULL
) SWIG_fail
;
4076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4077 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4078 wxPyEndAllowThreads(__tstate
);
4079 if (PyErr_Occurred()) SWIG_fail
;
4082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4098 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4099 PyObject
*resultobj
= 0;
4100 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4104 PyObject
*swig_obj
[1] ;
4106 if (!args
) SWIG_fail
;
4108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4109 if (!SWIG_IsOK(res1
)) {
4110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4112 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4115 result
= (arg1
)->GetBitmapLabel();
4116 wxPyEndAllowThreads(__tstate
);
4117 if (PyErr_Occurred()) SWIG_fail
;
4119 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4126 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4127 PyObject
*resultobj
= 0;
4128 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4132 PyObject
*swig_obj
[1] ;
4134 if (!args
) SWIG_fail
;
4136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4137 if (!SWIG_IsOK(res1
)) {
4138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4140 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4143 result
= (arg1
)->GetBitmapDisabled();
4144 wxPyEndAllowThreads(__tstate
);
4145 if (PyErr_Occurred()) SWIG_fail
;
4147 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4154 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4155 PyObject
*resultobj
= 0;
4156 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4160 PyObject
*swig_obj
[1] ;
4162 if (!args
) SWIG_fail
;
4164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4165 if (!SWIG_IsOK(res1
)) {
4166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4168 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4171 result
= (arg1
)->GetBitmapFocus();
4172 wxPyEndAllowThreads(__tstate
);
4173 if (PyErr_Occurred()) SWIG_fail
;
4175 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4182 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4183 PyObject
*resultobj
= 0;
4184 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4188 PyObject
*swig_obj
[1] ;
4190 if (!args
) SWIG_fail
;
4192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4193 if (!SWIG_IsOK(res1
)) {
4194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4196 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4199 result
= (arg1
)->GetBitmapSelected();
4200 wxPyEndAllowThreads(__tstate
);
4201 if (PyErr_Occurred()) SWIG_fail
;
4203 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4210 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4211 PyObject
*resultobj
= 0;
4212 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4216 PyObject
*swig_obj
[1] ;
4218 if (!args
) SWIG_fail
;
4220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4221 if (!SWIG_IsOK(res1
)) {
4222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4224 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4227 result
= (arg1
)->GetBitmapHover();
4228 wxPyEndAllowThreads(__tstate
);
4229 if (PyErr_Occurred()) SWIG_fail
;
4231 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4238 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4239 PyObject
*resultobj
= 0;
4240 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4241 wxBitmap
*arg2
= 0 ;
4246 PyObject
* obj0
= 0 ;
4247 PyObject
* obj1
= 0 ;
4248 char * kwnames
[] = {
4249 (char *) "self",(char *) "bitmap", NULL
4252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4254 if (!SWIG_IsOK(res1
)) {
4255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4257 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4258 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4259 if (!SWIG_IsOK(res2
)) {
4260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4263 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4265 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4268 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4269 wxPyEndAllowThreads(__tstate
);
4270 if (PyErr_Occurred()) SWIG_fail
;
4272 resultobj
= SWIG_Py_Void();
4279 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4280 PyObject
*resultobj
= 0;
4281 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4282 wxBitmap
*arg2
= 0 ;
4287 PyObject
* obj0
= 0 ;
4288 PyObject
* obj1
= 0 ;
4289 char * kwnames
[] = {
4290 (char *) "self",(char *) "bitmap", NULL
4293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4295 if (!SWIG_IsOK(res1
)) {
4296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4298 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4299 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4300 if (!SWIG_IsOK(res2
)) {
4301 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4304 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4306 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4309 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4310 wxPyEndAllowThreads(__tstate
);
4311 if (PyErr_Occurred()) SWIG_fail
;
4313 resultobj
= SWIG_Py_Void();
4320 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4321 PyObject
*resultobj
= 0;
4322 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4323 wxBitmap
*arg2
= 0 ;
4328 PyObject
* obj0
= 0 ;
4329 PyObject
* obj1
= 0 ;
4330 char * kwnames
[] = {
4331 (char *) "self",(char *) "bitmap", NULL
4334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4336 if (!SWIG_IsOK(res1
)) {
4337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4339 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4340 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4341 if (!SWIG_IsOK(res2
)) {
4342 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4345 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4347 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4350 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4351 wxPyEndAllowThreads(__tstate
);
4352 if (PyErr_Occurred()) SWIG_fail
;
4354 resultobj
= SWIG_Py_Void();
4361 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4362 PyObject
*resultobj
= 0;
4363 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4364 wxBitmap
*arg2
= 0 ;
4369 PyObject
* obj0
= 0 ;
4370 PyObject
* obj1
= 0 ;
4371 char * kwnames
[] = {
4372 (char *) "self",(char *) "bitmap", NULL
4375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4377 if (!SWIG_IsOK(res1
)) {
4378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4380 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4381 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4382 if (!SWIG_IsOK(res2
)) {
4383 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4386 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4388 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4391 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4392 wxPyEndAllowThreads(__tstate
);
4393 if (PyErr_Occurred()) SWIG_fail
;
4395 resultobj
= SWIG_Py_Void();
4402 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4403 PyObject
*resultobj
= 0;
4404 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4405 wxBitmap
*arg2
= 0 ;
4410 PyObject
* obj0
= 0 ;
4411 PyObject
* obj1
= 0 ;
4412 char * kwnames
[] = {
4413 (char *) "self",(char *) "hover", NULL
4416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4418 if (!SWIG_IsOK(res1
)) {
4419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4421 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4422 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4423 if (!SWIG_IsOK(res2
)) {
4424 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4427 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4429 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4432 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4433 wxPyEndAllowThreads(__tstate
);
4434 if (PyErr_Occurred()) SWIG_fail
;
4436 resultobj
= SWIG_Py_Void();
4443 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4444 PyObject
*resultobj
= 0;
4445 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4454 PyObject
* obj0
= 0 ;
4455 PyObject
* obj1
= 0 ;
4456 PyObject
* obj2
= 0 ;
4457 char * kwnames
[] = {
4458 (char *) "self",(char *) "x",(char *) "y", NULL
4461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4463 if (!SWIG_IsOK(res1
)) {
4464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4466 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4467 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4468 if (!SWIG_IsOK(ecode2
)) {
4469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4471 arg2
= static_cast< int >(val2
);
4472 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4473 if (!SWIG_IsOK(ecode3
)) {
4474 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4476 arg3
= static_cast< int >(val3
);
4478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4479 (arg1
)->SetMargins(arg2
,arg3
);
4480 wxPyEndAllowThreads(__tstate
);
4481 if (PyErr_Occurred()) SWIG_fail
;
4483 resultobj
= SWIG_Py_Void();
4490 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4491 PyObject
*resultobj
= 0;
4492 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4496 PyObject
*swig_obj
[1] ;
4498 if (!args
) SWIG_fail
;
4500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4501 if (!SWIG_IsOK(res1
)) {
4502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4504 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4507 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4508 wxPyEndAllowThreads(__tstate
);
4509 if (PyErr_Occurred()) SWIG_fail
;
4511 resultobj
= SWIG_From_int(static_cast< int >(result
));
4518 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4519 PyObject
*resultobj
= 0;
4520 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4524 PyObject
*swig_obj
[1] ;
4526 if (!args
) SWIG_fail
;
4528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4529 if (!SWIG_IsOK(res1
)) {
4530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4532 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4535 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4536 wxPyEndAllowThreads(__tstate
);
4537 if (PyErr_Occurred()) SWIG_fail
;
4539 resultobj
= SWIG_From_int(static_cast< int >(result
));
4546 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4548 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4549 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4550 return SWIG_Py_Void();
4553 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4554 return SWIG_Python_InitShadowInstance(args
);
4557 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4558 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4563 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4564 PyObject
*pyobj
= 0;
4568 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4570 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4577 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4578 PyObject
*resultobj
= 0;
4579 wxWindow
*arg1
= (wxWindow
*) 0 ;
4580 int arg2
= (int) -1 ;
4581 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4582 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4583 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4584 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4585 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4586 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4587 long arg6
= (long) 0 ;
4588 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4589 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4590 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4591 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4592 wxCheckBox
*result
= 0 ;
4597 bool temp3
= false ;
4604 bool temp8
= false ;
4605 PyObject
* obj0
= 0 ;
4606 PyObject
* obj1
= 0 ;
4607 PyObject
* obj2
= 0 ;
4608 PyObject
* obj3
= 0 ;
4609 PyObject
* obj4
= 0 ;
4610 PyObject
* obj5
= 0 ;
4611 PyObject
* obj6
= 0 ;
4612 PyObject
* obj7
= 0 ;
4613 char * kwnames
[] = {
4614 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4619 if (!SWIG_IsOK(res1
)) {
4620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4622 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4624 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4625 if (!SWIG_IsOK(ecode2
)) {
4626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4628 arg2
= static_cast< int >(val2
);
4632 arg3
= wxString_in_helper(obj2
);
4633 if (arg3
== NULL
) SWIG_fail
;
4640 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4646 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4650 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4651 if (!SWIG_IsOK(ecode6
)) {
4652 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4654 arg6
= static_cast< long >(val6
);
4657 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4658 if (!SWIG_IsOK(res7
)) {
4659 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4662 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4664 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4668 arg8
= wxString_in_helper(obj7
);
4669 if (arg8
== NULL
) SWIG_fail
;
4674 if (!wxPyCheckForApp()) SWIG_fail
;
4675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4676 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4677 wxPyEndAllowThreads(__tstate
);
4678 if (PyErr_Occurred()) SWIG_fail
;
4680 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4703 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4704 PyObject
*resultobj
= 0;
4705 wxCheckBox
*result
= 0 ;
4707 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4709 if (!wxPyCheckForApp()) SWIG_fail
;
4710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4711 result
= (wxCheckBox
*)new wxCheckBox();
4712 wxPyEndAllowThreads(__tstate
);
4713 if (PyErr_Occurred()) SWIG_fail
;
4715 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4722 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4723 PyObject
*resultobj
= 0;
4724 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4725 wxWindow
*arg2
= (wxWindow
*) 0 ;
4726 int arg3
= (int) -1 ;
4727 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4728 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4729 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4730 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4731 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4732 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4733 long arg7
= (long) 0 ;
4734 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4735 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4736 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4737 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4745 bool temp4
= false ;
4752 bool temp9
= false ;
4753 PyObject
* obj0
= 0 ;
4754 PyObject
* obj1
= 0 ;
4755 PyObject
* obj2
= 0 ;
4756 PyObject
* obj3
= 0 ;
4757 PyObject
* obj4
= 0 ;
4758 PyObject
* obj5
= 0 ;
4759 PyObject
* obj6
= 0 ;
4760 PyObject
* obj7
= 0 ;
4761 PyObject
* obj8
= 0 ;
4762 char * kwnames
[] = {
4763 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4768 if (!SWIG_IsOK(res1
)) {
4769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4771 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4772 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4773 if (!SWIG_IsOK(res2
)) {
4774 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4776 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4778 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4779 if (!SWIG_IsOK(ecode3
)) {
4780 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4782 arg3
= static_cast< int >(val3
);
4786 arg4
= wxString_in_helper(obj3
);
4787 if (arg4
== NULL
) SWIG_fail
;
4794 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4800 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4804 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4805 if (!SWIG_IsOK(ecode7
)) {
4806 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4808 arg7
= static_cast< long >(val7
);
4811 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4812 if (!SWIG_IsOK(res8
)) {
4813 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4816 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4818 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4822 arg9
= wxString_in_helper(obj8
);
4823 if (arg9
== NULL
) SWIG_fail
;
4828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4829 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4830 wxPyEndAllowThreads(__tstate
);
4831 if (PyErr_Occurred()) SWIG_fail
;
4834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4858 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4859 PyObject
*resultobj
= 0;
4860 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4864 PyObject
*swig_obj
[1] ;
4866 if (!args
) SWIG_fail
;
4868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4869 if (!SWIG_IsOK(res1
)) {
4870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4872 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4875 result
= (bool)(arg1
)->GetValue();
4876 wxPyEndAllowThreads(__tstate
);
4877 if (PyErr_Occurred()) SWIG_fail
;
4880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4888 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4889 PyObject
*resultobj
= 0;
4890 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4894 PyObject
*swig_obj
[1] ;
4896 if (!args
) SWIG_fail
;
4898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4899 if (!SWIG_IsOK(res1
)) {
4900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4902 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4905 result
= (bool)(arg1
)->IsChecked();
4906 wxPyEndAllowThreads(__tstate
);
4907 if (PyErr_Occurred()) SWIG_fail
;
4910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4918 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4919 PyObject
*resultobj
= 0;
4920 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4926 PyObject
* obj0
= 0 ;
4927 PyObject
* obj1
= 0 ;
4928 char * kwnames
[] = {
4929 (char *) "self",(char *) "state", NULL
4932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4934 if (!SWIG_IsOK(res1
)) {
4935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4937 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4938 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4939 if (!SWIG_IsOK(ecode2
)) {
4940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4942 arg2
= static_cast< bool >(val2
);
4944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4945 (arg1
)->SetValue(arg2
);
4946 wxPyEndAllowThreads(__tstate
);
4947 if (PyErr_Occurred()) SWIG_fail
;
4949 resultobj
= SWIG_Py_Void();
4956 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4957 PyObject
*resultobj
= 0;
4958 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4959 wxCheckBoxState result
;
4962 PyObject
*swig_obj
[1] ;
4964 if (!args
) SWIG_fail
;
4966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4967 if (!SWIG_IsOK(res1
)) {
4968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4970 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4973 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4974 wxPyEndAllowThreads(__tstate
);
4975 if (PyErr_Occurred()) SWIG_fail
;
4977 resultobj
= SWIG_From_int(static_cast< int >(result
));
4984 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4985 PyObject
*resultobj
= 0;
4986 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4987 wxCheckBoxState arg2
;
4992 PyObject
* obj0
= 0 ;
4993 PyObject
* obj1
= 0 ;
4994 char * kwnames
[] = {
4995 (char *) "self",(char *) "state", NULL
4998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5000 if (!SWIG_IsOK(res1
)) {
5001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
5003 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5004 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5005 if (!SWIG_IsOK(ecode2
)) {
5006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
5008 arg2
= static_cast< wxCheckBoxState
>(val2
);
5010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5011 (arg1
)->Set3StateValue(arg2
);
5012 wxPyEndAllowThreads(__tstate
);
5013 if (PyErr_Occurred()) SWIG_fail
;
5015 resultobj
= SWIG_Py_Void();
5022 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5023 PyObject
*resultobj
= 0;
5024 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5028 PyObject
*swig_obj
[1] ;
5030 if (!args
) SWIG_fail
;
5032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5033 if (!SWIG_IsOK(res1
)) {
5034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5036 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5039 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
5040 wxPyEndAllowThreads(__tstate
);
5041 if (PyErr_Occurred()) SWIG_fail
;
5044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5052 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5053 PyObject
*resultobj
= 0;
5054 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5058 PyObject
*swig_obj
[1] ;
5060 if (!args
) SWIG_fail
;
5062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5063 if (!SWIG_IsOK(res1
)) {
5064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5066 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5069 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5070 wxPyEndAllowThreads(__tstate
);
5071 if (PyErr_Occurred()) SWIG_fail
;
5074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5082 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5083 PyObject
*resultobj
= 0;
5084 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5085 SwigValueWrapper
<wxVisualAttributes
> result
;
5088 PyObject
* obj0
= 0 ;
5089 char * kwnames
[] = {
5090 (char *) "variant", NULL
5093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5095 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5096 if (!SWIG_IsOK(ecode1
)) {
5097 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5099 arg1
= static_cast< wxWindowVariant
>(val1
);
5102 if (!wxPyCheckForApp()) SWIG_fail
;
5103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5104 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5105 wxPyEndAllowThreads(__tstate
);
5106 if (PyErr_Occurred()) SWIG_fail
;
5108 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5115 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5117 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5118 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5119 return SWIG_Py_Void();
5122 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5123 return SWIG_Python_InitShadowInstance(args
);
5126 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5127 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5132 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5133 PyObject
*pyobj
= 0;
5137 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5139 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5146 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5147 PyObject
*resultobj
= 0;
5148 wxWindow
*arg1
= (wxWindow
*) 0 ;
5149 int arg2
= (int) -1 ;
5150 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5151 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5152 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5153 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5154 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5155 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5156 long arg6
= (long) 0 ;
5157 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5158 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5159 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5160 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5161 wxChoice
*result
= 0 ;
5168 bool temp5
= false ;
5173 bool temp8
= false ;
5174 PyObject
* obj0
= 0 ;
5175 PyObject
* obj1
= 0 ;
5176 PyObject
* obj2
= 0 ;
5177 PyObject
* obj3
= 0 ;
5178 PyObject
* obj4
= 0 ;
5179 PyObject
* obj5
= 0 ;
5180 PyObject
* obj6
= 0 ;
5181 PyObject
* obj7
= 0 ;
5182 char * kwnames
[] = {
5183 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5188 if (!SWIG_IsOK(res1
)) {
5189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5191 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5193 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5194 if (!SWIG_IsOK(ecode2
)) {
5195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5197 arg2
= static_cast< int >(val2
);
5202 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5208 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5213 if (! PySequence_Check(obj4
)) {
5214 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5217 arg5
= new wxArrayString
;
5219 int i
, len
=PySequence_Length(obj4
);
5220 for (i
=0; i
<len
; i
++) {
5221 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5222 wxString
* s
= wxString_in_helper(item
);
5223 if (PyErr_Occurred()) SWIG_fail
;
5231 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5232 if (!SWIG_IsOK(ecode6
)) {
5233 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5235 arg6
= static_cast< long >(val6
);
5238 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5239 if (!SWIG_IsOK(res7
)) {
5240 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5243 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5245 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5249 arg8
= wxString_in_helper(obj7
);
5250 if (arg8
== NULL
) SWIG_fail
;
5255 if (!wxPyCheckForApp()) SWIG_fail
;
5256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5257 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5258 wxPyEndAllowThreads(__tstate
);
5259 if (PyErr_Occurred()) SWIG_fail
;
5261 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5263 if (temp5
) delete arg5
;
5272 if (temp5
) delete arg5
;
5282 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5283 PyObject
*resultobj
= 0;
5284 wxChoice
*result
= 0 ;
5286 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5288 if (!wxPyCheckForApp()) SWIG_fail
;
5289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5290 result
= (wxChoice
*)new wxChoice();
5291 wxPyEndAllowThreads(__tstate
);
5292 if (PyErr_Occurred()) SWIG_fail
;
5294 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5301 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5302 PyObject
*resultobj
= 0;
5303 wxChoice
*arg1
= (wxChoice
*) 0 ;
5304 wxWindow
*arg2
= (wxWindow
*) 0 ;
5305 int arg3
= (int) -1 ;
5306 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5307 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5308 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5309 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5310 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5311 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5312 long arg7
= (long) 0 ;
5313 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5314 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5315 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5316 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5326 bool temp6
= false ;
5331 bool temp9
= false ;
5332 PyObject
* obj0
= 0 ;
5333 PyObject
* obj1
= 0 ;
5334 PyObject
* obj2
= 0 ;
5335 PyObject
* obj3
= 0 ;
5336 PyObject
* obj4
= 0 ;
5337 PyObject
* obj5
= 0 ;
5338 PyObject
* obj6
= 0 ;
5339 PyObject
* obj7
= 0 ;
5340 PyObject
* obj8
= 0 ;
5341 char * kwnames
[] = {
5342 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5347 if (!SWIG_IsOK(res1
)) {
5348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5350 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5351 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5352 if (!SWIG_IsOK(res2
)) {
5353 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5355 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5357 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5358 if (!SWIG_IsOK(ecode3
)) {
5359 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5361 arg3
= static_cast< int >(val3
);
5366 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5372 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5377 if (! PySequence_Check(obj5
)) {
5378 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5381 arg6
= new wxArrayString
;
5383 int i
, len
=PySequence_Length(obj5
);
5384 for (i
=0; i
<len
; i
++) {
5385 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5386 wxString
* s
= wxString_in_helper(item
);
5387 if (PyErr_Occurred()) SWIG_fail
;
5395 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5396 if (!SWIG_IsOK(ecode7
)) {
5397 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5399 arg7
= static_cast< long >(val7
);
5402 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5403 if (!SWIG_IsOK(res8
)) {
5404 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5407 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5409 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5413 arg9
= wxString_in_helper(obj8
);
5414 if (arg9
== NULL
) SWIG_fail
;
5419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5420 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5421 wxPyEndAllowThreads(__tstate
);
5422 if (PyErr_Occurred()) SWIG_fail
;
5425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5428 if (temp6
) delete arg6
;
5437 if (temp6
) delete arg6
;
5447 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5448 PyObject
*resultobj
= 0;
5449 wxChoice
*arg1
= (wxChoice
*) 0 ;
5453 PyObject
*swig_obj
[1] ;
5455 if (!args
) SWIG_fail
;
5457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5458 if (!SWIG_IsOK(res1
)) {
5459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5461 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5464 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5465 wxPyEndAllowThreads(__tstate
);
5466 if (PyErr_Occurred()) SWIG_fail
;
5468 resultobj
= SWIG_From_int(static_cast< int >(result
));
5475 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5476 PyObject
*resultobj
= 0;
5477 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5478 SwigValueWrapper
<wxVisualAttributes
> result
;
5481 PyObject
* obj0
= 0 ;
5482 char * kwnames
[] = {
5483 (char *) "variant", NULL
5486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5488 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5489 if (!SWIG_IsOK(ecode1
)) {
5490 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5492 arg1
= static_cast< wxWindowVariant
>(val1
);
5495 if (!wxPyCheckForApp()) SWIG_fail
;
5496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5497 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5498 wxPyEndAllowThreads(__tstate
);
5499 if (PyErr_Occurred()) SWIG_fail
;
5501 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5508 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5510 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5511 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5512 return SWIG_Py_Void();
5515 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5516 return SWIG_Python_InitShadowInstance(args
);
5519 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5520 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5525 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5526 PyObject
*pyobj
= 0;
5530 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5532 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5539 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5540 PyObject
*resultobj
= 0;
5541 wxWindow
*arg1
= (wxWindow
*) 0 ;
5542 int arg2
= (int) -1 ;
5543 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5544 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5545 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5546 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5547 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5548 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5549 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5550 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5551 long arg7
= (long) 0 ;
5552 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5553 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5554 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5555 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5556 wxComboBox
*result
= 0 ;
5561 bool temp3
= false ;
5564 bool temp6
= false ;
5569 bool temp9
= false ;
5570 PyObject
* obj0
= 0 ;
5571 PyObject
* obj1
= 0 ;
5572 PyObject
* obj2
= 0 ;
5573 PyObject
* obj3
= 0 ;
5574 PyObject
* obj4
= 0 ;
5575 PyObject
* obj5
= 0 ;
5576 PyObject
* obj6
= 0 ;
5577 PyObject
* obj7
= 0 ;
5578 PyObject
* obj8
= 0 ;
5579 char * kwnames
[] = {
5580 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5585 if (!SWIG_IsOK(res1
)) {
5586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5588 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5591 if (!SWIG_IsOK(ecode2
)) {
5592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5594 arg2
= static_cast< int >(val2
);
5598 arg3
= wxString_in_helper(obj2
);
5599 if (arg3
== NULL
) SWIG_fail
;
5606 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5612 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5617 if (! PySequence_Check(obj5
)) {
5618 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5621 arg6
= new wxArrayString
;
5623 int i
, len
=PySequence_Length(obj5
);
5624 for (i
=0; i
<len
; i
++) {
5625 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5626 wxString
* s
= wxString_in_helper(item
);
5627 if (PyErr_Occurred()) SWIG_fail
;
5635 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5636 if (!SWIG_IsOK(ecode7
)) {
5637 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5639 arg7
= static_cast< long >(val7
);
5642 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5643 if (!SWIG_IsOK(res8
)) {
5644 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5647 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5649 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5653 arg9
= wxString_in_helper(obj8
);
5654 if (arg9
== NULL
) SWIG_fail
;
5659 if (!wxPyCheckForApp()) SWIG_fail
;
5660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5661 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
);
5662 wxPyEndAllowThreads(__tstate
);
5663 if (PyErr_Occurred()) SWIG_fail
;
5665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5671 if (temp6
) delete arg6
;
5684 if (temp6
) delete arg6
;
5694 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5695 PyObject
*resultobj
= 0;
5696 wxComboBox
*result
= 0 ;
5698 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5700 if (!wxPyCheckForApp()) SWIG_fail
;
5701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5702 result
= (wxComboBox
*)new wxComboBox();
5703 wxPyEndAllowThreads(__tstate
);
5704 if (PyErr_Occurred()) SWIG_fail
;
5706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5713 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5714 PyObject
*resultobj
= 0;
5715 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5716 wxWindow
*arg2
= (wxWindow
*) 0 ;
5717 int arg3
= (int) -1 ;
5718 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5719 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5720 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5721 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5722 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5723 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5724 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5725 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5726 long arg8
= (long) 0 ;
5727 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5728 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5729 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5730 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5738 bool temp4
= false ;
5741 bool temp7
= false ;
5746 bool temp10
= false ;
5747 PyObject
* obj0
= 0 ;
5748 PyObject
* obj1
= 0 ;
5749 PyObject
* obj2
= 0 ;
5750 PyObject
* obj3
= 0 ;
5751 PyObject
* obj4
= 0 ;
5752 PyObject
* obj5
= 0 ;
5753 PyObject
* obj6
= 0 ;
5754 PyObject
* obj7
= 0 ;
5755 PyObject
* obj8
= 0 ;
5756 PyObject
* obj9
= 0 ;
5757 char * kwnames
[] = {
5758 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5763 if (!SWIG_IsOK(res1
)) {
5764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5766 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5767 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5768 if (!SWIG_IsOK(res2
)) {
5769 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5771 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5773 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5774 if (!SWIG_IsOK(ecode3
)) {
5775 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5777 arg3
= static_cast< int >(val3
);
5781 arg4
= wxString_in_helper(obj3
);
5782 if (arg4
== NULL
) SWIG_fail
;
5789 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5795 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5800 if (! PySequence_Check(obj6
)) {
5801 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5804 arg7
= new wxArrayString
;
5806 int i
, len
=PySequence_Length(obj6
);
5807 for (i
=0; i
<len
; i
++) {
5808 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5809 wxString
* s
= wxString_in_helper(item
);
5810 if (PyErr_Occurred()) SWIG_fail
;
5818 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5819 if (!SWIG_IsOK(ecode8
)) {
5820 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5822 arg8
= static_cast< long >(val8
);
5825 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5826 if (!SWIG_IsOK(res9
)) {
5827 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5830 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5832 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5836 arg10
= wxString_in_helper(obj9
);
5837 if (arg10
== NULL
) SWIG_fail
;
5842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5843 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
);
5844 wxPyEndAllowThreads(__tstate
);
5845 if (PyErr_Occurred()) SWIG_fail
;
5848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5855 if (temp7
) delete arg7
;
5868 if (temp7
) delete arg7
;
5878 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5879 PyObject
*resultobj
= 0;
5880 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5884 PyObject
*swig_obj
[1] ;
5886 if (!args
) SWIG_fail
;
5888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5889 if (!SWIG_IsOK(res1
)) {
5890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5892 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5895 result
= ((wxComboBox
const *)arg1
)->GetValue();
5896 wxPyEndAllowThreads(__tstate
);
5897 if (PyErr_Occurred()) SWIG_fail
;
5901 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5903 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5912 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5913 PyObject
*resultobj
= 0;
5914 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5915 wxString
*arg2
= 0 ;
5918 bool temp2
= false ;
5919 PyObject
* obj0
= 0 ;
5920 PyObject
* obj1
= 0 ;
5921 char * kwnames
[] = {
5922 (char *) "self",(char *) "value", NULL
5925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5927 if (!SWIG_IsOK(res1
)) {
5928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5930 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5932 arg2
= wxString_in_helper(obj1
);
5933 if (arg2
== NULL
) SWIG_fail
;
5937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5938 (arg1
)->SetValue((wxString
const &)*arg2
);
5939 wxPyEndAllowThreads(__tstate
);
5940 if (PyErr_Occurred()) SWIG_fail
;
5942 resultobj
= SWIG_Py_Void();
5957 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5958 PyObject
*resultobj
= 0;
5959 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5962 PyObject
*swig_obj
[1] ;
5964 if (!args
) SWIG_fail
;
5966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5967 if (!SWIG_IsOK(res1
)) {
5968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5970 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5974 wxPyEndAllowThreads(__tstate
);
5975 if (PyErr_Occurred()) SWIG_fail
;
5977 resultobj
= SWIG_Py_Void();
5984 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5985 PyObject
*resultobj
= 0;
5986 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5989 PyObject
*swig_obj
[1] ;
5991 if (!args
) SWIG_fail
;
5993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5994 if (!SWIG_IsOK(res1
)) {
5995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5997 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6001 wxPyEndAllowThreads(__tstate
);
6002 if (PyErr_Occurred()) SWIG_fail
;
6004 resultobj
= SWIG_Py_Void();
6011 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6012 PyObject
*resultobj
= 0;
6013 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6016 PyObject
*swig_obj
[1] ;
6018 if (!args
) SWIG_fail
;
6020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6021 if (!SWIG_IsOK(res1
)) {
6022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
6024 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6028 wxPyEndAllowThreads(__tstate
);
6029 if (PyErr_Occurred()) SWIG_fail
;
6031 resultobj
= SWIG_Py_Void();
6038 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6039 PyObject
*resultobj
= 0;
6040 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6046 PyObject
* obj0
= 0 ;
6047 PyObject
* obj1
= 0 ;
6048 char * kwnames
[] = {
6049 (char *) "self",(char *) "pos", NULL
6052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6054 if (!SWIG_IsOK(res1
)) {
6055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6057 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6058 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6059 if (!SWIG_IsOK(ecode2
)) {
6060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6062 arg2
= static_cast< long >(val2
);
6064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6065 (arg1
)->SetInsertionPoint(arg2
);
6066 wxPyEndAllowThreads(__tstate
);
6067 if (PyErr_Occurred()) SWIG_fail
;
6069 resultobj
= SWIG_Py_Void();
6076 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6077 PyObject
*resultobj
= 0;
6078 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6082 PyObject
*swig_obj
[1] ;
6084 if (!args
) SWIG_fail
;
6086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6087 if (!SWIG_IsOK(res1
)) {
6088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6090 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6093 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6094 wxPyEndAllowThreads(__tstate
);
6095 if (PyErr_Occurred()) SWIG_fail
;
6097 resultobj
= SWIG_From_long(static_cast< long >(result
));
6104 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6105 PyObject
*resultobj
= 0;
6106 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6110 PyObject
*swig_obj
[1] ;
6112 if (!args
) SWIG_fail
;
6114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6115 if (!SWIG_IsOK(res1
)) {
6116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6118 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6121 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6122 wxPyEndAllowThreads(__tstate
);
6123 if (PyErr_Occurred()) SWIG_fail
;
6125 resultobj
= SWIG_From_long(static_cast< long >(result
));
6132 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
*resultobj
= 0;
6134 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6137 wxString
*arg4
= 0 ;
6144 bool temp4
= false ;
6145 PyObject
* obj0
= 0 ;
6146 PyObject
* obj1
= 0 ;
6147 PyObject
* obj2
= 0 ;
6148 PyObject
* obj3
= 0 ;
6149 char * kwnames
[] = {
6150 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6155 if (!SWIG_IsOK(res1
)) {
6156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6158 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6159 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6160 if (!SWIG_IsOK(ecode2
)) {
6161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6163 arg2
= static_cast< long >(val2
);
6164 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6165 if (!SWIG_IsOK(ecode3
)) {
6166 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6168 arg3
= static_cast< long >(val3
);
6170 arg4
= wxString_in_helper(obj3
);
6171 if (arg4
== NULL
) SWIG_fail
;
6175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6176 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6177 wxPyEndAllowThreads(__tstate
);
6178 if (PyErr_Occurred()) SWIG_fail
;
6180 resultobj
= SWIG_Py_Void();
6195 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
*resultobj
= 0;
6197 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6206 PyObject
* obj0
= 0 ;
6207 PyObject
* obj1
= 0 ;
6208 PyObject
* obj2
= 0 ;
6209 char * kwnames
[] = {
6210 (char *) "self",(char *) "from",(char *) "to", NULL
6213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6215 if (!SWIG_IsOK(res1
)) {
6216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6218 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6219 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6220 if (!SWIG_IsOK(ecode2
)) {
6221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6223 arg2
= static_cast< long >(val2
);
6224 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6225 if (!SWIG_IsOK(ecode3
)) {
6226 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6228 arg3
= static_cast< long >(val3
);
6230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6231 (arg1
)->SetSelection(arg2
,arg3
);
6232 wxPyEndAllowThreads(__tstate
);
6233 if (PyErr_Occurred()) SWIG_fail
;
6235 resultobj
= SWIG_Py_Void();
6242 SWIGINTERN PyObject
*_wrap_ComboBox_GetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6243 PyObject
*resultobj
= 0;
6244 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6245 long *arg2
= (long *) 0 ;
6246 long *arg3
= (long *) 0 ;
6250 int res2
= SWIG_TMPOBJ
;
6252 int res3
= SWIG_TMPOBJ
;
6253 PyObject
*swig_obj
[1] ;
6257 if (!args
) SWIG_fail
;
6259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6260 if (!SWIG_IsOK(res1
)) {
6261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6263 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6266 (arg1
)->GetSelection(arg2
,arg3
);
6267 wxPyEndAllowThreads(__tstate
);
6268 if (PyErr_Occurred()) SWIG_fail
;
6270 resultobj
= SWIG_Py_Void();
6271 if (SWIG_IsTmpObj(res2
)) {
6272 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6274 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6275 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6277 if (SWIG_IsTmpObj(res3
)) {
6278 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6280 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6281 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6289 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6290 PyObject
*resultobj
= 0;
6291 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6295 PyObject
*swig_obj
[1] ;
6297 if (!args
) SWIG_fail
;
6299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6300 if (!SWIG_IsOK(res1
)) {
6301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6303 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6306 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6307 wxPyEndAllowThreads(__tstate
);
6308 if (PyErr_Occurred()) SWIG_fail
;
6310 resultobj
= SWIG_From_int(static_cast< int >(result
));
6317 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6318 PyObject
*resultobj
= 0;
6319 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6320 wxString
*arg2
= 0 ;
6324 bool temp2
= false ;
6325 PyObject
* obj0
= 0 ;
6326 PyObject
* obj1
= 0 ;
6327 char * kwnames
[] = {
6328 (char *) "self",(char *) "string", NULL
6331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6333 if (!SWIG_IsOK(res1
)) {
6334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6336 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6338 arg2
= wxString_in_helper(obj1
);
6339 if (arg2
== NULL
) SWIG_fail
;
6343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6344 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6345 wxPyEndAllowThreads(__tstate
);
6346 if (PyErr_Occurred()) SWIG_fail
;
6349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6365 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6366 PyObject
*resultobj
= 0;
6367 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6373 PyObject
* obj0
= 0 ;
6374 PyObject
* obj1
= 0 ;
6375 char * kwnames
[] = {
6376 (char *) "self",(char *) "editable", NULL
6379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6381 if (!SWIG_IsOK(res1
)) {
6382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6384 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6385 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6386 if (!SWIG_IsOK(ecode2
)) {
6387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6389 arg2
= static_cast< bool >(val2
);
6391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6392 (arg1
)->SetEditable(arg2
);
6393 wxPyEndAllowThreads(__tstate
);
6394 if (PyErr_Occurred()) SWIG_fail
;
6396 resultobj
= SWIG_Py_Void();
6403 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6404 PyObject
*resultobj
= 0;
6405 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6408 PyObject
*swig_obj
[1] ;
6410 if (!args
) SWIG_fail
;
6412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6413 if (!SWIG_IsOK(res1
)) {
6414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6416 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6419 (arg1
)->SetInsertionPointEnd();
6420 wxPyEndAllowThreads(__tstate
);
6421 if (PyErr_Occurred()) SWIG_fail
;
6423 resultobj
= SWIG_Py_Void();
6430 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6431 PyObject
*resultobj
= 0;
6432 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6441 PyObject
* obj0
= 0 ;
6442 PyObject
* obj1
= 0 ;
6443 PyObject
* obj2
= 0 ;
6444 char * kwnames
[] = {
6445 (char *) "self",(char *) "from",(char *) "to", NULL
6448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6450 if (!SWIG_IsOK(res1
)) {
6451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6453 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6454 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6455 if (!SWIG_IsOK(ecode2
)) {
6456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6458 arg2
= static_cast< long >(val2
);
6459 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6460 if (!SWIG_IsOK(ecode3
)) {
6461 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6463 arg3
= static_cast< long >(val3
);
6465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6466 (arg1
)->Remove(arg2
,arg3
);
6467 wxPyEndAllowThreads(__tstate
);
6468 if (PyErr_Occurred()) SWIG_fail
;
6470 resultobj
= SWIG_Py_Void();
6477 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6478 PyObject
*resultobj
= 0;
6479 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6483 PyObject
*swig_obj
[1] ;
6485 if (!args
) SWIG_fail
;
6487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6488 if (!SWIG_IsOK(res1
)) {
6489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6491 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6494 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6495 wxPyEndAllowThreads(__tstate
);
6496 if (PyErr_Occurred()) SWIG_fail
;
6499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6507 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6508 PyObject
*resultobj
= 0;
6509 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6512 PyObject
*swig_obj
[1] ;
6514 if (!args
) SWIG_fail
;
6516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6517 if (!SWIG_IsOK(res1
)) {
6518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6520 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6524 wxPyEndAllowThreads(__tstate
);
6525 if (PyErr_Occurred()) SWIG_fail
;
6527 resultobj
= SWIG_Py_Void();
6534 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6535 PyObject
*resultobj
= 0;
6536 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6539 PyObject
*swig_obj
[1] ;
6541 if (!args
) SWIG_fail
;
6543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6544 if (!SWIG_IsOK(res1
)) {
6545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6547 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6551 wxPyEndAllowThreads(__tstate
);
6552 if (PyErr_Occurred()) SWIG_fail
;
6554 resultobj
= SWIG_Py_Void();
6561 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6562 PyObject
*resultobj
= 0;
6563 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6566 PyObject
*swig_obj
[1] ;
6568 if (!args
) SWIG_fail
;
6570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6571 if (!SWIG_IsOK(res1
)) {
6572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6574 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6577 (arg1
)->SelectAll();
6578 wxPyEndAllowThreads(__tstate
);
6579 if (PyErr_Occurred()) SWIG_fail
;
6581 resultobj
= SWIG_Py_Void();
6588 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6589 PyObject
*resultobj
= 0;
6590 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6594 PyObject
*swig_obj
[1] ;
6596 if (!args
) SWIG_fail
;
6598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6599 if (!SWIG_IsOK(res1
)) {
6600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6602 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6605 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6606 wxPyEndAllowThreads(__tstate
);
6607 if (PyErr_Occurred()) SWIG_fail
;
6610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6618 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6619 PyObject
*resultobj
= 0;
6620 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6624 PyObject
*swig_obj
[1] ;
6626 if (!args
) SWIG_fail
;
6628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6629 if (!SWIG_IsOK(res1
)) {
6630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6632 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6635 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6636 wxPyEndAllowThreads(__tstate
);
6637 if (PyErr_Occurred()) SWIG_fail
;
6640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6648 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6649 PyObject
*resultobj
= 0;
6650 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6654 PyObject
*swig_obj
[1] ;
6656 if (!args
) SWIG_fail
;
6658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6659 if (!SWIG_IsOK(res1
)) {
6660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6662 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6666 wxPyEndAllowThreads(__tstate
);
6667 if (PyErr_Occurred()) SWIG_fail
;
6670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6678 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6679 PyObject
*resultobj
= 0;
6680 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6684 PyObject
*swig_obj
[1] ;
6686 if (!args
) SWIG_fail
;
6688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6689 if (!SWIG_IsOK(res1
)) {
6690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6692 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6695 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6696 wxPyEndAllowThreads(__tstate
);
6697 if (PyErr_Occurred()) SWIG_fail
;
6700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6708 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6709 PyObject
*resultobj
= 0;
6710 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6714 PyObject
*swig_obj
[1] ;
6716 if (!args
) SWIG_fail
;
6718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6719 if (!SWIG_IsOK(res1
)) {
6720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6722 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6725 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6726 wxPyEndAllowThreads(__tstate
);
6727 if (PyErr_Occurred()) SWIG_fail
;
6730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6738 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6739 PyObject
*resultobj
= 0;
6740 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6741 SwigValueWrapper
<wxVisualAttributes
> result
;
6744 PyObject
* obj0
= 0 ;
6745 char * kwnames
[] = {
6746 (char *) "variant", NULL
6749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6751 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6752 if (!SWIG_IsOK(ecode1
)) {
6753 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6755 arg1
= static_cast< wxWindowVariant
>(val1
);
6758 if (!wxPyCheckForApp()) SWIG_fail
;
6759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6760 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6761 wxPyEndAllowThreads(__tstate
);
6762 if (PyErr_Occurred()) SWIG_fail
;
6764 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6771 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6773 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6774 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6775 return SWIG_Py_Void();
6778 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6779 return SWIG_Python_InitShadowInstance(args
);
6782 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6783 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6788 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6789 PyObject
*pyobj
= 0;
6793 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6795 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6802 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6803 PyObject
*resultobj
= 0;
6804 wxWindow
*arg1
= (wxWindow
*) 0 ;
6805 int arg2
= (int) -1 ;
6806 int arg3
= (int) 100 ;
6807 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6808 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6809 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6810 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6811 long arg6
= (long) wxGA_HORIZONTAL
;
6812 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6813 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6814 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6815 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6816 wxGauge
*result
= 0 ;
6829 bool temp8
= false ;
6830 PyObject
* obj0
= 0 ;
6831 PyObject
* obj1
= 0 ;
6832 PyObject
* obj2
= 0 ;
6833 PyObject
* obj3
= 0 ;
6834 PyObject
* obj4
= 0 ;
6835 PyObject
* obj5
= 0 ;
6836 PyObject
* obj6
= 0 ;
6837 PyObject
* obj7
= 0 ;
6838 char * kwnames
[] = {
6839 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6844 if (!SWIG_IsOK(res1
)) {
6845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6847 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6849 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6850 if (!SWIG_IsOK(ecode2
)) {
6851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6853 arg2
= static_cast< int >(val2
);
6856 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6857 if (!SWIG_IsOK(ecode3
)) {
6858 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6860 arg3
= static_cast< int >(val3
);
6865 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6871 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6875 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6876 if (!SWIG_IsOK(ecode6
)) {
6877 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6879 arg6
= static_cast< long >(val6
);
6882 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6883 if (!SWIG_IsOK(res7
)) {
6884 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6887 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6889 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6893 arg8
= wxString_in_helper(obj7
);
6894 if (arg8
== NULL
) SWIG_fail
;
6899 if (!wxPyCheckForApp()) SWIG_fail
;
6900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6901 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6902 wxPyEndAllowThreads(__tstate
);
6903 if (PyErr_Occurred()) SWIG_fail
;
6905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6920 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6921 PyObject
*resultobj
= 0;
6922 wxGauge
*result
= 0 ;
6924 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6926 if (!wxPyCheckForApp()) SWIG_fail
;
6927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6928 result
= (wxGauge
*)new wxGauge();
6929 wxPyEndAllowThreads(__tstate
);
6930 if (PyErr_Occurred()) SWIG_fail
;
6932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6939 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6940 PyObject
*resultobj
= 0;
6941 wxGauge
*arg1
= (wxGauge
*) 0 ;
6942 wxWindow
*arg2
= (wxWindow
*) 0 ;
6943 int arg3
= (int) -1 ;
6944 int arg4
= (int) 100 ;
6945 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6946 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6947 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6948 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6949 long arg7
= (long) wxGA_HORIZONTAL
;
6950 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6951 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6952 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6953 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6969 bool temp9
= false ;
6970 PyObject
* obj0
= 0 ;
6971 PyObject
* obj1
= 0 ;
6972 PyObject
* obj2
= 0 ;
6973 PyObject
* obj3
= 0 ;
6974 PyObject
* obj4
= 0 ;
6975 PyObject
* obj5
= 0 ;
6976 PyObject
* obj6
= 0 ;
6977 PyObject
* obj7
= 0 ;
6978 PyObject
* obj8
= 0 ;
6979 char * kwnames
[] = {
6980 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6985 if (!SWIG_IsOK(res1
)) {
6986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6988 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6989 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6990 if (!SWIG_IsOK(res2
)) {
6991 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6993 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6995 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6996 if (!SWIG_IsOK(ecode3
)) {
6997 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6999 arg3
= static_cast< int >(val3
);
7002 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7003 if (!SWIG_IsOK(ecode4
)) {
7004 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
7006 arg4
= static_cast< int >(val4
);
7011 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7017 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7021 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7022 if (!SWIG_IsOK(ecode7
)) {
7023 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
7025 arg7
= static_cast< long >(val7
);
7028 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
7029 if (!SWIG_IsOK(res8
)) {
7030 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7033 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7035 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
7039 arg9
= wxString_in_helper(obj8
);
7040 if (arg9
== NULL
) SWIG_fail
;
7045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7046 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7047 wxPyEndAllowThreads(__tstate
);
7048 if (PyErr_Occurred()) SWIG_fail
;
7051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7067 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7068 PyObject
*resultobj
= 0;
7069 wxGauge
*arg1
= (wxGauge
*) 0 ;
7075 PyObject
* obj0
= 0 ;
7076 PyObject
* obj1
= 0 ;
7077 char * kwnames
[] = {
7078 (char *) "self",(char *) "range", NULL
7081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7083 if (!SWIG_IsOK(res1
)) {
7084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7086 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7088 if (!SWIG_IsOK(ecode2
)) {
7089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7091 arg2
= static_cast< int >(val2
);
7093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7094 (arg1
)->SetRange(arg2
);
7095 wxPyEndAllowThreads(__tstate
);
7096 if (PyErr_Occurred()) SWIG_fail
;
7098 resultobj
= SWIG_Py_Void();
7105 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7106 PyObject
*resultobj
= 0;
7107 wxGauge
*arg1
= (wxGauge
*) 0 ;
7111 PyObject
*swig_obj
[1] ;
7113 if (!args
) SWIG_fail
;
7115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7116 if (!SWIG_IsOK(res1
)) {
7117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7119 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7122 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7123 wxPyEndAllowThreads(__tstate
);
7124 if (PyErr_Occurred()) SWIG_fail
;
7126 resultobj
= SWIG_From_int(static_cast< int >(result
));
7133 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7134 PyObject
*resultobj
= 0;
7135 wxGauge
*arg1
= (wxGauge
*) 0 ;
7141 PyObject
* obj0
= 0 ;
7142 PyObject
* obj1
= 0 ;
7143 char * kwnames
[] = {
7144 (char *) "self",(char *) "pos", NULL
7147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7149 if (!SWIG_IsOK(res1
)) {
7150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7152 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7153 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7154 if (!SWIG_IsOK(ecode2
)) {
7155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7157 arg2
= static_cast< int >(val2
);
7159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7160 (arg1
)->SetValue(arg2
);
7161 wxPyEndAllowThreads(__tstate
);
7162 if (PyErr_Occurred()) SWIG_fail
;
7164 resultobj
= SWIG_Py_Void();
7171 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7172 PyObject
*resultobj
= 0;
7173 wxGauge
*arg1
= (wxGauge
*) 0 ;
7177 PyObject
*swig_obj
[1] ;
7179 if (!args
) SWIG_fail
;
7181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7182 if (!SWIG_IsOK(res1
)) {
7183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7185 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7188 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7189 wxPyEndAllowThreads(__tstate
);
7190 if (PyErr_Occurred()) SWIG_fail
;
7192 resultobj
= SWIG_From_int(static_cast< int >(result
));
7199 SWIGINTERN PyObject
*_wrap_Gauge_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7200 PyObject
*resultobj
= 0;
7201 wxGauge
*arg1
= (wxGauge
*) 0 ;
7204 PyObject
*swig_obj
[1] ;
7206 if (!args
) SWIG_fail
;
7208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7209 if (!SWIG_IsOK(res1
)) {
7210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7212 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7216 wxPyEndAllowThreads(__tstate
);
7217 if (PyErr_Occurred()) SWIG_fail
;
7219 resultobj
= SWIG_Py_Void();
7226 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7227 PyObject
*resultobj
= 0;
7228 wxGauge
*arg1
= (wxGauge
*) 0 ;
7232 PyObject
*swig_obj
[1] ;
7234 if (!args
) SWIG_fail
;
7236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7237 if (!SWIG_IsOK(res1
)) {
7238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7240 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7243 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7244 wxPyEndAllowThreads(__tstate
);
7245 if (PyErr_Occurred()) SWIG_fail
;
7248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7256 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
*resultobj
= 0;
7258 wxGauge
*arg1
= (wxGauge
*) 0 ;
7264 PyObject
* obj0
= 0 ;
7265 PyObject
* obj1
= 0 ;
7266 char * kwnames
[] = {
7267 (char *) "self",(char *) "w", NULL
7270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7272 if (!SWIG_IsOK(res1
)) {
7273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7275 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7276 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7277 if (!SWIG_IsOK(ecode2
)) {
7278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7280 arg2
= static_cast< int >(val2
);
7282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7283 (arg1
)->SetShadowWidth(arg2
);
7284 wxPyEndAllowThreads(__tstate
);
7285 if (PyErr_Occurred()) SWIG_fail
;
7287 resultobj
= SWIG_Py_Void();
7294 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7295 PyObject
*resultobj
= 0;
7296 wxGauge
*arg1
= (wxGauge
*) 0 ;
7300 PyObject
*swig_obj
[1] ;
7302 if (!args
) SWIG_fail
;
7304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7305 if (!SWIG_IsOK(res1
)) {
7306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7308 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7311 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7312 wxPyEndAllowThreads(__tstate
);
7313 if (PyErr_Occurred()) SWIG_fail
;
7315 resultobj
= SWIG_From_int(static_cast< int >(result
));
7322 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7323 PyObject
*resultobj
= 0;
7324 wxGauge
*arg1
= (wxGauge
*) 0 ;
7330 PyObject
* obj0
= 0 ;
7331 PyObject
* obj1
= 0 ;
7332 char * kwnames
[] = {
7333 (char *) "self",(char *) "w", NULL
7336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7338 if (!SWIG_IsOK(res1
)) {
7339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7341 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7342 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7343 if (!SWIG_IsOK(ecode2
)) {
7344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7346 arg2
= static_cast< int >(val2
);
7348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7349 (arg1
)->SetBezelFace(arg2
);
7350 wxPyEndAllowThreads(__tstate
);
7351 if (PyErr_Occurred()) SWIG_fail
;
7353 resultobj
= SWIG_Py_Void();
7360 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7361 PyObject
*resultobj
= 0;
7362 wxGauge
*arg1
= (wxGauge
*) 0 ;
7366 PyObject
*swig_obj
[1] ;
7368 if (!args
) SWIG_fail
;
7370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7371 if (!SWIG_IsOK(res1
)) {
7372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7374 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7377 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7378 wxPyEndAllowThreads(__tstate
);
7379 if (PyErr_Occurred()) SWIG_fail
;
7381 resultobj
= SWIG_From_int(static_cast< int >(result
));
7388 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7389 PyObject
*resultobj
= 0;
7390 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7391 SwigValueWrapper
<wxVisualAttributes
> result
;
7394 PyObject
* obj0
= 0 ;
7395 char * kwnames
[] = {
7396 (char *) "variant", NULL
7399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7401 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7402 if (!SWIG_IsOK(ecode1
)) {
7403 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7405 arg1
= static_cast< wxWindowVariant
>(val1
);
7408 if (!wxPyCheckForApp()) SWIG_fail
;
7409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7410 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7411 wxPyEndAllowThreads(__tstate
);
7412 if (PyErr_Occurred()) SWIG_fail
;
7414 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7421 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7423 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7424 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7425 return SWIG_Py_Void();
7428 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7429 return SWIG_Python_InitShadowInstance(args
);
7432 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7433 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7438 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7439 PyObject
*pyobj
= 0;
7443 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7445 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7452 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7453 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7458 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7459 PyObject
*pyobj
= 0;
7463 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7465 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7472 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7473 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7478 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7479 PyObject
*pyobj
= 0;
7483 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7485 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7492 SWIGINTERN
int StaticLineNameStr_set(PyObject
*) {
7493 SWIG_Error(SWIG_AttributeError
,"Variable StaticLineNameStr is read-only.");
7498 SWIGINTERN PyObject
*StaticLineNameStr_get(void) {
7499 PyObject
*pyobj
= 0;
7503 pyobj
= PyUnicode_FromWideChar((&wxPyStaticLineNameStr
)->c_str(), (&wxPyStaticLineNameStr
)->Len());
7505 pyobj
= PyString_FromStringAndSize((&wxPyStaticLineNameStr
)->c_str(), (&wxPyStaticLineNameStr
)->Len());
7512 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7513 PyObject
*resultobj
= 0;
7514 wxWindow
*arg1
= (wxWindow
*) 0 ;
7515 int arg2
= (int) -1 ;
7516 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7517 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7518 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7519 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7520 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7521 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7522 long arg6
= (long) 0 ;
7523 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7524 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7525 wxStaticBox
*result
= 0 ;
7530 bool temp3
= false ;
7535 bool temp7
= false ;
7536 PyObject
* obj0
= 0 ;
7537 PyObject
* obj1
= 0 ;
7538 PyObject
* obj2
= 0 ;
7539 PyObject
* obj3
= 0 ;
7540 PyObject
* obj4
= 0 ;
7541 PyObject
* obj5
= 0 ;
7542 PyObject
* obj6
= 0 ;
7543 char * kwnames
[] = {
7544 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7549 if (!SWIG_IsOK(res1
)) {
7550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7552 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7554 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7555 if (!SWIG_IsOK(ecode2
)) {
7556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7558 arg2
= static_cast< int >(val2
);
7562 arg3
= wxString_in_helper(obj2
);
7563 if (arg3
== NULL
) SWIG_fail
;
7570 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7576 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7580 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7581 if (!SWIG_IsOK(ecode6
)) {
7582 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7584 arg6
= static_cast< long >(val6
);
7588 arg7
= wxString_in_helper(obj6
);
7589 if (arg7
== NULL
) SWIG_fail
;
7594 if (!wxPyCheckForApp()) SWIG_fail
;
7595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7596 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7597 wxPyEndAllowThreads(__tstate
);
7598 if (PyErr_Occurred()) SWIG_fail
;
7600 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7623 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7624 PyObject
*resultobj
= 0;
7625 wxStaticBox
*result
= 0 ;
7627 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7629 if (!wxPyCheckForApp()) SWIG_fail
;
7630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7631 result
= (wxStaticBox
*)new wxStaticBox();
7632 wxPyEndAllowThreads(__tstate
);
7633 if (PyErr_Occurred()) SWIG_fail
;
7635 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7642 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7643 PyObject
*resultobj
= 0;
7644 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7645 wxWindow
*arg2
= (wxWindow
*) 0 ;
7646 int arg3
= (int) -1 ;
7647 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7648 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7649 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7650 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7651 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7652 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7653 long arg7
= (long) 0 ;
7654 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7655 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7663 bool temp4
= false ;
7668 bool temp8
= false ;
7669 PyObject
* obj0
= 0 ;
7670 PyObject
* obj1
= 0 ;
7671 PyObject
* obj2
= 0 ;
7672 PyObject
* obj3
= 0 ;
7673 PyObject
* obj4
= 0 ;
7674 PyObject
* obj5
= 0 ;
7675 PyObject
* obj6
= 0 ;
7676 PyObject
* obj7
= 0 ;
7677 char * kwnames
[] = {
7678 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7683 if (!SWIG_IsOK(res1
)) {
7684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7686 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7687 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7688 if (!SWIG_IsOK(res2
)) {
7689 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7691 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7693 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7694 if (!SWIG_IsOK(ecode3
)) {
7695 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7697 arg3
= static_cast< int >(val3
);
7701 arg4
= wxString_in_helper(obj3
);
7702 if (arg4
== NULL
) SWIG_fail
;
7709 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7715 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7719 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7720 if (!SWIG_IsOK(ecode7
)) {
7721 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7723 arg7
= static_cast< long >(val7
);
7727 arg8
= wxString_in_helper(obj7
);
7728 if (arg8
== NULL
) SWIG_fail
;
7733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7734 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7735 wxPyEndAllowThreads(__tstate
);
7736 if (PyErr_Occurred()) SWIG_fail
;
7739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7763 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7764 PyObject
*resultobj
= 0;
7765 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7766 SwigValueWrapper
<wxVisualAttributes
> result
;
7769 PyObject
* obj0
= 0 ;
7770 char * kwnames
[] = {
7771 (char *) "variant", NULL
7774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7776 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7777 if (!SWIG_IsOK(ecode1
)) {
7778 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7780 arg1
= static_cast< wxWindowVariant
>(val1
);
7783 if (!wxPyCheckForApp()) SWIG_fail
;
7784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7785 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7786 wxPyEndAllowThreads(__tstate
);
7787 if (PyErr_Occurred()) SWIG_fail
;
7789 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7796 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7798 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7799 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7800 return SWIG_Py_Void();
7803 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7804 return SWIG_Python_InitShadowInstance(args
);
7807 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7808 PyObject
*resultobj
= 0;
7809 wxWindow
*arg1
= (wxWindow
*) 0 ;
7810 int arg2
= (int) -1 ;
7811 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7812 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7813 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7814 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7815 long arg5
= (long) wxLI_HORIZONTAL
;
7816 wxString
const &arg6_defvalue
= wxPyStaticLineNameStr
;
7817 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7818 wxStaticLine
*result
= 0 ;
7827 bool temp6
= false ;
7828 PyObject
* obj0
= 0 ;
7829 PyObject
* obj1
= 0 ;
7830 PyObject
* obj2
= 0 ;
7831 PyObject
* obj3
= 0 ;
7832 PyObject
* obj4
= 0 ;
7833 PyObject
* obj5
= 0 ;
7834 char * kwnames
[] = {
7835 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7840 if (!SWIG_IsOK(res1
)) {
7841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7843 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7846 if (!SWIG_IsOK(ecode2
)) {
7847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7849 arg2
= static_cast< int >(val2
);
7854 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7860 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7864 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7865 if (!SWIG_IsOK(ecode5
)) {
7866 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7868 arg5
= static_cast< long >(val5
);
7872 arg6
= wxString_in_helper(obj5
);
7873 if (arg6
== NULL
) SWIG_fail
;
7878 if (!wxPyCheckForApp()) SWIG_fail
;
7879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7880 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7881 wxPyEndAllowThreads(__tstate
);
7882 if (PyErr_Occurred()) SWIG_fail
;
7884 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7899 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7900 PyObject
*resultobj
= 0;
7901 wxStaticLine
*result
= 0 ;
7903 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7905 if (!wxPyCheckForApp()) SWIG_fail
;
7906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7907 result
= (wxStaticLine
*)new wxStaticLine();
7908 wxPyEndAllowThreads(__tstate
);
7909 if (PyErr_Occurred()) SWIG_fail
;
7911 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7918 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7919 PyObject
*resultobj
= 0;
7920 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7921 wxWindow
*arg2
= (wxWindow
*) 0 ;
7922 int arg3
= (int) -1 ;
7923 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7924 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7925 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7926 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7927 long arg6
= (long) wxLI_HORIZONTAL
;
7928 wxString
const &arg7_defvalue
= wxPyStaticLineNameStr
;
7929 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7941 bool temp7
= false ;
7942 PyObject
* obj0
= 0 ;
7943 PyObject
* obj1
= 0 ;
7944 PyObject
* obj2
= 0 ;
7945 PyObject
* obj3
= 0 ;
7946 PyObject
* obj4
= 0 ;
7947 PyObject
* obj5
= 0 ;
7948 PyObject
* obj6
= 0 ;
7949 char * kwnames
[] = {
7950 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7955 if (!SWIG_IsOK(res1
)) {
7956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7958 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7959 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7960 if (!SWIG_IsOK(res2
)) {
7961 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7963 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7965 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7966 if (!SWIG_IsOK(ecode3
)) {
7967 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7969 arg3
= static_cast< int >(val3
);
7974 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7980 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7984 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7985 if (!SWIG_IsOK(ecode6
)) {
7986 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7988 arg6
= static_cast< long >(val6
);
7992 arg7
= wxString_in_helper(obj6
);
7993 if (arg7
== NULL
) SWIG_fail
;
7998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7999 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8000 wxPyEndAllowThreads(__tstate
);
8001 if (PyErr_Occurred()) SWIG_fail
;
8004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8020 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8021 PyObject
*resultobj
= 0;
8022 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
8026 PyObject
*swig_obj
[1] ;
8028 if (!args
) SWIG_fail
;
8030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
8031 if (!SWIG_IsOK(res1
)) {
8032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
8034 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
8036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8037 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
8038 wxPyEndAllowThreads(__tstate
);
8039 if (PyErr_Occurred()) SWIG_fail
;
8042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8050 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8051 PyObject
*resultobj
= 0;
8054 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
8056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8057 result
= (int)wxStaticLine::GetDefaultSize();
8058 wxPyEndAllowThreads(__tstate
);
8059 if (PyErr_Occurred()) SWIG_fail
;
8061 resultobj
= SWIG_From_int(static_cast< int >(result
));
8068 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8069 PyObject
*resultobj
= 0;
8070 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8071 SwigValueWrapper
<wxVisualAttributes
> result
;
8074 PyObject
* obj0
= 0 ;
8075 char * kwnames
[] = {
8076 (char *) "variant", NULL
8079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8081 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8082 if (!SWIG_IsOK(ecode1
)) {
8083 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8085 arg1
= static_cast< wxWindowVariant
>(val1
);
8088 if (!wxPyCheckForApp()) SWIG_fail
;
8089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8090 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8091 wxPyEndAllowThreads(__tstate
);
8092 if (PyErr_Occurred()) SWIG_fail
;
8094 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8101 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8103 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8104 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8105 return SWIG_Py_Void();
8108 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8109 return SWIG_Python_InitShadowInstance(args
);
8112 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8113 PyObject
*resultobj
= 0;
8114 wxWindow
*arg1
= (wxWindow
*) 0 ;
8115 int arg2
= (int) -1 ;
8116 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8117 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8118 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8119 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8120 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8121 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8122 long arg6
= (long) 0 ;
8123 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8124 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8125 wxStaticText
*result
= 0 ;
8130 bool temp3
= false ;
8135 bool temp7
= false ;
8136 PyObject
* obj0
= 0 ;
8137 PyObject
* obj1
= 0 ;
8138 PyObject
* obj2
= 0 ;
8139 PyObject
* obj3
= 0 ;
8140 PyObject
* obj4
= 0 ;
8141 PyObject
* obj5
= 0 ;
8142 PyObject
* obj6
= 0 ;
8143 char * kwnames
[] = {
8144 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8149 if (!SWIG_IsOK(res1
)) {
8150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8152 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8154 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8155 if (!SWIG_IsOK(ecode2
)) {
8156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8158 arg2
= static_cast< int >(val2
);
8162 arg3
= wxString_in_helper(obj2
);
8163 if (arg3
== NULL
) SWIG_fail
;
8170 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8176 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8180 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8181 if (!SWIG_IsOK(ecode6
)) {
8182 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8184 arg6
= static_cast< long >(val6
);
8188 arg7
= wxString_in_helper(obj6
);
8189 if (arg7
== NULL
) SWIG_fail
;
8194 if (!wxPyCheckForApp()) SWIG_fail
;
8195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8196 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8197 wxPyEndAllowThreads(__tstate
);
8198 if (PyErr_Occurred()) SWIG_fail
;
8200 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8223 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8224 PyObject
*resultobj
= 0;
8225 wxStaticText
*result
= 0 ;
8227 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8229 if (!wxPyCheckForApp()) SWIG_fail
;
8230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8231 result
= (wxStaticText
*)new wxStaticText();
8232 wxPyEndAllowThreads(__tstate
);
8233 if (PyErr_Occurred()) SWIG_fail
;
8235 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8242 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8243 PyObject
*resultobj
= 0;
8244 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8245 wxWindow
*arg2
= (wxWindow
*) 0 ;
8246 int arg3
= (int) -1 ;
8247 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8248 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8249 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8250 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8251 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8252 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8253 long arg7
= (long) 0 ;
8254 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8255 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8263 bool temp4
= false ;
8268 bool temp8
= false ;
8269 PyObject
* obj0
= 0 ;
8270 PyObject
* obj1
= 0 ;
8271 PyObject
* obj2
= 0 ;
8272 PyObject
* obj3
= 0 ;
8273 PyObject
* obj4
= 0 ;
8274 PyObject
* obj5
= 0 ;
8275 PyObject
* obj6
= 0 ;
8276 PyObject
* obj7
= 0 ;
8277 char * kwnames
[] = {
8278 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8283 if (!SWIG_IsOK(res1
)) {
8284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8286 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8287 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8288 if (!SWIG_IsOK(res2
)) {
8289 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8291 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8293 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8294 if (!SWIG_IsOK(ecode3
)) {
8295 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8297 arg3
= static_cast< int >(val3
);
8301 arg4
= wxString_in_helper(obj3
);
8302 if (arg4
== NULL
) SWIG_fail
;
8309 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8315 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8319 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8320 if (!SWIG_IsOK(ecode7
)) {
8321 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8323 arg7
= static_cast< long >(val7
);
8327 arg8
= wxString_in_helper(obj7
);
8328 if (arg8
== NULL
) SWIG_fail
;
8333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8334 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8335 wxPyEndAllowThreads(__tstate
);
8336 if (PyErr_Occurred()) SWIG_fail
;
8339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8363 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8364 PyObject
*resultobj
= 0;
8365 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8371 PyObject
* obj0
= 0 ;
8372 PyObject
* obj1
= 0 ;
8373 char * kwnames
[] = {
8374 (char *) "self",(char *) "width", NULL
8377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8379 if (!SWIG_IsOK(res1
)) {
8380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8382 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8383 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8384 if (!SWIG_IsOK(ecode2
)) {
8385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8387 arg2
= static_cast< int >(val2
);
8389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8391 wxPyEndAllowThreads(__tstate
);
8392 if (PyErr_Occurred()) SWIG_fail
;
8394 resultobj
= SWIG_Py_Void();
8401 SWIGINTERN PyObject
*_wrap_StaticText_IsEllipsized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8402 PyObject
*resultobj
= 0;
8403 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8407 PyObject
*swig_obj
[1] ;
8409 if (!args
) SWIG_fail
;
8411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8412 if (!SWIG_IsOK(res1
)) {
8413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_IsEllipsized" "', expected argument " "1"" of type '" "wxStaticText const *""'");
8415 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8418 result
= (bool)((wxStaticText
const *)arg1
)->IsEllipsized();
8419 wxPyEndAllowThreads(__tstate
);
8420 if (PyErr_Occurred()) SWIG_fail
;
8423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8431 SWIGINTERN PyObject
*_wrap_StaticText_RemoveMarkup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8432 PyObject
*resultobj
= 0;
8433 wxString
*arg1
= 0 ;
8435 bool temp1
= false ;
8436 PyObject
* obj0
= 0 ;
8437 char * kwnames
[] = {
8438 (char *) "str", NULL
8441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticText_RemoveMarkup",kwnames
,&obj0
)) SWIG_fail
;
8443 arg1
= wxString_in_helper(obj0
);
8444 if (arg1
== NULL
) SWIG_fail
;
8448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8449 result
= wxStaticText::RemoveMarkup((wxString
const &)*arg1
);
8450 wxPyEndAllowThreads(__tstate
);
8451 if (PyErr_Occurred()) SWIG_fail
;
8455 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8457 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8474 SWIGINTERN PyObject
*_wrap_StaticText_EscapeMarkup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8475 PyObject
*resultobj
= 0;
8476 wxString
*arg1
= 0 ;
8478 bool temp1
= false ;
8479 PyObject
* obj0
= 0 ;
8480 char * kwnames
[] = {
8481 (char *) "str", NULL
8484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticText_EscapeMarkup",kwnames
,&obj0
)) SWIG_fail
;
8486 arg1
= wxString_in_helper(obj0
);
8487 if (arg1
== NULL
) SWIG_fail
;
8491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8492 result
= wxStaticText::EscapeMarkup((wxString
const &)*arg1
);
8493 wxPyEndAllowThreads(__tstate
);
8494 if (PyErr_Occurred()) SWIG_fail
;
8498 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8500 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8517 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8518 PyObject
*resultobj
= 0;
8519 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8520 SwigValueWrapper
<wxVisualAttributes
> result
;
8523 PyObject
* obj0
= 0 ;
8524 char * kwnames
[] = {
8525 (char *) "variant", NULL
8528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8530 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8531 if (!SWIG_IsOK(ecode1
)) {
8532 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8534 arg1
= static_cast< wxWindowVariant
>(val1
);
8537 if (!wxPyCheckForApp()) SWIG_fail
;
8538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8539 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8540 wxPyEndAllowThreads(__tstate
);
8541 if (PyErr_Occurred()) SWIG_fail
;
8543 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8550 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8552 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8553 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8554 return SWIG_Py_Void();
8557 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8558 return SWIG_Python_InitShadowInstance(args
);
8561 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8562 PyObject
*resultobj
= 0;
8563 wxWindow
*arg1
= (wxWindow
*) 0 ;
8564 int arg2
= (int) -1 ;
8565 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8566 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8567 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8568 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8569 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8570 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8571 long arg6
= (long) 0 ;
8572 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8573 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8574 wxStaticBitmap
*result
= 0 ;
8585 bool temp7
= false ;
8586 PyObject
* obj0
= 0 ;
8587 PyObject
* obj1
= 0 ;
8588 PyObject
* obj2
= 0 ;
8589 PyObject
* obj3
= 0 ;
8590 PyObject
* obj4
= 0 ;
8591 PyObject
* obj5
= 0 ;
8592 PyObject
* obj6
= 0 ;
8593 char * kwnames
[] = {
8594 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8599 if (!SWIG_IsOK(res1
)) {
8600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8602 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8604 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8605 if (!SWIG_IsOK(ecode2
)) {
8606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8608 arg2
= static_cast< int >(val2
);
8611 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8612 if (!SWIG_IsOK(res3
)) {
8613 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8616 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8618 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8623 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8629 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8633 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8634 if (!SWIG_IsOK(ecode6
)) {
8635 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8637 arg6
= static_cast< long >(val6
);
8641 arg7
= wxString_in_helper(obj6
);
8642 if (arg7
== NULL
) SWIG_fail
;
8647 if (!wxPyCheckForApp()) SWIG_fail
;
8648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8649 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8650 wxPyEndAllowThreads(__tstate
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8653 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8668 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8669 PyObject
*resultobj
= 0;
8670 wxStaticBitmap
*result
= 0 ;
8672 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8674 if (!wxPyCheckForApp()) SWIG_fail
;
8675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8676 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8677 wxPyEndAllowThreads(__tstate
);
8678 if (PyErr_Occurred()) SWIG_fail
;
8680 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8687 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8688 PyObject
*resultobj
= 0;
8689 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8690 wxWindow
*arg2
= (wxWindow
*) 0 ;
8691 int arg3
= (int) -1 ;
8692 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8693 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8694 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8695 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8696 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8697 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8698 long arg7
= (long) 0 ;
8699 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8700 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8714 bool temp8
= false ;
8715 PyObject
* obj0
= 0 ;
8716 PyObject
* obj1
= 0 ;
8717 PyObject
* obj2
= 0 ;
8718 PyObject
* obj3
= 0 ;
8719 PyObject
* obj4
= 0 ;
8720 PyObject
* obj5
= 0 ;
8721 PyObject
* obj6
= 0 ;
8722 PyObject
* obj7
= 0 ;
8723 char * kwnames
[] = {
8724 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8729 if (!SWIG_IsOK(res1
)) {
8730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8732 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8733 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8734 if (!SWIG_IsOK(res2
)) {
8735 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8737 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8739 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8740 if (!SWIG_IsOK(ecode3
)) {
8741 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8743 arg3
= static_cast< int >(val3
);
8746 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8747 if (!SWIG_IsOK(res4
)) {
8748 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8751 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8753 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8758 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8764 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8768 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8769 if (!SWIG_IsOK(ecode7
)) {
8770 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8772 arg7
= static_cast< long >(val7
);
8776 arg8
= wxString_in_helper(obj7
);
8777 if (arg8
== NULL
) SWIG_fail
;
8782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8783 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8784 wxPyEndAllowThreads(__tstate
);
8785 if (PyErr_Occurred()) SWIG_fail
;
8788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8804 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8805 PyObject
*resultobj
= 0;
8806 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8810 PyObject
*swig_obj
[1] ;
8812 if (!args
) SWIG_fail
;
8814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8815 if (!SWIG_IsOK(res1
)) {
8816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8818 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8821 result
= (arg1
)->GetBitmap();
8822 wxPyEndAllowThreads(__tstate
);
8823 if (PyErr_Occurred()) SWIG_fail
;
8825 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8832 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8833 PyObject
*resultobj
= 0;
8834 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8835 wxBitmap
*arg2
= 0 ;
8840 PyObject
* obj0
= 0 ;
8841 PyObject
* obj1
= 0 ;
8842 char * kwnames
[] = {
8843 (char *) "self",(char *) "bitmap", NULL
8846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8848 if (!SWIG_IsOK(res1
)) {
8849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8851 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8852 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8853 if (!SWIG_IsOK(res2
)) {
8854 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8857 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8859 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8862 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8863 wxPyEndAllowThreads(__tstate
);
8864 if (PyErr_Occurred()) SWIG_fail
;
8866 resultobj
= SWIG_Py_Void();
8873 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8874 PyObject
*resultobj
= 0;
8875 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8881 PyObject
* obj0
= 0 ;
8882 PyObject
* obj1
= 0 ;
8883 char * kwnames
[] = {
8884 (char *) "self",(char *) "icon", NULL
8887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8889 if (!SWIG_IsOK(res1
)) {
8890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8892 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8893 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8894 if (!SWIG_IsOK(res2
)) {
8895 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8898 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8900 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8903 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8907 resultobj
= SWIG_Py_Void();
8914 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8915 PyObject
*resultobj
= 0;
8916 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8917 SwigValueWrapper
<wxVisualAttributes
> result
;
8920 PyObject
* obj0
= 0 ;
8921 char * kwnames
[] = {
8922 (char *) "variant", NULL
8925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8927 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8928 if (!SWIG_IsOK(ecode1
)) {
8929 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8931 arg1
= static_cast< wxWindowVariant
>(val1
);
8934 if (!wxPyCheckForApp()) SWIG_fail
;
8935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8936 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8937 wxPyEndAllowThreads(__tstate
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8940 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8947 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8949 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8950 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8951 return SWIG_Py_Void();
8954 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8955 return SWIG_Python_InitShadowInstance(args
);
8958 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8959 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8964 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8965 PyObject
*pyobj
= 0;
8969 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8971 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8978 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8979 PyObject
*resultobj
= 0;
8980 wxWindow
*arg1
= (wxWindow
*) 0 ;
8981 int arg2
= (int) -1 ;
8982 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8983 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8984 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8985 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8986 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8987 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8988 long arg6
= (long) 0 ;
8989 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8990 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8991 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8992 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8993 wxListBox
*result
= 0 ;
9000 bool temp5
= false ;
9005 bool temp8
= false ;
9006 PyObject
* obj0
= 0 ;
9007 PyObject
* obj1
= 0 ;
9008 PyObject
* obj2
= 0 ;
9009 PyObject
* obj3
= 0 ;
9010 PyObject
* obj4
= 0 ;
9011 PyObject
* obj5
= 0 ;
9012 PyObject
* obj6
= 0 ;
9013 PyObject
* obj7
= 0 ;
9014 char * kwnames
[] = {
9015 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
9019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9020 if (!SWIG_IsOK(res1
)) {
9021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
9023 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9025 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9026 if (!SWIG_IsOK(ecode2
)) {
9027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
9029 arg2
= static_cast< int >(val2
);
9034 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9040 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9045 if (! PySequence_Check(obj4
)) {
9046 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9049 arg5
= new wxArrayString
;
9051 int i
, len
=PySequence_Length(obj4
);
9052 for (i
=0; i
<len
; i
++) {
9053 PyObject
* item
= PySequence_GetItem(obj4
, i
);
9054 wxString
* s
= wxString_in_helper(item
);
9055 if (PyErr_Occurred()) SWIG_fail
;
9063 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9064 if (!SWIG_IsOK(ecode6
)) {
9065 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
9067 arg6
= static_cast< long >(val6
);
9070 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
9071 if (!SWIG_IsOK(res7
)) {
9072 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
9075 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
9077 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
9081 arg8
= wxString_in_helper(obj7
);
9082 if (arg8
== NULL
) SWIG_fail
;
9087 if (!wxPyCheckForApp()) SWIG_fail
;
9088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9089 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9090 wxPyEndAllowThreads(__tstate
);
9091 if (PyErr_Occurred()) SWIG_fail
;
9093 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
9095 if (temp5
) delete arg5
;
9104 if (temp5
) delete arg5
;
9114 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9115 PyObject
*resultobj
= 0;
9116 wxListBox
*result
= 0 ;
9118 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
9120 if (!wxPyCheckForApp()) SWIG_fail
;
9121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9122 result
= (wxListBox
*)new wxListBox();
9123 wxPyEndAllowThreads(__tstate
);
9124 if (PyErr_Occurred()) SWIG_fail
;
9126 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
9133 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9134 PyObject
*resultobj
= 0;
9135 wxListBox
*arg1
= (wxListBox
*) 0 ;
9136 wxWindow
*arg2
= (wxWindow
*) 0 ;
9137 int arg3
= (int) -1 ;
9138 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9139 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9140 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9141 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9142 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
9143 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
9144 long arg7
= (long) 0 ;
9145 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9146 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9147 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
9148 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9158 bool temp6
= false ;
9163 bool temp9
= false ;
9164 PyObject
* obj0
= 0 ;
9165 PyObject
* obj1
= 0 ;
9166 PyObject
* obj2
= 0 ;
9167 PyObject
* obj3
= 0 ;
9168 PyObject
* obj4
= 0 ;
9169 PyObject
* obj5
= 0 ;
9170 PyObject
* obj6
= 0 ;
9171 PyObject
* obj7
= 0 ;
9172 PyObject
* obj8
= 0 ;
9173 char * kwnames
[] = {
9174 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
9178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9179 if (!SWIG_IsOK(res1
)) {
9180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9182 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9183 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9184 if (!SWIG_IsOK(res2
)) {
9185 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9187 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9189 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9190 if (!SWIG_IsOK(ecode3
)) {
9191 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9193 arg3
= static_cast< int >(val3
);
9198 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9204 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9209 if (! PySequence_Check(obj5
)) {
9210 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9213 arg6
= new wxArrayString
;
9215 int i
, len
=PySequence_Length(obj5
);
9216 for (i
=0; i
<len
; i
++) {
9217 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9218 wxString
* s
= wxString_in_helper(item
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9227 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9228 if (!SWIG_IsOK(ecode7
)) {
9229 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9231 arg7
= static_cast< long >(val7
);
9234 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9235 if (!SWIG_IsOK(res8
)) {
9236 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9239 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9241 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9245 arg9
= wxString_in_helper(obj8
);
9246 if (arg9
== NULL
) SWIG_fail
;
9251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9252 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9253 wxPyEndAllowThreads(__tstate
);
9254 if (PyErr_Occurred()) SWIG_fail
;
9257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9260 if (temp6
) delete arg6
;
9269 if (temp6
) delete arg6
;
9279 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9280 PyObject
*resultobj
= 0;
9281 wxListBox
*arg1
= (wxListBox
*) 0 ;
9282 wxString
*arg2
= 0 ;
9284 PyObject
*arg4
= (PyObject
*) NULL
;
9287 bool temp2
= false ;
9290 PyObject
* obj0
= 0 ;
9291 PyObject
* obj1
= 0 ;
9292 PyObject
* obj2
= 0 ;
9293 PyObject
* obj3
= 0 ;
9294 char * kwnames
[] = {
9295 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9300 if (!SWIG_IsOK(res1
)) {
9301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9303 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9305 arg2
= wxString_in_helper(obj1
);
9306 if (arg2
== NULL
) SWIG_fail
;
9309 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9310 if (!SWIG_IsOK(ecode3
)) {
9311 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9313 arg3
= static_cast< int >(val3
);
9318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9319 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9320 wxPyEndAllowThreads(__tstate
);
9321 if (PyErr_Occurred()) SWIG_fail
;
9323 resultobj
= SWIG_Py_Void();
9338 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9339 PyObject
*resultobj
= 0;
9340 wxListBox
*arg1
= (wxListBox
*) 0 ;
9341 wxArrayString
*arg2
= 0 ;
9345 bool temp2
= false ;
9348 PyObject
* obj0
= 0 ;
9349 PyObject
* obj1
= 0 ;
9350 PyObject
* obj2
= 0 ;
9351 char * kwnames
[] = {
9352 (char *) "self",(char *) "items",(char *) "pos", NULL
9355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9357 if (!SWIG_IsOK(res1
)) {
9358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9360 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9362 if (! PySequence_Check(obj1
)) {
9363 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9366 arg2
= new wxArrayString
;
9368 int i
, len
=PySequence_Length(obj1
);
9369 for (i
=0; i
<len
; i
++) {
9370 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9371 wxString
* s
= wxString_in_helper(item
);
9372 if (PyErr_Occurred()) SWIG_fail
;
9378 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9379 if (!SWIG_IsOK(ecode3
)) {
9380 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9382 arg3
= static_cast< unsigned int >(val3
);
9384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9385 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9386 wxPyEndAllowThreads(__tstate
);
9387 if (PyErr_Occurred()) SWIG_fail
;
9389 resultobj
= SWIG_Py_Void();
9391 if (temp2
) delete arg2
;
9396 if (temp2
) delete arg2
;
9402 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9403 PyObject
*resultobj
= 0;
9404 wxListBox
*arg1
= (wxListBox
*) 0 ;
9405 wxArrayString
*arg2
= 0 ;
9408 bool temp2
= false ;
9409 PyObject
* obj0
= 0 ;
9410 PyObject
* obj1
= 0 ;
9411 char * kwnames
[] = {
9412 (char *) "self",(char *) "items", NULL
9415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9417 if (!SWIG_IsOK(res1
)) {
9418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9420 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9422 if (! PySequence_Check(obj1
)) {
9423 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9426 arg2
= new wxArrayString
;
9428 int i
, len
=PySequence_Length(obj1
);
9429 for (i
=0; i
<len
; i
++) {
9430 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9431 wxString
* s
= wxString_in_helper(item
);
9432 if (PyErr_Occurred()) SWIG_fail
;
9439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9440 (arg1
)->Set((wxArrayString
const &)*arg2
);
9441 wxPyEndAllowThreads(__tstate
);
9442 if (PyErr_Occurred()) SWIG_fail
;
9444 resultobj
= SWIG_Py_Void();
9446 if (temp2
) delete arg2
;
9451 if (temp2
) delete arg2
;
9457 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9458 PyObject
*resultobj
= 0;
9459 wxListBox
*arg1
= (wxListBox
*) 0 ;
9466 PyObject
* obj0
= 0 ;
9467 PyObject
* obj1
= 0 ;
9468 char * kwnames
[] = {
9469 (char *) "self",(char *) "n", NULL
9472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9474 if (!SWIG_IsOK(res1
)) {
9475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9477 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9478 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9479 if (!SWIG_IsOK(ecode2
)) {
9480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9482 arg2
= static_cast< int >(val2
);
9484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9485 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9486 wxPyEndAllowThreads(__tstate
);
9487 if (PyErr_Occurred()) SWIG_fail
;
9490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9498 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9499 PyObject
*resultobj
= 0;
9500 wxListBox
*arg1
= (wxListBox
*) 0 ;
9502 bool arg3
= (bool) true ;
9509 PyObject
* obj0
= 0 ;
9510 PyObject
* obj1
= 0 ;
9511 PyObject
* obj2
= 0 ;
9512 char * kwnames
[] = {
9513 (char *) "self",(char *) "n",(char *) "select", NULL
9516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9518 if (!SWIG_IsOK(res1
)) {
9519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9521 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9523 if (!SWIG_IsOK(ecode2
)) {
9524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9526 arg2
= static_cast< int >(val2
);
9528 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9529 if (!SWIG_IsOK(ecode3
)) {
9530 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9532 arg3
= static_cast< bool >(val3
);
9535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9536 (arg1
)->SetSelection(arg2
,arg3
);
9537 wxPyEndAllowThreads(__tstate
);
9538 if (PyErr_Occurred()) SWIG_fail
;
9540 resultobj
= SWIG_Py_Void();
9547 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9548 PyObject
*resultobj
= 0;
9549 wxListBox
*arg1
= (wxListBox
*) 0 ;
9555 PyObject
* obj0
= 0 ;
9556 PyObject
* obj1
= 0 ;
9557 char * kwnames
[] = {
9558 (char *) "self",(char *) "n", NULL
9561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) 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_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9566 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9568 if (!SWIG_IsOK(ecode2
)) {
9569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9571 arg2
= static_cast< int >(val2
);
9573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9574 (arg1
)->Select(arg2
);
9575 wxPyEndAllowThreads(__tstate
);
9576 if (PyErr_Occurred()) SWIG_fail
;
9578 resultobj
= SWIG_Py_Void();
9585 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9586 PyObject
*resultobj
= 0;
9587 wxListBox
*arg1
= (wxListBox
*) 0 ;
9593 PyObject
* obj0
= 0 ;
9594 PyObject
* obj1
= 0 ;
9595 char * kwnames
[] = {
9596 (char *) "self",(char *) "n", NULL
9599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9601 if (!SWIG_IsOK(res1
)) {
9602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9604 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9606 if (!SWIG_IsOK(ecode2
)) {
9607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9609 arg2
= static_cast< int >(val2
);
9611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9612 (arg1
)->Deselect(arg2
);
9613 wxPyEndAllowThreads(__tstate
);
9614 if (PyErr_Occurred()) SWIG_fail
;
9616 resultobj
= SWIG_Py_Void();
9623 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9624 PyObject
*resultobj
= 0;
9625 wxListBox
*arg1
= (wxListBox
*) 0 ;
9626 int arg2
= (int) -1 ;
9631 PyObject
* obj0
= 0 ;
9632 PyObject
* obj1
= 0 ;
9633 char * kwnames
[] = {
9634 (char *) "self",(char *) "itemToLeaveSelected", NULL
9637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9639 if (!SWIG_IsOK(res1
)) {
9640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9642 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9644 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9645 if (!SWIG_IsOK(ecode2
)) {
9646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9648 arg2
= static_cast< int >(val2
);
9651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9652 (arg1
)->DeselectAll(arg2
);
9653 wxPyEndAllowThreads(__tstate
);
9654 if (PyErr_Occurred()) SWIG_fail
;
9656 resultobj
= SWIG_Py_Void();
9663 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9664 PyObject
*resultobj
= 0;
9665 wxListBox
*arg1
= (wxListBox
*) 0 ;
9666 wxString
*arg2
= 0 ;
9667 bool arg3
= (bool) true ;
9671 bool temp2
= false ;
9674 PyObject
* obj0
= 0 ;
9675 PyObject
* obj1
= 0 ;
9676 PyObject
* obj2
= 0 ;
9677 char * kwnames
[] = {
9678 (char *) "self",(char *) "s",(char *) "select", NULL
9681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) 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_SetStringSelection" "', 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 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9694 if (!SWIG_IsOK(ecode3
)) {
9695 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9697 arg3
= static_cast< bool >(val3
);
9700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9701 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9702 wxPyEndAllowThreads(__tstate
);
9703 if (PyErr_Occurred()) SWIG_fail
;
9706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9722 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9723 PyObject
*resultobj
= 0;
9724 wxListBox
*arg1
= (wxListBox
*) 0 ;
9725 PyObject
*result
= 0 ;
9728 PyObject
*swig_obj
[1] ;
9730 if (!args
) SWIG_fail
;
9732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9733 if (!SWIG_IsOK(res1
)) {
9734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9736 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9739 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9740 wxPyEndAllowThreads(__tstate
);
9741 if (PyErr_Occurred()) SWIG_fail
;
9750 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9751 PyObject
*resultobj
= 0;
9752 wxListBox
*arg1
= (wxListBox
*) 0 ;
9758 PyObject
* obj0
= 0 ;
9759 PyObject
* obj1
= 0 ;
9760 char * kwnames
[] = {
9761 (char *) "self",(char *) "n", NULL
9764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",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_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9769 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9770 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9771 if (!SWIG_IsOK(ecode2
)) {
9772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9774 arg2
= static_cast< int >(val2
);
9776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9777 (arg1
)->SetFirstItem(arg2
);
9778 wxPyEndAllowThreads(__tstate
);
9779 if (PyErr_Occurred()) SWIG_fail
;
9781 resultobj
= SWIG_Py_Void();
9788 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9789 PyObject
*resultobj
= 0;
9790 wxListBox
*arg1
= (wxListBox
*) 0 ;
9791 wxString
*arg2
= 0 ;
9794 bool temp2
= false ;
9795 PyObject
* obj0
= 0 ;
9796 PyObject
* obj1
= 0 ;
9797 char * kwnames
[] = {
9798 (char *) "self",(char *) "s", NULL
9801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9803 if (!SWIG_IsOK(res1
)) {
9804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9806 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9808 arg2
= wxString_in_helper(obj1
);
9809 if (arg2
== NULL
) SWIG_fail
;
9813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9814 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9815 wxPyEndAllowThreads(__tstate
);
9816 if (PyErr_Occurred()) SWIG_fail
;
9818 resultobj
= SWIG_Py_Void();
9833 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9834 PyObject
*resultobj
= 0;
9835 wxListBox
*arg1
= (wxListBox
*) 0 ;
9841 PyObject
* obj0
= 0 ;
9842 PyObject
* obj1
= 0 ;
9843 char * kwnames
[] = {
9844 (char *) "self",(char *) "n", NULL
9847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9849 if (!SWIG_IsOK(res1
)) {
9850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9852 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9853 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9854 if (!SWIG_IsOK(ecode2
)) {
9855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9857 arg2
= static_cast< int >(val2
);
9859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9860 (arg1
)->EnsureVisible(arg2
);
9861 wxPyEndAllowThreads(__tstate
);
9862 if (PyErr_Occurred()) SWIG_fail
;
9864 resultobj
= SWIG_Py_Void();
9871 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9872 PyObject
*resultobj
= 0;
9873 wxListBox
*arg1
= (wxListBox
*) 0 ;
9874 wxString
*arg2
= 0 ;
9877 bool temp2
= false ;
9878 PyObject
* obj0
= 0 ;
9879 PyObject
* obj1
= 0 ;
9880 char * kwnames
[] = {
9881 (char *) "self",(char *) "s", NULL
9884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9886 if (!SWIG_IsOK(res1
)) {
9887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9889 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9891 arg2
= wxString_in_helper(obj1
);
9892 if (arg2
== NULL
) SWIG_fail
;
9896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9897 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9898 wxPyEndAllowThreads(__tstate
);
9899 if (PyErr_Occurred()) SWIG_fail
;
9901 resultobj
= SWIG_Py_Void();
9916 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9917 PyObject
*resultobj
= 0;
9918 wxListBox
*arg1
= (wxListBox
*) 0 ;
9922 PyObject
*swig_obj
[1] ;
9924 if (!args
) SWIG_fail
;
9926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9927 if (!SWIG_IsOK(res1
)) {
9928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9930 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9933 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9934 wxPyEndAllowThreads(__tstate
);
9935 if (PyErr_Occurred()) SWIG_fail
;
9938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9946 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9947 PyObject
*resultobj
= 0;
9948 wxListBox
*arg1
= (wxListBox
*) 0 ;
9954 PyObject
* obj0
= 0 ;
9955 PyObject
* obj1
= 0 ;
9956 char * kwnames
[] = {
9957 (char *) "self",(char *) "pt", NULL
9960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9962 if (!SWIG_IsOK(res1
)) {
9963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9965 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9968 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9972 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9973 wxPyEndAllowThreads(__tstate
);
9974 if (PyErr_Occurred()) SWIG_fail
;
9976 resultobj
= SWIG_From_int(static_cast< int >(result
));
9983 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9984 PyObject
*resultobj
= 0;
9985 wxListBox
*arg1
= (wxListBox
*) 0 ;
9987 wxColour
*arg3
= 0 ;
9993 PyObject
* obj0
= 0 ;
9994 PyObject
* obj1
= 0 ;
9995 PyObject
* obj2
= 0 ;
9996 char * kwnames
[] = {
9997 (char *) "self",(char *) "item",(char *) "c", NULL
10000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
10002 if (!SWIG_IsOK(res1
)) {
10003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
10005 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
10006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10007 if (!SWIG_IsOK(ecode2
)) {
10008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
10010 arg2
= static_cast< int >(val2
);
10013 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10017 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
10018 wxPyEndAllowThreads(__tstate
);
10019 if (PyErr_Occurred()) SWIG_fail
;
10021 resultobj
= SWIG_Py_Void();
10028 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10029 PyObject
*resultobj
= 0;
10030 wxListBox
*arg1
= (wxListBox
*) 0 ;
10032 wxColour
*arg3
= 0 ;
10038 PyObject
* obj0
= 0 ;
10039 PyObject
* obj1
= 0 ;
10040 PyObject
* obj2
= 0 ;
10041 char * kwnames
[] = {
10042 (char *) "self",(char *) "item",(char *) "c", NULL
10045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
10047 if (!SWIG_IsOK(res1
)) {
10048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
10050 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
10051 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10052 if (!SWIG_IsOK(ecode2
)) {
10053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
10055 arg2
= static_cast< int >(val2
);
10058 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10062 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
10063 wxPyEndAllowThreads(__tstate
);
10064 if (PyErr_Occurred()) SWIG_fail
;
10066 resultobj
= SWIG_Py_Void();
10073 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10074 PyObject
*resultobj
= 0;
10075 wxListBox
*arg1
= (wxListBox
*) 0 ;
10084 PyObject
* obj0
= 0 ;
10085 PyObject
* obj1
= 0 ;
10086 PyObject
* obj2
= 0 ;
10087 char * kwnames
[] = {
10088 (char *) "self",(char *) "item",(char *) "f", NULL
10091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
10093 if (!SWIG_IsOK(res1
)) {
10094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
10096 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
10097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10098 if (!SWIG_IsOK(ecode2
)) {
10099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
10101 arg2
= static_cast< int >(val2
);
10102 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10103 if (!SWIG_IsOK(res3
)) {
10104 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
10107 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
10109 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10112 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
10113 wxPyEndAllowThreads(__tstate
);
10114 if (PyErr_Occurred()) SWIG_fail
;
10116 resultobj
= SWIG_Py_Void();
10123 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10124 PyObject
*resultobj
= 0;
10125 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10126 SwigValueWrapper
<wxVisualAttributes
> result
;
10129 PyObject
* obj0
= 0 ;
10130 char * kwnames
[] = {
10131 (char *) "variant", NULL
10134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10136 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10137 if (!SWIG_IsOK(ecode1
)) {
10138 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10140 arg1
= static_cast< wxWindowVariant
>(val1
);
10143 if (!wxPyCheckForApp()) SWIG_fail
;
10144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10145 result
= wxListBox::GetClassDefaultAttributes(arg1
);
10146 wxPyEndAllowThreads(__tstate
);
10147 if (PyErr_Occurred()) SWIG_fail
;
10149 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10156 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10158 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10159 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
10160 return SWIG_Py_Void();
10163 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10164 return SWIG_Python_InitShadowInstance(args
);
10167 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10168 PyObject
*resultobj
= 0;
10169 wxWindow
*arg1
= (wxWindow
*) 0 ;
10170 int arg2
= (int) -1 ;
10171 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10172 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10173 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10174 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10175 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
10176 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
10177 long arg6
= (long) 0 ;
10178 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10179 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10180 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
10181 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10182 wxCheckListBox
*result
= 0 ;
10189 bool temp5
= false ;
10194 bool temp8
= false ;
10195 PyObject
* obj0
= 0 ;
10196 PyObject
* obj1
= 0 ;
10197 PyObject
* obj2
= 0 ;
10198 PyObject
* obj3
= 0 ;
10199 PyObject
* obj4
= 0 ;
10200 PyObject
* obj5
= 0 ;
10201 PyObject
* obj6
= 0 ;
10202 PyObject
* obj7
= 0 ;
10203 char * kwnames
[] = {
10204 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10209 if (!SWIG_IsOK(res1
)) {
10210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10212 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10214 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10215 if (!SWIG_IsOK(ecode2
)) {
10216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10218 arg2
= static_cast< int >(val2
);
10223 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10229 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10234 if (! PySequence_Check(obj4
)) {
10235 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10238 arg5
= new wxArrayString
;
10240 int i
, len
=PySequence_Length(obj4
);
10241 for (i
=0; i
<len
; i
++) {
10242 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10243 wxString
* s
= wxString_in_helper(item
);
10244 if (PyErr_Occurred()) SWIG_fail
;
10252 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10253 if (!SWIG_IsOK(ecode6
)) {
10254 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10256 arg6
= static_cast< long >(val6
);
10259 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10260 if (!SWIG_IsOK(res7
)) {
10261 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10264 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10266 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10270 arg8
= wxString_in_helper(obj7
);
10271 if (arg8
== NULL
) SWIG_fail
;
10276 if (!wxPyCheckForApp()) SWIG_fail
;
10277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10278 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10279 wxPyEndAllowThreads(__tstate
);
10280 if (PyErr_Occurred()) SWIG_fail
;
10282 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10284 if (temp5
) delete arg5
;
10293 if (temp5
) delete arg5
;
10303 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10304 PyObject
*resultobj
= 0;
10305 wxCheckListBox
*result
= 0 ;
10307 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10309 if (!wxPyCheckForApp()) SWIG_fail
;
10310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10311 result
= (wxCheckListBox
*)new wxCheckListBox();
10312 wxPyEndAllowThreads(__tstate
);
10313 if (PyErr_Occurred()) SWIG_fail
;
10315 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10322 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10323 PyObject
*resultobj
= 0;
10324 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10325 wxWindow
*arg2
= (wxWindow
*) 0 ;
10326 int arg3
= (int) -1 ;
10327 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10328 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10329 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10330 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10331 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10332 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10333 long arg7
= (long) 0 ;
10334 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10335 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10336 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10337 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10347 bool temp6
= false ;
10352 bool temp9
= false ;
10353 PyObject
* obj0
= 0 ;
10354 PyObject
* obj1
= 0 ;
10355 PyObject
* obj2
= 0 ;
10356 PyObject
* obj3
= 0 ;
10357 PyObject
* obj4
= 0 ;
10358 PyObject
* obj5
= 0 ;
10359 PyObject
* obj6
= 0 ;
10360 PyObject
* obj7
= 0 ;
10361 PyObject
* obj8
= 0 ;
10362 char * kwnames
[] = {
10363 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10368 if (!SWIG_IsOK(res1
)) {
10369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10371 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10372 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10373 if (!SWIG_IsOK(res2
)) {
10374 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10376 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10378 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10379 if (!SWIG_IsOK(ecode3
)) {
10380 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10382 arg3
= static_cast< int >(val3
);
10387 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10393 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10398 if (! PySequence_Check(obj5
)) {
10399 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10402 arg6
= new wxArrayString
;
10404 int i
, len
=PySequence_Length(obj5
);
10405 for (i
=0; i
<len
; i
++) {
10406 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10407 wxString
* s
= wxString_in_helper(item
);
10408 if (PyErr_Occurred()) SWIG_fail
;
10416 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10417 if (!SWIG_IsOK(ecode7
)) {
10418 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10420 arg7
= static_cast< long >(val7
);
10423 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10424 if (!SWIG_IsOK(res8
)) {
10425 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10428 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10430 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10434 arg9
= wxString_in_helper(obj8
);
10435 if (arg9
== NULL
) SWIG_fail
;
10440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10441 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10442 wxPyEndAllowThreads(__tstate
);
10443 if (PyErr_Occurred()) SWIG_fail
;
10446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10449 if (temp6
) delete arg6
;
10458 if (temp6
) delete arg6
;
10468 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10469 PyObject
*resultobj
= 0;
10470 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10471 unsigned int arg2
;
10475 unsigned int val2
;
10477 PyObject
* obj0
= 0 ;
10478 PyObject
* obj1
= 0 ;
10479 char * kwnames
[] = {
10480 (char *) "self",(char *) "index", NULL
10483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10485 if (!SWIG_IsOK(res1
)) {
10486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10488 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10489 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10490 if (!SWIG_IsOK(ecode2
)) {
10491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10493 arg2
= static_cast< unsigned int >(val2
);
10495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10496 result
= (bool)(arg1
)->IsChecked(arg2
);
10497 wxPyEndAllowThreads(__tstate
);
10498 if (PyErr_Occurred()) SWIG_fail
;
10501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10509 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10510 PyObject
*resultobj
= 0;
10511 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10512 unsigned int arg2
;
10513 int arg3
= (int) true ;
10516 unsigned int val2
;
10520 PyObject
* obj0
= 0 ;
10521 PyObject
* obj1
= 0 ;
10522 PyObject
* obj2
= 0 ;
10523 char * kwnames
[] = {
10524 (char *) "self",(char *) "index",(char *) "check", NULL
10527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10529 if (!SWIG_IsOK(res1
)) {
10530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10532 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10533 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10534 if (!SWIG_IsOK(ecode2
)) {
10535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10537 arg2
= static_cast< unsigned int >(val2
);
10539 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10540 if (!SWIG_IsOK(ecode3
)) {
10541 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10543 arg3
= static_cast< int >(val3
);
10546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10547 (arg1
)->Check(arg2
,arg3
);
10548 wxPyEndAllowThreads(__tstate
);
10549 if (PyErr_Occurred()) SWIG_fail
;
10551 resultobj
= SWIG_Py_Void();
10558 SWIGINTERN PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10559 PyObject
*resultobj
= 0;
10560 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10564 PyObject
*swig_obj
[1] ;
10566 if (!args
) SWIG_fail
;
10567 swig_obj
[0] = args
;
10568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10569 if (!SWIG_IsOK(res1
)) {
10570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10572 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10575 result
= (int)(arg1
)->GetItemHeight();
10576 wxPyEndAllowThreads(__tstate
);
10577 if (PyErr_Occurred()) SWIG_fail
;
10579 resultobj
= SWIG_From_int(static_cast< int >(result
));
10586 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10588 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10589 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10590 return SWIG_Py_Void();
10593 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10594 return SWIG_Python_InitShadowInstance(args
);
10597 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10598 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10603 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10604 PyObject
*pyobj
= 0;
10608 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10610 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10617 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10618 PyObject
*resultobj
= 0;
10619 wxColour
const &arg1_defvalue
= wxNullColour
;
10620 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10621 wxColour
const &arg2_defvalue
= wxNullColour
;
10622 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10623 wxFont
const &arg3_defvalue
= wxNullFont
;
10624 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10625 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10626 wxTextAttr
*result
= 0 ;
10633 PyObject
* obj0
= 0 ;
10634 PyObject
* obj1
= 0 ;
10635 PyObject
* obj2
= 0 ;
10636 PyObject
* obj3
= 0 ;
10637 char * kwnames
[] = {
10638 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10645 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10651 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10655 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10656 if (!SWIG_IsOK(res3
)) {
10657 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10660 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10662 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10665 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10666 if (!SWIG_IsOK(ecode4
)) {
10667 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10669 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10673 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10674 wxPyEndAllowThreads(__tstate
);
10675 if (PyErr_Occurred()) SWIG_fail
;
10677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10684 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10685 PyObject
*resultobj
= 0;
10686 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10689 PyObject
*swig_obj
[1] ;
10691 if (!args
) SWIG_fail
;
10692 swig_obj
[0] = args
;
10693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10694 if (!SWIG_IsOK(res1
)) {
10695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10697 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10702 wxPyEndAllowThreads(__tstate
);
10703 if (PyErr_Occurred()) SWIG_fail
;
10705 resultobj
= SWIG_Py_Void();
10712 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10713 PyObject
*resultobj
= 0;
10714 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10717 PyObject
*swig_obj
[1] ;
10719 if (!args
) SWIG_fail
;
10720 swig_obj
[0] = args
;
10721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10722 if (!SWIG_IsOK(res1
)) {
10723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10725 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10729 wxPyEndAllowThreads(__tstate
);
10730 if (PyErr_Occurred()) SWIG_fail
;
10732 resultobj
= SWIG_Py_Void();
10739 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10740 PyObject
*resultobj
= 0;
10741 wxTextAttr
*arg1
= 0 ;
10742 wxTextAttr
*arg2
= 0 ;
10748 PyObject
* obj0
= 0 ;
10749 PyObject
* obj1
= 0 ;
10750 char * kwnames
[] = {
10751 (char *) "base",(char *) "overlay", NULL
10754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) 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_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10760 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10762 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10763 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10764 if (!SWIG_IsOK(res2
)) {
10765 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10768 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10770 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10773 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10774 wxPyEndAllowThreads(__tstate
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10777 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10784 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10785 PyObject
*resultobj
= 0;
10786 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10787 wxColour
*arg2
= 0 ;
10791 PyObject
* obj0
= 0 ;
10792 PyObject
* obj1
= 0 ;
10793 char * kwnames
[] = {
10794 (char *) "self",(char *) "colText", NULL
10797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10799 if (!SWIG_IsOK(res1
)) {
10800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10802 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10805 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10809 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10810 wxPyEndAllowThreads(__tstate
);
10811 if (PyErr_Occurred()) SWIG_fail
;
10813 resultobj
= SWIG_Py_Void();
10820 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10821 PyObject
*resultobj
= 0;
10822 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10823 wxColour
*arg2
= 0 ;
10827 PyObject
* obj0
= 0 ;
10828 PyObject
* obj1
= 0 ;
10829 char * kwnames
[] = {
10830 (char *) "self",(char *) "colBack", NULL
10833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10835 if (!SWIG_IsOK(res1
)) {
10836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10838 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10841 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10845 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10846 wxPyEndAllowThreads(__tstate
);
10847 if (PyErr_Occurred()) SWIG_fail
;
10849 resultobj
= SWIG_Py_Void();
10856 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10857 PyObject
*resultobj
= 0;
10858 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10860 long arg3
= (long) wxTEXT_ATTR_FONT
;
10867 PyObject
* obj0
= 0 ;
10868 PyObject
* obj1
= 0 ;
10869 PyObject
* obj2
= 0 ;
10870 char * kwnames
[] = {
10871 (char *) "self",(char *) "font",(char *) "flags", NULL
10874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10876 if (!SWIG_IsOK(res1
)) {
10877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10879 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10880 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10881 if (!SWIG_IsOK(res2
)) {
10882 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10885 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10887 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10889 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10890 if (!SWIG_IsOK(ecode3
)) {
10891 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10893 arg3
= static_cast< long >(val3
);
10896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10897 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10898 wxPyEndAllowThreads(__tstate
);
10899 if (PyErr_Occurred()) SWIG_fail
;
10901 resultobj
= SWIG_Py_Void();
10908 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10909 PyObject
*resultobj
= 0;
10910 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10911 wxTextAttrAlignment arg2
;
10916 PyObject
* obj0
= 0 ;
10917 PyObject
* obj1
= 0 ;
10918 char * kwnames
[] = {
10919 (char *) "self",(char *) "alignment", NULL
10922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10924 if (!SWIG_IsOK(res1
)) {
10925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10927 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10928 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10929 if (!SWIG_IsOK(ecode2
)) {
10930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10932 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10935 (arg1
)->SetAlignment(arg2
);
10936 wxPyEndAllowThreads(__tstate
);
10937 if (PyErr_Occurred()) SWIG_fail
;
10939 resultobj
= SWIG_Py_Void();
10946 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10947 PyObject
*resultobj
= 0;
10948 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10949 wxArrayInt
*arg2
= 0 ;
10952 bool temp2
= false ;
10953 PyObject
* obj0
= 0 ;
10954 PyObject
* obj1
= 0 ;
10955 char * kwnames
[] = {
10956 (char *) "self",(char *) "tabs", NULL
10959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10961 if (!SWIG_IsOK(res1
)) {
10962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10964 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10966 if (! PySequence_Check(obj1
)) {
10967 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10970 arg2
= new wxArrayInt
;
10972 int i
, len
=PySequence_Length(obj1
);
10973 for (i
=0; i
<len
; i
++) {
10974 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10975 PyObject
* number
= PyNumber_Int(item
);
10977 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10980 arg2
->Add(PyInt_AS_LONG(number
));
10986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10987 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10988 wxPyEndAllowThreads(__tstate
);
10989 if (PyErr_Occurred()) SWIG_fail
;
10991 resultobj
= SWIG_Py_Void();
10993 if (temp2
) delete arg2
;
10998 if (temp2
) delete arg2
;
11004 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11005 PyObject
*resultobj
= 0;
11006 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11008 int arg3
= (int) 0 ;
11015 PyObject
* obj0
= 0 ;
11016 PyObject
* obj1
= 0 ;
11017 PyObject
* obj2
= 0 ;
11018 char * kwnames
[] = {
11019 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
11022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11024 if (!SWIG_IsOK(res1
)) {
11025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
11027 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11029 if (!SWIG_IsOK(ecode2
)) {
11030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
11032 arg2
= static_cast< int >(val2
);
11034 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11035 if (!SWIG_IsOK(ecode3
)) {
11036 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
11038 arg3
= static_cast< int >(val3
);
11041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11042 (arg1
)->SetLeftIndent(arg2
,arg3
);
11043 wxPyEndAllowThreads(__tstate
);
11044 if (PyErr_Occurred()) SWIG_fail
;
11046 resultobj
= SWIG_Py_Void();
11053 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11054 PyObject
*resultobj
= 0;
11055 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11061 PyObject
* obj0
= 0 ;
11062 PyObject
* obj1
= 0 ;
11063 char * kwnames
[] = {
11064 (char *) "self",(char *) "indent", NULL
11067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11069 if (!SWIG_IsOK(res1
)) {
11070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
11072 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11074 if (!SWIG_IsOK(ecode2
)) {
11075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
11077 arg2
= static_cast< int >(val2
);
11079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11080 (arg1
)->SetRightIndent(arg2
);
11081 wxPyEndAllowThreads(__tstate
);
11082 if (PyErr_Occurred()) SWIG_fail
;
11084 resultobj
= SWIG_Py_Void();
11091 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11092 PyObject
*resultobj
= 0;
11093 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11099 PyObject
* obj0
= 0 ;
11100 PyObject
* obj1
= 0 ;
11101 char * kwnames
[] = {
11102 (char *) "self",(char *) "flags", NULL
11105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11107 if (!SWIG_IsOK(res1
)) {
11108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
11110 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11111 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11112 if (!SWIG_IsOK(ecode2
)) {
11113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
11115 arg2
= static_cast< long >(val2
);
11117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11118 (arg1
)->SetFlags(arg2
);
11119 wxPyEndAllowThreads(__tstate
);
11120 if (PyErr_Occurred()) SWIG_fail
;
11122 resultobj
= SWIG_Py_Void();
11129 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(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_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11143 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11146 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
11147 wxPyEndAllowThreads(__tstate
);
11148 if (PyErr_Occurred()) SWIG_fail
;
11151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11159 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(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_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11173 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11176 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
11177 wxPyEndAllowThreads(__tstate
);
11178 if (PyErr_Occurred()) SWIG_fail
;
11181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11189 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(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_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11203 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11206 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11207 wxPyEndAllowThreads(__tstate
);
11208 if (PyErr_Occurred()) SWIG_fail
;
11211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11219 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11220 PyObject
*resultobj
= 0;
11221 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11225 PyObject
*swig_obj
[1] ;
11227 if (!args
) SWIG_fail
;
11228 swig_obj
[0] = args
;
11229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11230 if (!SWIG_IsOK(res1
)) {
11231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11233 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11236 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11237 wxPyEndAllowThreads(__tstate
);
11238 if (PyErr_Occurred()) SWIG_fail
;
11241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11249 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11250 PyObject
*resultobj
= 0;
11251 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11255 PyObject
*swig_obj
[1] ;
11257 if (!args
) SWIG_fail
;
11258 swig_obj
[0] = args
;
11259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11260 if (!SWIG_IsOK(res1
)) {
11261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11263 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11266 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11267 wxPyEndAllowThreads(__tstate
);
11268 if (PyErr_Occurred()) SWIG_fail
;
11271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11279 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11280 PyObject
*resultobj
= 0;
11281 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11285 PyObject
*swig_obj
[1] ;
11287 if (!args
) SWIG_fail
;
11288 swig_obj
[0] = args
;
11289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11290 if (!SWIG_IsOK(res1
)) {
11291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11293 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11296 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11297 wxPyEndAllowThreads(__tstate
);
11298 if (PyErr_Occurred()) SWIG_fail
;
11301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11309 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11310 PyObject
*resultobj
= 0;
11311 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11315 PyObject
*swig_obj
[1] ;
11317 if (!args
) SWIG_fail
;
11318 swig_obj
[0] = args
;
11319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11320 if (!SWIG_IsOK(res1
)) {
11321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11323 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11326 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11327 wxPyEndAllowThreads(__tstate
);
11328 if (PyErr_Occurred()) SWIG_fail
;
11331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11339 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11340 PyObject
*resultobj
= 0;
11341 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11348 PyObject
* obj0
= 0 ;
11349 PyObject
* obj1
= 0 ;
11350 char * kwnames
[] = {
11351 (char *) "self",(char *) "flag", NULL
11354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11356 if (!SWIG_IsOK(res1
)) {
11357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11359 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11360 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11361 if (!SWIG_IsOK(ecode2
)) {
11362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11364 arg2
= static_cast< long >(val2
);
11366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11367 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11368 wxPyEndAllowThreads(__tstate
);
11369 if (PyErr_Occurred()) SWIG_fail
;
11372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11380 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11381 PyObject
*resultobj
= 0;
11382 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11383 wxColour
*result
= 0 ;
11386 PyObject
*swig_obj
[1] ;
11388 if (!args
) SWIG_fail
;
11389 swig_obj
[0] = args
;
11390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11391 if (!SWIG_IsOK(res1
)) {
11392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11394 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11398 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11399 result
= (wxColour
*) &_result_ref
;
11401 wxPyEndAllowThreads(__tstate
);
11402 if (PyErr_Occurred()) SWIG_fail
;
11404 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11411 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11412 PyObject
*resultobj
= 0;
11413 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11414 wxColour
*result
= 0 ;
11417 PyObject
*swig_obj
[1] ;
11419 if (!args
) SWIG_fail
;
11420 swig_obj
[0] = args
;
11421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11422 if (!SWIG_IsOK(res1
)) {
11423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11425 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11429 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11430 result
= (wxColour
*) &_result_ref
;
11432 wxPyEndAllowThreads(__tstate
);
11433 if (PyErr_Occurred()) SWIG_fail
;
11435 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11442 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11443 PyObject
*resultobj
= 0;
11444 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11445 wxFont
*result
= 0 ;
11448 PyObject
*swig_obj
[1] ;
11450 if (!args
) SWIG_fail
;
11451 swig_obj
[0] = args
;
11452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11453 if (!SWIG_IsOK(res1
)) {
11454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11456 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11460 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11461 result
= (wxFont
*) &_result_ref
;
11463 wxPyEndAllowThreads(__tstate
);
11464 if (PyErr_Occurred()) SWIG_fail
;
11467 wxFont
* resultptr
= new wxFont(*result
);
11468 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11476 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11477 PyObject
*resultobj
= 0;
11478 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11479 wxTextAttrAlignment result
;
11482 PyObject
*swig_obj
[1] ;
11484 if (!args
) SWIG_fail
;
11485 swig_obj
[0] = args
;
11486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11487 if (!SWIG_IsOK(res1
)) {
11488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11490 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11493 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11494 wxPyEndAllowThreads(__tstate
);
11495 if (PyErr_Occurred()) SWIG_fail
;
11497 resultobj
= SWIG_From_int(static_cast< int >(result
));
11504 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11505 PyObject
*resultobj
= 0;
11506 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11507 wxArrayInt
*result
= 0 ;
11510 PyObject
*swig_obj
[1] ;
11512 if (!args
) SWIG_fail
;
11513 swig_obj
[0] = args
;
11514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11515 if (!SWIG_IsOK(res1
)) {
11516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11518 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11522 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11523 result
= (wxArrayInt
*) &_result_ref
;
11525 wxPyEndAllowThreads(__tstate
);
11526 if (PyErr_Occurred()) SWIG_fail
;
11529 resultobj
= wxArrayInt2PyList_helper(*result
);
11537 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11538 PyObject
*resultobj
= 0;
11539 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11543 PyObject
*swig_obj
[1] ;
11545 if (!args
) SWIG_fail
;
11546 swig_obj
[0] = args
;
11547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11548 if (!SWIG_IsOK(res1
)) {
11549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11551 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11554 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11555 wxPyEndAllowThreads(__tstate
);
11556 if (PyErr_Occurred()) SWIG_fail
;
11558 resultobj
= SWIG_From_long(static_cast< long >(result
));
11565 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11566 PyObject
*resultobj
= 0;
11567 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11571 PyObject
*swig_obj
[1] ;
11573 if (!args
) SWIG_fail
;
11574 swig_obj
[0] = args
;
11575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11576 if (!SWIG_IsOK(res1
)) {
11577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11579 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11582 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11583 wxPyEndAllowThreads(__tstate
);
11584 if (PyErr_Occurred()) SWIG_fail
;
11586 resultobj
= SWIG_From_long(static_cast< long >(result
));
11593 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11594 PyObject
*resultobj
= 0;
11595 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11599 PyObject
*swig_obj
[1] ;
11601 if (!args
) SWIG_fail
;
11602 swig_obj
[0] = args
;
11603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11604 if (!SWIG_IsOK(res1
)) {
11605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11607 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11610 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11611 wxPyEndAllowThreads(__tstate
);
11612 if (PyErr_Occurred()) SWIG_fail
;
11614 resultobj
= SWIG_From_long(static_cast< long >(result
));
11621 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11622 PyObject
*resultobj
= 0;
11623 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11627 PyObject
*swig_obj
[1] ;
11629 if (!args
) SWIG_fail
;
11630 swig_obj
[0] = args
;
11631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11632 if (!SWIG_IsOK(res1
)) {
11633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11635 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11638 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11639 wxPyEndAllowThreads(__tstate
);
11640 if (PyErr_Occurred()) SWIG_fail
;
11642 resultobj
= SWIG_From_long(static_cast< long >(result
));
11649 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11650 PyObject
*resultobj
= 0;
11651 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11655 PyObject
*swig_obj
[1] ;
11657 if (!args
) SWIG_fail
;
11658 swig_obj
[0] = args
;
11659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11660 if (!SWIG_IsOK(res1
)) {
11661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11663 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11666 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11667 wxPyEndAllowThreads(__tstate
);
11668 if (PyErr_Occurred()) SWIG_fail
;
11671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11679 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11680 PyObject
*resultobj
= 0;
11681 wxTextAttr
*arg1
= 0 ;
11682 wxTextAttr
*arg2
= 0 ;
11683 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11691 PyObject
* obj0
= 0 ;
11692 PyObject
* obj1
= 0 ;
11693 PyObject
* obj2
= 0 ;
11694 char * kwnames
[] = {
11695 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11699 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11700 if (!SWIG_IsOK(res1
)) {
11701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11704 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11706 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11707 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11708 if (!SWIG_IsOK(res2
)) {
11709 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11712 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11714 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11715 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11716 if (!SWIG_IsOK(res3
)) {
11717 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11719 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11722 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11723 wxPyEndAllowThreads(__tstate
);
11724 if (PyErr_Occurred()) SWIG_fail
;
11726 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11733 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11735 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11736 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11737 return SWIG_Py_Void();
11740 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11741 return SWIG_Python_InitShadowInstance(args
);
11744 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11745 PyObject
*resultobj
= 0;
11746 wxWindow
*arg1
= (wxWindow
*) 0 ;
11747 int arg2
= (int) -1 ;
11748 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11749 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11750 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11751 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11752 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11753 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11754 long arg6
= (long) 0 ;
11755 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11756 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11757 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11758 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11759 wxTextCtrl
*result
= 0 ;
11764 bool temp3
= false ;
11771 bool temp8
= false ;
11772 PyObject
* obj0
= 0 ;
11773 PyObject
* obj1
= 0 ;
11774 PyObject
* obj2
= 0 ;
11775 PyObject
* obj3
= 0 ;
11776 PyObject
* obj4
= 0 ;
11777 PyObject
* obj5
= 0 ;
11778 PyObject
* obj6
= 0 ;
11779 PyObject
* obj7
= 0 ;
11780 char * kwnames
[] = {
11781 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11786 if (!SWIG_IsOK(res1
)) {
11787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11789 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11791 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11792 if (!SWIG_IsOK(ecode2
)) {
11793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11795 arg2
= static_cast< int >(val2
);
11799 arg3
= wxString_in_helper(obj2
);
11800 if (arg3
== NULL
) SWIG_fail
;
11807 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11813 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11817 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11818 if (!SWIG_IsOK(ecode6
)) {
11819 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11821 arg6
= static_cast< long >(val6
);
11824 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11825 if (!SWIG_IsOK(res7
)) {
11826 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11829 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11831 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11835 arg8
= wxString_in_helper(obj7
);
11836 if (arg8
== NULL
) SWIG_fail
;
11841 if (!wxPyCheckForApp()) SWIG_fail
;
11842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11843 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11844 wxPyEndAllowThreads(__tstate
);
11845 if (PyErr_Occurred()) SWIG_fail
;
11847 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11870 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11871 PyObject
*resultobj
= 0;
11872 wxTextCtrl
*result
= 0 ;
11874 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11876 if (!wxPyCheckForApp()) SWIG_fail
;
11877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11878 result
= (wxTextCtrl
*)new wxTextCtrl();
11879 wxPyEndAllowThreads(__tstate
);
11880 if (PyErr_Occurred()) SWIG_fail
;
11882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11889 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11890 PyObject
*resultobj
= 0;
11891 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11892 wxWindow
*arg2
= (wxWindow
*) 0 ;
11893 int arg3
= (int) -1 ;
11894 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11895 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11896 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11897 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11898 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11899 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11900 long arg7
= (long) 0 ;
11901 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11902 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11903 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11904 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11912 bool temp4
= false ;
11919 bool temp9
= false ;
11920 PyObject
* obj0
= 0 ;
11921 PyObject
* obj1
= 0 ;
11922 PyObject
* obj2
= 0 ;
11923 PyObject
* obj3
= 0 ;
11924 PyObject
* obj4
= 0 ;
11925 PyObject
* obj5
= 0 ;
11926 PyObject
* obj6
= 0 ;
11927 PyObject
* obj7
= 0 ;
11928 PyObject
* obj8
= 0 ;
11929 char * kwnames
[] = {
11930 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11935 if (!SWIG_IsOK(res1
)) {
11936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11938 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11939 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11940 if (!SWIG_IsOK(res2
)) {
11941 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11943 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11945 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11946 if (!SWIG_IsOK(ecode3
)) {
11947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11949 arg3
= static_cast< int >(val3
);
11953 arg4
= wxString_in_helper(obj3
);
11954 if (arg4
== NULL
) SWIG_fail
;
11961 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11967 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11971 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11972 if (!SWIG_IsOK(ecode7
)) {
11973 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11975 arg7
= static_cast< long >(val7
);
11978 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11979 if (!SWIG_IsOK(res8
)) {
11980 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11983 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11985 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11989 arg9
= wxString_in_helper(obj8
);
11990 if (arg9
== NULL
) SWIG_fail
;
11995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11996 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11997 wxPyEndAllowThreads(__tstate
);
11998 if (PyErr_Occurred()) SWIG_fail
;
12001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12025 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12026 PyObject
*resultobj
= 0;
12027 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12031 PyObject
*swig_obj
[1] ;
12033 if (!args
) SWIG_fail
;
12034 swig_obj
[0] = args
;
12035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12036 if (!SWIG_IsOK(res1
)) {
12037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12039 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12042 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
12043 wxPyEndAllowThreads(__tstate
);
12044 if (PyErr_Occurred()) SWIG_fail
;
12048 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12050 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12059 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12060 PyObject
*resultobj
= 0;
12061 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12062 wxString
*arg2
= 0 ;
12065 bool temp2
= false ;
12066 PyObject
* obj0
= 0 ;
12067 PyObject
* obj1
= 0 ;
12068 char * kwnames
[] = {
12069 (char *) "self",(char *) "value", NULL
12072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12074 if (!SWIG_IsOK(res1
)) {
12075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12077 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12079 arg2
= wxString_in_helper(obj1
);
12080 if (arg2
== NULL
) SWIG_fail
;
12084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12085 (arg1
)->SetValue((wxString
const &)*arg2
);
12086 wxPyEndAllowThreads(__tstate
);
12087 if (PyErr_Occurred()) SWIG_fail
;
12089 resultobj
= SWIG_Py_Void();
12104 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12105 PyObject
*resultobj
= 0;
12106 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12110 PyObject
*swig_obj
[1] ;
12112 if (!args
) SWIG_fail
;
12113 swig_obj
[0] = args
;
12114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12115 if (!SWIG_IsOK(res1
)) {
12116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12118 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12121 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEmpty();
12122 wxPyEndAllowThreads(__tstate
);
12123 if (PyErr_Occurred()) SWIG_fail
;
12126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12134 SWIGINTERN PyObject
*_wrap_TextCtrl_ChangeValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12135 PyObject
*resultobj
= 0;
12136 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12137 wxString
*arg2
= 0 ;
12140 bool temp2
= false ;
12141 PyObject
* obj0
= 0 ;
12142 PyObject
* obj1
= 0 ;
12143 char * kwnames
[] = {
12144 (char *) "self",(char *) "value", NULL
12147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ChangeValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12149 if (!SWIG_IsOK(res1
)) {
12150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12152 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12154 arg2
= wxString_in_helper(obj1
);
12155 if (arg2
== NULL
) SWIG_fail
;
12159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12160 (arg1
)->ChangeValue((wxString
const &)*arg2
);
12161 wxPyEndAllowThreads(__tstate
);
12162 if (PyErr_Occurred()) SWIG_fail
;
12164 resultobj
= SWIG_Py_Void();
12179 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12180 PyObject
*resultobj
= 0;
12181 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12191 PyObject
* obj0
= 0 ;
12192 PyObject
* obj1
= 0 ;
12193 PyObject
* obj2
= 0 ;
12194 char * kwnames
[] = {
12195 (char *) "self",(char *) "from",(char *) "to", NULL
12198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12200 if (!SWIG_IsOK(res1
)) {
12201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12203 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12204 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12205 if (!SWIG_IsOK(ecode2
)) {
12206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
12208 arg2
= static_cast< long >(val2
);
12209 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12210 if (!SWIG_IsOK(ecode3
)) {
12211 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12213 arg3
= static_cast< long >(val3
);
12215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12216 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
12217 wxPyEndAllowThreads(__tstate
);
12218 if (PyErr_Occurred()) SWIG_fail
;
12222 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12224 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12233 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12234 PyObject
*resultobj
= 0;
12235 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12242 PyObject
* obj0
= 0 ;
12243 PyObject
* obj1
= 0 ;
12244 char * kwnames
[] = {
12245 (char *) "self",(char *) "lineNo", NULL
12248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12250 if (!SWIG_IsOK(res1
)) {
12251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12253 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12254 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12255 if (!SWIG_IsOK(ecode2
)) {
12256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12258 arg2
= static_cast< long >(val2
);
12260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12261 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12262 wxPyEndAllowThreads(__tstate
);
12263 if (PyErr_Occurred()) SWIG_fail
;
12265 resultobj
= SWIG_From_int(static_cast< int >(result
));
12272 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12273 PyObject
*resultobj
= 0;
12274 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12281 PyObject
* obj0
= 0 ;
12282 PyObject
* obj1
= 0 ;
12283 char * kwnames
[] = {
12284 (char *) "self",(char *) "lineNo", NULL
12287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12289 if (!SWIG_IsOK(res1
)) {
12290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12292 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12293 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12294 if (!SWIG_IsOK(ecode2
)) {
12295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12297 arg2
= static_cast< long >(val2
);
12299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12300 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12301 wxPyEndAllowThreads(__tstate
);
12302 if (PyErr_Occurred()) SWIG_fail
;
12306 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12308 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12317 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12318 PyObject
*resultobj
= 0;
12319 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12323 PyObject
*swig_obj
[1] ;
12325 if (!args
) SWIG_fail
;
12326 swig_obj
[0] = args
;
12327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12328 if (!SWIG_IsOK(res1
)) {
12329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12331 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12334 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12335 wxPyEndAllowThreads(__tstate
);
12336 if (PyErr_Occurred()) SWIG_fail
;
12338 resultobj
= SWIG_From_int(static_cast< int >(result
));
12345 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12346 PyObject
*resultobj
= 0;
12347 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12351 PyObject
*swig_obj
[1] ;
12353 if (!args
) SWIG_fail
;
12354 swig_obj
[0] = args
;
12355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12356 if (!SWIG_IsOK(res1
)) {
12357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12359 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12362 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12363 wxPyEndAllowThreads(__tstate
);
12364 if (PyErr_Occurred()) SWIG_fail
;
12367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12375 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12376 PyObject
*resultobj
= 0;
12377 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12381 PyObject
*swig_obj
[1] ;
12383 if (!args
) SWIG_fail
;
12384 swig_obj
[0] = args
;
12385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12386 if (!SWIG_IsOK(res1
)) {
12387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12389 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12392 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12393 wxPyEndAllowThreads(__tstate
);
12394 if (PyErr_Occurred()) SWIG_fail
;
12397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12405 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12406 PyObject
*resultobj
= 0;
12407 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12411 PyObject
*swig_obj
[1] ;
12413 if (!args
) SWIG_fail
;
12414 swig_obj
[0] = args
;
12415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12416 if (!SWIG_IsOK(res1
)) {
12417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12419 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12422 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12423 wxPyEndAllowThreads(__tstate
);
12424 if (PyErr_Occurred()) SWIG_fail
;
12427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12435 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12436 PyObject
*resultobj
= 0;
12437 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12441 PyObject
*swig_obj
[1] ;
12443 if (!args
) SWIG_fail
;
12444 swig_obj
[0] = args
;
12445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12446 if (!SWIG_IsOK(res1
)) {
12447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12449 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12452 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12453 wxPyEndAllowThreads(__tstate
);
12454 if (PyErr_Occurred()) SWIG_fail
;
12457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12465 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12466 PyObject
*resultobj
= 0;
12467 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12468 long *arg2
= (long *) 0 ;
12469 long *arg3
= (long *) 0 ;
12473 int res2
= SWIG_TMPOBJ
;
12475 int res3
= SWIG_TMPOBJ
;
12476 PyObject
*swig_obj
[1] ;
12480 if (!args
) SWIG_fail
;
12481 swig_obj
[0] = args
;
12482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12483 if (!SWIG_IsOK(res1
)) {
12484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12486 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12489 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12490 wxPyEndAllowThreads(__tstate
);
12491 if (PyErr_Occurred()) SWIG_fail
;
12493 resultobj
= SWIG_Py_Void();
12494 if (SWIG_IsTmpObj(res2
)) {
12495 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12497 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12498 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12500 if (SWIG_IsTmpObj(res3
)) {
12501 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12503 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12504 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12512 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12513 PyObject
*resultobj
= 0;
12514 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12518 PyObject
*swig_obj
[1] ;
12520 if (!args
) SWIG_fail
;
12521 swig_obj
[0] = args
;
12522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12523 if (!SWIG_IsOK(res1
)) {
12524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12526 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12529 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12530 wxPyEndAllowThreads(__tstate
);
12531 if (PyErr_Occurred()) SWIG_fail
;
12535 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12537 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12546 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12547 PyObject
*resultobj
= 0;
12548 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12551 PyObject
*swig_obj
[1] ;
12553 if (!args
) SWIG_fail
;
12554 swig_obj
[0] = args
;
12555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12556 if (!SWIG_IsOK(res1
)) {
12557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12559 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12563 wxPyEndAllowThreads(__tstate
);
12564 if (PyErr_Occurred()) SWIG_fail
;
12566 resultobj
= SWIG_Py_Void();
12573 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12574 PyObject
*resultobj
= 0;
12575 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12578 wxString
*arg4
= 0 ;
12585 bool temp4
= false ;
12586 PyObject
* obj0
= 0 ;
12587 PyObject
* obj1
= 0 ;
12588 PyObject
* obj2
= 0 ;
12589 PyObject
* obj3
= 0 ;
12590 char * kwnames
[] = {
12591 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12596 if (!SWIG_IsOK(res1
)) {
12597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12599 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12600 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12601 if (!SWIG_IsOK(ecode2
)) {
12602 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12604 arg2
= static_cast< long >(val2
);
12605 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12606 if (!SWIG_IsOK(ecode3
)) {
12607 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12609 arg3
= static_cast< long >(val3
);
12611 arg4
= wxString_in_helper(obj3
);
12612 if (arg4
== NULL
) SWIG_fail
;
12616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12617 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12618 wxPyEndAllowThreads(__tstate
);
12619 if (PyErr_Occurred()) SWIG_fail
;
12621 resultobj
= SWIG_Py_Void();
12636 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12637 PyObject
*resultobj
= 0;
12638 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12647 PyObject
* obj0
= 0 ;
12648 PyObject
* obj1
= 0 ;
12649 PyObject
* obj2
= 0 ;
12650 char * kwnames
[] = {
12651 (char *) "self",(char *) "from",(char *) "to", NULL
12654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12656 if (!SWIG_IsOK(res1
)) {
12657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12659 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12660 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12661 if (!SWIG_IsOK(ecode2
)) {
12662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12664 arg2
= static_cast< long >(val2
);
12665 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12666 if (!SWIG_IsOK(ecode3
)) {
12667 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12669 arg3
= static_cast< long >(val3
);
12671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12672 (arg1
)->Remove(arg2
,arg3
);
12673 wxPyEndAllowThreads(__tstate
);
12674 if (PyErr_Occurred()) SWIG_fail
;
12676 resultobj
= SWIG_Py_Void();
12683 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12684 PyObject
*resultobj
= 0;
12685 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12686 wxString
*arg2
= 0 ;
12687 int arg3
= (int) wxTEXT_TYPE_ANY
;
12691 bool temp2
= false ;
12694 PyObject
* obj0
= 0 ;
12695 PyObject
* obj1
= 0 ;
12696 PyObject
* obj2
= 0 ;
12697 char * kwnames
[] = {
12698 (char *) "self",(char *) "file",(char *) "fileType", NULL
12701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12703 if (!SWIG_IsOK(res1
)) {
12704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12706 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12708 arg2
= wxString_in_helper(obj1
);
12709 if (arg2
== NULL
) SWIG_fail
;
12713 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12714 if (!SWIG_IsOK(ecode3
)) {
12715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12717 arg3
= static_cast< int >(val3
);
12720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12721 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
12722 wxPyEndAllowThreads(__tstate
);
12723 if (PyErr_Occurred()) SWIG_fail
;
12726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12742 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12743 PyObject
*resultobj
= 0;
12744 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12745 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12746 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12747 int arg3
= (int) wxTEXT_TYPE_ANY
;
12751 bool temp2
= false ;
12754 PyObject
* obj0
= 0 ;
12755 PyObject
* obj1
= 0 ;
12756 PyObject
* obj2
= 0 ;
12757 char * kwnames
[] = {
12758 (char *) "self",(char *) "file",(char *) "fileType", NULL
12761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12763 if (!SWIG_IsOK(res1
)) {
12764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12766 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12769 arg2
= wxString_in_helper(obj1
);
12770 if (arg2
== NULL
) SWIG_fail
;
12775 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12776 if (!SWIG_IsOK(ecode3
)) {
12777 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12779 arg3
= static_cast< int >(val3
);
12782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12783 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12784 wxPyEndAllowThreads(__tstate
);
12785 if (PyErr_Occurred()) SWIG_fail
;
12788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12804 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12805 PyObject
*resultobj
= 0;
12806 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12809 PyObject
*swig_obj
[1] ;
12811 if (!args
) SWIG_fail
;
12812 swig_obj
[0] = args
;
12813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12814 if (!SWIG_IsOK(res1
)) {
12815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12817 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12820 (arg1
)->MarkDirty();
12821 wxPyEndAllowThreads(__tstate
);
12822 if (PyErr_Occurred()) SWIG_fail
;
12824 resultobj
= SWIG_Py_Void();
12831 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12832 PyObject
*resultobj
= 0;
12833 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12836 PyObject
*swig_obj
[1] ;
12838 if (!args
) SWIG_fail
;
12839 swig_obj
[0] = args
;
12840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12841 if (!SWIG_IsOK(res1
)) {
12842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12844 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12847 (arg1
)->DiscardEdits();
12848 wxPyEndAllowThreads(__tstate
);
12849 if (PyErr_Occurred()) SWIG_fail
;
12851 resultobj
= SWIG_Py_Void();
12858 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12859 PyObject
*resultobj
= 0;
12860 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12866 PyObject
* obj0
= 0 ;
12867 PyObject
* obj1
= 0 ;
12868 char * kwnames
[] = {
12869 (char *) "self",(char *) "modified", NULL
12872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",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_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12877 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12878 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12879 if (!SWIG_IsOK(ecode2
)) {
12880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12882 arg2
= static_cast< bool >(val2
);
12884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12885 (arg1
)->SetModified(arg2
);
12886 wxPyEndAllowThreads(__tstate
);
12887 if (PyErr_Occurred()) SWIG_fail
;
12889 resultobj
= SWIG_Py_Void();
12896 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12897 PyObject
*resultobj
= 0;
12898 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12899 unsigned long arg2
;
12902 unsigned long val2
;
12904 PyObject
* obj0
= 0 ;
12905 PyObject
* obj1
= 0 ;
12906 char * kwnames
[] = {
12907 (char *) "self",(char *) "len", NULL
12910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12912 if (!SWIG_IsOK(res1
)) {
12913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12915 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12916 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12917 if (!SWIG_IsOK(ecode2
)) {
12918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12920 arg2
= static_cast< unsigned long >(val2
);
12922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12923 (arg1
)->SetMaxLength(arg2
);
12924 wxPyEndAllowThreads(__tstate
);
12925 if (PyErr_Occurred()) SWIG_fail
;
12927 resultobj
= SWIG_Py_Void();
12934 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12935 PyObject
*resultobj
= 0;
12936 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12937 wxString
*arg2
= 0 ;
12940 bool temp2
= false ;
12941 PyObject
* obj0
= 0 ;
12942 PyObject
* obj1
= 0 ;
12943 char * kwnames
[] = {
12944 (char *) "self",(char *) "text", NULL
12947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12949 if (!SWIG_IsOK(res1
)) {
12950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12952 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12954 arg2
= wxString_in_helper(obj1
);
12955 if (arg2
== NULL
) SWIG_fail
;
12959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12960 (arg1
)->WriteText((wxString
const &)*arg2
);
12961 wxPyEndAllowThreads(__tstate
);
12962 if (PyErr_Occurred()) SWIG_fail
;
12964 resultobj
= SWIG_Py_Void();
12979 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12980 PyObject
*resultobj
= 0;
12981 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12982 wxString
*arg2
= 0 ;
12985 bool temp2
= false ;
12986 PyObject
* obj0
= 0 ;
12987 PyObject
* obj1
= 0 ;
12988 char * kwnames
[] = {
12989 (char *) "self",(char *) "text", NULL
12992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12994 if (!SWIG_IsOK(res1
)) {
12995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12997 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12999 arg2
= wxString_in_helper(obj1
);
13000 if (arg2
== NULL
) SWIG_fail
;
13004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13005 (arg1
)->AppendText((wxString
const &)*arg2
);
13006 wxPyEndAllowThreads(__tstate
);
13007 if (PyErr_Occurred()) SWIG_fail
;
13009 resultobj
= SWIG_Py_Void();
13024 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13025 PyObject
*resultobj
= 0;
13026 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13027 wxKeyEvent
*arg2
= 0 ;
13033 PyObject
* obj0
= 0 ;
13034 PyObject
* obj1
= 0 ;
13035 char * kwnames
[] = {
13036 (char *) "self",(char *) "event", NULL
13039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13041 if (!SWIG_IsOK(res1
)) {
13042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13044 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13045 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
13046 if (!SWIG_IsOK(res2
)) {
13047 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
13050 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
13052 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
13054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13055 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
13056 wxPyEndAllowThreads(__tstate
);
13057 if (PyErr_Occurred()) SWIG_fail
;
13060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13068 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13069 PyObject
*resultobj
= 0;
13070 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13073 wxTextAttr
*arg4
= 0 ;
13083 PyObject
* obj0
= 0 ;
13084 PyObject
* obj1
= 0 ;
13085 PyObject
* obj2
= 0 ;
13086 PyObject
* obj3
= 0 ;
13087 char * kwnames
[] = {
13088 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
13091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13093 if (!SWIG_IsOK(res1
)) {
13094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13096 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13097 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13098 if (!SWIG_IsOK(ecode2
)) {
13099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
13101 arg2
= static_cast< long >(val2
);
13102 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13103 if (!SWIG_IsOK(ecode3
)) {
13104 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
13106 arg3
= static_cast< long >(val3
);
13107 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
13108 if (!SWIG_IsOK(res4
)) {
13109 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
13112 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
13114 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
13116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13117 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
13118 wxPyEndAllowThreads(__tstate
);
13119 if (PyErr_Occurred()) SWIG_fail
;
13122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13130 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13131 PyObject
*resultobj
= 0;
13132 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13134 wxTextAttr
*arg3
= 0 ;
13142 PyObject
* obj0
= 0 ;
13143 PyObject
* obj1
= 0 ;
13144 PyObject
* obj2
= 0 ;
13145 char * kwnames
[] = {
13146 (char *) "self",(char *) "position",(char *) "style", NULL
13149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13151 if (!SWIG_IsOK(res1
)) {
13152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13154 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13155 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13156 if (!SWIG_IsOK(ecode2
)) {
13157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
13159 arg2
= static_cast< long >(val2
);
13160 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
13161 if (!SWIG_IsOK(res3
)) {
13162 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13165 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13167 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
13169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13170 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
13171 wxPyEndAllowThreads(__tstate
);
13172 if (PyErr_Occurred()) SWIG_fail
;
13175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13183 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13184 PyObject
*resultobj
= 0;
13185 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13186 wxTextAttr
*arg2
= 0 ;
13192 PyObject
* obj0
= 0 ;
13193 PyObject
* obj1
= 0 ;
13194 char * kwnames
[] = {
13195 (char *) "self",(char *) "style", NULL
13198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13200 if (!SWIG_IsOK(res1
)) {
13201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13203 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13204 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
13205 if (!SWIG_IsOK(res2
)) {
13206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13209 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13211 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
13213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13214 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
13215 wxPyEndAllowThreads(__tstate
);
13216 if (PyErr_Occurred()) SWIG_fail
;
13219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13227 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13228 PyObject
*resultobj
= 0;
13229 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13230 wxTextAttr
*result
= 0 ;
13233 PyObject
*swig_obj
[1] ;
13235 if (!args
) SWIG_fail
;
13236 swig_obj
[0] = args
;
13237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13238 if (!SWIG_IsOK(res1
)) {
13239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13241 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13245 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
13246 result
= (wxTextAttr
*) &_result_ref
;
13248 wxPyEndAllowThreads(__tstate
);
13249 if (PyErr_Occurred()) SWIG_fail
;
13251 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
13258 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13259 PyObject
*resultobj
= 0;
13260 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13270 PyObject
* obj0
= 0 ;
13271 PyObject
* obj1
= 0 ;
13272 PyObject
* obj2
= 0 ;
13273 char * kwnames
[] = {
13274 (char *) "self",(char *) "x",(char *) "y", NULL
13277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13279 if (!SWIG_IsOK(res1
)) {
13280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13282 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13283 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13284 if (!SWIG_IsOK(ecode2
)) {
13285 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13287 arg2
= static_cast< long >(val2
);
13288 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13289 if (!SWIG_IsOK(ecode3
)) {
13290 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13292 arg3
= static_cast< long >(val3
);
13294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13295 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
13296 wxPyEndAllowThreads(__tstate
);
13297 if (PyErr_Occurred()) SWIG_fail
;
13299 resultobj
= SWIG_From_long(static_cast< long >(result
));
13306 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13307 PyObject
*resultobj
= 0;
13308 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13310 long *arg3
= (long *) 0 ;
13311 long *arg4
= (long *) 0 ;
13317 int res3
= SWIG_TMPOBJ
;
13319 int res4
= SWIG_TMPOBJ
;
13320 PyObject
* obj0
= 0 ;
13321 PyObject
* obj1
= 0 ;
13322 char * kwnames
[] = {
13323 (char *) "self",(char *) "pos", NULL
13328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13330 if (!SWIG_IsOK(res1
)) {
13331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13333 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13334 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13335 if (!SWIG_IsOK(ecode2
)) {
13336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13338 arg2
= static_cast< long >(val2
);
13340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13341 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13342 wxPyEndAllowThreads(__tstate
);
13343 if (PyErr_Occurred()) SWIG_fail
;
13345 resultobj
= SWIG_Py_Void();
13346 if (SWIG_IsTmpObj(res3
)) {
13347 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13349 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13350 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13352 if (SWIG_IsTmpObj(res4
)) {
13353 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13355 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13356 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13364 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13365 PyObject
*resultobj
= 0;
13366 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13372 PyObject
* obj0
= 0 ;
13373 PyObject
* obj1
= 0 ;
13374 char * kwnames
[] = {
13375 (char *) "self",(char *) "pos", NULL
13378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13380 if (!SWIG_IsOK(res1
)) {
13381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13383 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13384 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13385 if (!SWIG_IsOK(ecode2
)) {
13386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13388 arg2
= static_cast< long >(val2
);
13390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13391 (arg1
)->ShowPosition(arg2
);
13392 wxPyEndAllowThreads(__tstate
);
13393 if (PyErr_Occurred()) SWIG_fail
;
13395 resultobj
= SWIG_Py_Void();
13402 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13403 PyObject
*resultobj
= 0;
13404 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13405 wxPoint
*arg2
= 0 ;
13406 long *arg3
= (long *) 0 ;
13407 long *arg4
= (long *) 0 ;
13408 wxTextCtrlHitTestResult result
;
13413 int res3
= SWIG_TMPOBJ
;
13415 int res4
= SWIG_TMPOBJ
;
13416 PyObject
* obj0
= 0 ;
13417 PyObject
* obj1
= 0 ;
13418 char * kwnames
[] = {
13419 (char *) "self",(char *) "pt", NULL
13424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13426 if (!SWIG_IsOK(res1
)) {
13427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13429 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13432 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13436 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13437 wxPyEndAllowThreads(__tstate
);
13438 if (PyErr_Occurred()) SWIG_fail
;
13440 resultobj
= SWIG_From_int(static_cast< int >(result
));
13441 if (SWIG_IsTmpObj(res3
)) {
13442 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13444 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13445 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13447 if (SWIG_IsTmpObj(res4
)) {
13448 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13450 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13451 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13459 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13460 PyObject
*resultobj
= 0;
13461 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13462 wxPoint
*arg2
= 0 ;
13463 long *arg3
= (long *) 0 ;
13464 wxTextCtrlHitTestResult result
;
13469 int res3
= SWIG_TMPOBJ
;
13470 PyObject
* obj0
= 0 ;
13471 PyObject
* obj1
= 0 ;
13472 char * kwnames
[] = {
13473 (char *) "self",(char *) "pt", NULL
13477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13479 if (!SWIG_IsOK(res1
)) {
13480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13482 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13485 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13489 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13490 wxPyEndAllowThreads(__tstate
);
13491 if (PyErr_Occurred()) SWIG_fail
;
13493 resultobj
= SWIG_From_int(static_cast< int >(result
));
13494 if (SWIG_IsTmpObj(res3
)) {
13495 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13497 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13498 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13506 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13507 PyObject
*resultobj
= 0;
13508 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13511 PyObject
*swig_obj
[1] ;
13513 if (!args
) SWIG_fail
;
13514 swig_obj
[0] = args
;
13515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13516 if (!SWIG_IsOK(res1
)) {
13517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13519 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13523 wxPyEndAllowThreads(__tstate
);
13524 if (PyErr_Occurred()) SWIG_fail
;
13526 resultobj
= SWIG_Py_Void();
13533 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13534 PyObject
*resultobj
= 0;
13535 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13538 PyObject
*swig_obj
[1] ;
13540 if (!args
) SWIG_fail
;
13541 swig_obj
[0] = args
;
13542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13543 if (!SWIG_IsOK(res1
)) {
13544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13546 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13550 wxPyEndAllowThreads(__tstate
);
13551 if (PyErr_Occurred()) SWIG_fail
;
13553 resultobj
= SWIG_Py_Void();
13560 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13561 PyObject
*resultobj
= 0;
13562 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13565 PyObject
*swig_obj
[1] ;
13567 if (!args
) SWIG_fail
;
13568 swig_obj
[0] = args
;
13569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13570 if (!SWIG_IsOK(res1
)) {
13571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13573 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13577 wxPyEndAllowThreads(__tstate
);
13578 if (PyErr_Occurred()) SWIG_fail
;
13580 resultobj
= SWIG_Py_Void();
13587 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13588 PyObject
*resultobj
= 0;
13589 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13593 PyObject
*swig_obj
[1] ;
13595 if (!args
) SWIG_fail
;
13596 swig_obj
[0] = args
;
13597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13598 if (!SWIG_IsOK(res1
)) {
13599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13601 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13604 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13605 wxPyEndAllowThreads(__tstate
);
13606 if (PyErr_Occurred()) SWIG_fail
;
13609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13617 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13618 PyObject
*resultobj
= 0;
13619 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13623 PyObject
*swig_obj
[1] ;
13625 if (!args
) SWIG_fail
;
13626 swig_obj
[0] = args
;
13627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13628 if (!SWIG_IsOK(res1
)) {
13629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13631 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13634 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13635 wxPyEndAllowThreads(__tstate
);
13636 if (PyErr_Occurred()) SWIG_fail
;
13639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13647 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13648 PyObject
*resultobj
= 0;
13649 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13653 PyObject
*swig_obj
[1] ;
13655 if (!args
) SWIG_fail
;
13656 swig_obj
[0] = args
;
13657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13658 if (!SWIG_IsOK(res1
)) {
13659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13661 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13664 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13665 wxPyEndAllowThreads(__tstate
);
13666 if (PyErr_Occurred()) SWIG_fail
;
13669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13677 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13678 PyObject
*resultobj
= 0;
13679 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13682 PyObject
*swig_obj
[1] ;
13684 if (!args
) SWIG_fail
;
13685 swig_obj
[0] = args
;
13686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13687 if (!SWIG_IsOK(res1
)) {
13688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13690 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13694 wxPyEndAllowThreads(__tstate
);
13695 if (PyErr_Occurred()) SWIG_fail
;
13697 resultobj
= SWIG_Py_Void();
13704 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13705 PyObject
*resultobj
= 0;
13706 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13709 PyObject
*swig_obj
[1] ;
13711 if (!args
) SWIG_fail
;
13712 swig_obj
[0] = args
;
13713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13714 if (!SWIG_IsOK(res1
)) {
13715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13717 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13721 wxPyEndAllowThreads(__tstate
);
13722 if (PyErr_Occurred()) SWIG_fail
;
13724 resultobj
= SWIG_Py_Void();
13731 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13732 PyObject
*resultobj
= 0;
13733 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13737 PyObject
*swig_obj
[1] ;
13739 if (!args
) SWIG_fail
;
13740 swig_obj
[0] = args
;
13741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13742 if (!SWIG_IsOK(res1
)) {
13743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13745 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13748 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13749 wxPyEndAllowThreads(__tstate
);
13750 if (PyErr_Occurred()) SWIG_fail
;
13753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13761 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13762 PyObject
*resultobj
= 0;
13763 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13767 PyObject
*swig_obj
[1] ;
13769 if (!args
) SWIG_fail
;
13770 swig_obj
[0] = args
;
13771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13772 if (!SWIG_IsOK(res1
)) {
13773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13775 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13778 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13779 wxPyEndAllowThreads(__tstate
);
13780 if (PyErr_Occurred()) SWIG_fail
;
13783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13791 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13792 PyObject
*resultobj
= 0;
13793 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13799 PyObject
* obj0
= 0 ;
13800 PyObject
* obj1
= 0 ;
13801 char * kwnames
[] = {
13802 (char *) "self",(char *) "pos", NULL
13805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13807 if (!SWIG_IsOK(res1
)) {
13808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13810 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13811 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13812 if (!SWIG_IsOK(ecode2
)) {
13813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13815 arg2
= static_cast< long >(val2
);
13817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13818 (arg1
)->SetInsertionPoint(arg2
);
13819 wxPyEndAllowThreads(__tstate
);
13820 if (PyErr_Occurred()) SWIG_fail
;
13822 resultobj
= SWIG_Py_Void();
13829 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13830 PyObject
*resultobj
= 0;
13831 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13834 PyObject
*swig_obj
[1] ;
13836 if (!args
) SWIG_fail
;
13837 swig_obj
[0] = args
;
13838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13839 if (!SWIG_IsOK(res1
)) {
13840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13842 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13845 (arg1
)->SetInsertionPointEnd();
13846 wxPyEndAllowThreads(__tstate
);
13847 if (PyErr_Occurred()) SWIG_fail
;
13849 resultobj
= SWIG_Py_Void();
13856 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13857 PyObject
*resultobj
= 0;
13858 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13862 PyObject
*swig_obj
[1] ;
13864 if (!args
) SWIG_fail
;
13865 swig_obj
[0] = args
;
13866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13867 if (!SWIG_IsOK(res1
)) {
13868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13870 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13873 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13874 wxPyEndAllowThreads(__tstate
);
13875 if (PyErr_Occurred()) SWIG_fail
;
13877 resultobj
= SWIG_From_long(static_cast< long >(result
));
13884 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13885 PyObject
*resultobj
= 0;
13886 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13890 PyObject
*swig_obj
[1] ;
13892 if (!args
) SWIG_fail
;
13893 swig_obj
[0] = args
;
13894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13895 if (!SWIG_IsOK(res1
)) {
13896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13898 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13901 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13902 wxPyEndAllowThreads(__tstate
);
13903 if (PyErr_Occurred()) SWIG_fail
;
13905 resultobj
= SWIG_From_long(static_cast< long >(result
));
13912 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13913 PyObject
*resultobj
= 0;
13914 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13923 PyObject
* obj0
= 0 ;
13924 PyObject
* obj1
= 0 ;
13925 PyObject
* obj2
= 0 ;
13926 char * kwnames
[] = {
13927 (char *) "self",(char *) "from",(char *) "to", NULL
13930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13932 if (!SWIG_IsOK(res1
)) {
13933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13935 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13936 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13937 if (!SWIG_IsOK(ecode2
)) {
13938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13940 arg2
= static_cast< long >(val2
);
13941 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13942 if (!SWIG_IsOK(ecode3
)) {
13943 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13945 arg3
= static_cast< long >(val3
);
13947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13948 (arg1
)->SetSelection(arg2
,arg3
);
13949 wxPyEndAllowThreads(__tstate
);
13950 if (PyErr_Occurred()) SWIG_fail
;
13952 resultobj
= SWIG_Py_Void();
13959 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13960 PyObject
*resultobj
= 0;
13961 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13964 PyObject
*swig_obj
[1] ;
13966 if (!args
) SWIG_fail
;
13967 swig_obj
[0] = args
;
13968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13969 if (!SWIG_IsOK(res1
)) {
13970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13972 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13975 (arg1
)->SelectAll();
13976 wxPyEndAllowThreads(__tstate
);
13977 if (PyErr_Occurred()) SWIG_fail
;
13979 resultobj
= SWIG_Py_Void();
13986 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13987 PyObject
*resultobj
= 0;
13988 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13994 PyObject
* obj0
= 0 ;
13995 PyObject
* obj1
= 0 ;
13996 char * kwnames
[] = {
13997 (char *) "self",(char *) "editable", NULL
14000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
14002 if (!SWIG_IsOK(res1
)) {
14003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14005 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14006 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14007 if (!SWIG_IsOK(ecode2
)) {
14008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
14010 arg2
= static_cast< bool >(val2
);
14012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14013 (arg1
)->SetEditable(arg2
);
14014 wxPyEndAllowThreads(__tstate
);
14015 if (PyErr_Occurred()) SWIG_fail
;
14017 resultobj
= SWIG_Py_Void();
14024 SWIGINTERN PyObject
*_wrap_TextCtrl_MacCheckSpelling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14025 PyObject
*resultobj
= 0;
14026 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
14032 PyObject
* obj0
= 0 ;
14033 PyObject
* obj1
= 0 ;
14034 char * kwnames
[] = {
14035 (char *) "self",(char *) "check", NULL
14038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_MacCheckSpelling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
14040 if (!SWIG_IsOK(res1
)) {
14041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14043 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14044 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14045 if (!SWIG_IsOK(ecode2
)) {
14046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "2"" of type '" "bool""'");
14048 arg2
= static_cast< bool >(val2
);
14050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14051 wxTextCtrl_MacCheckSpelling(arg1
,arg2
);
14052 wxPyEndAllowThreads(__tstate
);
14053 if (PyErr_Occurred()) SWIG_fail
;
14055 resultobj
= SWIG_Py_Void();
14062 SWIGINTERN PyObject
*_wrap_TextCtrl_SendTextUpdatedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14063 PyObject
*resultobj
= 0;
14064 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
14067 PyObject
*swig_obj
[1] ;
14069 if (!args
) SWIG_fail
;
14070 swig_obj
[0] = args
;
14071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
14072 if (!SWIG_IsOK(res1
)) {
14073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14075 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14078 (arg1
)->SendTextUpdatedEvent();
14079 wxPyEndAllowThreads(__tstate
);
14080 if (PyErr_Occurred()) SWIG_fail
;
14082 resultobj
= SWIG_Py_Void();
14089 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14090 PyObject
*resultobj
= 0;
14091 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
14092 bool arg2
= (bool) true ;
14098 PyObject
* obj0
= 0 ;
14099 PyObject
* obj1
= 0 ;
14100 char * kwnames
[] = {
14101 (char *) "self",(char *) "show", NULL
14104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
14106 if (!SWIG_IsOK(res1
)) {
14107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14109 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14111 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14112 if (!SWIG_IsOK(ecode2
)) {
14113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "2"" of type '" "bool""'");
14115 arg2
= static_cast< bool >(val2
);
14118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14119 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
14120 wxPyEndAllowThreads(__tstate
);
14121 if (PyErr_Occurred()) SWIG_fail
;
14124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14132 SWIGINTERN PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14133 PyObject
*resultobj
= 0;
14134 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
14138 PyObject
*swig_obj
[1] ;
14140 if (!args
) SWIG_fail
;
14141 swig_obj
[0] = args
;
14142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
14143 if (!SWIG_IsOK(res1
)) {
14144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HideNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14146 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14149 result
= (bool)(arg1
)->HideNativeCaret();
14150 wxPyEndAllowThreads(__tstate
);
14151 if (PyErr_Occurred()) SWIG_fail
;
14154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14162 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14163 PyObject
*resultobj
= 0;
14164 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
14165 wxString
*arg2
= 0 ;
14168 bool temp2
= false ;
14169 PyObject
* obj0
= 0 ;
14170 PyObject
* obj1
= 0 ;
14171 char * kwnames
[] = {
14172 (char *) "self",(char *) "text", NULL
14175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
14177 if (!SWIG_IsOK(res1
)) {
14178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14180 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14182 arg2
= wxString_in_helper(obj1
);
14183 if (arg2
== NULL
) SWIG_fail
;
14187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14188 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
14189 wxPyEndAllowThreads(__tstate
);
14190 if (PyErr_Occurred()) SWIG_fail
;
14192 resultobj
= SWIG_Py_Void();
14207 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14208 PyObject
*resultobj
= 0;
14209 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
14219 PyObject
* obj0
= 0 ;
14220 PyObject
* obj1
= 0 ;
14221 PyObject
* obj2
= 0 ;
14222 char * kwnames
[] = {
14223 (char *) "self",(char *) "from",(char *) "to", NULL
14226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
14228 if (!SWIG_IsOK(res1
)) {
14229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14231 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14232 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
14233 if (!SWIG_IsOK(ecode2
)) {
14234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
14236 arg2
= static_cast< long >(val2
);
14237 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14238 if (!SWIG_IsOK(ecode3
)) {
14239 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
14241 arg3
= static_cast< long >(val3
);
14243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14244 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
14245 wxPyEndAllowThreads(__tstate
);
14246 if (PyErr_Occurred()) SWIG_fail
;
14250 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14252 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14261 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14262 PyObject
*resultobj
= 0;
14263 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14264 SwigValueWrapper
<wxVisualAttributes
> result
;
14267 PyObject
* obj0
= 0 ;
14268 char * kwnames
[] = {
14269 (char *) "variant", NULL
14272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14274 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14275 if (!SWIG_IsOK(ecode1
)) {
14276 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14278 arg1
= static_cast< wxWindowVariant
>(val1
);
14281 if (!wxPyCheckForApp()) SWIG_fail
;
14282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14283 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
14284 wxPyEndAllowThreads(__tstate
);
14285 if (PyErr_Occurred()) SWIG_fail
;
14287 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14294 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14296 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14297 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
14298 return SWIG_Py_Void();
14301 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14302 return SWIG_Python_InitShadowInstance(args
);
14305 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14306 PyObject
*resultobj
= 0;
14308 wxMouseEvent
*arg2
= 0 ;
14311 wxTextUrlEvent
*result
= 0 ;
14320 PyObject
* obj0
= 0 ;
14321 PyObject
* obj1
= 0 ;
14322 PyObject
* obj2
= 0 ;
14323 PyObject
* obj3
= 0 ;
14324 char * kwnames
[] = {
14325 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14329 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14330 if (!SWIG_IsOK(ecode1
)) {
14331 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14333 arg1
= static_cast< int >(val1
);
14334 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
14335 if (!SWIG_IsOK(res2
)) {
14336 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14339 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14341 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
14342 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14343 if (!SWIG_IsOK(ecode3
)) {
14344 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14346 arg3
= static_cast< long >(val3
);
14347 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
14348 if (!SWIG_IsOK(ecode4
)) {
14349 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14351 arg4
= static_cast< long >(val4
);
14353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14354 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
14355 wxPyEndAllowThreads(__tstate
);
14356 if (PyErr_Occurred()) SWIG_fail
;
14358 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
14365 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14366 PyObject
*resultobj
= 0;
14367 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14368 wxMouseEvent
*result
= 0 ;
14371 PyObject
*swig_obj
[1] ;
14373 if (!args
) SWIG_fail
;
14374 swig_obj
[0] = args
;
14375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14376 if (!SWIG_IsOK(res1
)) {
14377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14379 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14383 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
14384 result
= (wxMouseEvent
*) &_result_ref
;
14386 wxPyEndAllowThreads(__tstate
);
14387 if (PyErr_Occurred()) SWIG_fail
;
14389 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14396 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14397 PyObject
*resultobj
= 0;
14398 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14402 PyObject
*swig_obj
[1] ;
14404 if (!args
) SWIG_fail
;
14405 swig_obj
[0] = args
;
14406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14407 if (!SWIG_IsOK(res1
)) {
14408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14410 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14413 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14414 wxPyEndAllowThreads(__tstate
);
14415 if (PyErr_Occurred()) SWIG_fail
;
14417 resultobj
= SWIG_From_long(static_cast< long >(result
));
14424 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14425 PyObject
*resultobj
= 0;
14426 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14430 PyObject
*swig_obj
[1] ;
14432 if (!args
) SWIG_fail
;
14433 swig_obj
[0] = args
;
14434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14435 if (!SWIG_IsOK(res1
)) {
14436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14438 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14441 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14442 wxPyEndAllowThreads(__tstate
);
14443 if (PyErr_Occurred()) SWIG_fail
;
14445 resultobj
= SWIG_From_long(static_cast< long >(result
));
14452 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14454 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14455 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14456 return SWIG_Py_Void();
14459 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14460 return SWIG_Python_InitShadowInstance(args
);
14463 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14464 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14469 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14470 PyObject
*pyobj
= 0;
14474 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14476 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14483 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14484 PyObject
*resultobj
= 0;
14485 wxWindow
*arg1
= (wxWindow
*) 0 ;
14486 int arg2
= (int) -1 ;
14487 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14488 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14489 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14490 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14491 long arg5
= (long) wxSB_HORIZONTAL
;
14492 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14493 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14494 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14495 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14496 wxScrollBar
*result
= 0 ;
14507 bool temp7
= false ;
14508 PyObject
* obj0
= 0 ;
14509 PyObject
* obj1
= 0 ;
14510 PyObject
* obj2
= 0 ;
14511 PyObject
* obj3
= 0 ;
14512 PyObject
* obj4
= 0 ;
14513 PyObject
* obj5
= 0 ;
14514 PyObject
* obj6
= 0 ;
14515 char * kwnames
[] = {
14516 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14521 if (!SWIG_IsOK(res1
)) {
14522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14524 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14526 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14527 if (!SWIG_IsOK(ecode2
)) {
14528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14530 arg2
= static_cast< int >(val2
);
14535 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14541 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14545 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14546 if (!SWIG_IsOK(ecode5
)) {
14547 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14549 arg5
= static_cast< long >(val5
);
14552 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14553 if (!SWIG_IsOK(res6
)) {
14554 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14557 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14559 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14563 arg7
= wxString_in_helper(obj6
);
14564 if (arg7
== NULL
) SWIG_fail
;
14569 if (!wxPyCheckForApp()) SWIG_fail
;
14570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14571 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14572 wxPyEndAllowThreads(__tstate
);
14573 if (PyErr_Occurred()) SWIG_fail
;
14575 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14590 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14591 PyObject
*resultobj
= 0;
14592 wxScrollBar
*result
= 0 ;
14594 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14596 if (!wxPyCheckForApp()) SWIG_fail
;
14597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14598 result
= (wxScrollBar
*)new wxScrollBar();
14599 wxPyEndAllowThreads(__tstate
);
14600 if (PyErr_Occurred()) SWIG_fail
;
14602 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14609 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14610 PyObject
*resultobj
= 0;
14611 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14612 wxWindow
*arg2
= (wxWindow
*) 0 ;
14613 int arg3
= (int) -1 ;
14614 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14615 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14616 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14617 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14618 long arg6
= (long) wxSB_HORIZONTAL
;
14619 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14620 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14621 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14622 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14636 bool temp8
= false ;
14637 PyObject
* obj0
= 0 ;
14638 PyObject
* obj1
= 0 ;
14639 PyObject
* obj2
= 0 ;
14640 PyObject
* obj3
= 0 ;
14641 PyObject
* obj4
= 0 ;
14642 PyObject
* obj5
= 0 ;
14643 PyObject
* obj6
= 0 ;
14644 PyObject
* obj7
= 0 ;
14645 char * kwnames
[] = {
14646 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14651 if (!SWIG_IsOK(res1
)) {
14652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14654 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14655 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14656 if (!SWIG_IsOK(res2
)) {
14657 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14659 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14661 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14662 if (!SWIG_IsOK(ecode3
)) {
14663 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14665 arg3
= static_cast< int >(val3
);
14670 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14676 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14680 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14681 if (!SWIG_IsOK(ecode6
)) {
14682 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14684 arg6
= static_cast< long >(val6
);
14687 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14688 if (!SWIG_IsOK(res7
)) {
14689 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14692 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14694 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14698 arg8
= wxString_in_helper(obj7
);
14699 if (arg8
== NULL
) SWIG_fail
;
14704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14705 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14706 wxPyEndAllowThreads(__tstate
);
14707 if (PyErr_Occurred()) SWIG_fail
;
14710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14726 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14727 PyObject
*resultobj
= 0;
14728 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14732 PyObject
*swig_obj
[1] ;
14734 if (!args
) SWIG_fail
;
14735 swig_obj
[0] = args
;
14736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14737 if (!SWIG_IsOK(res1
)) {
14738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14740 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14743 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14744 wxPyEndAllowThreads(__tstate
);
14745 if (PyErr_Occurred()) SWIG_fail
;
14747 resultobj
= SWIG_From_int(static_cast< int >(result
));
14754 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14755 PyObject
*resultobj
= 0;
14756 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14760 PyObject
*swig_obj
[1] ;
14762 if (!args
) SWIG_fail
;
14763 swig_obj
[0] = args
;
14764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14765 if (!SWIG_IsOK(res1
)) {
14766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14768 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14771 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14772 wxPyEndAllowThreads(__tstate
);
14773 if (PyErr_Occurred()) SWIG_fail
;
14775 resultobj
= SWIG_From_int(static_cast< int >(result
));
14782 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14783 PyObject
*resultobj
= 0;
14784 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14788 PyObject
*swig_obj
[1] ;
14790 if (!args
) SWIG_fail
;
14791 swig_obj
[0] = args
;
14792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14793 if (!SWIG_IsOK(res1
)) {
14794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14796 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14799 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14800 wxPyEndAllowThreads(__tstate
);
14801 if (PyErr_Occurred()) SWIG_fail
;
14803 resultobj
= SWIG_From_int(static_cast< int >(result
));
14810 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14811 PyObject
*resultobj
= 0;
14812 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14816 PyObject
*swig_obj
[1] ;
14818 if (!args
) SWIG_fail
;
14819 swig_obj
[0] = args
;
14820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14821 if (!SWIG_IsOK(res1
)) {
14822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14824 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14827 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14828 wxPyEndAllowThreads(__tstate
);
14829 if (PyErr_Occurred()) SWIG_fail
;
14831 resultobj
= SWIG_From_int(static_cast< int >(result
));
14838 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14839 PyObject
*resultobj
= 0;
14840 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14844 PyObject
*swig_obj
[1] ;
14846 if (!args
) SWIG_fail
;
14847 swig_obj
[0] = args
;
14848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14849 if (!SWIG_IsOK(res1
)) {
14850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14852 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14855 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14856 wxPyEndAllowThreads(__tstate
);
14857 if (PyErr_Occurred()) SWIG_fail
;
14860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14868 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14869 PyObject
*resultobj
= 0;
14870 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14876 PyObject
* obj0
= 0 ;
14877 PyObject
* obj1
= 0 ;
14878 char * kwnames
[] = {
14879 (char *) "self",(char *) "viewStart", NULL
14882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14884 if (!SWIG_IsOK(res1
)) {
14885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14887 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14889 if (!SWIG_IsOK(ecode2
)) {
14890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14892 arg2
= static_cast< int >(val2
);
14894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14895 (arg1
)->SetThumbPosition(arg2
);
14896 wxPyEndAllowThreads(__tstate
);
14897 if (PyErr_Occurred()) SWIG_fail
;
14899 resultobj
= SWIG_Py_Void();
14906 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14907 PyObject
*resultobj
= 0;
14908 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14909 SwigValueWrapper
<wxVisualAttributes
> result
;
14912 PyObject
* obj0
= 0 ;
14913 char * kwnames
[] = {
14914 (char *) "variant", NULL
14917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14919 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14920 if (!SWIG_IsOK(ecode1
)) {
14921 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14923 arg1
= static_cast< wxWindowVariant
>(val1
);
14926 if (!wxPyCheckForApp()) SWIG_fail
;
14927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14928 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14929 wxPyEndAllowThreads(__tstate
);
14930 if (PyErr_Occurred()) SWIG_fail
;
14932 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14939 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14941 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14942 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14943 return SWIG_Py_Void();
14946 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14947 return SWIG_Python_InitShadowInstance(args
);
14950 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14951 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14956 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14957 PyObject
*pyobj
= 0;
14961 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14963 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14970 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14971 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14976 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14977 PyObject
*pyobj
= 0;
14981 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14983 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14990 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14991 PyObject
*resultobj
= 0;
14992 wxWindow
*arg1
= (wxWindow
*) 0 ;
14993 int arg2
= (int) -1 ;
14994 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14995 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14996 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14997 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14998 long arg5
= (long) wxSP_HORIZONTAL
;
14999 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
15000 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15001 wxSpinButton
*result
= 0 ;
15010 bool temp6
= false ;
15011 PyObject
* obj0
= 0 ;
15012 PyObject
* obj1
= 0 ;
15013 PyObject
* obj2
= 0 ;
15014 PyObject
* obj3
= 0 ;
15015 PyObject
* obj4
= 0 ;
15016 PyObject
* obj5
= 0 ;
15017 char * kwnames
[] = {
15018 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15023 if (!SWIG_IsOK(res1
)) {
15024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
15026 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15029 if (!SWIG_IsOK(ecode2
)) {
15030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
15032 arg2
= static_cast< int >(val2
);
15037 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15043 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15047 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15048 if (!SWIG_IsOK(ecode5
)) {
15049 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
15051 arg5
= static_cast< long >(val5
);
15055 arg6
= wxString_in_helper(obj5
);
15056 if (arg6
== NULL
) SWIG_fail
;
15061 if (!wxPyCheckForApp()) SWIG_fail
;
15062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15063 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15064 wxPyEndAllowThreads(__tstate
);
15065 if (PyErr_Occurred()) SWIG_fail
;
15067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
15082 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15083 PyObject
*resultobj
= 0;
15084 wxSpinButton
*result
= 0 ;
15086 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
15088 if (!wxPyCheckForApp()) SWIG_fail
;
15089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15090 result
= (wxSpinButton
*)new wxSpinButton();
15091 wxPyEndAllowThreads(__tstate
);
15092 if (PyErr_Occurred()) SWIG_fail
;
15094 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
15101 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15102 PyObject
*resultobj
= 0;
15103 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15104 wxWindow
*arg2
= (wxWindow
*) 0 ;
15105 int arg3
= (int) -1 ;
15106 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15107 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15108 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15109 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15110 long arg6
= (long) wxSP_HORIZONTAL
;
15111 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
15112 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15124 bool temp7
= false ;
15125 PyObject
* obj0
= 0 ;
15126 PyObject
* obj1
= 0 ;
15127 PyObject
* obj2
= 0 ;
15128 PyObject
* obj3
= 0 ;
15129 PyObject
* obj4
= 0 ;
15130 PyObject
* obj5
= 0 ;
15131 PyObject
* obj6
= 0 ;
15132 char * kwnames
[] = {
15133 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15138 if (!SWIG_IsOK(res1
)) {
15139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15141 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15142 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15143 if (!SWIG_IsOK(res2
)) {
15144 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15146 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15148 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15149 if (!SWIG_IsOK(ecode3
)) {
15150 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
15152 arg3
= static_cast< int >(val3
);
15157 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15163 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15167 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15168 if (!SWIG_IsOK(ecode6
)) {
15169 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
15171 arg6
= static_cast< long >(val6
);
15175 arg7
= wxString_in_helper(obj6
);
15176 if (arg7
== NULL
) SWIG_fail
;
15181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15182 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15183 wxPyEndAllowThreads(__tstate
);
15184 if (PyErr_Occurred()) SWIG_fail
;
15187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15203 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15204 PyObject
*resultobj
= 0;
15205 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15209 PyObject
*swig_obj
[1] ;
15211 if (!args
) SWIG_fail
;
15212 swig_obj
[0] = args
;
15213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15214 if (!SWIG_IsOK(res1
)) {
15215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15217 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15220 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
15221 wxPyEndAllowThreads(__tstate
);
15222 if (PyErr_Occurred()) SWIG_fail
;
15224 resultobj
= SWIG_From_int(static_cast< int >(result
));
15231 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15232 PyObject
*resultobj
= 0;
15233 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15237 PyObject
*swig_obj
[1] ;
15239 if (!args
) SWIG_fail
;
15240 swig_obj
[0] = args
;
15241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15242 if (!SWIG_IsOK(res1
)) {
15243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15245 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15248 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
15249 wxPyEndAllowThreads(__tstate
);
15250 if (PyErr_Occurred()) SWIG_fail
;
15252 resultobj
= SWIG_From_int(static_cast< int >(result
));
15259 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15260 PyObject
*resultobj
= 0;
15261 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15265 PyObject
*swig_obj
[1] ;
15267 if (!args
) SWIG_fail
;
15268 swig_obj
[0] = args
;
15269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15270 if (!SWIG_IsOK(res1
)) {
15271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15273 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15276 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
15277 wxPyEndAllowThreads(__tstate
);
15278 if (PyErr_Occurred()) SWIG_fail
;
15280 resultobj
= SWIG_From_int(static_cast< int >(result
));
15287 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15288 PyObject
*resultobj
= 0;
15289 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15295 PyObject
* obj0
= 0 ;
15296 PyObject
* obj1
= 0 ;
15297 char * kwnames
[] = {
15298 (char *) "self",(char *) "val", NULL
15301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15303 if (!SWIG_IsOK(res1
)) {
15304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15306 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15308 if (!SWIG_IsOK(ecode2
)) {
15309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15311 arg2
= static_cast< int >(val2
);
15313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15314 (arg1
)->SetValue(arg2
);
15315 wxPyEndAllowThreads(__tstate
);
15316 if (PyErr_Occurred()) SWIG_fail
;
15318 resultobj
= SWIG_Py_Void();
15325 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15326 PyObject
*resultobj
= 0;
15327 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15333 PyObject
* obj0
= 0 ;
15334 PyObject
* obj1
= 0 ;
15335 char * kwnames
[] = {
15336 (char *) "self",(char *) "minVal", NULL
15339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15341 if (!SWIG_IsOK(res1
)) {
15342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15344 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15346 if (!SWIG_IsOK(ecode2
)) {
15347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15349 arg2
= static_cast< int >(val2
);
15351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15352 (arg1
)->SetMin(arg2
);
15353 wxPyEndAllowThreads(__tstate
);
15354 if (PyErr_Occurred()) SWIG_fail
;
15356 resultobj
= SWIG_Py_Void();
15363 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15364 PyObject
*resultobj
= 0;
15365 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15371 PyObject
* obj0
= 0 ;
15372 PyObject
* obj1
= 0 ;
15373 char * kwnames
[] = {
15374 (char *) "self",(char *) "maxVal", NULL
15377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15379 if (!SWIG_IsOK(res1
)) {
15380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15382 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15383 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15384 if (!SWIG_IsOK(ecode2
)) {
15385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15387 arg2
= static_cast< int >(val2
);
15389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15390 (arg1
)->SetMax(arg2
);
15391 wxPyEndAllowThreads(__tstate
);
15392 if (PyErr_Occurred()) SWIG_fail
;
15394 resultobj
= SWIG_Py_Void();
15401 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15402 PyObject
*resultobj
= 0;
15403 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15412 PyObject
* obj0
= 0 ;
15413 PyObject
* obj1
= 0 ;
15414 PyObject
* obj2
= 0 ;
15415 char * kwnames
[] = {
15416 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15421 if (!SWIG_IsOK(res1
)) {
15422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15424 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15425 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15426 if (!SWIG_IsOK(ecode2
)) {
15427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15429 arg2
= static_cast< int >(val2
);
15430 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15431 if (!SWIG_IsOK(ecode3
)) {
15432 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15434 arg3
= static_cast< int >(val3
);
15436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15437 (arg1
)->SetRange(arg2
,arg3
);
15438 wxPyEndAllowThreads(__tstate
);
15439 if (PyErr_Occurred()) SWIG_fail
;
15441 resultobj
= SWIG_Py_Void();
15448 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15449 PyObject
*resultobj
= 0;
15450 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15454 PyObject
*swig_obj
[1] ;
15456 if (!args
) SWIG_fail
;
15457 swig_obj
[0] = args
;
15458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15459 if (!SWIG_IsOK(res1
)) {
15460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15462 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15465 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15466 wxPyEndAllowThreads(__tstate
);
15467 if (PyErr_Occurred()) SWIG_fail
;
15470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15478 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15479 PyObject
*resultobj
= 0;
15480 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15481 SwigValueWrapper
<wxVisualAttributes
> result
;
15484 PyObject
* obj0
= 0 ;
15485 char * kwnames
[] = {
15486 (char *) "variant", NULL
15489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15491 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15492 if (!SWIG_IsOK(ecode1
)) {
15493 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15495 arg1
= static_cast< wxWindowVariant
>(val1
);
15498 if (!wxPyCheckForApp()) SWIG_fail
;
15499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15500 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15501 wxPyEndAllowThreads(__tstate
);
15502 if (PyErr_Occurred()) SWIG_fail
;
15504 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15511 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15513 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15514 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15515 return SWIG_Py_Void();
15518 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15519 return SWIG_Python_InitShadowInstance(args
);
15522 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15523 PyObject
*resultobj
= 0;
15524 wxWindow
*arg1
= (wxWindow
*) 0 ;
15525 int arg2
= (int) -1 ;
15526 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15527 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15528 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15529 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15530 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15531 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15532 long arg6
= (long) wxSP_ARROW_KEYS
;
15533 int arg7
= (int) 0 ;
15534 int arg8
= (int) 100 ;
15535 int arg9
= (int) 0 ;
15536 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15537 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15538 wxSpinCtrl
*result
= 0 ;
15543 bool temp3
= false ;
15554 bool temp10
= false ;
15555 PyObject
* obj0
= 0 ;
15556 PyObject
* obj1
= 0 ;
15557 PyObject
* obj2
= 0 ;
15558 PyObject
* obj3
= 0 ;
15559 PyObject
* obj4
= 0 ;
15560 PyObject
* obj5
= 0 ;
15561 PyObject
* obj6
= 0 ;
15562 PyObject
* obj7
= 0 ;
15563 PyObject
* obj8
= 0 ;
15564 PyObject
* obj9
= 0 ;
15565 char * kwnames
[] = {
15566 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15571 if (!SWIG_IsOK(res1
)) {
15572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15574 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15576 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15577 if (!SWIG_IsOK(ecode2
)) {
15578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15580 arg2
= static_cast< int >(val2
);
15584 arg3
= wxString_in_helper(obj2
);
15585 if (arg3
== NULL
) SWIG_fail
;
15592 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15598 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15602 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15603 if (!SWIG_IsOK(ecode6
)) {
15604 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15606 arg6
= static_cast< long >(val6
);
15609 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15610 if (!SWIG_IsOK(ecode7
)) {
15611 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15613 arg7
= static_cast< int >(val7
);
15616 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15617 if (!SWIG_IsOK(ecode8
)) {
15618 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15620 arg8
= static_cast< int >(val8
);
15623 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15624 if (!SWIG_IsOK(ecode9
)) {
15625 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15627 arg9
= static_cast< int >(val9
);
15631 arg10
= wxString_in_helper(obj9
);
15632 if (arg10
== NULL
) SWIG_fail
;
15637 if (!wxPyCheckForApp()) SWIG_fail
;
15638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15639 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15640 wxPyEndAllowThreads(__tstate
);
15641 if (PyErr_Occurred()) SWIG_fail
;
15643 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15666 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15667 PyObject
*resultobj
= 0;
15668 wxSpinCtrl
*result
= 0 ;
15670 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15672 if (!wxPyCheckForApp()) SWIG_fail
;
15673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15674 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15675 wxPyEndAllowThreads(__tstate
);
15676 if (PyErr_Occurred()) SWIG_fail
;
15678 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15685 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15686 PyObject
*resultobj
= 0;
15687 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15688 wxWindow
*arg2
= (wxWindow
*) 0 ;
15689 int arg3
= (int) -1 ;
15690 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15691 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15692 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15693 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15694 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15695 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15696 long arg7
= (long) wxSP_ARROW_KEYS
;
15697 int arg8
= (int) 0 ;
15698 int arg9
= (int) 100 ;
15699 int arg10
= (int) 0 ;
15700 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15701 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15709 bool temp4
= false ;
15720 bool temp11
= false ;
15721 PyObject
* obj0
= 0 ;
15722 PyObject
* obj1
= 0 ;
15723 PyObject
* obj2
= 0 ;
15724 PyObject
* obj3
= 0 ;
15725 PyObject
* obj4
= 0 ;
15726 PyObject
* obj5
= 0 ;
15727 PyObject
* obj6
= 0 ;
15728 PyObject
* obj7
= 0 ;
15729 PyObject
* obj8
= 0 ;
15730 PyObject
* obj9
= 0 ;
15731 PyObject
* obj10
= 0 ;
15732 char * kwnames
[] = {
15733 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15738 if (!SWIG_IsOK(res1
)) {
15739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15741 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15742 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15743 if (!SWIG_IsOK(res2
)) {
15744 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15746 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15748 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15749 if (!SWIG_IsOK(ecode3
)) {
15750 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15752 arg3
= static_cast< int >(val3
);
15756 arg4
= wxString_in_helper(obj3
);
15757 if (arg4
== NULL
) SWIG_fail
;
15764 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15770 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15774 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15775 if (!SWIG_IsOK(ecode7
)) {
15776 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15778 arg7
= static_cast< long >(val7
);
15781 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15782 if (!SWIG_IsOK(ecode8
)) {
15783 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15785 arg8
= static_cast< int >(val8
);
15788 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15789 if (!SWIG_IsOK(ecode9
)) {
15790 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15792 arg9
= static_cast< int >(val9
);
15795 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15796 if (!SWIG_IsOK(ecode10
)) {
15797 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15799 arg10
= static_cast< int >(val10
);
15803 arg11
= wxString_in_helper(obj10
);
15804 if (arg11
== NULL
) SWIG_fail
;
15809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15810 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15811 wxPyEndAllowThreads(__tstate
);
15812 if (PyErr_Occurred()) SWIG_fail
;
15815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15839 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15840 PyObject
*resultobj
= 0;
15841 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15845 PyObject
*swig_obj
[1] ;
15847 if (!args
) SWIG_fail
;
15848 swig_obj
[0] = args
;
15849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15850 if (!SWIG_IsOK(res1
)) {
15851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15853 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15856 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15857 wxPyEndAllowThreads(__tstate
);
15858 if (PyErr_Occurred()) SWIG_fail
;
15860 resultobj
= SWIG_From_int(static_cast< int >(result
));
15867 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15868 PyObject
*resultobj
= 0;
15869 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15875 PyObject
* obj0
= 0 ;
15876 PyObject
* obj1
= 0 ;
15877 char * kwnames
[] = {
15878 (char *) "self",(char *) "value", NULL
15881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15883 if (!SWIG_IsOK(res1
)) {
15884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15886 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15887 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15888 if (!SWIG_IsOK(ecode2
)) {
15889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15891 arg2
= static_cast< int >(val2
);
15893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15894 (arg1
)->SetValue(arg2
);
15895 wxPyEndAllowThreads(__tstate
);
15896 if (PyErr_Occurred()) SWIG_fail
;
15898 resultobj
= SWIG_Py_Void();
15905 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15906 PyObject
*resultobj
= 0;
15907 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15908 wxString
*arg2
= 0 ;
15911 bool temp2
= false ;
15912 PyObject
* obj0
= 0 ;
15913 PyObject
* obj1
= 0 ;
15914 char * kwnames
[] = {
15915 (char *) "self",(char *) "text", NULL
15918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15920 if (!SWIG_IsOK(res1
)) {
15921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15923 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15925 arg2
= wxString_in_helper(obj1
);
15926 if (arg2
== NULL
) SWIG_fail
;
15930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15931 (arg1
)->SetValue((wxString
const &)*arg2
);
15932 wxPyEndAllowThreads(__tstate
);
15933 if (PyErr_Occurred()) SWIG_fail
;
15935 resultobj
= SWIG_Py_Void();
15950 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15951 PyObject
*resultobj
= 0;
15952 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15961 PyObject
* obj0
= 0 ;
15962 PyObject
* obj1
= 0 ;
15963 PyObject
* obj2
= 0 ;
15964 char * kwnames
[] = {
15965 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15970 if (!SWIG_IsOK(res1
)) {
15971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15973 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15974 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15975 if (!SWIG_IsOK(ecode2
)) {
15976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15978 arg2
= static_cast< int >(val2
);
15979 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15980 if (!SWIG_IsOK(ecode3
)) {
15981 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15983 arg3
= static_cast< int >(val3
);
15985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15986 (arg1
)->SetRange(arg2
,arg3
);
15987 wxPyEndAllowThreads(__tstate
);
15988 if (PyErr_Occurred()) SWIG_fail
;
15990 resultobj
= SWIG_Py_Void();
15997 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15998 PyObject
*resultobj
= 0;
15999 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
16003 PyObject
*swig_obj
[1] ;
16005 if (!args
) SWIG_fail
;
16006 swig_obj
[0] = args
;
16007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
16008 if (!SWIG_IsOK(res1
)) {
16009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
16011 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
16013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16014 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
16015 wxPyEndAllowThreads(__tstate
);
16016 if (PyErr_Occurred()) SWIG_fail
;
16018 resultobj
= SWIG_From_int(static_cast< int >(result
));
16025 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16026 PyObject
*resultobj
= 0;
16027 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
16031 PyObject
*swig_obj
[1] ;
16033 if (!args
) SWIG_fail
;
16034 swig_obj
[0] = args
;
16035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
16036 if (!SWIG_IsOK(res1
)) {
16037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
16039 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
16041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16042 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
16043 wxPyEndAllowThreads(__tstate
);
16044 if (PyErr_Occurred()) SWIG_fail
;
16046 resultobj
= SWIG_From_int(static_cast< int >(result
));
16053 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16054 PyObject
*resultobj
= 0;
16055 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
16064 PyObject
* obj0
= 0 ;
16065 PyObject
* obj1
= 0 ;
16066 PyObject
* obj2
= 0 ;
16067 char * kwnames
[] = {
16068 (char *) "self",(char *) "from",(char *) "to", NULL
16071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
16073 if (!SWIG_IsOK(res1
)) {
16074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
16076 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
16077 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
16078 if (!SWIG_IsOK(ecode2
)) {
16079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
16081 arg2
= static_cast< long >(val2
);
16082 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
16083 if (!SWIG_IsOK(ecode3
)) {
16084 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
16086 arg3
= static_cast< long >(val3
);
16088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16089 (arg1
)->SetSelection(arg2
,arg3
);
16090 wxPyEndAllowThreads(__tstate
);
16091 if (PyErr_Occurred()) SWIG_fail
;
16093 resultobj
= SWIG_Py_Void();
16100 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16101 PyObject
*resultobj
= 0;
16102 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16103 SwigValueWrapper
<wxVisualAttributes
> result
;
16106 PyObject
* obj0
= 0 ;
16107 char * kwnames
[] = {
16108 (char *) "variant", NULL
16111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
16113 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16114 if (!SWIG_IsOK(ecode1
)) {
16115 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
16117 arg1
= static_cast< wxWindowVariant
>(val1
);
16120 if (!wxPyCheckForApp()) SWIG_fail
;
16121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16122 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
16123 wxPyEndAllowThreads(__tstate
);
16124 if (PyErr_Occurred()) SWIG_fail
;
16126 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
16133 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16135 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16136 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
16137 return SWIG_Py_Void();
16140 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16141 return SWIG_Python_InitShadowInstance(args
);
16144 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16145 PyObject
*resultobj
= 0;
16146 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16147 int arg2
= (int) 0 ;
16148 wxSpinEvent
*result
= 0 ;
16153 PyObject
* obj0
= 0 ;
16154 PyObject
* obj1
= 0 ;
16155 char * kwnames
[] = {
16156 (char *) "commandType",(char *) "winid", NULL
16159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16161 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16162 if (!SWIG_IsOK(ecode1
)) {
16163 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16165 arg1
= static_cast< wxEventType
>(val1
);
16168 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16169 if (!SWIG_IsOK(ecode2
)) {
16170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
16172 arg2
= static_cast< int >(val2
);
16175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16176 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
16177 wxPyEndAllowThreads(__tstate
);
16178 if (PyErr_Occurred()) SWIG_fail
;
16180 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
16187 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16188 PyObject
*resultobj
= 0;
16189 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
16193 PyObject
*swig_obj
[1] ;
16195 if (!args
) SWIG_fail
;
16196 swig_obj
[0] = args
;
16197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
16198 if (!SWIG_IsOK(res1
)) {
16199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
16201 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
16203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16204 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
16205 wxPyEndAllowThreads(__tstate
);
16206 if (PyErr_Occurred()) SWIG_fail
;
16208 resultobj
= SWIG_From_int(static_cast< int >(result
));
16215 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16216 PyObject
*resultobj
= 0;
16217 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
16223 PyObject
* obj0
= 0 ;
16224 PyObject
* obj1
= 0 ;
16225 char * kwnames
[] = {
16226 (char *) "self",(char *) "pos", NULL
16229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
16231 if (!SWIG_IsOK(res1
)) {
16232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
16234 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
16235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16236 if (!SWIG_IsOK(ecode2
)) {
16237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
16239 arg2
= static_cast< int >(val2
);
16241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16242 (arg1
)->SetPosition(arg2
);
16243 wxPyEndAllowThreads(__tstate
);
16244 if (PyErr_Occurred()) SWIG_fail
;
16246 resultobj
= SWIG_Py_Void();
16253 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16255 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16256 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
16257 return SWIG_Py_Void();
16260 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16261 return SWIG_Python_InitShadowInstance(args
);
16264 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
16265 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
16270 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
16271 PyObject
*pyobj
= 0;
16275 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16277 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16284 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
16285 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
16290 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
16291 PyObject
*pyobj
= 0;
16295 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16297 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16304 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16305 PyObject
*resultobj
= 0;
16306 wxWindow
*arg1
= (wxWindow
*) 0 ;
16307 int arg2
= (int) -1 ;
16308 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16309 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16310 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16311 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16312 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16313 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16314 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
16315 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
16316 int arg7
= (int) 0 ;
16317 long arg8
= (long) wxRA_HORIZONTAL
;
16318 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
16319 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
16320 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
16321 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
16322 wxRadioBox
*result
= 0 ;
16327 bool temp3
= false ;
16330 bool temp6
= false ;
16337 bool temp10
= false ;
16338 PyObject
* obj0
= 0 ;
16339 PyObject
* obj1
= 0 ;
16340 PyObject
* obj2
= 0 ;
16341 PyObject
* obj3
= 0 ;
16342 PyObject
* obj4
= 0 ;
16343 PyObject
* obj5
= 0 ;
16344 PyObject
* obj6
= 0 ;
16345 PyObject
* obj7
= 0 ;
16346 PyObject
* obj8
= 0 ;
16347 PyObject
* obj9
= 0 ;
16348 char * kwnames
[] = {
16349 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
16353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16354 if (!SWIG_IsOK(res1
)) {
16355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16357 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16360 if (!SWIG_IsOK(ecode2
)) {
16361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16363 arg2
= static_cast< int >(val2
);
16367 arg3
= wxString_in_helper(obj2
);
16368 if (arg3
== NULL
) SWIG_fail
;
16375 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16381 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16386 if (! PySequence_Check(obj5
)) {
16387 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16390 arg6
= new wxArrayString
;
16392 int i
, len
=PySequence_Length(obj5
);
16393 for (i
=0; i
<len
; i
++) {
16394 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16395 wxString
* s
= wxString_in_helper(item
);
16396 if (PyErr_Occurred()) SWIG_fail
;
16404 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16405 if (!SWIG_IsOK(ecode7
)) {
16406 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16408 arg7
= static_cast< int >(val7
);
16411 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16412 if (!SWIG_IsOK(ecode8
)) {
16413 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16415 arg8
= static_cast< long >(val8
);
16418 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16419 if (!SWIG_IsOK(res9
)) {
16420 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16423 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16425 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16429 arg10
= wxString_in_helper(obj9
);
16430 if (arg10
== NULL
) SWIG_fail
;
16435 if (!wxPyCheckForApp()) SWIG_fail
;
16436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16437 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
);
16438 wxPyEndAllowThreads(__tstate
);
16439 if (PyErr_Occurred()) SWIG_fail
;
16441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16447 if (temp6
) delete arg6
;
16460 if (temp6
) delete arg6
;
16470 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16471 PyObject
*resultobj
= 0;
16472 wxRadioBox
*result
= 0 ;
16474 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16476 if (!wxPyCheckForApp()) SWIG_fail
;
16477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16478 result
= (wxRadioBox
*)new wxRadioBox();
16479 wxPyEndAllowThreads(__tstate
);
16480 if (PyErr_Occurred()) SWIG_fail
;
16482 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16489 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16490 PyObject
*resultobj
= 0;
16491 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16492 wxWindow
*arg2
= (wxWindow
*) 0 ;
16493 int arg3
= (int) -1 ;
16494 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16495 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16496 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16497 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16498 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16499 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16500 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16501 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16502 int arg8
= (int) 0 ;
16503 long arg9
= (long) wxRA_HORIZONTAL
;
16504 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16505 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16506 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16507 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16515 bool temp4
= false ;
16518 bool temp7
= false ;
16525 bool temp11
= false ;
16526 PyObject
* obj0
= 0 ;
16527 PyObject
* obj1
= 0 ;
16528 PyObject
* obj2
= 0 ;
16529 PyObject
* obj3
= 0 ;
16530 PyObject
* obj4
= 0 ;
16531 PyObject
* obj5
= 0 ;
16532 PyObject
* obj6
= 0 ;
16533 PyObject
* obj7
= 0 ;
16534 PyObject
* obj8
= 0 ;
16535 PyObject
* obj9
= 0 ;
16536 PyObject
* obj10
= 0 ;
16537 char * kwnames
[] = {
16538 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16543 if (!SWIG_IsOK(res1
)) {
16544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16546 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16547 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16548 if (!SWIG_IsOK(res2
)) {
16549 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16551 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16553 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16554 if (!SWIG_IsOK(ecode3
)) {
16555 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16557 arg3
= static_cast< int >(val3
);
16561 arg4
= wxString_in_helper(obj3
);
16562 if (arg4
== NULL
) SWIG_fail
;
16569 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16575 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16580 if (! PySequence_Check(obj6
)) {
16581 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16584 arg7
= new wxArrayString
;
16586 int i
, len
=PySequence_Length(obj6
);
16587 for (i
=0; i
<len
; i
++) {
16588 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16589 wxString
* s
= wxString_in_helper(item
);
16590 if (PyErr_Occurred()) SWIG_fail
;
16598 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16599 if (!SWIG_IsOK(ecode8
)) {
16600 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16602 arg8
= static_cast< int >(val8
);
16605 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16606 if (!SWIG_IsOK(ecode9
)) {
16607 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16609 arg9
= static_cast< long >(val9
);
16612 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16613 if (!SWIG_IsOK(res10
)) {
16614 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16617 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16619 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16623 arg11
= wxString_in_helper(obj10
);
16624 if (arg11
== NULL
) SWIG_fail
;
16629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16630 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
);
16631 wxPyEndAllowThreads(__tstate
);
16632 if (PyErr_Occurred()) SWIG_fail
;
16635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16642 if (temp7
) delete arg7
;
16655 if (temp7
) delete arg7
;
16665 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16666 PyObject
*resultobj
= 0;
16667 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16673 PyObject
* obj0
= 0 ;
16674 PyObject
* obj1
= 0 ;
16675 char * kwnames
[] = {
16676 (char *) "self",(char *) "n", NULL
16679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16681 if (!SWIG_IsOK(res1
)) {
16682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16684 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16685 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16686 if (!SWIG_IsOK(ecode2
)) {
16687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16689 arg2
= static_cast< int >(val2
);
16691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16692 (arg1
)->SetSelection(arg2
);
16693 wxPyEndAllowThreads(__tstate
);
16694 if (PyErr_Occurred()) SWIG_fail
;
16696 resultobj
= SWIG_Py_Void();
16703 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16704 PyObject
*resultobj
= 0;
16705 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16709 PyObject
*swig_obj
[1] ;
16711 if (!args
) SWIG_fail
;
16712 swig_obj
[0] = args
;
16713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16714 if (!SWIG_IsOK(res1
)) {
16715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16717 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16720 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16721 wxPyEndAllowThreads(__tstate
);
16722 if (PyErr_Occurred()) SWIG_fail
;
16724 resultobj
= SWIG_From_int(static_cast< int >(result
));
16731 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16732 PyObject
*resultobj
= 0;
16733 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16737 PyObject
*swig_obj
[1] ;
16739 if (!args
) SWIG_fail
;
16740 swig_obj
[0] = args
;
16741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16742 if (!SWIG_IsOK(res1
)) {
16743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16745 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16748 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16749 wxPyEndAllowThreads(__tstate
);
16750 if (PyErr_Occurred()) SWIG_fail
;
16754 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16756 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16765 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16766 PyObject
*resultobj
= 0;
16767 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16768 wxString
*arg2
= 0 ;
16772 bool temp2
= false ;
16773 PyObject
* obj0
= 0 ;
16774 PyObject
* obj1
= 0 ;
16775 char * kwnames
[] = {
16776 (char *) "self",(char *) "s", NULL
16779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16781 if (!SWIG_IsOK(res1
)) {
16782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16784 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16786 arg2
= wxString_in_helper(obj1
);
16787 if (arg2
== NULL
) SWIG_fail
;
16791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16792 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16793 wxPyEndAllowThreads(__tstate
);
16794 if (PyErr_Occurred()) SWIG_fail
;
16797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16813 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16814 PyObject
*resultobj
= 0;
16815 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16819 PyObject
*swig_obj
[1] ;
16821 if (!args
) SWIG_fail
;
16822 swig_obj
[0] = args
;
16823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16824 if (!SWIG_IsOK(res1
)) {
16825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16827 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16830 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16831 wxPyEndAllowThreads(__tstate
);
16832 if (PyErr_Occurred()) SWIG_fail
;
16834 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16841 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16842 PyObject
*resultobj
= 0;
16843 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16844 wxString
*arg2
= 0 ;
16848 bool temp2
= false ;
16849 PyObject
* obj0
= 0 ;
16850 PyObject
* obj1
= 0 ;
16851 char * kwnames
[] = {
16852 (char *) "self",(char *) "s", NULL
16855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16857 if (!SWIG_IsOK(res1
)) {
16858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16860 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16862 arg2
= wxString_in_helper(obj1
);
16863 if (arg2
== NULL
) SWIG_fail
;
16867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16868 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16869 wxPyEndAllowThreads(__tstate
);
16870 if (PyErr_Occurred()) SWIG_fail
;
16872 resultobj
= SWIG_From_int(static_cast< int >(result
));
16887 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16888 PyObject
*resultobj
= 0;
16889 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16896 PyObject
* obj0
= 0 ;
16897 PyObject
* obj1
= 0 ;
16898 char * kwnames
[] = {
16899 (char *) "self",(char *) "n", NULL
16902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16904 if (!SWIG_IsOK(res1
)) {
16905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16907 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16909 if (!SWIG_IsOK(ecode2
)) {
16910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16912 arg2
= static_cast< int >(val2
);
16914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16915 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16916 wxPyEndAllowThreads(__tstate
);
16917 if (PyErr_Occurred()) SWIG_fail
;
16921 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16923 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16932 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16933 PyObject
*resultobj
= 0;
16934 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16936 wxString
*arg3
= 0 ;
16941 bool temp3
= false ;
16942 PyObject
* obj0
= 0 ;
16943 PyObject
* obj1
= 0 ;
16944 PyObject
* obj2
= 0 ;
16945 char * kwnames
[] = {
16946 (char *) "self",(char *) "n",(char *) "label", NULL
16949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16951 if (!SWIG_IsOK(res1
)) {
16952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16954 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16956 if (!SWIG_IsOK(ecode2
)) {
16957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16959 arg2
= static_cast< int >(val2
);
16961 arg3
= wxString_in_helper(obj2
);
16962 if (arg3
== NULL
) SWIG_fail
;
16966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16967 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16968 wxPyEndAllowThreads(__tstate
);
16969 if (PyErr_Occurred()) SWIG_fail
;
16971 resultobj
= SWIG_Py_Void();
16986 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16987 PyObject
*resultobj
= 0;
16988 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16989 unsigned int arg2
;
16990 bool arg3
= (bool) true ;
16993 unsigned int val2
;
16997 PyObject
* obj0
= 0 ;
16998 PyObject
* obj1
= 0 ;
16999 PyObject
* obj2
= 0 ;
17000 char * kwnames
[] = {
17001 (char *) "self",(char *) "n",(char *) "enable", NULL
17004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17006 if (!SWIG_IsOK(res1
)) {
17007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17009 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17010 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17011 if (!SWIG_IsOK(ecode2
)) {
17012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
17014 arg2
= static_cast< unsigned int >(val2
);
17016 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
17017 if (!SWIG_IsOK(ecode3
)) {
17018 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
17020 arg3
= static_cast< bool >(val3
);
17023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17024 (arg1
)->Enable(arg2
,arg3
);
17025 wxPyEndAllowThreads(__tstate
);
17026 if (PyErr_Occurred()) SWIG_fail
;
17028 resultobj
= SWIG_Py_Void();
17035 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17036 PyObject
*resultobj
= 0;
17037 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17038 unsigned int arg2
;
17039 bool arg3
= (bool) true ;
17042 unsigned int val2
;
17046 PyObject
* obj0
= 0 ;
17047 PyObject
* obj1
= 0 ;
17048 PyObject
* obj2
= 0 ;
17049 char * kwnames
[] = {
17050 (char *) "self",(char *) "n",(char *) "show", NULL
17053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17055 if (!SWIG_IsOK(res1
)) {
17056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17058 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17059 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17060 if (!SWIG_IsOK(ecode2
)) {
17061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
17063 arg2
= static_cast< unsigned int >(val2
);
17065 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
17066 if (!SWIG_IsOK(ecode3
)) {
17067 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
17069 arg3
= static_cast< bool >(val3
);
17072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17073 (arg1
)->Show(arg2
,arg3
);
17074 wxPyEndAllowThreads(__tstate
);
17075 if (PyErr_Occurred()) SWIG_fail
;
17077 resultobj
= SWIG_Py_Void();
17084 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17085 PyObject
*resultobj
= 0;
17086 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17087 unsigned int arg2
;
17091 unsigned int val2
;
17093 PyObject
* obj0
= 0 ;
17094 PyObject
* obj1
= 0 ;
17095 char * kwnames
[] = {
17096 (char *) "self",(char *) "n", NULL
17099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17101 if (!SWIG_IsOK(res1
)) {
17102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17104 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17105 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17106 if (!SWIG_IsOK(ecode2
)) {
17107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
17109 arg2
= static_cast< unsigned int >(val2
);
17111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17112 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
17113 wxPyEndAllowThreads(__tstate
);
17114 if (PyErr_Occurred()) SWIG_fail
;
17117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17125 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17126 PyObject
*resultobj
= 0;
17127 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17128 unsigned int arg2
;
17132 unsigned int val2
;
17134 PyObject
* obj0
= 0 ;
17135 PyObject
* obj1
= 0 ;
17136 char * kwnames
[] = {
17137 (char *) "self",(char *) "n", NULL
17140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17142 if (!SWIG_IsOK(res1
)) {
17143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17145 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17146 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17147 if (!SWIG_IsOK(ecode2
)) {
17148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
17150 arg2
= static_cast< unsigned int >(val2
);
17152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17153 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
17154 wxPyEndAllowThreads(__tstate
);
17155 if (PyErr_Occurred()) SWIG_fail
;
17158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17166 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17167 PyObject
*resultobj
= 0;
17168 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17169 unsigned int result
;
17172 PyObject
*swig_obj
[1] ;
17174 if (!args
) SWIG_fail
;
17175 swig_obj
[0] = args
;
17176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17177 if (!SWIG_IsOK(res1
)) {
17178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17180 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17183 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
17184 wxPyEndAllowThreads(__tstate
);
17185 if (PyErr_Occurred()) SWIG_fail
;
17187 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
17194 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17195 PyObject
*resultobj
= 0;
17196 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17197 unsigned int result
;
17200 PyObject
*swig_obj
[1] ;
17202 if (!args
) SWIG_fail
;
17203 swig_obj
[0] = args
;
17204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17205 if (!SWIG_IsOK(res1
)) {
17206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17208 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17211 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
17212 wxPyEndAllowThreads(__tstate
);
17213 if (PyErr_Occurred()) SWIG_fail
;
17215 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
17222 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17223 PyObject
*resultobj
= 0;
17224 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17237 PyObject
* obj0
= 0 ;
17238 PyObject
* obj1
= 0 ;
17239 PyObject
* obj2
= 0 ;
17240 PyObject
* obj3
= 0 ;
17241 char * kwnames
[] = {
17242 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
17245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17247 if (!SWIG_IsOK(res1
)) {
17248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17250 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17251 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17252 if (!SWIG_IsOK(ecode2
)) {
17253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
17255 arg2
= static_cast< int >(val2
);
17256 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17257 if (!SWIG_IsOK(ecode3
)) {
17258 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
17260 arg3
= static_cast< wxDirection
>(val3
);
17261 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
17262 if (!SWIG_IsOK(ecode4
)) {
17263 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
17265 arg4
= static_cast< long >(val4
);
17267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17268 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
17269 wxPyEndAllowThreads(__tstate
);
17270 if (PyErr_Occurred()) SWIG_fail
;
17272 resultobj
= SWIG_From_int(static_cast< int >(result
));
17279 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17280 PyObject
*resultobj
= 0;
17281 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17282 unsigned int arg2
;
17283 wxString
*arg3
= 0 ;
17286 unsigned int val2
;
17288 bool temp3
= false ;
17289 PyObject
* obj0
= 0 ;
17290 PyObject
* obj1
= 0 ;
17291 PyObject
* obj2
= 0 ;
17292 char * kwnames
[] = {
17293 (char *) "self",(char *) "item",(char *) "text", NULL
17296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17298 if (!SWIG_IsOK(res1
)) {
17299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17301 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17302 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17303 if (!SWIG_IsOK(ecode2
)) {
17304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17306 arg2
= static_cast< unsigned int >(val2
);
17308 arg3
= wxString_in_helper(obj2
);
17309 if (arg3
== NULL
) SWIG_fail
;
17313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17314 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
17315 wxPyEndAllowThreads(__tstate
);
17316 if (PyErr_Occurred()) SWIG_fail
;
17318 resultobj
= SWIG_Py_Void();
17333 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17334 PyObject
*resultobj
= 0;
17335 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17336 unsigned int arg2
;
17337 wxToolTip
*result
= 0 ;
17340 unsigned int val2
;
17342 PyObject
* obj0
= 0 ;
17343 PyObject
* obj1
= 0 ;
17344 char * kwnames
[] = {
17345 (char *) "self",(char *) "item", NULL
17348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17350 if (!SWIG_IsOK(res1
)) {
17351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17353 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17354 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17355 if (!SWIG_IsOK(ecode2
)) {
17356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17358 arg2
= static_cast< unsigned int >(val2
);
17360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17361 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
17362 wxPyEndAllowThreads(__tstate
);
17363 if (PyErr_Occurred()) SWIG_fail
;
17366 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17374 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17375 PyObject
*resultobj
= 0;
17376 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17377 unsigned int arg2
;
17378 wxString
*arg3
= 0 ;
17381 unsigned int val2
;
17383 bool temp3
= false ;
17384 PyObject
* obj0
= 0 ;
17385 PyObject
* obj1
= 0 ;
17386 PyObject
* obj2
= 0 ;
17387 char * kwnames
[] = {
17388 (char *) "self",(char *) "n",(char *) "helpText", NULL
17391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17393 if (!SWIG_IsOK(res1
)) {
17394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17396 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17397 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17398 if (!SWIG_IsOK(ecode2
)) {
17399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17401 arg2
= static_cast< unsigned int >(val2
);
17403 arg3
= wxString_in_helper(obj2
);
17404 if (arg3
== NULL
) SWIG_fail
;
17408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17409 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
17410 wxPyEndAllowThreads(__tstate
);
17411 if (PyErr_Occurred()) SWIG_fail
;
17413 resultobj
= SWIG_Py_Void();
17428 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17429 PyObject
*resultobj
= 0;
17430 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17431 unsigned int arg2
;
17435 unsigned int val2
;
17437 PyObject
* obj0
= 0 ;
17438 PyObject
* obj1
= 0 ;
17439 char * kwnames
[] = {
17440 (char *) "self",(char *) "n", NULL
17443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17445 if (!SWIG_IsOK(res1
)) {
17446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17448 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17449 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17450 if (!SWIG_IsOK(ecode2
)) {
17451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17453 arg2
= static_cast< unsigned int >(val2
);
17455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17456 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17457 wxPyEndAllowThreads(__tstate
);
17458 if (PyErr_Occurred()) SWIG_fail
;
17462 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17464 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17473 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17474 PyObject
*resultobj
= 0;
17475 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17476 SwigValueWrapper
<wxVisualAttributes
> result
;
17479 PyObject
* obj0
= 0 ;
17480 char * kwnames
[] = {
17481 (char *) "variant", NULL
17484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17486 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17487 if (!SWIG_IsOK(ecode1
)) {
17488 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17490 arg1
= static_cast< wxWindowVariant
>(val1
);
17493 if (!wxPyCheckForApp()) SWIG_fail
;
17494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17495 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17496 wxPyEndAllowThreads(__tstate
);
17497 if (PyErr_Occurred()) SWIG_fail
;
17499 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17506 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17508 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17509 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17510 return SWIG_Py_Void();
17513 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17514 return SWIG_Python_InitShadowInstance(args
);
17517 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17518 PyObject
*resultobj
= 0;
17519 wxWindow
*arg1
= (wxWindow
*) 0 ;
17520 int arg2
= (int) -1 ;
17521 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17522 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17523 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17524 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17525 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17526 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17527 long arg6
= (long) 0 ;
17528 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17529 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17530 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17531 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17532 wxRadioButton
*result
= 0 ;
17537 bool temp3
= false ;
17544 bool temp8
= false ;
17545 PyObject
* obj0
= 0 ;
17546 PyObject
* obj1
= 0 ;
17547 PyObject
* obj2
= 0 ;
17548 PyObject
* obj3
= 0 ;
17549 PyObject
* obj4
= 0 ;
17550 PyObject
* obj5
= 0 ;
17551 PyObject
* obj6
= 0 ;
17552 PyObject
* obj7
= 0 ;
17553 char * kwnames
[] = {
17554 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17559 if (!SWIG_IsOK(res1
)) {
17560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17562 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17564 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17565 if (!SWIG_IsOK(ecode2
)) {
17566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17568 arg2
= static_cast< int >(val2
);
17572 arg3
= wxString_in_helper(obj2
);
17573 if (arg3
== NULL
) SWIG_fail
;
17580 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17586 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17590 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17591 if (!SWIG_IsOK(ecode6
)) {
17592 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17594 arg6
= static_cast< long >(val6
);
17597 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17598 if (!SWIG_IsOK(res7
)) {
17599 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17602 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17604 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17608 arg8
= wxString_in_helper(obj7
);
17609 if (arg8
== NULL
) SWIG_fail
;
17614 if (!wxPyCheckForApp()) SWIG_fail
;
17615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17616 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17617 wxPyEndAllowThreads(__tstate
);
17618 if (PyErr_Occurred()) SWIG_fail
;
17620 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17643 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17644 PyObject
*resultobj
= 0;
17645 wxRadioButton
*result
= 0 ;
17647 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17649 if (!wxPyCheckForApp()) SWIG_fail
;
17650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17651 result
= (wxRadioButton
*)new wxRadioButton();
17652 wxPyEndAllowThreads(__tstate
);
17653 if (PyErr_Occurred()) SWIG_fail
;
17655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17662 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17663 PyObject
*resultobj
= 0;
17664 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17665 wxWindow
*arg2
= (wxWindow
*) 0 ;
17666 int arg3
= (int) -1 ;
17667 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17668 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17669 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17670 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17671 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17672 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17673 long arg7
= (long) 0 ;
17674 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17675 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17676 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17677 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17685 bool temp4
= false ;
17692 bool temp9
= false ;
17693 PyObject
* obj0
= 0 ;
17694 PyObject
* obj1
= 0 ;
17695 PyObject
* obj2
= 0 ;
17696 PyObject
* obj3
= 0 ;
17697 PyObject
* obj4
= 0 ;
17698 PyObject
* obj5
= 0 ;
17699 PyObject
* obj6
= 0 ;
17700 PyObject
* obj7
= 0 ;
17701 PyObject
* obj8
= 0 ;
17702 char * kwnames
[] = {
17703 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17708 if (!SWIG_IsOK(res1
)) {
17709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17711 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17712 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17713 if (!SWIG_IsOK(res2
)) {
17714 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17716 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17718 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17719 if (!SWIG_IsOK(ecode3
)) {
17720 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17722 arg3
= static_cast< int >(val3
);
17726 arg4
= wxString_in_helper(obj3
);
17727 if (arg4
== NULL
) SWIG_fail
;
17734 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17740 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17744 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17745 if (!SWIG_IsOK(ecode7
)) {
17746 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17748 arg7
= static_cast< long >(val7
);
17751 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17752 if (!SWIG_IsOK(res8
)) {
17753 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17756 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17758 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17762 arg9
= wxString_in_helper(obj8
);
17763 if (arg9
== NULL
) SWIG_fail
;
17768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17769 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17770 wxPyEndAllowThreads(__tstate
);
17771 if (PyErr_Occurred()) SWIG_fail
;
17774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17798 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17799 PyObject
*resultobj
= 0;
17800 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17804 PyObject
*swig_obj
[1] ;
17806 if (!args
) SWIG_fail
;
17807 swig_obj
[0] = args
;
17808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17809 if (!SWIG_IsOK(res1
)) {
17810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17812 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17815 result
= (bool)(arg1
)->GetValue();
17816 wxPyEndAllowThreads(__tstate
);
17817 if (PyErr_Occurred()) SWIG_fail
;
17820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17828 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17829 PyObject
*resultobj
= 0;
17830 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17836 PyObject
* obj0
= 0 ;
17837 PyObject
* obj1
= 0 ;
17838 char * kwnames
[] = {
17839 (char *) "self",(char *) "value", NULL
17842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17844 if (!SWIG_IsOK(res1
)) {
17845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17847 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17848 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17849 if (!SWIG_IsOK(ecode2
)) {
17850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17852 arg2
= static_cast< bool >(val2
);
17854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17855 (arg1
)->SetValue(arg2
);
17856 wxPyEndAllowThreads(__tstate
);
17857 if (PyErr_Occurred()) SWIG_fail
;
17859 resultobj
= SWIG_Py_Void();
17866 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17867 PyObject
*resultobj
= 0;
17868 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17869 SwigValueWrapper
<wxVisualAttributes
> result
;
17872 PyObject
* obj0
= 0 ;
17873 char * kwnames
[] = {
17874 (char *) "variant", NULL
17877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17879 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17880 if (!SWIG_IsOK(ecode1
)) {
17881 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17883 arg1
= static_cast< wxWindowVariant
>(val1
);
17886 if (!wxPyCheckForApp()) SWIG_fail
;
17887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17888 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17889 wxPyEndAllowThreads(__tstate
);
17890 if (PyErr_Occurred()) SWIG_fail
;
17892 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17899 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17901 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17902 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17903 return SWIG_Py_Void();
17906 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17907 return SWIG_Python_InitShadowInstance(args
);
17910 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17911 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17916 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17917 PyObject
*pyobj
= 0;
17921 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17923 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17930 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17931 PyObject
*resultobj
= 0;
17932 wxWindow
*arg1
= (wxWindow
*) 0 ;
17933 int arg2
= (int) -1 ;
17934 int arg3
= (int) 0 ;
17935 int arg4
= (int) 0 ;
17936 int arg5
= (int) 100 ;
17937 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17938 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17939 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17940 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17941 long arg8
= (long) wxSL_HORIZONTAL
;
17942 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17943 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17944 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17945 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17946 wxSlider
*result
= 0 ;
17963 bool temp10
= false ;
17964 PyObject
* obj0
= 0 ;
17965 PyObject
* obj1
= 0 ;
17966 PyObject
* obj2
= 0 ;
17967 PyObject
* obj3
= 0 ;
17968 PyObject
* obj4
= 0 ;
17969 PyObject
* obj5
= 0 ;
17970 PyObject
* obj6
= 0 ;
17971 PyObject
* obj7
= 0 ;
17972 PyObject
* obj8
= 0 ;
17973 PyObject
* obj9
= 0 ;
17974 char * kwnames
[] = {
17975 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17980 if (!SWIG_IsOK(res1
)) {
17981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17983 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17985 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17986 if (!SWIG_IsOK(ecode2
)) {
17987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17989 arg2
= static_cast< int >(val2
);
17992 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17993 if (!SWIG_IsOK(ecode3
)) {
17994 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17996 arg3
= static_cast< int >(val3
);
17999 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18000 if (!SWIG_IsOK(ecode4
)) {
18001 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
18003 arg4
= static_cast< int >(val4
);
18006 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18007 if (!SWIG_IsOK(ecode5
)) {
18008 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
18010 arg5
= static_cast< int >(val5
);
18015 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18021 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
18025 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
18026 if (!SWIG_IsOK(ecode8
)) {
18027 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
18029 arg8
= static_cast< long >(val8
);
18032 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
18033 if (!SWIG_IsOK(res9
)) {
18034 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
18037 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
18039 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
18043 arg10
= wxString_in_helper(obj9
);
18044 if (arg10
== NULL
) SWIG_fail
;
18049 if (!wxPyCheckForApp()) SWIG_fail
;
18050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18051 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
18052 wxPyEndAllowThreads(__tstate
);
18053 if (PyErr_Occurred()) SWIG_fail
;
18055 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
18070 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18071 PyObject
*resultobj
= 0;
18072 wxSlider
*result
= 0 ;
18074 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
18076 if (!wxPyCheckForApp()) SWIG_fail
;
18077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18078 result
= (wxSlider
*)new wxSlider();
18079 wxPyEndAllowThreads(__tstate
);
18080 if (PyErr_Occurred()) SWIG_fail
;
18082 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
18089 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18090 PyObject
*resultobj
= 0;
18091 wxSlider
*arg1
= (wxSlider
*) 0 ;
18092 wxWindow
*arg2
= (wxWindow
*) 0 ;
18093 int arg3
= (int) -1 ;
18094 int arg4
= (int) 0 ;
18095 int arg5
= (int) 0 ;
18096 int arg6
= (int) 100 ;
18097 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
18098 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
18099 wxSize
const &arg8_defvalue
= wxDefaultSize
;
18100 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
18101 long arg9
= (long) wxSL_HORIZONTAL
;
18102 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
18103 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
18104 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
18105 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
18125 bool temp11
= false ;
18126 PyObject
* obj0
= 0 ;
18127 PyObject
* obj1
= 0 ;
18128 PyObject
* obj2
= 0 ;
18129 PyObject
* obj3
= 0 ;
18130 PyObject
* obj4
= 0 ;
18131 PyObject
* obj5
= 0 ;
18132 PyObject
* obj6
= 0 ;
18133 PyObject
* obj7
= 0 ;
18134 PyObject
* obj8
= 0 ;
18135 PyObject
* obj9
= 0 ;
18136 PyObject
* obj10
= 0 ;
18137 char * kwnames
[] = {
18138 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
18142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18143 if (!SWIG_IsOK(res1
)) {
18144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
18146 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18147 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18148 if (!SWIG_IsOK(res2
)) {
18149 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18151 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18153 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18154 if (!SWIG_IsOK(ecode3
)) {
18155 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
18157 arg3
= static_cast< int >(val3
);
18160 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18161 if (!SWIG_IsOK(ecode4
)) {
18162 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
18164 arg4
= static_cast< int >(val4
);
18167 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18168 if (!SWIG_IsOK(ecode5
)) {
18169 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
18171 arg5
= static_cast< int >(val5
);
18174 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18175 if (!SWIG_IsOK(ecode6
)) {
18176 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
18178 arg6
= static_cast< int >(val6
);
18183 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
18189 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
18193 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
18194 if (!SWIG_IsOK(ecode9
)) {
18195 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
18197 arg9
= static_cast< long >(val9
);
18200 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
18201 if (!SWIG_IsOK(res10
)) {
18202 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18205 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18207 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
18211 arg11
= wxString_in_helper(obj10
);
18212 if (arg11
== NULL
) SWIG_fail
;
18217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18218 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
18219 wxPyEndAllowThreads(__tstate
);
18220 if (PyErr_Occurred()) SWIG_fail
;
18223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18239 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18240 PyObject
*resultobj
= 0;
18241 wxSlider
*arg1
= (wxSlider
*) 0 ;
18245 PyObject
*swig_obj
[1] ;
18247 if (!args
) SWIG_fail
;
18248 swig_obj
[0] = args
;
18249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18250 if (!SWIG_IsOK(res1
)) {
18251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
18253 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18256 result
= (int)((wxSlider
const *)arg1
)->GetValue();
18257 wxPyEndAllowThreads(__tstate
);
18258 if (PyErr_Occurred()) SWIG_fail
;
18260 resultobj
= SWIG_From_int(static_cast< int >(result
));
18267 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18268 PyObject
*resultobj
= 0;
18269 wxSlider
*arg1
= (wxSlider
*) 0 ;
18275 PyObject
* obj0
= 0 ;
18276 PyObject
* obj1
= 0 ;
18277 char * kwnames
[] = {
18278 (char *) "self",(char *) "value", NULL
18281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18283 if (!SWIG_IsOK(res1
)) {
18284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
18286 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18287 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18288 if (!SWIG_IsOK(ecode2
)) {
18289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
18291 arg2
= static_cast< int >(val2
);
18293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18294 (arg1
)->SetValue(arg2
);
18295 wxPyEndAllowThreads(__tstate
);
18296 if (PyErr_Occurred()) SWIG_fail
;
18298 resultobj
= SWIG_Py_Void();
18305 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18306 PyObject
*resultobj
= 0;
18307 wxSlider
*arg1
= (wxSlider
*) 0 ;
18316 PyObject
* obj0
= 0 ;
18317 PyObject
* obj1
= 0 ;
18318 PyObject
* obj2
= 0 ;
18319 char * kwnames
[] = {
18320 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18325 if (!SWIG_IsOK(res1
)) {
18326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18328 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18329 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18330 if (!SWIG_IsOK(ecode2
)) {
18331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18333 arg2
= static_cast< int >(val2
);
18334 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18335 if (!SWIG_IsOK(ecode3
)) {
18336 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18338 arg3
= static_cast< int >(val3
);
18340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18341 (arg1
)->SetRange(arg2
,arg3
);
18342 wxPyEndAllowThreads(__tstate
);
18343 if (PyErr_Occurred()) SWIG_fail
;
18345 resultobj
= SWIG_Py_Void();
18352 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18353 PyObject
*resultobj
= 0;
18354 wxSlider
*arg1
= (wxSlider
*) 0 ;
18358 PyObject
*swig_obj
[1] ;
18360 if (!args
) SWIG_fail
;
18361 swig_obj
[0] = args
;
18362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18363 if (!SWIG_IsOK(res1
)) {
18364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18366 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18369 result
= (int)((wxSlider
const *)arg1
)->GetMin();
18370 wxPyEndAllowThreads(__tstate
);
18371 if (PyErr_Occurred()) SWIG_fail
;
18373 resultobj
= SWIG_From_int(static_cast< int >(result
));
18380 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18381 PyObject
*resultobj
= 0;
18382 wxSlider
*arg1
= (wxSlider
*) 0 ;
18386 PyObject
*swig_obj
[1] ;
18388 if (!args
) SWIG_fail
;
18389 swig_obj
[0] = args
;
18390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18391 if (!SWIG_IsOK(res1
)) {
18392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18394 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18397 result
= (int)((wxSlider
const *)arg1
)->GetMax();
18398 wxPyEndAllowThreads(__tstate
);
18399 if (PyErr_Occurred()) SWIG_fail
;
18401 resultobj
= SWIG_From_int(static_cast< int >(result
));
18408 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18409 PyObject
*resultobj
= 0;
18410 wxSlider
*arg1
= (wxSlider
*) 0 ;
18416 PyObject
* obj0
= 0 ;
18417 PyObject
* obj1
= 0 ;
18418 char * kwnames
[] = {
18419 (char *) "self",(char *) "minValue", NULL
18422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18424 if (!SWIG_IsOK(res1
)) {
18425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18427 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18428 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18429 if (!SWIG_IsOK(ecode2
)) {
18430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18432 arg2
= static_cast< int >(val2
);
18434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18435 (arg1
)->SetMin(arg2
);
18436 wxPyEndAllowThreads(__tstate
);
18437 if (PyErr_Occurred()) SWIG_fail
;
18439 resultobj
= SWIG_Py_Void();
18446 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18447 PyObject
*resultobj
= 0;
18448 wxSlider
*arg1
= (wxSlider
*) 0 ;
18454 PyObject
* obj0
= 0 ;
18455 PyObject
* obj1
= 0 ;
18456 char * kwnames
[] = {
18457 (char *) "self",(char *) "maxValue", NULL
18460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18462 if (!SWIG_IsOK(res1
)) {
18463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18465 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18467 if (!SWIG_IsOK(ecode2
)) {
18468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18470 arg2
= static_cast< int >(val2
);
18472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18473 (arg1
)->SetMax(arg2
);
18474 wxPyEndAllowThreads(__tstate
);
18475 if (PyErr_Occurred()) SWIG_fail
;
18477 resultobj
= SWIG_Py_Void();
18484 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18485 PyObject
*resultobj
= 0;
18486 wxSlider
*arg1
= (wxSlider
*) 0 ;
18492 PyObject
* obj0
= 0 ;
18493 PyObject
* obj1
= 0 ;
18494 char * kwnames
[] = {
18495 (char *) "self",(char *) "lineSize", NULL
18498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18500 if (!SWIG_IsOK(res1
)) {
18501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18503 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18505 if (!SWIG_IsOK(ecode2
)) {
18506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18508 arg2
= static_cast< int >(val2
);
18510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18511 (arg1
)->SetLineSize(arg2
);
18512 wxPyEndAllowThreads(__tstate
);
18513 if (PyErr_Occurred()) SWIG_fail
;
18515 resultobj
= SWIG_Py_Void();
18522 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18523 PyObject
*resultobj
= 0;
18524 wxSlider
*arg1
= (wxSlider
*) 0 ;
18530 PyObject
* obj0
= 0 ;
18531 PyObject
* obj1
= 0 ;
18532 char * kwnames
[] = {
18533 (char *) "self",(char *) "pageSize", NULL
18536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18538 if (!SWIG_IsOK(res1
)) {
18539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18541 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18542 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18543 if (!SWIG_IsOK(ecode2
)) {
18544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18546 arg2
= static_cast< int >(val2
);
18548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18549 (arg1
)->SetPageSize(arg2
);
18550 wxPyEndAllowThreads(__tstate
);
18551 if (PyErr_Occurred()) SWIG_fail
;
18553 resultobj
= SWIG_Py_Void();
18560 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18561 PyObject
*resultobj
= 0;
18562 wxSlider
*arg1
= (wxSlider
*) 0 ;
18566 PyObject
*swig_obj
[1] ;
18568 if (!args
) SWIG_fail
;
18569 swig_obj
[0] = args
;
18570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18571 if (!SWIG_IsOK(res1
)) {
18572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18574 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18577 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18578 wxPyEndAllowThreads(__tstate
);
18579 if (PyErr_Occurred()) SWIG_fail
;
18581 resultobj
= SWIG_From_int(static_cast< int >(result
));
18588 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18589 PyObject
*resultobj
= 0;
18590 wxSlider
*arg1
= (wxSlider
*) 0 ;
18594 PyObject
*swig_obj
[1] ;
18596 if (!args
) SWIG_fail
;
18597 swig_obj
[0] = args
;
18598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18599 if (!SWIG_IsOK(res1
)) {
18600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18602 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18605 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18606 wxPyEndAllowThreads(__tstate
);
18607 if (PyErr_Occurred()) SWIG_fail
;
18609 resultobj
= SWIG_From_int(static_cast< int >(result
));
18616 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18617 PyObject
*resultobj
= 0;
18618 wxSlider
*arg1
= (wxSlider
*) 0 ;
18624 PyObject
* obj0
= 0 ;
18625 PyObject
* obj1
= 0 ;
18626 char * kwnames
[] = {
18627 (char *) "self",(char *) "lenPixels", NULL
18630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18632 if (!SWIG_IsOK(res1
)) {
18633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18635 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18636 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18637 if (!SWIG_IsOK(ecode2
)) {
18638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18640 arg2
= static_cast< int >(val2
);
18642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18643 (arg1
)->SetThumbLength(arg2
);
18644 wxPyEndAllowThreads(__tstate
);
18645 if (PyErr_Occurred()) SWIG_fail
;
18647 resultobj
= SWIG_Py_Void();
18654 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18655 PyObject
*resultobj
= 0;
18656 wxSlider
*arg1
= (wxSlider
*) 0 ;
18660 PyObject
*swig_obj
[1] ;
18662 if (!args
) SWIG_fail
;
18663 swig_obj
[0] = args
;
18664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18665 if (!SWIG_IsOK(res1
)) {
18666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18668 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18671 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18672 wxPyEndAllowThreads(__tstate
);
18673 if (PyErr_Occurred()) SWIG_fail
;
18675 resultobj
= SWIG_From_int(static_cast< int >(result
));
18682 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18683 PyObject
*resultobj
= 0;
18684 wxSlider
*arg1
= (wxSlider
*) 0 ;
18686 int arg3
= (int) 1 ;
18693 PyObject
* obj0
= 0 ;
18694 PyObject
* obj1
= 0 ;
18695 PyObject
* obj2
= 0 ;
18696 char * kwnames
[] = {
18697 (char *) "self",(char *) "n",(char *) "pos", NULL
18700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18702 if (!SWIG_IsOK(res1
)) {
18703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18705 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18706 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18707 if (!SWIG_IsOK(ecode2
)) {
18708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18710 arg2
= static_cast< int >(val2
);
18712 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18713 if (!SWIG_IsOK(ecode3
)) {
18714 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18716 arg3
= static_cast< int >(val3
);
18719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18720 (arg1
)->SetTickFreq(arg2
,arg3
);
18721 wxPyEndAllowThreads(__tstate
);
18722 if (PyErr_Occurred()) SWIG_fail
;
18724 resultobj
= SWIG_Py_Void();
18731 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(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_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18745 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18748 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18749 wxPyEndAllowThreads(__tstate
);
18750 if (PyErr_Occurred()) SWIG_fail
;
18752 resultobj
= SWIG_From_int(static_cast< int >(result
));
18759 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18760 PyObject
*resultobj
= 0;
18761 wxSlider
*arg1
= (wxSlider
*) 0 ;
18764 PyObject
*swig_obj
[1] ;
18766 if (!args
) SWIG_fail
;
18767 swig_obj
[0] = args
;
18768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18769 if (!SWIG_IsOK(res1
)) {
18770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18772 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18775 (arg1
)->ClearTicks();
18776 wxPyEndAllowThreads(__tstate
);
18777 if (PyErr_Occurred()) SWIG_fail
;
18779 resultobj
= SWIG_Py_Void();
18786 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18787 PyObject
*resultobj
= 0;
18788 wxSlider
*arg1
= (wxSlider
*) 0 ;
18794 PyObject
* obj0
= 0 ;
18795 PyObject
* obj1
= 0 ;
18796 char * kwnames
[] = {
18797 (char *) "self",(char *) "tickPos", NULL
18800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18802 if (!SWIG_IsOK(res1
)) {
18803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18805 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18806 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18807 if (!SWIG_IsOK(ecode2
)) {
18808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18810 arg2
= static_cast< int >(val2
);
18812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18813 (arg1
)->SetTick(arg2
);
18814 wxPyEndAllowThreads(__tstate
);
18815 if (PyErr_Occurred()) SWIG_fail
;
18817 resultobj
= SWIG_Py_Void();
18824 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18825 PyObject
*resultobj
= 0;
18826 wxSlider
*arg1
= (wxSlider
*) 0 ;
18829 PyObject
*swig_obj
[1] ;
18831 if (!args
) SWIG_fail
;
18832 swig_obj
[0] = args
;
18833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18834 if (!SWIG_IsOK(res1
)) {
18835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18837 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18840 (arg1
)->ClearSel();
18841 wxPyEndAllowThreads(__tstate
);
18842 if (PyErr_Occurred()) SWIG_fail
;
18844 resultobj
= SWIG_Py_Void();
18851 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18852 PyObject
*resultobj
= 0;
18853 wxSlider
*arg1
= (wxSlider
*) 0 ;
18857 PyObject
*swig_obj
[1] ;
18859 if (!args
) SWIG_fail
;
18860 swig_obj
[0] = args
;
18861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18862 if (!SWIG_IsOK(res1
)) {
18863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18865 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18868 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18869 wxPyEndAllowThreads(__tstate
);
18870 if (PyErr_Occurred()) SWIG_fail
;
18872 resultobj
= SWIG_From_int(static_cast< int >(result
));
18879 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18880 PyObject
*resultobj
= 0;
18881 wxSlider
*arg1
= (wxSlider
*) 0 ;
18885 PyObject
*swig_obj
[1] ;
18887 if (!args
) SWIG_fail
;
18888 swig_obj
[0] = args
;
18889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18890 if (!SWIG_IsOK(res1
)) {
18891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18893 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18896 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18897 wxPyEndAllowThreads(__tstate
);
18898 if (PyErr_Occurred()) SWIG_fail
;
18900 resultobj
= SWIG_From_int(static_cast< int >(result
));
18907 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18908 PyObject
*resultobj
= 0;
18909 wxSlider
*arg1
= (wxSlider
*) 0 ;
18918 PyObject
* obj0
= 0 ;
18919 PyObject
* obj1
= 0 ;
18920 PyObject
* obj2
= 0 ;
18921 char * kwnames
[] = {
18922 (char *) "self",(char *) "min",(char *) "max", NULL
18925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18927 if (!SWIG_IsOK(res1
)) {
18928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18930 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18932 if (!SWIG_IsOK(ecode2
)) {
18933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18935 arg2
= static_cast< int >(val2
);
18936 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18937 if (!SWIG_IsOK(ecode3
)) {
18938 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18940 arg3
= static_cast< int >(val3
);
18942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18943 (arg1
)->SetSelection(arg2
,arg3
);
18944 wxPyEndAllowThreads(__tstate
);
18945 if (PyErr_Occurred()) SWIG_fail
;
18947 resultobj
= SWIG_Py_Void();
18954 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18955 PyObject
*resultobj
= 0;
18956 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18957 SwigValueWrapper
<wxVisualAttributes
> result
;
18960 PyObject
* obj0
= 0 ;
18961 char * kwnames
[] = {
18962 (char *) "variant", NULL
18965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18967 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18968 if (!SWIG_IsOK(ecode1
)) {
18969 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18971 arg1
= static_cast< wxWindowVariant
>(val1
);
18974 if (!wxPyCheckForApp()) SWIG_fail
;
18975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18976 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18977 wxPyEndAllowThreads(__tstate
);
18978 if (PyErr_Occurred()) SWIG_fail
;
18980 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18987 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18989 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18990 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18991 return SWIG_Py_Void();
18994 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18995 return SWIG_Python_InitShadowInstance(args
);
18998 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18999 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
19004 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
19005 PyObject
*pyobj
= 0;
19009 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
19011 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
19018 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19019 PyObject
*resultobj
= 0;
19020 wxWindow
*arg1
= (wxWindow
*) 0 ;
19021 int arg2
= (int) -1 ;
19022 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19023 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19024 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19025 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19026 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19027 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19028 long arg6
= (long) 0 ;
19029 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
19030 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
19031 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
19032 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19033 wxToggleButton
*result
= 0 ;
19038 bool temp3
= false ;
19045 bool temp8
= false ;
19046 PyObject
* obj0
= 0 ;
19047 PyObject
* obj1
= 0 ;
19048 PyObject
* obj2
= 0 ;
19049 PyObject
* obj3
= 0 ;
19050 PyObject
* obj4
= 0 ;
19051 PyObject
* obj5
= 0 ;
19052 PyObject
* obj6
= 0 ;
19053 PyObject
* obj7
= 0 ;
19054 char * kwnames
[] = {
19055 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19060 if (!SWIG_IsOK(res1
)) {
19061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
19063 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19065 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19066 if (!SWIG_IsOK(ecode2
)) {
19067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
19069 arg2
= static_cast< int >(val2
);
19073 arg3
= wxString_in_helper(obj2
);
19074 if (arg3
== NULL
) SWIG_fail
;
19081 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19087 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19091 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
19092 if (!SWIG_IsOK(ecode6
)) {
19093 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
19095 arg6
= static_cast< long >(val6
);
19098 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
19099 if (!SWIG_IsOK(res7
)) {
19100 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
19103 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
19105 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
19109 arg8
= wxString_in_helper(obj7
);
19110 if (arg8
== NULL
) SWIG_fail
;
19115 if (!wxPyCheckForApp()) SWIG_fail
;
19116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19117 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
19118 wxPyEndAllowThreads(__tstate
);
19119 if (PyErr_Occurred()) SWIG_fail
;
19121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
19144 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19145 PyObject
*resultobj
= 0;
19146 wxToggleButton
*result
= 0 ;
19148 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
19150 if (!wxPyCheckForApp()) SWIG_fail
;
19151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19152 result
= (wxToggleButton
*)new wxToggleButton();
19153 wxPyEndAllowThreads(__tstate
);
19154 if (PyErr_Occurred()) SWIG_fail
;
19156 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
19163 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19164 PyObject
*resultobj
= 0;
19165 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19166 wxWindow
*arg2
= (wxWindow
*) 0 ;
19167 int arg3
= (int) -1 ;
19168 wxString
const &arg4_defvalue
= wxPyEmptyString
;
19169 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
19170 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19171 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19172 wxSize
const &arg6_defvalue
= wxDefaultSize
;
19173 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
19174 long arg7
= (long) 0 ;
19175 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
19176 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
19177 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
19178 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
19186 bool temp4
= false ;
19193 bool temp9
= false ;
19194 PyObject
* obj0
= 0 ;
19195 PyObject
* obj1
= 0 ;
19196 PyObject
* obj2
= 0 ;
19197 PyObject
* obj3
= 0 ;
19198 PyObject
* obj4
= 0 ;
19199 PyObject
* obj5
= 0 ;
19200 PyObject
* obj6
= 0 ;
19201 PyObject
* obj7
= 0 ;
19202 PyObject
* obj8
= 0 ;
19203 char * kwnames
[] = {
19204 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
19208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19209 if (!SWIG_IsOK(res1
)) {
19210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19212 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19213 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19214 if (!SWIG_IsOK(res2
)) {
19215 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19217 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19219 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19220 if (!SWIG_IsOK(ecode3
)) {
19221 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
19223 arg3
= static_cast< int >(val3
);
19227 arg4
= wxString_in_helper(obj3
);
19228 if (arg4
== NULL
) SWIG_fail
;
19235 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19241 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
19245 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
19246 if (!SWIG_IsOK(ecode7
)) {
19247 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
19249 arg7
= static_cast< long >(val7
);
19252 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
19253 if (!SWIG_IsOK(res8
)) {
19254 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19257 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19259 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
19263 arg9
= wxString_in_helper(obj8
);
19264 if (arg9
== NULL
) SWIG_fail
;
19269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19270 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
19271 wxPyEndAllowThreads(__tstate
);
19272 if (PyErr_Occurred()) SWIG_fail
;
19275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19299 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19300 PyObject
*resultobj
= 0;
19301 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19307 PyObject
* obj0
= 0 ;
19308 PyObject
* obj1
= 0 ;
19309 char * kwnames
[] = {
19310 (char *) "self",(char *) "value", NULL
19313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19315 if (!SWIG_IsOK(res1
)) {
19316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19318 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19319 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19320 if (!SWIG_IsOK(ecode2
)) {
19321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19323 arg2
= static_cast< bool >(val2
);
19325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19326 (arg1
)->SetValue(arg2
);
19327 wxPyEndAllowThreads(__tstate
);
19328 if (PyErr_Occurred()) SWIG_fail
;
19330 resultobj
= SWIG_Py_Void();
19337 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19338 PyObject
*resultobj
= 0;
19339 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19343 PyObject
*swig_obj
[1] ;
19345 if (!args
) SWIG_fail
;
19346 swig_obj
[0] = args
;
19347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19348 if (!SWIG_IsOK(res1
)) {
19349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19351 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19354 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
19355 wxPyEndAllowThreads(__tstate
);
19356 if (PyErr_Occurred()) SWIG_fail
;
19359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19367 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19368 PyObject
*resultobj
= 0;
19369 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19370 SwigValueWrapper
<wxVisualAttributes
> result
;
19373 PyObject
* obj0
= 0 ;
19374 char * kwnames
[] = {
19375 (char *) "variant", NULL
19378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19380 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19381 if (!SWIG_IsOK(ecode1
)) {
19382 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19384 arg1
= static_cast< wxWindowVariant
>(val1
);
19387 if (!wxPyCheckForApp()) SWIG_fail
;
19388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19389 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
19390 wxPyEndAllowThreads(__tstate
);
19391 if (PyErr_Occurred()) SWIG_fail
;
19393 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19400 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19402 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19403 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
19404 return SWIG_Py_Void();
19407 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19408 return SWIG_Python_InitShadowInstance(args
);
19411 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
19412 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
19417 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
19418 PyObject
*pyobj
= 0;
19422 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19424 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19431 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19432 PyObject
*resultobj
= 0;
19433 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19437 PyObject
*swig_obj
[1] ;
19439 if (!args
) SWIG_fail
;
19440 swig_obj
[0] = args
;
19441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19442 if (!SWIG_IsOK(res1
)) {
19443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19445 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19448 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19449 wxPyEndAllowThreads(__tstate
);
19450 if (PyErr_Occurred()) SWIG_fail
;
19452 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19459 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19460 PyObject
*resultobj
= 0;
19461 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19463 wxWindow
*result
= 0 ;
19468 PyObject
* obj0
= 0 ;
19469 PyObject
* obj1
= 0 ;
19470 char * kwnames
[] = {
19471 (char *) "self",(char *) "n", NULL
19474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19476 if (!SWIG_IsOK(res1
)) {
19477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19479 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19480 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19481 if (!SWIG_IsOK(ecode2
)) {
19482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19484 arg2
= static_cast< size_t >(val2
);
19486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19487 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19488 wxPyEndAllowThreads(__tstate
);
19489 if (PyErr_Occurred()) SWIG_fail
;
19492 resultobj
= wxPyMake_wxObject(result
, 0);
19500 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19501 PyObject
*resultobj
= 0;
19502 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19503 wxWindow
*result
= 0 ;
19506 PyObject
*swig_obj
[1] ;
19508 if (!args
) SWIG_fail
;
19509 swig_obj
[0] = args
;
19510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19511 if (!SWIG_IsOK(res1
)) {
19512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19514 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19517 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19518 wxPyEndAllowThreads(__tstate
);
19519 if (PyErr_Occurred()) SWIG_fail
;
19522 resultobj
= wxPyMake_wxObject(result
, 0);
19530 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19531 PyObject
*resultobj
= 0;
19532 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19536 PyObject
*swig_obj
[1] ;
19538 if (!args
) SWIG_fail
;
19539 swig_obj
[0] = args
;
19540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19541 if (!SWIG_IsOK(res1
)) {
19542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19544 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19547 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19548 wxPyEndAllowThreads(__tstate
);
19549 if (PyErr_Occurred()) SWIG_fail
;
19551 resultobj
= SWIG_From_int(static_cast< int >(result
));
19558 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19559 PyObject
*resultobj
= 0;
19560 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19562 wxString
*arg3
= 0 ;
19568 bool temp3
= false ;
19569 PyObject
* obj0
= 0 ;
19570 PyObject
* obj1
= 0 ;
19571 PyObject
* obj2
= 0 ;
19572 char * kwnames
[] = {
19573 (char *) "self",(char *) "n",(char *) "strText", NULL
19576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19578 if (!SWIG_IsOK(res1
)) {
19579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19581 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19582 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19583 if (!SWIG_IsOK(ecode2
)) {
19584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19586 arg2
= static_cast< size_t >(val2
);
19588 arg3
= wxString_in_helper(obj2
);
19589 if (arg3
== NULL
) SWIG_fail
;
19593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19594 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19595 wxPyEndAllowThreads(__tstate
);
19596 if (PyErr_Occurred()) SWIG_fail
;
19599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19615 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19616 PyObject
*resultobj
= 0;
19617 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19624 PyObject
* obj0
= 0 ;
19625 PyObject
* obj1
= 0 ;
19626 char * kwnames
[] = {
19627 (char *) "self",(char *) "n", NULL
19630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19632 if (!SWIG_IsOK(res1
)) {
19633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19635 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19636 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19637 if (!SWIG_IsOK(ecode2
)) {
19638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19640 arg2
= static_cast< size_t >(val2
);
19642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19643 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19644 wxPyEndAllowThreads(__tstate
);
19645 if (PyErr_Occurred()) SWIG_fail
;
19649 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19651 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19660 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19661 PyObject
*resultobj
= 0;
19662 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19663 wxImageList
*arg2
= (wxImageList
*) 0 ;
19668 PyObject
* obj0
= 0 ;
19669 PyObject
* obj1
= 0 ;
19670 char * kwnames
[] = {
19671 (char *) "self",(char *) "imageList", NULL
19674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19676 if (!SWIG_IsOK(res1
)) {
19677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19679 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19680 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19681 if (!SWIG_IsOK(res2
)) {
19682 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19684 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19687 (arg1
)->SetImageList(arg2
);
19688 wxPyEndAllowThreads(__tstate
);
19689 if (PyErr_Occurred()) SWIG_fail
;
19691 resultobj
= SWIG_Py_Void();
19698 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19699 PyObject
*resultobj
= 0;
19700 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19701 wxImageList
*arg2
= (wxImageList
*) 0 ;
19705 PyObject
* obj0
= 0 ;
19706 PyObject
* obj1
= 0 ;
19707 char * kwnames
[] = {
19708 (char *) "self",(char *) "imageList", NULL
19711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19713 if (!SWIG_IsOK(res1
)) {
19714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19716 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19717 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19718 if (!SWIG_IsOK(res2
)) {
19719 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19723 (arg1
)->AssignImageList(arg2
);
19724 wxPyEndAllowThreads(__tstate
);
19725 if (PyErr_Occurred()) SWIG_fail
;
19727 resultobj
= SWIG_Py_Void();
19734 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19735 PyObject
*resultobj
= 0;
19736 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19737 wxImageList
*result
= 0 ;
19740 PyObject
*swig_obj
[1] ;
19742 if (!args
) SWIG_fail
;
19743 swig_obj
[0] = args
;
19744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19745 if (!SWIG_IsOK(res1
)) {
19746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19748 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19751 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19752 wxPyEndAllowThreads(__tstate
);
19753 if (PyErr_Occurred()) SWIG_fail
;
19756 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19764 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19765 PyObject
*resultobj
= 0;
19766 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19773 PyObject
* obj0
= 0 ;
19774 PyObject
* obj1
= 0 ;
19775 char * kwnames
[] = {
19776 (char *) "self",(char *) "n", NULL
19779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19781 if (!SWIG_IsOK(res1
)) {
19782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19784 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19785 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19786 if (!SWIG_IsOK(ecode2
)) {
19787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19789 arg2
= static_cast< size_t >(val2
);
19791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19792 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19793 wxPyEndAllowThreads(__tstate
);
19794 if (PyErr_Occurred()) SWIG_fail
;
19796 resultobj
= SWIG_From_int(static_cast< int >(result
));
19803 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19804 PyObject
*resultobj
= 0;
19805 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19815 PyObject
* obj0
= 0 ;
19816 PyObject
* obj1
= 0 ;
19817 PyObject
* obj2
= 0 ;
19818 char * kwnames
[] = {
19819 (char *) "self",(char *) "n",(char *) "imageId", NULL
19822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19824 if (!SWIG_IsOK(res1
)) {
19825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19827 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19828 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19829 if (!SWIG_IsOK(ecode2
)) {
19830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19832 arg2
= static_cast< size_t >(val2
);
19833 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19834 if (!SWIG_IsOK(ecode3
)) {
19835 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19837 arg3
= static_cast< int >(val3
);
19839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19840 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19841 wxPyEndAllowThreads(__tstate
);
19842 if (PyErr_Occurred()) SWIG_fail
;
19845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19853 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19854 PyObject
*resultobj
= 0;
19855 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19860 PyObject
* obj0
= 0 ;
19861 PyObject
* obj1
= 0 ;
19862 char * kwnames
[] = {
19863 (char *) "self",(char *) "size", NULL
19866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19868 if (!SWIG_IsOK(res1
)) {
19869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19871 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19874 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19878 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19879 wxPyEndAllowThreads(__tstate
);
19880 if (PyErr_Occurred()) SWIG_fail
;
19882 resultobj
= SWIG_Py_Void();
19889 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19890 PyObject
*resultobj
= 0;
19891 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19897 PyObject
* obj0
= 0 ;
19898 PyObject
* obj1
= 0 ;
19899 char * kwnames
[] = {
19900 (char *) "self",(char *) "sizePage", NULL
19903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19905 if (!SWIG_IsOK(res1
)) {
19906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19908 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19911 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19915 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19916 wxPyEndAllowThreads(__tstate
);
19917 if (PyErr_Occurred()) SWIG_fail
;
19919 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19926 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19927 PyObject
*resultobj
= 0;
19928 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19929 unsigned int result
;
19932 PyObject
*swig_obj
[1] ;
19934 if (!args
) SWIG_fail
;
19935 swig_obj
[0] = args
;
19936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19937 if (!SWIG_IsOK(res1
)) {
19938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19940 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19943 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19944 wxPyEndAllowThreads(__tstate
);
19945 if (PyErr_Occurred()) SWIG_fail
;
19947 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19954 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19955 PyObject
*resultobj
= 0;
19956 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19957 unsigned int arg2
;
19960 unsigned int val2
;
19962 PyObject
* obj0
= 0 ;
19963 PyObject
* obj1
= 0 ;
19964 char * kwnames
[] = {
19965 (char *) "self",(char *) "internalBorder", NULL
19968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19970 if (!SWIG_IsOK(res1
)) {
19971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19973 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19974 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19975 if (!SWIG_IsOK(ecode2
)) {
19976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19978 arg2
= static_cast< unsigned int >(val2
);
19980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19981 (arg1
)->SetInternalBorder(arg2
);
19982 wxPyEndAllowThreads(__tstate
);
19983 if (PyErr_Occurred()) SWIG_fail
;
19985 resultobj
= SWIG_Py_Void();
19992 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19993 PyObject
*resultobj
= 0;
19994 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19998 PyObject
*swig_obj
[1] ;
20000 if (!args
) SWIG_fail
;
20001 swig_obj
[0] = args
;
20002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20003 if (!SWIG_IsOK(res1
)) {
20004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20006 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20009 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
20010 wxPyEndAllowThreads(__tstate
);
20011 if (PyErr_Occurred()) SWIG_fail
;
20014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20022 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20023 PyObject
*resultobj
= 0;
20024 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20030 PyObject
* obj0
= 0 ;
20031 PyObject
* obj1
= 0 ;
20032 char * kwnames
[] = {
20033 (char *) "self",(char *) "margin", NULL
20036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20038 if (!SWIG_IsOK(res1
)) {
20039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20041 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20042 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20043 if (!SWIG_IsOK(ecode2
)) {
20044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
20046 arg2
= static_cast< int >(val2
);
20048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20049 (arg1
)->SetControlMargin(arg2
);
20050 wxPyEndAllowThreads(__tstate
);
20051 if (PyErr_Occurred()) SWIG_fail
;
20053 resultobj
= SWIG_Py_Void();
20060 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20061 PyObject
*resultobj
= 0;
20062 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20066 PyObject
*swig_obj
[1] ;
20068 if (!args
) SWIG_fail
;
20069 swig_obj
[0] = args
;
20070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20071 if (!SWIG_IsOK(res1
)) {
20072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20074 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20077 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
20078 wxPyEndAllowThreads(__tstate
);
20079 if (PyErr_Occurred()) SWIG_fail
;
20081 resultobj
= SWIG_From_int(static_cast< int >(result
));
20088 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20089 PyObject
*resultobj
= 0;
20090 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20096 PyObject
* obj0
= 0 ;
20097 PyObject
* obj1
= 0 ;
20098 char * kwnames
[] = {
20099 (char *) "self",(char *) "fit", NULL
20102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20104 if (!SWIG_IsOK(res1
)) {
20105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20107 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20108 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20109 if (!SWIG_IsOK(ecode2
)) {
20110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
20112 arg2
= static_cast< bool >(val2
);
20114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20115 (arg1
)->SetFitToCurrentPage(arg2
);
20116 wxPyEndAllowThreads(__tstate
);
20117 if (PyErr_Occurred()) SWIG_fail
;
20119 resultobj
= SWIG_Py_Void();
20126 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20127 PyObject
*resultobj
= 0;
20128 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20132 PyObject
*swig_obj
[1] ;
20134 if (!args
) SWIG_fail
;
20135 swig_obj
[0] = args
;
20136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20137 if (!SWIG_IsOK(res1
)) {
20138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20140 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20143 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
20144 wxPyEndAllowThreads(__tstate
);
20145 if (PyErr_Occurred()) SWIG_fail
;
20148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20156 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20157 PyObject
*resultobj
= 0;
20158 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20159 wxSizer
*result
= 0 ;
20162 PyObject
*swig_obj
[1] ;
20164 if (!args
) SWIG_fail
;
20165 swig_obj
[0] = args
;
20166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20167 if (!SWIG_IsOK(res1
)) {
20168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20170 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20173 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
20174 wxPyEndAllowThreads(__tstate
);
20175 if (PyErr_Occurred()) SWIG_fail
;
20178 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20186 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20187 PyObject
*resultobj
= 0;
20188 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20195 PyObject
* obj0
= 0 ;
20196 PyObject
* obj1
= 0 ;
20197 char * kwnames
[] = {
20198 (char *) "self",(char *) "n", NULL
20201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20203 if (!SWIG_IsOK(res1
)) {
20204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20206 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20207 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20208 if (!SWIG_IsOK(ecode2
)) {
20209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
20211 arg2
= static_cast< size_t >(val2
);
20213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20214 result
= (bool)(arg1
)->DeletePage(arg2
);
20215 wxPyEndAllowThreads(__tstate
);
20216 if (PyErr_Occurred()) SWIG_fail
;
20219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20227 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20228 PyObject
*resultobj
= 0;
20229 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20236 PyObject
* obj0
= 0 ;
20237 PyObject
* obj1
= 0 ;
20238 char * kwnames
[] = {
20239 (char *) "self",(char *) "n", NULL
20242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20244 if (!SWIG_IsOK(res1
)) {
20245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20247 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20248 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20249 if (!SWIG_IsOK(ecode2
)) {
20250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
20252 arg2
= static_cast< size_t >(val2
);
20254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20255 result
= (bool)(arg1
)->RemovePage(arg2
);
20256 wxPyEndAllowThreads(__tstate
);
20257 if (PyErr_Occurred()) SWIG_fail
;
20260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20268 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20269 PyObject
*resultobj
= 0;
20270 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20274 PyObject
*swig_obj
[1] ;
20276 if (!args
) SWIG_fail
;
20277 swig_obj
[0] = args
;
20278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20279 if (!SWIG_IsOK(res1
)) {
20280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20282 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20285 result
= (bool)(arg1
)->DeleteAllPages();
20286 wxPyEndAllowThreads(__tstate
);
20287 if (PyErr_Occurred()) SWIG_fail
;
20290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20298 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20299 PyObject
*resultobj
= 0;
20300 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20301 wxWindow
*arg2
= (wxWindow
*) 0 ;
20302 wxString
*arg3
= 0 ;
20303 bool arg4
= (bool) false ;
20304 int arg5
= (int) -1 ;
20310 bool temp3
= false ;
20315 PyObject
* obj0
= 0 ;
20316 PyObject
* obj1
= 0 ;
20317 PyObject
* obj2
= 0 ;
20318 PyObject
* obj3
= 0 ;
20319 PyObject
* obj4
= 0 ;
20320 char * kwnames
[] = {
20321 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20326 if (!SWIG_IsOK(res1
)) {
20327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20329 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20330 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20331 if (!SWIG_IsOK(res2
)) {
20332 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20334 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20336 arg3
= wxString_in_helper(obj2
);
20337 if (arg3
== NULL
) SWIG_fail
;
20341 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20342 if (!SWIG_IsOK(ecode4
)) {
20343 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20345 arg4
= static_cast< bool >(val4
);
20348 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20349 if (!SWIG_IsOK(ecode5
)) {
20350 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20352 arg5
= static_cast< int >(val5
);
20355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20356 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
20357 wxPyEndAllowThreads(__tstate
);
20358 if (PyErr_Occurred()) SWIG_fail
;
20361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20377 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20378 PyObject
*resultobj
= 0;
20379 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20381 wxWindow
*arg3
= (wxWindow
*) 0 ;
20382 wxString
*arg4
= 0 ;
20383 bool arg5
= (bool) false ;
20384 int arg6
= (int) -1 ;
20392 bool temp4
= false ;
20397 PyObject
* obj0
= 0 ;
20398 PyObject
* obj1
= 0 ;
20399 PyObject
* obj2
= 0 ;
20400 PyObject
* obj3
= 0 ;
20401 PyObject
* obj4
= 0 ;
20402 PyObject
* obj5
= 0 ;
20403 char * kwnames
[] = {
20404 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20409 if (!SWIG_IsOK(res1
)) {
20410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20412 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20413 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20414 if (!SWIG_IsOK(ecode2
)) {
20415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20417 arg2
= static_cast< size_t >(val2
);
20418 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20419 if (!SWIG_IsOK(res3
)) {
20420 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20422 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
20424 arg4
= wxString_in_helper(obj3
);
20425 if (arg4
== NULL
) SWIG_fail
;
20429 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20430 if (!SWIG_IsOK(ecode5
)) {
20431 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20433 arg5
= static_cast< bool >(val5
);
20436 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20437 if (!SWIG_IsOK(ecode6
)) {
20438 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20440 arg6
= static_cast< int >(val6
);
20443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20444 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20445 wxPyEndAllowThreads(__tstate
);
20446 if (PyErr_Occurred()) SWIG_fail
;
20449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20465 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20466 PyObject
*resultobj
= 0;
20467 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20474 PyObject
* obj0
= 0 ;
20475 PyObject
* obj1
= 0 ;
20476 char * kwnames
[] = {
20477 (char *) "self",(char *) "n", NULL
20480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20482 if (!SWIG_IsOK(res1
)) {
20483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20485 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20486 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20487 if (!SWIG_IsOK(ecode2
)) {
20488 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20490 arg2
= static_cast< size_t >(val2
);
20492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20493 result
= (int)(arg1
)->SetSelection(arg2
);
20494 wxPyEndAllowThreads(__tstate
);
20495 if (PyErr_Occurred()) SWIG_fail
;
20497 resultobj
= SWIG_From_int(static_cast< int >(result
));
20504 SWIGINTERN PyObject
*_wrap_BookCtrlBase_ChangeSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20505 PyObject
*resultobj
= 0;
20506 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20513 PyObject
* obj0
= 0 ;
20514 PyObject
* obj1
= 0 ;
20515 char * kwnames
[] = {
20516 (char *) "self",(char *) "n", NULL
20519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20521 if (!SWIG_IsOK(res1
)) {
20522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20524 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20525 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20526 if (!SWIG_IsOK(ecode2
)) {
20527 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20529 arg2
= static_cast< size_t >(val2
);
20531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20532 result
= (int)(arg1
)->ChangeSelection(arg2
);
20533 wxPyEndAllowThreads(__tstate
);
20534 if (PyErr_Occurred()) SWIG_fail
;
20536 resultobj
= SWIG_From_int(static_cast< int >(result
));
20543 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20544 PyObject
*resultobj
= 0;
20545 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20546 bool arg2
= (bool) true ;
20551 PyObject
* obj0
= 0 ;
20552 PyObject
* obj1
= 0 ;
20553 char * kwnames
[] = {
20554 (char *) "self",(char *) "forward", NULL
20557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20559 if (!SWIG_IsOK(res1
)) {
20560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20562 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20564 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20565 if (!SWIG_IsOK(ecode2
)) {
20566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20568 arg2
= static_cast< bool >(val2
);
20571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20572 (arg1
)->AdvanceSelection(arg2
);
20573 wxPyEndAllowThreads(__tstate
);
20574 if (PyErr_Occurred()) SWIG_fail
;
20576 resultobj
= SWIG_Py_Void();
20583 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20584 PyObject
*resultobj
= 0;
20585 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20586 wxPoint
*arg2
= 0 ;
20587 long *arg3
= (long *) 0 ;
20593 int res3
= SWIG_TMPOBJ
;
20594 PyObject
* obj0
= 0 ;
20595 PyObject
* obj1
= 0 ;
20596 char * kwnames
[] = {
20597 (char *) "self",(char *) "pt", NULL
20601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20603 if (!SWIG_IsOK(res1
)) {
20604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20606 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20609 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20613 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20614 wxPyEndAllowThreads(__tstate
);
20615 if (PyErr_Occurred()) SWIG_fail
;
20617 resultobj
= SWIG_From_int(static_cast< int >(result
));
20618 if (SWIG_IsTmpObj(res3
)) {
20619 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20621 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20622 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20630 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20631 PyObject
*resultobj
= 0;
20632 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20633 SwigValueWrapper
<wxVisualAttributes
> result
;
20636 PyObject
* obj0
= 0 ;
20637 char * kwnames
[] = {
20638 (char *) "variant", NULL
20641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20643 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20644 if (!SWIG_IsOK(ecode1
)) {
20645 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20647 arg1
= static_cast< wxWindowVariant
>(val1
);
20650 if (!wxPyCheckForApp()) SWIG_fail
;
20651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20652 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20653 wxPyEndAllowThreads(__tstate
);
20654 if (PyErr_Occurred()) SWIG_fail
;
20656 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20663 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20665 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20666 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20667 return SWIG_Py_Void();
20670 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20671 PyObject
*resultobj
= 0;
20672 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20673 int arg2
= (int) 0 ;
20674 int arg3
= (int) -1 ;
20675 int arg4
= (int) -1 ;
20676 wxBookCtrlBaseEvent
*result
= 0 ;
20685 PyObject
* obj0
= 0 ;
20686 PyObject
* obj1
= 0 ;
20687 PyObject
* obj2
= 0 ;
20688 PyObject
* obj3
= 0 ;
20689 char * kwnames
[] = {
20690 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20695 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20696 if (!SWIG_IsOK(ecode1
)) {
20697 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20699 arg1
= static_cast< wxEventType
>(val1
);
20702 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20703 if (!SWIG_IsOK(ecode2
)) {
20704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20706 arg2
= static_cast< int >(val2
);
20709 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20710 if (!SWIG_IsOK(ecode3
)) {
20711 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20713 arg3
= static_cast< int >(val3
);
20716 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20717 if (!SWIG_IsOK(ecode4
)) {
20718 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20720 arg4
= static_cast< int >(val4
);
20723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20724 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20725 wxPyEndAllowThreads(__tstate
);
20726 if (PyErr_Occurred()) SWIG_fail
;
20728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20735 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20736 PyObject
*resultobj
= 0;
20737 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20741 PyObject
*swig_obj
[1] ;
20743 if (!args
) SWIG_fail
;
20744 swig_obj
[0] = args
;
20745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20746 if (!SWIG_IsOK(res1
)) {
20747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20749 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20752 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20753 wxPyEndAllowThreads(__tstate
);
20754 if (PyErr_Occurred()) SWIG_fail
;
20756 resultobj
= SWIG_From_int(static_cast< int >(result
));
20763 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20764 PyObject
*resultobj
= 0;
20765 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20771 PyObject
* obj0
= 0 ;
20772 PyObject
* obj1
= 0 ;
20773 char * kwnames
[] = {
20774 (char *) "self",(char *) "nSel", NULL
20777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20779 if (!SWIG_IsOK(res1
)) {
20780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20782 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20783 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20784 if (!SWIG_IsOK(ecode2
)) {
20785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20787 arg2
= static_cast< int >(val2
);
20789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20790 (arg1
)->SetSelection(arg2
);
20791 wxPyEndAllowThreads(__tstate
);
20792 if (PyErr_Occurred()) SWIG_fail
;
20794 resultobj
= SWIG_Py_Void();
20801 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20802 PyObject
*resultobj
= 0;
20803 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20807 PyObject
*swig_obj
[1] ;
20809 if (!args
) SWIG_fail
;
20810 swig_obj
[0] = args
;
20811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20812 if (!SWIG_IsOK(res1
)) {
20813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20815 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20818 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20819 wxPyEndAllowThreads(__tstate
);
20820 if (PyErr_Occurred()) SWIG_fail
;
20822 resultobj
= SWIG_From_int(static_cast< int >(result
));
20829 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20830 PyObject
*resultobj
= 0;
20831 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20837 PyObject
* obj0
= 0 ;
20838 PyObject
* obj1
= 0 ;
20839 char * kwnames
[] = {
20840 (char *) "self",(char *) "nOldSel", NULL
20843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20845 if (!SWIG_IsOK(res1
)) {
20846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20848 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20849 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20850 if (!SWIG_IsOK(ecode2
)) {
20851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20853 arg2
= static_cast< int >(val2
);
20855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20856 (arg1
)->SetOldSelection(arg2
);
20857 wxPyEndAllowThreads(__tstate
);
20858 if (PyErr_Occurred()) SWIG_fail
;
20860 resultobj
= SWIG_Py_Void();
20867 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20869 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20870 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20871 return SWIG_Py_Void();
20874 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20875 return SWIG_Python_InitShadowInstance(args
);
20878 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20879 PyObject
*resultobj
= 0;
20880 wxWindow
*arg1
= (wxWindow
*) 0 ;
20881 int arg2
= (int) -1 ;
20882 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20883 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20884 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20885 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20886 long arg5
= (long) 0 ;
20887 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20888 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20889 wxNotebook
*result
= 0 ;
20898 bool temp6
= false ;
20899 PyObject
* obj0
= 0 ;
20900 PyObject
* obj1
= 0 ;
20901 PyObject
* obj2
= 0 ;
20902 PyObject
* obj3
= 0 ;
20903 PyObject
* obj4
= 0 ;
20904 PyObject
* obj5
= 0 ;
20905 char * kwnames
[] = {
20906 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20911 if (!SWIG_IsOK(res1
)) {
20912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20914 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20916 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20917 if (!SWIG_IsOK(ecode2
)) {
20918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20920 arg2
= static_cast< int >(val2
);
20925 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20931 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20935 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20936 if (!SWIG_IsOK(ecode5
)) {
20937 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20939 arg5
= static_cast< long >(val5
);
20943 arg6
= wxString_in_helper(obj5
);
20944 if (arg6
== NULL
) SWIG_fail
;
20949 if (!wxPyCheckForApp()) SWIG_fail
;
20950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20951 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20952 wxPyEndAllowThreads(__tstate
);
20953 if (PyErr_Occurred()) SWIG_fail
;
20955 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20970 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20971 PyObject
*resultobj
= 0;
20972 wxNotebook
*result
= 0 ;
20974 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20976 if (!wxPyCheckForApp()) SWIG_fail
;
20977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20978 result
= (wxNotebook
*)new wxNotebook();
20979 wxPyEndAllowThreads(__tstate
);
20980 if (PyErr_Occurred()) SWIG_fail
;
20982 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20989 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20990 PyObject
*resultobj
= 0;
20991 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20992 wxWindow
*arg2
= (wxWindow
*) 0 ;
20993 int arg3
= (int) -1 ;
20994 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20995 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20996 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20997 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20998 long arg6
= (long) 0 ;
20999 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
21000 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21012 bool temp7
= false ;
21013 PyObject
* obj0
= 0 ;
21014 PyObject
* obj1
= 0 ;
21015 PyObject
* obj2
= 0 ;
21016 PyObject
* obj3
= 0 ;
21017 PyObject
* obj4
= 0 ;
21018 PyObject
* obj5
= 0 ;
21019 PyObject
* obj6
= 0 ;
21020 char * kwnames
[] = {
21021 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21026 if (!SWIG_IsOK(res1
)) {
21027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
21029 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21030 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21031 if (!SWIG_IsOK(res2
)) {
21032 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21034 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21036 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21037 if (!SWIG_IsOK(ecode3
)) {
21038 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
21040 arg3
= static_cast< int >(val3
);
21045 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21051 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21055 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21056 if (!SWIG_IsOK(ecode6
)) {
21057 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
21059 arg6
= static_cast< long >(val6
);
21063 arg7
= wxString_in_helper(obj6
);
21064 if (arg7
== NULL
) SWIG_fail
;
21069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21070 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21071 wxPyEndAllowThreads(__tstate
);
21072 if (PyErr_Occurred()) SWIG_fail
;
21075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21091 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21092 PyObject
*resultobj
= 0;
21093 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21097 PyObject
*swig_obj
[1] ;
21099 if (!args
) SWIG_fail
;
21100 swig_obj
[0] = args
;
21101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21102 if (!SWIG_IsOK(res1
)) {
21103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
21105 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21108 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
21109 wxPyEndAllowThreads(__tstate
);
21110 if (PyErr_Occurred()) SWIG_fail
;
21112 resultobj
= SWIG_From_int(static_cast< int >(result
));
21119 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21120 PyObject
*resultobj
= 0;
21121 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21126 PyObject
* obj0
= 0 ;
21127 PyObject
* obj1
= 0 ;
21128 char * kwnames
[] = {
21129 (char *) "self",(char *) "padding", NULL
21132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21134 if (!SWIG_IsOK(res1
)) {
21135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
21137 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21140 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21144 (arg1
)->SetPadding((wxSize
const &)*arg2
);
21145 wxPyEndAllowThreads(__tstate
);
21146 if (PyErr_Occurred()) SWIG_fail
;
21148 resultobj
= SWIG_Py_Void();
21155 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21156 PyObject
*resultobj
= 0;
21157 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21162 PyObject
* obj0
= 0 ;
21163 PyObject
* obj1
= 0 ;
21164 char * kwnames
[] = {
21165 (char *) "self",(char *) "sz", NULL
21168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21170 if (!SWIG_IsOK(res1
)) {
21171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
21173 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21176 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21180 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
21181 wxPyEndAllowThreads(__tstate
);
21182 if (PyErr_Occurred()) SWIG_fail
;
21184 resultobj
= SWIG_Py_Void();
21191 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21192 PyObject
*resultobj
= 0;
21193 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21197 PyObject
*swig_obj
[1] ;
21199 if (!args
) SWIG_fail
;
21200 swig_obj
[0] = args
;
21201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21202 if (!SWIG_IsOK(res1
)) {
21203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
21205 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21208 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
21209 wxPyEndAllowThreads(__tstate
);
21210 if (PyErr_Occurred()) SWIG_fail
;
21212 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
21219 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21220 PyObject
*resultobj
= 0;
21221 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21222 SwigValueWrapper
<wxVisualAttributes
> result
;
21225 PyObject
* obj0
= 0 ;
21226 char * kwnames
[] = {
21227 (char *) "variant", NULL
21230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
21232 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21233 if (!SWIG_IsOK(ecode1
)) {
21234 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
21236 arg1
= static_cast< wxWindowVariant
>(val1
);
21239 if (!wxPyCheckForApp()) SWIG_fail
;
21240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21241 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
21242 wxPyEndAllowThreads(__tstate
);
21243 if (PyErr_Occurred()) SWIG_fail
;
21245 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21252 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21253 PyObject
*resultobj
= 0;
21254 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21261 PyObject
* obj0
= 0 ;
21262 PyObject
* obj1
= 0 ;
21263 char * kwnames
[] = {
21264 (char *) "self",(char *) "nPage", NULL
21267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SendPageChangingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21269 if (!SWIG_IsOK(res1
)) {
21270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21272 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21273 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21274 if (!SWIG_IsOK(ecode2
)) {
21275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
21277 arg2
= static_cast< int >(val2
);
21279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21280 result
= (bool)(arg1
)->SendPageChangingEvent(arg2
);
21281 wxPyEndAllowThreads(__tstate
);
21282 if (PyErr_Occurred()) SWIG_fail
;
21285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21293 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21294 PyObject
*resultobj
= 0;
21295 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21297 int arg3
= (int) -1 ;
21304 PyObject
* obj0
= 0 ;
21305 PyObject
* obj1
= 0 ;
21306 PyObject
* obj2
= 0 ;
21307 char * kwnames
[] = {
21308 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
21311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21313 if (!SWIG_IsOK(res1
)) {
21314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21316 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21317 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21318 if (!SWIG_IsOK(ecode2
)) {
21319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21321 arg2
= static_cast< int >(val2
);
21323 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21324 if (!SWIG_IsOK(ecode3
)) {
21325 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21327 arg3
= static_cast< int >(val3
);
21330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21331 (arg1
)->SendPageChangedEvent(arg2
,arg3
);
21332 wxPyEndAllowThreads(__tstate
);
21333 if (PyErr_Occurred()) SWIG_fail
;
21335 resultobj
= SWIG_Py_Void();
21342 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21344 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21345 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
21346 return SWIG_Py_Void();
21349 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21350 return SWIG_Python_InitShadowInstance(args
);
21353 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21354 PyObject
*resultobj
= 0;
21355 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21356 int arg2
= (int) 0 ;
21357 int arg3
= (int) -1 ;
21358 int arg4
= (int) -1 ;
21359 wxNotebookEvent
*result
= 0 ;
21368 PyObject
* obj0
= 0 ;
21369 PyObject
* obj1
= 0 ;
21370 PyObject
* obj2
= 0 ;
21371 PyObject
* obj3
= 0 ;
21372 char * kwnames
[] = {
21373 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21378 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21379 if (!SWIG_IsOK(ecode1
)) {
21380 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21382 arg1
= static_cast< wxEventType
>(val1
);
21385 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21386 if (!SWIG_IsOK(ecode2
)) {
21387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21389 arg2
= static_cast< int >(val2
);
21392 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21393 if (!SWIG_IsOK(ecode3
)) {
21394 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21396 arg3
= static_cast< int >(val3
);
21399 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21400 if (!SWIG_IsOK(ecode4
)) {
21401 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21403 arg4
= static_cast< int >(val4
);
21406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21407 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
21408 wxPyEndAllowThreads(__tstate
);
21409 if (PyErr_Occurred()) SWIG_fail
;
21411 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
21418 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21420 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21421 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
21422 return SWIG_Py_Void();
21425 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21426 return SWIG_Python_InitShadowInstance(args
);
21429 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21430 PyObject
*resultobj
= 0;
21431 wxWindow
*arg1
= (wxWindow
*) 0 ;
21432 int arg2
= (int) -1 ;
21433 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21434 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21435 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21436 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21437 long arg5
= (long) 0 ;
21438 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21439 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21440 wxListbook
*result
= 0 ;
21449 bool temp6
= false ;
21450 PyObject
* obj0
= 0 ;
21451 PyObject
* obj1
= 0 ;
21452 PyObject
* obj2
= 0 ;
21453 PyObject
* obj3
= 0 ;
21454 PyObject
* obj4
= 0 ;
21455 PyObject
* obj5
= 0 ;
21456 char * kwnames
[] = {
21457 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21462 if (!SWIG_IsOK(res1
)) {
21463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21465 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21467 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21468 if (!SWIG_IsOK(ecode2
)) {
21469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21471 arg2
= static_cast< int >(val2
);
21476 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21482 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21486 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21487 if (!SWIG_IsOK(ecode5
)) {
21488 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21490 arg5
= static_cast< long >(val5
);
21494 arg6
= wxString_in_helper(obj5
);
21495 if (arg6
== NULL
) SWIG_fail
;
21500 if (!wxPyCheckForApp()) SWIG_fail
;
21501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21502 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21503 wxPyEndAllowThreads(__tstate
);
21504 if (PyErr_Occurred()) SWIG_fail
;
21506 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
21521 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21522 PyObject
*resultobj
= 0;
21523 wxListbook
*result
= 0 ;
21525 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
21527 if (!wxPyCheckForApp()) SWIG_fail
;
21528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21529 result
= (wxListbook
*)new wxListbook();
21530 wxPyEndAllowThreads(__tstate
);
21531 if (PyErr_Occurred()) SWIG_fail
;
21533 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
21540 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21541 PyObject
*resultobj
= 0;
21542 wxListbook
*arg1
= (wxListbook
*) 0 ;
21543 wxWindow
*arg2
= (wxWindow
*) 0 ;
21544 int arg3
= (int) -1 ;
21545 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21546 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21547 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21548 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21549 long arg6
= (long) 0 ;
21550 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21551 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21563 bool temp7
= false ;
21564 PyObject
* obj0
= 0 ;
21565 PyObject
* obj1
= 0 ;
21566 PyObject
* obj2
= 0 ;
21567 PyObject
* obj3
= 0 ;
21568 PyObject
* obj4
= 0 ;
21569 PyObject
* obj5
= 0 ;
21570 PyObject
* obj6
= 0 ;
21571 char * kwnames
[] = {
21572 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21577 if (!SWIG_IsOK(res1
)) {
21578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21580 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21581 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21582 if (!SWIG_IsOK(res2
)) {
21583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21585 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21587 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21588 if (!SWIG_IsOK(ecode3
)) {
21589 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21591 arg3
= static_cast< int >(val3
);
21596 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21602 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21606 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21607 if (!SWIG_IsOK(ecode6
)) {
21608 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21610 arg6
= static_cast< long >(val6
);
21614 arg7
= wxString_in_helper(obj6
);
21615 if (arg7
== NULL
) SWIG_fail
;
21620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21621 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21622 wxPyEndAllowThreads(__tstate
);
21623 if (PyErr_Occurred()) SWIG_fail
;
21626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21642 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21643 PyObject
*resultobj
= 0;
21644 wxListbook
*arg1
= (wxListbook
*) 0 ;
21645 wxListView
*result
= 0 ;
21648 PyObject
*swig_obj
[1] ;
21650 if (!args
) SWIG_fail
;
21651 swig_obj
[0] = args
;
21652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21653 if (!SWIG_IsOK(res1
)) {
21654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21656 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21659 result
= (wxListView
*)(arg1
)->GetListView();
21660 wxPyEndAllowThreads(__tstate
);
21661 if (PyErr_Occurred()) SWIG_fail
;
21663 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21670 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21672 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21673 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21674 return SWIG_Py_Void();
21677 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21678 return SWIG_Python_InitShadowInstance(args
);
21681 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21682 PyObject
*resultobj
= 0;
21683 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21684 int arg2
= (int) 0 ;
21685 int arg3
= (int) -1 ;
21686 int arg4
= (int) -1 ;
21687 wxListbookEvent
*result
= 0 ;
21696 PyObject
* obj0
= 0 ;
21697 PyObject
* obj1
= 0 ;
21698 PyObject
* obj2
= 0 ;
21699 PyObject
* obj3
= 0 ;
21700 char * kwnames
[] = {
21701 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21706 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21707 if (!SWIG_IsOK(ecode1
)) {
21708 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21710 arg1
= static_cast< wxEventType
>(val1
);
21713 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21714 if (!SWIG_IsOK(ecode2
)) {
21715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21717 arg2
= static_cast< int >(val2
);
21720 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21721 if (!SWIG_IsOK(ecode3
)) {
21722 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21724 arg3
= static_cast< int >(val3
);
21727 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21728 if (!SWIG_IsOK(ecode4
)) {
21729 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21731 arg4
= static_cast< int >(val4
);
21734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21735 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21736 wxPyEndAllowThreads(__tstate
);
21737 if (PyErr_Occurred()) SWIG_fail
;
21739 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21746 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21748 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21749 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21750 return SWIG_Py_Void();
21753 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21754 return SWIG_Python_InitShadowInstance(args
);
21757 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21758 PyObject
*resultobj
= 0;
21759 wxWindow
*arg1
= (wxWindow
*) 0 ;
21761 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21762 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21763 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21764 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21765 long arg5
= (long) 0 ;
21766 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21767 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21768 wxChoicebook
*result
= 0 ;
21777 bool temp6
= false ;
21778 PyObject
* obj0
= 0 ;
21779 PyObject
* obj1
= 0 ;
21780 PyObject
* obj2
= 0 ;
21781 PyObject
* obj3
= 0 ;
21782 PyObject
* obj4
= 0 ;
21783 PyObject
* obj5
= 0 ;
21784 char * kwnames
[] = {
21785 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21790 if (!SWIG_IsOK(res1
)) {
21791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21793 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21794 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21795 if (!SWIG_IsOK(ecode2
)) {
21796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21798 arg2
= static_cast< int >(val2
);
21802 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21808 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21812 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21813 if (!SWIG_IsOK(ecode5
)) {
21814 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21816 arg5
= static_cast< long >(val5
);
21820 arg6
= wxString_in_helper(obj5
);
21821 if (arg6
== NULL
) SWIG_fail
;
21826 if (!wxPyCheckForApp()) SWIG_fail
;
21827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21828 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21829 wxPyEndAllowThreads(__tstate
);
21830 if (PyErr_Occurred()) SWIG_fail
;
21832 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21847 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21848 PyObject
*resultobj
= 0;
21849 wxChoicebook
*result
= 0 ;
21851 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21853 if (!wxPyCheckForApp()) SWIG_fail
;
21854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21855 result
= (wxChoicebook
*)new wxChoicebook();
21856 wxPyEndAllowThreads(__tstate
);
21857 if (PyErr_Occurred()) SWIG_fail
;
21859 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21866 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21867 PyObject
*resultobj
= 0;
21868 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21869 wxWindow
*arg2
= (wxWindow
*) 0 ;
21871 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21872 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21873 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21874 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21875 long arg6
= (long) 0 ;
21876 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21877 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21889 bool temp7
= false ;
21890 PyObject
* obj0
= 0 ;
21891 PyObject
* obj1
= 0 ;
21892 PyObject
* obj2
= 0 ;
21893 PyObject
* obj3
= 0 ;
21894 PyObject
* obj4
= 0 ;
21895 PyObject
* obj5
= 0 ;
21896 PyObject
* obj6
= 0 ;
21897 char * kwnames
[] = {
21898 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21903 if (!SWIG_IsOK(res1
)) {
21904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21906 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21907 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21908 if (!SWIG_IsOK(res2
)) {
21909 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21911 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21912 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21913 if (!SWIG_IsOK(ecode3
)) {
21914 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21916 arg3
= static_cast< int >(val3
);
21920 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21926 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21930 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21931 if (!SWIG_IsOK(ecode6
)) {
21932 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21934 arg6
= static_cast< long >(val6
);
21938 arg7
= wxString_in_helper(obj6
);
21939 if (arg7
== NULL
) SWIG_fail
;
21944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21945 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21946 wxPyEndAllowThreads(__tstate
);
21947 if (PyErr_Occurred()) SWIG_fail
;
21950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21966 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21967 PyObject
*resultobj
= 0;
21968 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21969 wxChoice
*result
= 0 ;
21972 PyObject
*swig_obj
[1] ;
21974 if (!args
) SWIG_fail
;
21975 swig_obj
[0] = args
;
21976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21977 if (!SWIG_IsOK(res1
)) {
21978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21980 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21983 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21984 wxPyEndAllowThreads(__tstate
);
21985 if (PyErr_Occurred()) SWIG_fail
;
21987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21994 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21996 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21997 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21998 return SWIG_Py_Void();
22001 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22002 return SWIG_Python_InitShadowInstance(args
);
22005 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22006 PyObject
*resultobj
= 0;
22007 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22008 int arg2
= (int) 0 ;
22009 int arg3
= (int) -1 ;
22010 int arg4
= (int) -1 ;
22011 wxChoicebookEvent
*result
= 0 ;
22020 PyObject
* obj0
= 0 ;
22021 PyObject
* obj1
= 0 ;
22022 PyObject
* obj2
= 0 ;
22023 PyObject
* obj3
= 0 ;
22024 char * kwnames
[] = {
22025 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22030 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22031 if (!SWIG_IsOK(ecode1
)) {
22032 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22034 arg1
= static_cast< wxEventType
>(val1
);
22037 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22038 if (!SWIG_IsOK(ecode2
)) {
22039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
22041 arg2
= static_cast< int >(val2
);
22044 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22045 if (!SWIG_IsOK(ecode3
)) {
22046 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
22048 arg3
= static_cast< int >(val3
);
22051 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22052 if (!SWIG_IsOK(ecode4
)) {
22053 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
22055 arg4
= static_cast< int >(val4
);
22058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22059 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
22060 wxPyEndAllowThreads(__tstate
);
22061 if (PyErr_Occurred()) SWIG_fail
;
22063 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
22070 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22072 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22073 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
22074 return SWIG_Py_Void();
22077 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22078 return SWIG_Python_InitShadowInstance(args
);
22081 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22082 PyObject
*resultobj
= 0;
22083 wxWindow
*arg1
= (wxWindow
*) 0 ;
22085 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22086 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22087 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22088 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22089 long arg5
= (long) wxBK_DEFAULT
;
22090 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22091 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22092 wxTreebook
*result
= 0 ;
22101 bool temp6
= false ;
22102 PyObject
* obj0
= 0 ;
22103 PyObject
* obj1
= 0 ;
22104 PyObject
* obj2
= 0 ;
22105 PyObject
* obj3
= 0 ;
22106 PyObject
* obj4
= 0 ;
22107 PyObject
* obj5
= 0 ;
22108 char * kwnames
[] = {
22109 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22114 if (!SWIG_IsOK(res1
)) {
22115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
22117 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22118 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22119 if (!SWIG_IsOK(ecode2
)) {
22120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
22122 arg2
= static_cast< int >(val2
);
22126 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22132 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22136 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22137 if (!SWIG_IsOK(ecode5
)) {
22138 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
22140 arg5
= static_cast< long >(val5
);
22144 arg6
= wxString_in_helper(obj5
);
22145 if (arg6
== NULL
) SWIG_fail
;
22150 if (!wxPyCheckForApp()) SWIG_fail
;
22151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22152 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22153 wxPyEndAllowThreads(__tstate
);
22154 if (PyErr_Occurred()) SWIG_fail
;
22156 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
22171 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22172 PyObject
*resultobj
= 0;
22173 wxTreebook
*result
= 0 ;
22175 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
22177 if (!wxPyCheckForApp()) SWIG_fail
;
22178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22179 result
= (wxTreebook
*)new wxTreebook();
22180 wxPyEndAllowThreads(__tstate
);
22181 if (PyErr_Occurred()) SWIG_fail
;
22183 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
22190 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22191 PyObject
*resultobj
= 0;
22192 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22193 wxWindow
*arg2
= (wxWindow
*) 0 ;
22195 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22196 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22197 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22198 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22199 long arg6
= (long) wxBK_DEFAULT
;
22200 wxString
const &arg7_defvalue
= wxPyEmptyString
;
22201 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22213 bool temp7
= false ;
22214 PyObject
* obj0
= 0 ;
22215 PyObject
* obj1
= 0 ;
22216 PyObject
* obj2
= 0 ;
22217 PyObject
* obj3
= 0 ;
22218 PyObject
* obj4
= 0 ;
22219 PyObject
* obj5
= 0 ;
22220 PyObject
* obj6
= 0 ;
22221 char * kwnames
[] = {
22222 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22227 if (!SWIG_IsOK(res1
)) {
22228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
22230 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22231 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22232 if (!SWIG_IsOK(res2
)) {
22233 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22235 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22236 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22237 if (!SWIG_IsOK(ecode3
)) {
22238 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
22240 arg3
= static_cast< int >(val3
);
22244 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22250 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22254 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22255 if (!SWIG_IsOK(ecode6
)) {
22256 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
22258 arg6
= static_cast< long >(val6
);
22262 arg7
= wxString_in_helper(obj6
);
22263 if (arg7
== NULL
) SWIG_fail
;
22268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22269 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22270 wxPyEndAllowThreads(__tstate
);
22271 if (PyErr_Occurred()) SWIG_fail
;
22274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22290 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22291 PyObject
*resultobj
= 0;
22292 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22294 wxWindow
*arg3
= (wxWindow
*) 0 ;
22295 wxString
*arg4
= 0 ;
22296 bool arg5
= (bool) false ;
22297 int arg6
= (int) wxNOT_FOUND
;
22305 bool temp4
= false ;
22310 PyObject
* obj0
= 0 ;
22311 PyObject
* obj1
= 0 ;
22312 PyObject
* obj2
= 0 ;
22313 PyObject
* obj3
= 0 ;
22314 PyObject
* obj4
= 0 ;
22315 PyObject
* obj5
= 0 ;
22316 char * kwnames
[] = {
22317 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22322 if (!SWIG_IsOK(res1
)) {
22323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22325 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22326 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22327 if (!SWIG_IsOK(ecode2
)) {
22328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22330 arg2
= static_cast< size_t >(val2
);
22331 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22332 if (!SWIG_IsOK(res3
)) {
22333 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22335 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
22337 arg4
= wxString_in_helper(obj3
);
22338 if (arg4
== NULL
) SWIG_fail
;
22342 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
22343 if (!SWIG_IsOK(ecode5
)) {
22344 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22346 arg5
= static_cast< bool >(val5
);
22349 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22350 if (!SWIG_IsOK(ecode6
)) {
22351 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22353 arg6
= static_cast< int >(val6
);
22356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22357 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
22358 wxPyEndAllowThreads(__tstate
);
22359 if (PyErr_Occurred()) SWIG_fail
;
22362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22378 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22379 PyObject
*resultobj
= 0;
22380 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22381 wxWindow
*arg2
= (wxWindow
*) 0 ;
22382 wxString
*arg3
= 0 ;
22383 bool arg4
= (bool) false ;
22384 int arg5
= (int) wxNOT_FOUND
;
22390 bool temp3
= false ;
22395 PyObject
* obj0
= 0 ;
22396 PyObject
* obj1
= 0 ;
22397 PyObject
* obj2
= 0 ;
22398 PyObject
* obj3
= 0 ;
22399 PyObject
* obj4
= 0 ;
22400 char * kwnames
[] = {
22401 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22406 if (!SWIG_IsOK(res1
)) {
22407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22409 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22410 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22411 if (!SWIG_IsOK(res2
)) {
22412 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22414 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22416 arg3
= wxString_in_helper(obj2
);
22417 if (arg3
== NULL
) SWIG_fail
;
22421 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
22422 if (!SWIG_IsOK(ecode4
)) {
22423 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22425 arg4
= static_cast< bool >(val4
);
22428 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22429 if (!SWIG_IsOK(ecode5
)) {
22430 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22432 arg5
= static_cast< int >(val5
);
22435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22436 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22437 wxPyEndAllowThreads(__tstate
);
22438 if (PyErr_Occurred()) SWIG_fail
;
22441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22457 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22458 PyObject
*resultobj
= 0;
22459 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22466 PyObject
* obj0
= 0 ;
22467 PyObject
* obj1
= 0 ;
22468 char * kwnames
[] = {
22469 (char *) "self",(char *) "pos", NULL
22472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22474 if (!SWIG_IsOK(res1
)) {
22475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22477 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22478 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22479 if (!SWIG_IsOK(ecode2
)) {
22480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22482 arg2
= static_cast< size_t >(val2
);
22484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22485 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
22486 wxPyEndAllowThreads(__tstate
);
22487 if (PyErr_Occurred()) SWIG_fail
;
22490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22498 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22499 PyObject
*resultobj
= 0;
22500 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22502 bool arg3
= (bool) true ;
22510 PyObject
* obj0
= 0 ;
22511 PyObject
* obj1
= 0 ;
22512 PyObject
* obj2
= 0 ;
22513 char * kwnames
[] = {
22514 (char *) "self",(char *) "pos",(char *) "expand", NULL
22517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22519 if (!SWIG_IsOK(res1
)) {
22520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22522 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22523 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22524 if (!SWIG_IsOK(ecode2
)) {
22525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22527 arg2
= static_cast< size_t >(val2
);
22529 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22530 if (!SWIG_IsOK(ecode3
)) {
22531 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22533 arg3
= static_cast< bool >(val3
);
22536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22537 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
22538 wxPyEndAllowThreads(__tstate
);
22539 if (PyErr_Occurred()) SWIG_fail
;
22542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22550 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22551 PyObject
*resultobj
= 0;
22552 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22559 PyObject
* obj0
= 0 ;
22560 PyObject
* obj1
= 0 ;
22561 char * kwnames
[] = {
22562 (char *) "self",(char *) "pos", NULL
22565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22567 if (!SWIG_IsOK(res1
)) {
22568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22570 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22571 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22572 if (!SWIG_IsOK(ecode2
)) {
22573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22575 arg2
= static_cast< size_t >(val2
);
22577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22578 result
= (bool)(arg1
)->CollapseNode(arg2
);
22579 wxPyEndAllowThreads(__tstate
);
22580 if (PyErr_Occurred()) SWIG_fail
;
22583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22591 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22592 PyObject
*resultobj
= 0;
22593 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22600 PyObject
* obj0
= 0 ;
22601 PyObject
* obj1
= 0 ;
22602 char * kwnames
[] = {
22603 (char *) "self",(char *) "pos", NULL
22606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22608 if (!SWIG_IsOK(res1
)) {
22609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22611 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22612 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22613 if (!SWIG_IsOK(ecode2
)) {
22614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22616 arg2
= static_cast< size_t >(val2
);
22618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22619 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22620 wxPyEndAllowThreads(__tstate
);
22621 if (PyErr_Occurred()) SWIG_fail
;
22623 resultobj
= SWIG_From_int(static_cast< int >(result
));
22630 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22631 PyObject
*resultobj
= 0;
22632 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22633 wxPyTreeCtrl
*result
= 0 ;
22636 PyObject
*swig_obj
[1] ;
22638 if (!args
) SWIG_fail
;
22639 swig_obj
[0] = args
;
22640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22641 if (!SWIG_IsOK(res1
)) {
22642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22644 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22647 result
= (wxPyTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22648 wxPyEndAllowThreads(__tstate
);
22649 if (PyErr_Occurred()) SWIG_fail
;
22652 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22660 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22662 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22663 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22664 return SWIG_Py_Void();
22667 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22668 return SWIG_Python_InitShadowInstance(args
);
22671 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22672 PyObject
*resultobj
= 0;
22673 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22674 int arg2
= (int) 0 ;
22675 int arg3
= (int) wxNOT_FOUND
;
22676 int arg4
= (int) wxNOT_FOUND
;
22677 wxTreebookEvent
*result
= 0 ;
22686 PyObject
* obj0
= 0 ;
22687 PyObject
* obj1
= 0 ;
22688 PyObject
* obj2
= 0 ;
22689 PyObject
* obj3
= 0 ;
22690 char * kwnames
[] = {
22691 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22696 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22697 if (!SWIG_IsOK(ecode1
)) {
22698 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22700 arg1
= static_cast< wxEventType
>(val1
);
22703 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22704 if (!SWIG_IsOK(ecode2
)) {
22705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22707 arg2
= static_cast< int >(val2
);
22710 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22711 if (!SWIG_IsOK(ecode3
)) {
22712 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22714 arg3
= static_cast< int >(val3
);
22717 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22718 if (!SWIG_IsOK(ecode4
)) {
22719 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22721 arg4
= static_cast< int >(val4
);
22724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22725 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22726 wxPyEndAllowThreads(__tstate
);
22727 if (PyErr_Occurred()) SWIG_fail
;
22729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22736 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22738 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22739 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22740 return SWIG_Py_Void();
22743 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22744 return SWIG_Python_InitShadowInstance(args
);
22747 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22748 PyObject
*resultobj
= 0;
22749 wxWindow
*arg1
= (wxWindow
*) 0 ;
22751 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22752 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22753 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22754 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22755 long arg5
= (long) wxBK_DEFAULT
;
22756 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22757 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22758 wxToolbook
*result
= 0 ;
22767 bool temp6
= false ;
22768 PyObject
* obj0
= 0 ;
22769 PyObject
* obj1
= 0 ;
22770 PyObject
* obj2
= 0 ;
22771 PyObject
* obj3
= 0 ;
22772 PyObject
* obj4
= 0 ;
22773 PyObject
* obj5
= 0 ;
22774 char * kwnames
[] = {
22775 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22780 if (!SWIG_IsOK(res1
)) {
22781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22783 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22784 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22785 if (!SWIG_IsOK(ecode2
)) {
22786 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22788 arg2
= static_cast< int >(val2
);
22792 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22798 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22802 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22803 if (!SWIG_IsOK(ecode5
)) {
22804 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22806 arg5
= static_cast< long >(val5
);
22810 arg6
= wxString_in_helper(obj5
);
22811 if (arg6
== NULL
) SWIG_fail
;
22816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22817 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22818 wxPyEndAllowThreads(__tstate
);
22819 if (PyErr_Occurred()) SWIG_fail
;
22821 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22836 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22837 PyObject
*resultobj
= 0;
22838 wxToolbook
*result
= 0 ;
22840 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22843 result
= (wxToolbook
*)new wxToolbook();
22844 wxPyEndAllowThreads(__tstate
);
22845 if (PyErr_Occurred()) SWIG_fail
;
22847 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22854 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22855 PyObject
*resultobj
= 0;
22856 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22857 wxWindow
*arg2
= (wxWindow
*) 0 ;
22859 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22860 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22861 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22862 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22863 long arg6
= (long) 0 ;
22864 wxString
const &arg7_defvalue
= wxEmptyString
;
22865 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22877 bool temp7
= false ;
22878 PyObject
* obj0
= 0 ;
22879 PyObject
* obj1
= 0 ;
22880 PyObject
* obj2
= 0 ;
22881 PyObject
* obj3
= 0 ;
22882 PyObject
* obj4
= 0 ;
22883 PyObject
* obj5
= 0 ;
22884 PyObject
* obj6
= 0 ;
22885 char * kwnames
[] = {
22886 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22891 if (!SWIG_IsOK(res1
)) {
22892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22894 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22895 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22896 if (!SWIG_IsOK(res2
)) {
22897 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22899 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22900 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22901 if (!SWIG_IsOK(ecode3
)) {
22902 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22904 arg3
= static_cast< int >(val3
);
22908 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22914 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22918 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22919 if (!SWIG_IsOK(ecode6
)) {
22920 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22922 arg6
= static_cast< long >(val6
);
22926 arg7
= wxString_in_helper(obj6
);
22927 if (arg7
== NULL
) SWIG_fail
;
22932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22933 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22934 wxPyEndAllowThreads(__tstate
);
22935 if (PyErr_Occurred()) SWIG_fail
;
22938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22954 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22955 PyObject
*resultobj
= 0;
22956 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22957 wxToolBarBase
*result
= 0 ;
22960 PyObject
*swig_obj
[1] ;
22962 if (!args
) SWIG_fail
;
22963 swig_obj
[0] = args
;
22964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22965 if (!SWIG_IsOK(res1
)) {
22966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22968 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22971 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22972 wxPyEndAllowThreads(__tstate
);
22973 if (PyErr_Occurred()) SWIG_fail
;
22976 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22984 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22985 PyObject
*resultobj
= 0;
22986 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22989 PyObject
*swig_obj
[1] ;
22991 if (!args
) SWIG_fail
;
22992 swig_obj
[0] = args
;
22993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22994 if (!SWIG_IsOK(res1
)) {
22995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22997 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23001 wxPyEndAllowThreads(__tstate
);
23002 if (PyErr_Occurred()) SWIG_fail
;
23004 resultobj
= SWIG_Py_Void();
23011 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23013 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23014 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
23015 return SWIG_Py_Void();
23018 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23019 return SWIG_Python_InitShadowInstance(args
);
23022 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23023 PyObject
*resultobj
= 0;
23024 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23025 int arg2
= (int) 0 ;
23026 int arg3
= (int) wxNOT_FOUND
;
23027 int arg4
= (int) wxNOT_FOUND
;
23028 wxToolbookEvent
*result
= 0 ;
23037 PyObject
* obj0
= 0 ;
23038 PyObject
* obj1
= 0 ;
23039 PyObject
* obj2
= 0 ;
23040 PyObject
* obj3
= 0 ;
23041 char * kwnames
[] = {
23042 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
23045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23047 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23048 if (!SWIG_IsOK(ecode1
)) {
23049 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
23051 arg1
= static_cast< wxEventType
>(val1
);
23054 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23055 if (!SWIG_IsOK(ecode2
)) {
23056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
23058 arg2
= static_cast< int >(val2
);
23061 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23062 if (!SWIG_IsOK(ecode3
)) {
23063 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
23065 arg3
= static_cast< int >(val3
);
23068 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23069 if (!SWIG_IsOK(ecode4
)) {
23070 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
23072 arg4
= static_cast< int >(val4
);
23075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23076 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
23077 wxPyEndAllowThreads(__tstate
);
23078 if (PyErr_Occurred()) SWIG_fail
;
23080 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
23087 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23089 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23090 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
23091 return SWIG_Py_Void();
23094 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23095 return SWIG_Python_InitShadowInstance(args
);
23098 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23099 PyObject
*resultobj
= 0;
23100 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23104 PyObject
*swig_obj
[1] ;
23106 if (!args
) SWIG_fail
;
23107 swig_obj
[0] = args
;
23108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23109 if (!SWIG_IsOK(res1
)) {
23110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23112 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23115 result
= (int)(arg1
)->GetId();
23116 wxPyEndAllowThreads(__tstate
);
23117 if (PyErr_Occurred()) SWIG_fail
;
23119 resultobj
= SWIG_From_int(static_cast< int >(result
));
23126 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23127 PyObject
*resultobj
= 0;
23128 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23129 wxControl
*result
= 0 ;
23132 PyObject
*swig_obj
[1] ;
23134 if (!args
) SWIG_fail
;
23135 swig_obj
[0] = args
;
23136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23137 if (!SWIG_IsOK(res1
)) {
23138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23140 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23143 result
= (wxControl
*)(arg1
)->GetControl();
23144 wxPyEndAllowThreads(__tstate
);
23145 if (PyErr_Occurred()) SWIG_fail
;
23148 resultobj
= wxPyMake_wxObject(result
, 0);
23156 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23157 PyObject
*resultobj
= 0;
23158 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23159 wxToolBarBase
*result
= 0 ;
23162 PyObject
*swig_obj
[1] ;
23164 if (!args
) SWIG_fail
;
23165 swig_obj
[0] = args
;
23166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23167 if (!SWIG_IsOK(res1
)) {
23168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23170 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23173 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
23174 wxPyEndAllowThreads(__tstate
);
23175 if (PyErr_Occurred()) SWIG_fail
;
23178 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23186 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23187 PyObject
*resultobj
= 0;
23188 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23192 PyObject
*swig_obj
[1] ;
23194 if (!args
) SWIG_fail
;
23195 swig_obj
[0] = args
;
23196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23197 if (!SWIG_IsOK(res1
)) {
23198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23200 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23203 result
= (int)(arg1
)->IsButton();
23204 wxPyEndAllowThreads(__tstate
);
23205 if (PyErr_Occurred()) SWIG_fail
;
23207 resultobj
= SWIG_From_int(static_cast< int >(result
));
23214 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23215 PyObject
*resultobj
= 0;
23216 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23220 PyObject
*swig_obj
[1] ;
23222 if (!args
) SWIG_fail
;
23223 swig_obj
[0] = args
;
23224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23225 if (!SWIG_IsOK(res1
)) {
23226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23228 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23231 result
= (int)(arg1
)->IsControl();
23232 wxPyEndAllowThreads(__tstate
);
23233 if (PyErr_Occurred()) SWIG_fail
;
23235 resultobj
= SWIG_From_int(static_cast< int >(result
));
23242 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23243 PyObject
*resultobj
= 0;
23244 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23248 PyObject
*swig_obj
[1] ;
23250 if (!args
) SWIG_fail
;
23251 swig_obj
[0] = args
;
23252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23253 if (!SWIG_IsOK(res1
)) {
23254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23256 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23259 result
= (int)(arg1
)->IsSeparator();
23260 wxPyEndAllowThreads(__tstate
);
23261 if (PyErr_Occurred()) SWIG_fail
;
23263 resultobj
= SWIG_From_int(static_cast< int >(result
));
23270 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23271 PyObject
*resultobj
= 0;
23272 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23276 PyObject
*swig_obj
[1] ;
23278 if (!args
) SWIG_fail
;
23279 swig_obj
[0] = args
;
23280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23281 if (!SWIG_IsOK(res1
)) {
23282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23284 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23287 result
= (int)(arg1
)->GetStyle();
23288 wxPyEndAllowThreads(__tstate
);
23289 if (PyErr_Occurred()) SWIG_fail
;
23291 resultobj
= SWIG_From_int(static_cast< int >(result
));
23298 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23299 PyObject
*resultobj
= 0;
23300 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23304 PyObject
*swig_obj
[1] ;
23306 if (!args
) SWIG_fail
;
23307 swig_obj
[0] = args
;
23308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23309 if (!SWIG_IsOK(res1
)) {
23310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23312 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23315 result
= (wxItemKind
)(arg1
)->GetKind();
23316 wxPyEndAllowThreads(__tstate
);
23317 if (PyErr_Occurred()) SWIG_fail
;
23319 resultobj
= SWIG_From_int(static_cast< int >(result
));
23326 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23327 PyObject
*resultobj
= 0;
23328 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23332 PyObject
*swig_obj
[1] ;
23334 if (!args
) SWIG_fail
;
23335 swig_obj
[0] = args
;
23336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23337 if (!SWIG_IsOK(res1
)) {
23338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23340 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23343 result
= (bool)(arg1
)->IsEnabled();
23344 wxPyEndAllowThreads(__tstate
);
23345 if (PyErr_Occurred()) SWIG_fail
;
23348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23356 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23357 PyObject
*resultobj
= 0;
23358 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23362 PyObject
*swig_obj
[1] ;
23364 if (!args
) SWIG_fail
;
23365 swig_obj
[0] = args
;
23366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23367 if (!SWIG_IsOK(res1
)) {
23368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23370 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23373 result
= (bool)(arg1
)->IsToggled();
23374 wxPyEndAllowThreads(__tstate
);
23375 if (PyErr_Occurred()) SWIG_fail
;
23378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23386 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23387 PyObject
*resultobj
= 0;
23388 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23392 PyObject
*swig_obj
[1] ;
23394 if (!args
) SWIG_fail
;
23395 swig_obj
[0] = args
;
23396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23397 if (!SWIG_IsOK(res1
)) {
23398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23400 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23403 result
= (bool)(arg1
)->CanBeToggled();
23404 wxPyEndAllowThreads(__tstate
);
23405 if (PyErr_Occurred()) SWIG_fail
;
23408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23416 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23417 PyObject
*resultobj
= 0;
23418 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23419 wxBitmap
*result
= 0 ;
23422 PyObject
*swig_obj
[1] ;
23424 if (!args
) SWIG_fail
;
23425 swig_obj
[0] = args
;
23426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23427 if (!SWIG_IsOK(res1
)) {
23428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23430 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23434 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
23435 result
= (wxBitmap
*) &_result_ref
;
23437 wxPyEndAllowThreads(__tstate
);
23438 if (PyErr_Occurred()) SWIG_fail
;
23441 wxBitmap
* resultptr
= new wxBitmap(*result
);
23442 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23450 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23451 PyObject
*resultobj
= 0;
23452 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23453 wxBitmap
*result
= 0 ;
23456 PyObject
*swig_obj
[1] ;
23458 if (!args
) SWIG_fail
;
23459 swig_obj
[0] = args
;
23460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23461 if (!SWIG_IsOK(res1
)) {
23462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23464 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23468 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
23469 result
= (wxBitmap
*) &_result_ref
;
23471 wxPyEndAllowThreads(__tstate
);
23472 if (PyErr_Occurred()) SWIG_fail
;
23475 wxBitmap
* resultptr
= new wxBitmap(*result
);
23476 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23484 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23485 PyObject
*resultobj
= 0;
23486 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23490 PyObject
*swig_obj
[1] ;
23492 if (!args
) SWIG_fail
;
23493 swig_obj
[0] = args
;
23494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23495 if (!SWIG_IsOK(res1
)) {
23496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23498 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23501 result
= (arg1
)->GetBitmap();
23502 wxPyEndAllowThreads(__tstate
);
23503 if (PyErr_Occurred()) SWIG_fail
;
23505 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
23512 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23513 PyObject
*resultobj
= 0;
23514 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23518 PyObject
*swig_obj
[1] ;
23520 if (!args
) SWIG_fail
;
23521 swig_obj
[0] = args
;
23522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23523 if (!SWIG_IsOK(res1
)) {
23524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23526 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23529 result
= (arg1
)->GetLabel();
23530 wxPyEndAllowThreads(__tstate
);
23531 if (PyErr_Occurred()) SWIG_fail
;
23535 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23537 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23546 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23547 PyObject
*resultobj
= 0;
23548 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23552 PyObject
*swig_obj
[1] ;
23554 if (!args
) SWIG_fail
;
23555 swig_obj
[0] = args
;
23556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23557 if (!SWIG_IsOK(res1
)) {
23558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23560 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23563 result
= (arg1
)->GetShortHelp();
23564 wxPyEndAllowThreads(__tstate
);
23565 if (PyErr_Occurred()) SWIG_fail
;
23569 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23571 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23580 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23581 PyObject
*resultobj
= 0;
23582 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23586 PyObject
*swig_obj
[1] ;
23588 if (!args
) SWIG_fail
;
23589 swig_obj
[0] = args
;
23590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23591 if (!SWIG_IsOK(res1
)) {
23592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23594 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23597 result
= (arg1
)->GetLongHelp();
23598 wxPyEndAllowThreads(__tstate
);
23599 if (PyErr_Occurred()) SWIG_fail
;
23603 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23605 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23614 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23615 PyObject
*resultobj
= 0;
23616 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23623 PyObject
* obj0
= 0 ;
23624 PyObject
* obj1
= 0 ;
23625 char * kwnames
[] = {
23626 (char *) "self",(char *) "enable", NULL
23629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23631 if (!SWIG_IsOK(res1
)) {
23632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23634 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23635 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23636 if (!SWIG_IsOK(ecode2
)) {
23637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23639 arg2
= static_cast< bool >(val2
);
23641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23642 result
= (bool)(arg1
)->Enable(arg2
);
23643 wxPyEndAllowThreads(__tstate
);
23644 if (PyErr_Occurred()) SWIG_fail
;
23647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23655 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23656 PyObject
*resultobj
= 0;
23657 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23660 PyObject
*swig_obj
[1] ;
23662 if (!args
) SWIG_fail
;
23663 swig_obj
[0] = args
;
23664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23665 if (!SWIG_IsOK(res1
)) {
23666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23668 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23672 wxPyEndAllowThreads(__tstate
);
23673 if (PyErr_Occurred()) SWIG_fail
;
23675 resultobj
= SWIG_Py_Void();
23682 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23683 PyObject
*resultobj
= 0;
23684 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23691 PyObject
* obj0
= 0 ;
23692 PyObject
* obj1
= 0 ;
23693 char * kwnames
[] = {
23694 (char *) "self",(char *) "toggle", NULL
23697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23699 if (!SWIG_IsOK(res1
)) {
23700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23702 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23703 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23704 if (!SWIG_IsOK(ecode2
)) {
23705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23707 arg2
= static_cast< bool >(val2
);
23709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23710 result
= (bool)(arg1
)->SetToggle(arg2
);
23711 wxPyEndAllowThreads(__tstate
);
23712 if (PyErr_Occurred()) SWIG_fail
;
23715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23723 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23724 PyObject
*resultobj
= 0;
23725 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23726 wxString
*arg2
= 0 ;
23730 bool temp2
= false ;
23731 PyObject
* obj0
= 0 ;
23732 PyObject
* obj1
= 0 ;
23733 char * kwnames
[] = {
23734 (char *) "self",(char *) "help", NULL
23737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23739 if (!SWIG_IsOK(res1
)) {
23740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23742 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23744 arg2
= wxString_in_helper(obj1
);
23745 if (arg2
== NULL
) SWIG_fail
;
23749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23750 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23751 wxPyEndAllowThreads(__tstate
);
23752 if (PyErr_Occurred()) SWIG_fail
;
23755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23771 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23772 PyObject
*resultobj
= 0;
23773 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23774 wxString
*arg2
= 0 ;
23778 bool temp2
= false ;
23779 PyObject
* obj0
= 0 ;
23780 PyObject
* obj1
= 0 ;
23781 char * kwnames
[] = {
23782 (char *) "self",(char *) "help", NULL
23785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23787 if (!SWIG_IsOK(res1
)) {
23788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23790 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23792 arg2
= wxString_in_helper(obj1
);
23793 if (arg2
== NULL
) SWIG_fail
;
23797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23798 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23799 wxPyEndAllowThreads(__tstate
);
23800 if (PyErr_Occurred()) SWIG_fail
;
23803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23819 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23820 PyObject
*resultobj
= 0;
23821 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23822 wxBitmap
*arg2
= 0 ;
23827 PyObject
* obj0
= 0 ;
23828 PyObject
* obj1
= 0 ;
23829 char * kwnames
[] = {
23830 (char *) "self",(char *) "bmp", NULL
23833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23835 if (!SWIG_IsOK(res1
)) {
23836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23838 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23839 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23840 if (!SWIG_IsOK(res2
)) {
23841 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23844 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23846 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23849 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23850 wxPyEndAllowThreads(__tstate
);
23851 if (PyErr_Occurred()) SWIG_fail
;
23853 resultobj
= SWIG_Py_Void();
23860 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23861 PyObject
*resultobj
= 0;
23862 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23863 wxBitmap
*arg2
= 0 ;
23868 PyObject
* obj0
= 0 ;
23869 PyObject
* obj1
= 0 ;
23870 char * kwnames
[] = {
23871 (char *) "self",(char *) "bmp", NULL
23874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23876 if (!SWIG_IsOK(res1
)) {
23877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23879 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23880 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23881 if (!SWIG_IsOK(res2
)) {
23882 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23885 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23887 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23890 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23891 wxPyEndAllowThreads(__tstate
);
23892 if (PyErr_Occurred()) SWIG_fail
;
23894 resultobj
= SWIG_Py_Void();
23901 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23902 PyObject
*resultobj
= 0;
23903 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23904 wxString
*arg2
= 0 ;
23907 bool temp2
= false ;
23908 PyObject
* obj0
= 0 ;
23909 PyObject
* obj1
= 0 ;
23910 char * kwnames
[] = {
23911 (char *) "self",(char *) "label", NULL
23914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23916 if (!SWIG_IsOK(res1
)) {
23917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23919 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23921 arg2
= wxString_in_helper(obj1
);
23922 if (arg2
== NULL
) SWIG_fail
;
23926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23927 (arg1
)->SetLabel((wxString
const &)*arg2
);
23928 wxPyEndAllowThreads(__tstate
);
23929 if (PyErr_Occurred()) SWIG_fail
;
23931 resultobj
= SWIG_Py_Void();
23946 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23947 PyObject
*resultobj
= 0;
23948 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23951 PyObject
*swig_obj
[1] ;
23953 if (!args
) SWIG_fail
;
23954 swig_obj
[0] = args
;
23955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23956 if (!SWIG_IsOK(res1
)) {
23957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23959 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23963 wxPyEndAllowThreads(__tstate
);
23964 if (PyErr_Occurred()) SWIG_fail
;
23966 resultobj
= SWIG_Py_Void();
23973 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23974 PyObject
*resultobj
= 0;
23975 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23976 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23981 PyObject
* obj0
= 0 ;
23982 PyObject
* obj1
= 0 ;
23983 char * kwnames
[] = {
23984 (char *) "self",(char *) "tbar", NULL
23987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23989 if (!SWIG_IsOK(res1
)) {
23990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23992 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23993 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23994 if (!SWIG_IsOK(res2
)) {
23995 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23997 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24000 (arg1
)->Attach(arg2
);
24001 wxPyEndAllowThreads(__tstate
);
24002 if (PyErr_Occurred()) SWIG_fail
;
24004 resultobj
= SWIG_Py_Void();
24011 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24012 PyObject
*resultobj
= 0;
24013 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
24014 PyObject
*result
= 0 ;
24017 PyObject
*swig_obj
[1] ;
24019 if (!args
) SWIG_fail
;
24020 swig_obj
[0] = args
;
24021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24022 if (!SWIG_IsOK(res1
)) {
24023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
24025 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
24027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24028 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
24029 wxPyEndAllowThreads(__tstate
);
24030 if (PyErr_Occurred()) SWIG_fail
;
24032 resultobj
= result
;
24039 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24040 PyObject
*resultobj
= 0;
24041 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
24042 PyObject
*arg2
= (PyObject
*) 0 ;
24045 PyObject
* obj0
= 0 ;
24046 PyObject
* obj1
= 0 ;
24047 char * kwnames
[] = {
24048 (char *) "self",(char *) "clientData", NULL
24051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24053 if (!SWIG_IsOK(res1
)) {
24054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
24056 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
24059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24060 wxToolBarToolBase_SetClientData(arg1
,arg2
);
24061 wxPyEndAllowThreads(__tstate
);
24062 if (PyErr_Occurred()) SWIG_fail
;
24064 resultobj
= SWIG_Py_Void();
24071 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24073 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24074 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
24075 return SWIG_Py_Void();
24078 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24079 PyObject
*resultobj
= 0;
24080 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24082 wxString
*arg3
= 0 ;
24083 wxBitmap
*arg4
= 0 ;
24084 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
24085 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
24086 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
24087 wxString
const &arg7_defvalue
= wxPyEmptyString
;
24088 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24089 wxString
const &arg8_defvalue
= wxPyEmptyString
;
24090 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24091 PyObject
*arg9
= (PyObject
*) NULL
;
24092 wxToolBarToolBase
*result
= 0 ;
24097 bool temp3
= false ;
24104 bool temp7
= false ;
24105 bool temp8
= false ;
24106 PyObject
* obj0
= 0 ;
24107 PyObject
* obj1
= 0 ;
24108 PyObject
* obj2
= 0 ;
24109 PyObject
* obj3
= 0 ;
24110 PyObject
* obj4
= 0 ;
24111 PyObject
* obj5
= 0 ;
24112 PyObject
* obj6
= 0 ;
24113 PyObject
* obj7
= 0 ;
24114 PyObject
* obj8
= 0 ;
24115 char * kwnames
[] = {
24116 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
24119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
24120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24121 if (!SWIG_IsOK(res1
)) {
24122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24124 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24126 if (!SWIG_IsOK(ecode2
)) {
24127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
24129 arg2
= static_cast< int >(val2
);
24131 arg3
= wxString_in_helper(obj2
);
24132 if (arg3
== NULL
) SWIG_fail
;
24135 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24136 if (!SWIG_IsOK(res4
)) {
24137 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
24140 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
24142 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
24144 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24145 if (!SWIG_IsOK(res5
)) {
24146 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24149 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24151 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
24154 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24155 if (!SWIG_IsOK(ecode6
)) {
24156 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
24158 arg6
= static_cast< wxItemKind
>(val6
);
24162 arg7
= wxString_in_helper(obj6
);
24163 if (arg7
== NULL
) SWIG_fail
;
24169 arg8
= wxString_in_helper(obj7
);
24170 if (arg8
== NULL
) SWIG_fail
;
24178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24179 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
24180 wxPyEndAllowThreads(__tstate
);
24181 if (PyErr_Occurred()) SWIG_fail
;
24184 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24216 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24217 PyObject
*resultobj
= 0;
24218 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24221 wxString
*arg4
= 0 ;
24222 wxBitmap
*arg5
= 0 ;
24223 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
24224 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
24225 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
24226 wxString
const &arg8_defvalue
= wxPyEmptyString
;
24227 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24228 wxString
const &arg9_defvalue
= wxPyEmptyString
;
24229 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
24230 PyObject
*arg10
= (PyObject
*) NULL
;
24231 wxToolBarToolBase
*result
= 0 ;
24238 bool temp4
= false ;
24245 bool temp8
= false ;
24246 bool temp9
= false ;
24247 PyObject
* obj0
= 0 ;
24248 PyObject
* obj1
= 0 ;
24249 PyObject
* obj2
= 0 ;
24250 PyObject
* obj3
= 0 ;
24251 PyObject
* obj4
= 0 ;
24252 PyObject
* obj5
= 0 ;
24253 PyObject
* obj6
= 0 ;
24254 PyObject
* obj7
= 0 ;
24255 PyObject
* obj8
= 0 ;
24256 PyObject
* obj9
= 0 ;
24257 char * kwnames
[] = {
24258 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
24261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
24262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24263 if (!SWIG_IsOK(res1
)) {
24264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24266 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24267 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24268 if (!SWIG_IsOK(ecode2
)) {
24269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
24271 arg2
= static_cast< size_t >(val2
);
24272 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24273 if (!SWIG_IsOK(ecode3
)) {
24274 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
24276 arg3
= static_cast< int >(val3
);
24278 arg4
= wxString_in_helper(obj3
);
24279 if (arg4
== NULL
) SWIG_fail
;
24282 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24283 if (!SWIG_IsOK(res5
)) {
24284 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24287 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24289 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
24291 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24292 if (!SWIG_IsOK(res6
)) {
24293 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24296 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24298 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
24301 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24302 if (!SWIG_IsOK(ecode7
)) {
24303 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
24305 arg7
= static_cast< wxItemKind
>(val7
);
24309 arg8
= wxString_in_helper(obj7
);
24310 if (arg8
== NULL
) SWIG_fail
;
24316 arg9
= wxString_in_helper(obj8
);
24317 if (arg9
== NULL
) SWIG_fail
;
24325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24326 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
24327 wxPyEndAllowThreads(__tstate
);
24328 if (PyErr_Occurred()) SWIG_fail
;
24331 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24363 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24364 PyObject
*resultobj
= 0;
24365 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24366 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
24367 wxToolBarToolBase
*result
= 0 ;
24372 PyObject
* obj0
= 0 ;
24373 PyObject
* obj1
= 0 ;
24374 char * kwnames
[] = {
24375 (char *) "self",(char *) "tool", NULL
24378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24380 if (!SWIG_IsOK(res1
)) {
24381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24383 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24384 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24385 if (!SWIG_IsOK(res2
)) {
24386 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24388 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
24390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24391 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
24392 wxPyEndAllowThreads(__tstate
);
24393 if (PyErr_Occurred()) SWIG_fail
;
24396 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24404 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24405 PyObject
*resultobj
= 0;
24406 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24408 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
24409 wxToolBarToolBase
*result
= 0 ;
24416 PyObject
* obj0
= 0 ;
24417 PyObject
* obj1
= 0 ;
24418 PyObject
* obj2
= 0 ;
24419 char * kwnames
[] = {
24420 (char *) "self",(char *) "pos",(char *) "tool", NULL
24423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24425 if (!SWIG_IsOK(res1
)) {
24426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24428 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24429 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24430 if (!SWIG_IsOK(ecode2
)) {
24431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24433 arg2
= static_cast< size_t >(val2
);
24434 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24435 if (!SWIG_IsOK(res3
)) {
24436 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24438 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
24440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24441 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
24442 wxPyEndAllowThreads(__tstate
);
24443 if (PyErr_Occurred()) SWIG_fail
;
24446 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24454 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24455 PyObject
*resultobj
= 0;
24456 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24457 wxControl
*arg2
= (wxControl
*) 0 ;
24458 wxString
const &arg3_defvalue
= wxEmptyString
;
24459 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
24460 wxToolBarToolBase
*result
= 0 ;
24465 bool temp3
= false ;
24466 PyObject
* obj0
= 0 ;
24467 PyObject
* obj1
= 0 ;
24468 PyObject
* obj2
= 0 ;
24469 char * kwnames
[] = {
24470 (char *) "self",(char *) "control",(char *) "label", NULL
24473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24475 if (!SWIG_IsOK(res1
)) {
24476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24478 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24479 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
24480 if (!SWIG_IsOK(res2
)) {
24481 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24483 arg2
= reinterpret_cast< wxControl
* >(argp2
);
24486 arg3
= wxString_in_helper(obj2
);
24487 if (arg3
== NULL
) SWIG_fail
;
24492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24493 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
,(wxString
const &)*arg3
);
24494 wxPyEndAllowThreads(__tstate
);
24495 if (PyErr_Occurred()) SWIG_fail
;
24498 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24514 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24515 PyObject
*resultobj
= 0;
24516 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24518 wxControl
*arg3
= (wxControl
*) 0 ;
24519 wxString
const &arg4_defvalue
= wxEmptyString
;
24520 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24521 wxToolBarToolBase
*result
= 0 ;
24528 bool temp4
= false ;
24529 PyObject
* obj0
= 0 ;
24530 PyObject
* obj1
= 0 ;
24531 PyObject
* obj2
= 0 ;
24532 PyObject
* obj3
= 0 ;
24533 char * kwnames
[] = {
24534 (char *) "self",(char *) "pos",(char *) "control",(char *) "label", NULL
24537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24539 if (!SWIG_IsOK(res1
)) {
24540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24542 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24543 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24544 if (!SWIG_IsOK(ecode2
)) {
24545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24547 arg2
= static_cast< size_t >(val2
);
24548 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
24549 if (!SWIG_IsOK(res3
)) {
24550 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24552 arg3
= reinterpret_cast< wxControl
* >(argp3
);
24555 arg4
= wxString_in_helper(obj3
);
24556 if (arg4
== NULL
) SWIG_fail
;
24561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24562 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
,(wxString
const &)*arg4
);
24563 wxPyEndAllowThreads(__tstate
);
24564 if (PyErr_Occurred()) SWIG_fail
;
24567 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24583 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24584 PyObject
*resultobj
= 0;
24585 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24587 wxControl
*result
= 0 ;
24592 PyObject
* obj0
= 0 ;
24593 PyObject
* obj1
= 0 ;
24594 char * kwnames
[] = {
24595 (char *) "self",(char *) "id", NULL
24598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24600 if (!SWIG_IsOK(res1
)) {
24601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24603 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24604 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24605 if (!SWIG_IsOK(ecode2
)) {
24606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24608 arg2
= static_cast< int >(val2
);
24610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24611 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24612 wxPyEndAllowThreads(__tstate
);
24613 if (PyErr_Occurred()) SWIG_fail
;
24616 resultobj
= wxPyMake_wxObject(result
, 0);
24624 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24625 PyObject
*resultobj
= 0;
24626 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24627 wxToolBarToolBase
*result
= 0 ;
24630 PyObject
*swig_obj
[1] ;
24632 if (!args
) SWIG_fail
;
24633 swig_obj
[0] = args
;
24634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24635 if (!SWIG_IsOK(res1
)) {
24636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24638 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24641 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24642 wxPyEndAllowThreads(__tstate
);
24643 if (PyErr_Occurred()) SWIG_fail
;
24646 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24654 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24655 PyObject
*resultobj
= 0;
24656 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24658 wxToolBarToolBase
*result
= 0 ;
24663 PyObject
* obj0
= 0 ;
24664 PyObject
* obj1
= 0 ;
24665 char * kwnames
[] = {
24666 (char *) "self",(char *) "pos", NULL
24669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24671 if (!SWIG_IsOK(res1
)) {
24672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24674 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24675 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24676 if (!SWIG_IsOK(ecode2
)) {
24677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24679 arg2
= static_cast< size_t >(val2
);
24681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24682 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24683 wxPyEndAllowThreads(__tstate
);
24684 if (PyErr_Occurred()) SWIG_fail
;
24687 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24695 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24696 PyObject
*resultobj
= 0;
24697 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24699 wxToolBarToolBase
*result
= 0 ;
24704 PyObject
* obj0
= 0 ;
24705 PyObject
* obj1
= 0 ;
24706 char * kwnames
[] = {
24707 (char *) "self",(char *) "id", NULL
24710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24712 if (!SWIG_IsOK(res1
)) {
24713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24715 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24716 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24717 if (!SWIG_IsOK(ecode2
)) {
24718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24720 arg2
= static_cast< int >(val2
);
24722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24723 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24724 wxPyEndAllowThreads(__tstate
);
24725 if (PyErr_Occurred()) SWIG_fail
;
24728 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24736 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24737 PyObject
*resultobj
= 0;
24738 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24745 PyObject
* obj0
= 0 ;
24746 PyObject
* obj1
= 0 ;
24747 char * kwnames
[] = {
24748 (char *) "self",(char *) "pos", NULL
24751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24753 if (!SWIG_IsOK(res1
)) {
24754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24756 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24757 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24758 if (!SWIG_IsOK(ecode2
)) {
24759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24761 arg2
= static_cast< size_t >(val2
);
24763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24764 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24765 wxPyEndAllowThreads(__tstate
);
24766 if (PyErr_Occurred()) SWIG_fail
;
24769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24777 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24778 PyObject
*resultobj
= 0;
24779 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24786 PyObject
* obj0
= 0 ;
24787 PyObject
* obj1
= 0 ;
24788 char * kwnames
[] = {
24789 (char *) "self",(char *) "id", NULL
24792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24794 if (!SWIG_IsOK(res1
)) {
24795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24797 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24798 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24799 if (!SWIG_IsOK(ecode2
)) {
24800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24802 arg2
= static_cast< int >(val2
);
24804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24805 result
= (bool)(arg1
)->DeleteTool(arg2
);
24806 wxPyEndAllowThreads(__tstate
);
24807 if (PyErr_Occurred()) SWIG_fail
;
24810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24818 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24819 PyObject
*resultobj
= 0;
24820 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24823 PyObject
*swig_obj
[1] ;
24825 if (!args
) SWIG_fail
;
24826 swig_obj
[0] = args
;
24827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24828 if (!SWIG_IsOK(res1
)) {
24829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24831 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24834 (arg1
)->ClearTools();
24835 wxPyEndAllowThreads(__tstate
);
24836 if (PyErr_Occurred()) SWIG_fail
;
24838 resultobj
= SWIG_Py_Void();
24845 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24846 PyObject
*resultobj
= 0;
24847 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24851 PyObject
*swig_obj
[1] ;
24853 if (!args
) SWIG_fail
;
24854 swig_obj
[0] = args
;
24855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24856 if (!SWIG_IsOK(res1
)) {
24857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24859 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24862 result
= (bool)(arg1
)->Realize();
24863 wxPyEndAllowThreads(__tstate
);
24864 if (PyErr_Occurred()) SWIG_fail
;
24867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24875 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24876 PyObject
*resultobj
= 0;
24877 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24886 PyObject
* obj0
= 0 ;
24887 PyObject
* obj1
= 0 ;
24888 PyObject
* obj2
= 0 ;
24889 char * kwnames
[] = {
24890 (char *) "self",(char *) "id",(char *) "enable", NULL
24893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24895 if (!SWIG_IsOK(res1
)) {
24896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24898 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24899 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24900 if (!SWIG_IsOK(ecode2
)) {
24901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24903 arg2
= static_cast< int >(val2
);
24904 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24905 if (!SWIG_IsOK(ecode3
)) {
24906 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24908 arg3
= static_cast< bool >(val3
);
24910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24911 (arg1
)->EnableTool(arg2
,arg3
);
24912 wxPyEndAllowThreads(__tstate
);
24913 if (PyErr_Occurred()) SWIG_fail
;
24915 resultobj
= SWIG_Py_Void();
24922 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24923 PyObject
*resultobj
= 0;
24924 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24933 PyObject
* obj0
= 0 ;
24934 PyObject
* obj1
= 0 ;
24935 PyObject
* obj2
= 0 ;
24936 char * kwnames
[] = {
24937 (char *) "self",(char *) "id",(char *) "toggle", NULL
24940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24942 if (!SWIG_IsOK(res1
)) {
24943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24945 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24946 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24947 if (!SWIG_IsOK(ecode2
)) {
24948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24950 arg2
= static_cast< int >(val2
);
24951 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24952 if (!SWIG_IsOK(ecode3
)) {
24953 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24955 arg3
= static_cast< bool >(val3
);
24957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24958 (arg1
)->ToggleTool(arg2
,arg3
);
24959 wxPyEndAllowThreads(__tstate
);
24960 if (PyErr_Occurred()) SWIG_fail
;
24962 resultobj
= SWIG_Py_Void();
24969 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24970 PyObject
*resultobj
= 0;
24971 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24980 PyObject
* obj0
= 0 ;
24981 PyObject
* obj1
= 0 ;
24982 PyObject
* obj2
= 0 ;
24983 char * kwnames
[] = {
24984 (char *) "self",(char *) "id",(char *) "toggle", NULL
24987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24989 if (!SWIG_IsOK(res1
)) {
24990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24992 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24993 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24994 if (!SWIG_IsOK(ecode2
)) {
24995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24997 arg2
= static_cast< int >(val2
);
24998 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24999 if (!SWIG_IsOK(ecode3
)) {
25000 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
25002 arg3
= static_cast< bool >(val3
);
25004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25005 (arg1
)->SetToggle(arg2
,arg3
);
25006 wxPyEndAllowThreads(__tstate
);
25007 if (PyErr_Occurred()) SWIG_fail
;
25009 resultobj
= SWIG_Py_Void();
25016 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25017 PyObject
*resultobj
= 0;
25018 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25020 PyObject
*result
= 0 ;
25025 PyObject
* obj0
= 0 ;
25026 PyObject
* obj1
= 0 ;
25027 char * kwnames
[] = {
25028 (char *) "self",(char *) "id", NULL
25031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25033 if (!SWIG_IsOK(res1
)) {
25034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25036 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25037 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25038 if (!SWIG_IsOK(ecode2
)) {
25039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
25041 arg2
= static_cast< int >(val2
);
25043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25044 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
25045 wxPyEndAllowThreads(__tstate
);
25046 if (PyErr_Occurred()) SWIG_fail
;
25048 resultobj
= result
;
25055 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25056 PyObject
*resultobj
= 0;
25057 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25059 PyObject
*arg3
= (PyObject
*) 0 ;
25064 PyObject
* obj0
= 0 ;
25065 PyObject
* obj1
= 0 ;
25066 PyObject
* obj2
= 0 ;
25067 char * kwnames
[] = {
25068 (char *) "self",(char *) "id",(char *) "clientData", NULL
25071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25073 if (!SWIG_IsOK(res1
)) {
25074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25076 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25077 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25078 if (!SWIG_IsOK(ecode2
)) {
25079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
25081 arg2
= static_cast< int >(val2
);
25084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25085 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
25086 wxPyEndAllowThreads(__tstate
);
25087 if (PyErr_Occurred()) SWIG_fail
;
25089 resultobj
= SWIG_Py_Void();
25096 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25097 PyObject
*resultobj
= 0;
25098 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25105 PyObject
* obj0
= 0 ;
25106 PyObject
* obj1
= 0 ;
25107 char * kwnames
[] = {
25108 (char *) "self",(char *) "id", NULL
25111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25113 if (!SWIG_IsOK(res1
)) {
25114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25116 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25117 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25118 if (!SWIG_IsOK(ecode2
)) {
25119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
25121 arg2
= static_cast< int >(val2
);
25123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25124 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
25125 wxPyEndAllowThreads(__tstate
);
25126 if (PyErr_Occurred()) SWIG_fail
;
25128 resultobj
= SWIG_From_int(static_cast< int >(result
));
25135 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25136 PyObject
*resultobj
= 0;
25137 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25144 PyObject
* obj0
= 0 ;
25145 PyObject
* obj1
= 0 ;
25146 char * kwnames
[] = {
25147 (char *) "self",(char *) "id", NULL
25150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25152 if (!SWIG_IsOK(res1
)) {
25153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25155 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25156 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25157 if (!SWIG_IsOK(ecode2
)) {
25158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
25160 arg2
= static_cast< int >(val2
);
25162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25163 result
= (bool)(arg1
)->GetToolState(arg2
);
25164 wxPyEndAllowThreads(__tstate
);
25165 if (PyErr_Occurred()) SWIG_fail
;
25168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25176 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25177 PyObject
*resultobj
= 0;
25178 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25185 PyObject
* obj0
= 0 ;
25186 PyObject
* obj1
= 0 ;
25187 char * kwnames
[] = {
25188 (char *) "self",(char *) "id", NULL
25191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25193 if (!SWIG_IsOK(res1
)) {
25194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25196 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25197 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25198 if (!SWIG_IsOK(ecode2
)) {
25199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
25201 arg2
= static_cast< int >(val2
);
25203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25204 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
25205 wxPyEndAllowThreads(__tstate
);
25206 if (PyErr_Occurred()) SWIG_fail
;
25209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25217 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25218 PyObject
*resultobj
= 0;
25219 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25221 wxString
*arg3
= 0 ;
25226 bool temp3
= false ;
25227 PyObject
* obj0
= 0 ;
25228 PyObject
* obj1
= 0 ;
25229 PyObject
* obj2
= 0 ;
25230 char * kwnames
[] = {
25231 (char *) "self",(char *) "id",(char *) "helpString", NULL
25234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25236 if (!SWIG_IsOK(res1
)) {
25237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25239 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25241 if (!SWIG_IsOK(ecode2
)) {
25242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25244 arg2
= static_cast< int >(val2
);
25246 arg3
= wxString_in_helper(obj2
);
25247 if (arg3
== NULL
) SWIG_fail
;
25251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25252 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
25253 wxPyEndAllowThreads(__tstate
);
25254 if (PyErr_Occurred()) SWIG_fail
;
25256 resultobj
= SWIG_Py_Void();
25271 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25272 PyObject
*resultobj
= 0;
25273 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25280 PyObject
* obj0
= 0 ;
25281 PyObject
* obj1
= 0 ;
25282 char * kwnames
[] = {
25283 (char *) "self",(char *) "id", NULL
25286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25288 if (!SWIG_IsOK(res1
)) {
25289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25291 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25293 if (!SWIG_IsOK(ecode2
)) {
25294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25296 arg2
= static_cast< int >(val2
);
25298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25299 result
= (arg1
)->GetToolShortHelp(arg2
);
25300 wxPyEndAllowThreads(__tstate
);
25301 if (PyErr_Occurred()) SWIG_fail
;
25305 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25307 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25316 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25317 PyObject
*resultobj
= 0;
25318 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25320 wxString
*arg3
= 0 ;
25325 bool temp3
= false ;
25326 PyObject
* obj0
= 0 ;
25327 PyObject
* obj1
= 0 ;
25328 PyObject
* obj2
= 0 ;
25329 char * kwnames
[] = {
25330 (char *) "self",(char *) "id",(char *) "helpString", NULL
25333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25335 if (!SWIG_IsOK(res1
)) {
25336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25338 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25339 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25340 if (!SWIG_IsOK(ecode2
)) {
25341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25343 arg2
= static_cast< int >(val2
);
25345 arg3
= wxString_in_helper(obj2
);
25346 if (arg3
== NULL
) SWIG_fail
;
25350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25351 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
25352 wxPyEndAllowThreads(__tstate
);
25353 if (PyErr_Occurred()) SWIG_fail
;
25355 resultobj
= SWIG_Py_Void();
25370 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25371 PyObject
*resultobj
= 0;
25372 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25379 PyObject
* obj0
= 0 ;
25380 PyObject
* obj1
= 0 ;
25381 char * kwnames
[] = {
25382 (char *) "self",(char *) "id", NULL
25385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25387 if (!SWIG_IsOK(res1
)) {
25388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25390 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25391 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25392 if (!SWIG_IsOK(ecode2
)) {
25393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25395 arg2
= static_cast< int >(val2
);
25397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25398 result
= (arg1
)->GetToolLongHelp(arg2
);
25399 wxPyEndAllowThreads(__tstate
);
25400 if (PyErr_Occurred()) SWIG_fail
;
25404 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25406 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25415 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25416 PyObject
*resultobj
= 0;
25417 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25426 PyObject
* obj0
= 0 ;
25427 PyObject
* obj1
= 0 ;
25428 PyObject
* obj2
= 0 ;
25429 char * kwnames
[] = {
25430 (char *) "self",(char *) "x",(char *) "y", NULL
25433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25435 if (!SWIG_IsOK(res1
)) {
25436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25438 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25440 if (!SWIG_IsOK(ecode2
)) {
25441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25443 arg2
= static_cast< int >(val2
);
25444 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25445 if (!SWIG_IsOK(ecode3
)) {
25446 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25448 arg3
= static_cast< int >(val3
);
25450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25451 (arg1
)->SetMargins(arg2
,arg3
);
25452 wxPyEndAllowThreads(__tstate
);
25453 if (PyErr_Occurred()) SWIG_fail
;
25455 resultobj
= SWIG_Py_Void();
25462 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25463 PyObject
*resultobj
= 0;
25464 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25469 PyObject
* obj0
= 0 ;
25470 PyObject
* obj1
= 0 ;
25471 char * kwnames
[] = {
25472 (char *) "self",(char *) "size", NULL
25475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25477 if (!SWIG_IsOK(res1
)) {
25478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25480 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25483 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25487 (arg1
)->SetMargins((wxSize
const &)*arg2
);
25488 wxPyEndAllowThreads(__tstate
);
25489 if (PyErr_Occurred()) SWIG_fail
;
25491 resultobj
= SWIG_Py_Void();
25498 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25499 PyObject
*resultobj
= 0;
25500 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25506 PyObject
* obj0
= 0 ;
25507 PyObject
* obj1
= 0 ;
25508 char * kwnames
[] = {
25509 (char *) "self",(char *) "packing", NULL
25512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25514 if (!SWIG_IsOK(res1
)) {
25515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25517 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25518 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25519 if (!SWIG_IsOK(ecode2
)) {
25520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25522 arg2
= static_cast< int >(val2
);
25524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25525 (arg1
)->SetToolPacking(arg2
);
25526 wxPyEndAllowThreads(__tstate
);
25527 if (PyErr_Occurred()) SWIG_fail
;
25529 resultobj
= SWIG_Py_Void();
25536 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25537 PyObject
*resultobj
= 0;
25538 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25544 PyObject
* obj0
= 0 ;
25545 PyObject
* obj1
= 0 ;
25546 char * kwnames
[] = {
25547 (char *) "self",(char *) "separation", NULL
25550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25552 if (!SWIG_IsOK(res1
)) {
25553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25555 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25556 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25557 if (!SWIG_IsOK(ecode2
)) {
25558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25560 arg2
= static_cast< int >(val2
);
25562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25563 (arg1
)->SetToolSeparation(arg2
);
25564 wxPyEndAllowThreads(__tstate
);
25565 if (PyErr_Occurred()) SWIG_fail
;
25567 resultobj
= SWIG_Py_Void();
25574 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25575 PyObject
*resultobj
= 0;
25576 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25580 PyObject
*swig_obj
[1] ;
25582 if (!args
) SWIG_fail
;
25583 swig_obj
[0] = args
;
25584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25585 if (!SWIG_IsOK(res1
)) {
25586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25588 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25591 result
= (arg1
)->GetToolMargins();
25592 wxPyEndAllowThreads(__tstate
);
25593 if (PyErr_Occurred()) SWIG_fail
;
25595 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25602 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25603 PyObject
*resultobj
= 0;
25604 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25608 PyObject
*swig_obj
[1] ;
25610 if (!args
) SWIG_fail
;
25611 swig_obj
[0] = args
;
25612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25613 if (!SWIG_IsOK(res1
)) {
25614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25616 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25619 result
= (arg1
)->GetMargins();
25620 wxPyEndAllowThreads(__tstate
);
25621 if (PyErr_Occurred()) SWIG_fail
;
25623 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25630 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25631 PyObject
*resultobj
= 0;
25632 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25636 PyObject
*swig_obj
[1] ;
25638 if (!args
) SWIG_fail
;
25639 swig_obj
[0] = args
;
25640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25641 if (!SWIG_IsOK(res1
)) {
25642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25644 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25647 result
= (int)(arg1
)->GetToolPacking();
25648 wxPyEndAllowThreads(__tstate
);
25649 if (PyErr_Occurred()) SWIG_fail
;
25651 resultobj
= SWIG_From_int(static_cast< int >(result
));
25658 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25659 PyObject
*resultobj
= 0;
25660 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25664 PyObject
*swig_obj
[1] ;
25666 if (!args
) SWIG_fail
;
25667 swig_obj
[0] = args
;
25668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25669 if (!SWIG_IsOK(res1
)) {
25670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25672 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25675 result
= (int)(arg1
)->GetToolSeparation();
25676 wxPyEndAllowThreads(__tstate
);
25677 if (PyErr_Occurred()) SWIG_fail
;
25679 resultobj
= SWIG_From_int(static_cast< int >(result
));
25686 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25687 PyObject
*resultobj
= 0;
25688 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25694 PyObject
* obj0
= 0 ;
25695 PyObject
* obj1
= 0 ;
25696 char * kwnames
[] = {
25697 (char *) "self",(char *) "nRows", NULL
25700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25702 if (!SWIG_IsOK(res1
)) {
25703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25705 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25706 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25707 if (!SWIG_IsOK(ecode2
)) {
25708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25710 arg2
= static_cast< int >(val2
);
25712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25713 (arg1
)->SetRows(arg2
);
25714 wxPyEndAllowThreads(__tstate
);
25715 if (PyErr_Occurred()) SWIG_fail
;
25717 resultobj
= SWIG_Py_Void();
25724 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25725 PyObject
*resultobj
= 0;
25726 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25735 PyObject
* obj0
= 0 ;
25736 PyObject
* obj1
= 0 ;
25737 PyObject
* obj2
= 0 ;
25738 char * kwnames
[] = {
25739 (char *) "self",(char *) "rows",(char *) "cols", NULL
25742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25744 if (!SWIG_IsOK(res1
)) {
25745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25747 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25748 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25749 if (!SWIG_IsOK(ecode2
)) {
25750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25752 arg2
= static_cast< int >(val2
);
25753 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25754 if (!SWIG_IsOK(ecode3
)) {
25755 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25757 arg3
= static_cast< int >(val3
);
25759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25760 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25761 wxPyEndAllowThreads(__tstate
);
25762 if (PyErr_Occurred()) SWIG_fail
;
25764 resultobj
= SWIG_Py_Void();
25771 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25772 PyObject
*resultobj
= 0;
25773 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25777 PyObject
*swig_obj
[1] ;
25779 if (!args
) SWIG_fail
;
25780 swig_obj
[0] = args
;
25781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25782 if (!SWIG_IsOK(res1
)) {
25783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25785 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25788 result
= (int)(arg1
)->GetMaxRows();
25789 wxPyEndAllowThreads(__tstate
);
25790 if (PyErr_Occurred()) SWIG_fail
;
25792 resultobj
= SWIG_From_int(static_cast< int >(result
));
25799 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25800 PyObject
*resultobj
= 0;
25801 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25805 PyObject
*swig_obj
[1] ;
25807 if (!args
) SWIG_fail
;
25808 swig_obj
[0] = args
;
25809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25810 if (!SWIG_IsOK(res1
)) {
25811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25813 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25816 result
= (int)(arg1
)->GetMaxCols();
25817 wxPyEndAllowThreads(__tstate
);
25818 if (PyErr_Occurred()) SWIG_fail
;
25820 resultobj
= SWIG_From_int(static_cast< int >(result
));
25827 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25828 PyObject
*resultobj
= 0;
25829 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25834 PyObject
* obj0
= 0 ;
25835 PyObject
* obj1
= 0 ;
25836 char * kwnames
[] = {
25837 (char *) "self",(char *) "size", NULL
25840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25842 if (!SWIG_IsOK(res1
)) {
25843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25845 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25848 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25852 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25853 wxPyEndAllowThreads(__tstate
);
25854 if (PyErr_Occurred()) SWIG_fail
;
25856 resultobj
= SWIG_Py_Void();
25863 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25864 PyObject
*resultobj
= 0;
25865 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25869 PyObject
*swig_obj
[1] ;
25871 if (!args
) SWIG_fail
;
25872 swig_obj
[0] = args
;
25873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25874 if (!SWIG_IsOK(res1
)) {
25875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25877 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25880 result
= (arg1
)->GetToolBitmapSize();
25881 wxPyEndAllowThreads(__tstate
);
25882 if (PyErr_Occurred()) SWIG_fail
;
25884 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25891 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25892 PyObject
*resultobj
= 0;
25893 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25897 PyObject
*swig_obj
[1] ;
25899 if (!args
) SWIG_fail
;
25900 swig_obj
[0] = args
;
25901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25902 if (!SWIG_IsOK(res1
)) {
25903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25905 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25908 result
= (arg1
)->GetToolSize();
25909 wxPyEndAllowThreads(__tstate
);
25910 if (PyErr_Occurred()) SWIG_fail
;
25912 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25919 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25920 PyObject
*resultobj
= 0;
25921 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25924 wxToolBarToolBase
*result
= 0 ;
25931 PyObject
* obj0
= 0 ;
25932 PyObject
* obj1
= 0 ;
25933 PyObject
* obj2
= 0 ;
25934 char * kwnames
[] = {
25935 (char *) "self",(char *) "x",(char *) "y", NULL
25938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25940 if (!SWIG_IsOK(res1
)) {
25941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25943 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25944 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25945 if (!SWIG_IsOK(ecode2
)) {
25946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25948 arg2
= static_cast< int >(val2
);
25949 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25950 if (!SWIG_IsOK(ecode3
)) {
25951 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25953 arg3
= static_cast< int >(val3
);
25955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25956 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25957 wxPyEndAllowThreads(__tstate
);
25958 if (PyErr_Occurred()) SWIG_fail
;
25961 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25969 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25970 PyObject
*resultobj
= 0;
25971 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25973 wxToolBarToolBase
*result
= 0 ;
25978 PyObject
* obj0
= 0 ;
25979 PyObject
* obj1
= 0 ;
25980 char * kwnames
[] = {
25981 (char *) "self",(char *) "toolid", NULL
25984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25986 if (!SWIG_IsOK(res1
)) {
25987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25989 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25990 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25991 if (!SWIG_IsOK(ecode2
)) {
25992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25994 arg2
= static_cast< int >(val2
);
25996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25997 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25998 wxPyEndAllowThreads(__tstate
);
25999 if (PyErr_Occurred()) SWIG_fail
;
26002 resultobj
= wxPyMake_wxObject(result
, (bool)0);
26010 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26011 PyObject
*resultobj
= 0;
26012 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
26016 PyObject
*swig_obj
[1] ;
26018 if (!args
) SWIG_fail
;
26019 swig_obj
[0] = args
;
26020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
26021 if (!SWIG_IsOK(res1
)) {
26022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
26024 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
26026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26027 result
= (bool)(arg1
)->IsVertical();
26028 wxPyEndAllowThreads(__tstate
);
26029 if (PyErr_Occurred()) SWIG_fail
;
26032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26040 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26041 PyObject
*resultobj
= 0;
26042 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
26046 PyObject
*swig_obj
[1] ;
26048 if (!args
) SWIG_fail
;
26049 swig_obj
[0] = args
;
26050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
26051 if (!SWIG_IsOK(res1
)) {
26052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
26054 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
26056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26057 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
26058 wxPyEndAllowThreads(__tstate
);
26059 if (PyErr_Occurred()) SWIG_fail
;
26061 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
26068 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26070 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26071 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
26072 return SWIG_Py_Void();
26075 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26076 PyObject
*resultobj
= 0;
26077 wxWindow
*arg1
= (wxWindow
*) 0 ;
26078 int arg2
= (int) -1 ;
26079 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26080 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26081 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26082 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26083 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
26084 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
26085 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
26086 wxToolBar
*result
= 0 ;
26095 bool temp6
= false ;
26096 PyObject
* obj0
= 0 ;
26097 PyObject
* obj1
= 0 ;
26098 PyObject
* obj2
= 0 ;
26099 PyObject
* obj3
= 0 ;
26100 PyObject
* obj4
= 0 ;
26101 PyObject
* obj5
= 0 ;
26102 char * kwnames
[] = {
26103 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
26106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26108 if (!SWIG_IsOK(res1
)) {
26109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
26111 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26113 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26114 if (!SWIG_IsOK(ecode2
)) {
26115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
26117 arg2
= static_cast< int >(val2
);
26122 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26128 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26132 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
26133 if (!SWIG_IsOK(ecode5
)) {
26134 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
26136 arg5
= static_cast< long >(val5
);
26140 arg6
= wxString_in_helper(obj5
);
26141 if (arg6
== NULL
) SWIG_fail
;
26146 if (!wxPyCheckForApp()) SWIG_fail
;
26147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26148 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
26149 wxPyEndAllowThreads(__tstate
);
26150 if (PyErr_Occurred()) SWIG_fail
;
26152 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
26167 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26168 PyObject
*resultobj
= 0;
26169 wxToolBar
*result
= 0 ;
26171 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
26173 if (!wxPyCheckForApp()) SWIG_fail
;
26174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26175 result
= (wxToolBar
*)new wxToolBar();
26176 wxPyEndAllowThreads(__tstate
);
26177 if (PyErr_Occurred()) SWIG_fail
;
26179 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
26186 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26187 PyObject
*resultobj
= 0;
26188 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
26189 wxWindow
*arg2
= (wxWindow
*) 0 ;
26190 int arg3
= (int) -1 ;
26191 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26192 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26193 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26194 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26195 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
26196 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
26197 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26209 bool temp7
= false ;
26210 PyObject
* obj0
= 0 ;
26211 PyObject
* obj1
= 0 ;
26212 PyObject
* obj2
= 0 ;
26213 PyObject
* obj3
= 0 ;
26214 PyObject
* obj4
= 0 ;
26215 PyObject
* obj5
= 0 ;
26216 PyObject
* obj6
= 0 ;
26217 char * kwnames
[] = {
26218 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
26221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
26223 if (!SWIG_IsOK(res1
)) {
26224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
26226 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
26227 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26228 if (!SWIG_IsOK(res2
)) {
26229 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
26231 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26233 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26234 if (!SWIG_IsOK(ecode3
)) {
26235 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
26237 arg3
= static_cast< int >(val3
);
26242 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26248 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26252 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
26253 if (!SWIG_IsOK(ecode6
)) {
26254 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
26256 arg6
= static_cast< long >(val6
);
26260 arg7
= wxString_in_helper(obj6
);
26261 if (arg7
== NULL
) SWIG_fail
;
26266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26267 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
26268 wxPyEndAllowThreads(__tstate
);
26269 if (PyErr_Occurred()) SWIG_fail
;
26272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26288 SWIGINTERN PyObject
*_wrap_ToolBar_SetToolNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26289 PyObject
*resultobj
= 0;
26290 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
26292 wxBitmap
*arg3
= 0 ;
26299 PyObject
* obj0
= 0 ;
26300 PyObject
* obj1
= 0 ;
26301 PyObject
* obj2
= 0 ;
26302 char * kwnames
[] = {
26303 (char *) "self",(char *) "id",(char *) "bitmap", NULL
26306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_SetToolNormalBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
26308 if (!SWIG_IsOK(res1
)) {
26309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "1"" of type '" "wxToolBar *""'");
26311 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
26312 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26313 if (!SWIG_IsOK(ecode2
)) {
26314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "2"" of type '" "int""'");
26316 arg2
= static_cast< int >(val2
);
26317 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26318 if (!SWIG_IsOK(res3
)) {
26319 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26322 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26324 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
26326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26327 (arg1
)->SetToolNormalBitmap(arg2
,(wxBitmap
const &)*arg3
);
26328 wxPyEndAllowThreads(__tstate
);
26329 if (PyErr_Occurred()) SWIG_fail
;
26331 resultobj
= SWIG_Py_Void();
26338 SWIGINTERN PyObject
*_wrap_ToolBar_SetToolDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26339 PyObject
*resultobj
= 0;
26340 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
26342 wxBitmap
*arg3
= 0 ;
26349 PyObject
* obj0
= 0 ;
26350 PyObject
* obj1
= 0 ;
26351 PyObject
* obj2
= 0 ;
26352 char * kwnames
[] = {
26353 (char *) "self",(char *) "id",(char *) "bitmap", NULL
26356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_SetToolDisabledBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
26358 if (!SWIG_IsOK(res1
)) {
26359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBar *""'");
26361 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
26362 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26363 if (!SWIG_IsOK(ecode2
)) {
26364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "2"" of type '" "int""'");
26366 arg2
= static_cast< int >(val2
);
26367 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26368 if (!SWIG_IsOK(res3
)) {
26369 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26372 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26374 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
26376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26377 (arg1
)->SetToolDisabledBitmap(arg2
,(wxBitmap
const &)*arg3
);
26378 wxPyEndAllowThreads(__tstate
);
26379 if (PyErr_Occurred()) SWIG_fail
;
26381 resultobj
= SWIG_Py_Void();
26388 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26389 PyObject
*resultobj
= 0;
26390 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26391 SwigValueWrapper
<wxVisualAttributes
> result
;
26394 PyObject
* obj0
= 0 ;
26395 char * kwnames
[] = {
26396 (char *) "variant", NULL
26399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
26401 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26402 if (!SWIG_IsOK(ecode1
)) {
26403 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
26405 arg1
= static_cast< wxWindowVariant
>(val1
);
26408 if (!wxPyCheckForApp()) SWIG_fail
;
26409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26410 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
26411 wxPyEndAllowThreads(__tstate
);
26412 if (PyErr_Occurred()) SWIG_fail
;
26414 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
26421 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26423 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26424 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
26425 return SWIG_Py_Void();
26428 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26429 return SWIG_Python_InitShadowInstance(args
);
26432 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
26433 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
26438 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
26439 PyObject
*pyobj
= 0;
26443 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26445 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26452 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26453 PyObject
*resultobj
= 0;
26454 wxColour
const &arg1_defvalue
= wxNullColour
;
26455 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
26456 wxColour
const &arg2_defvalue
= wxNullColour
;
26457 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
26458 wxFont
const &arg3_defvalue
= wxNullFont
;
26459 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
26460 wxListItemAttr
*result
= 0 ;
26465 PyObject
* obj0
= 0 ;
26466 PyObject
* obj1
= 0 ;
26467 PyObject
* obj2
= 0 ;
26468 char * kwnames
[] = {
26469 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26476 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
26482 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26486 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
26487 if (!SWIG_IsOK(res3
)) {
26488 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26491 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26493 arg3
= reinterpret_cast< wxFont
* >(argp3
);
26496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26497 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
26498 wxPyEndAllowThreads(__tstate
);
26499 if (PyErr_Occurred()) SWIG_fail
;
26501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
26508 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26509 PyObject
*resultobj
= 0;
26510 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26513 PyObject
*swig_obj
[1] ;
26515 if (!args
) SWIG_fail
;
26516 swig_obj
[0] = args
;
26517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
26518 if (!SWIG_IsOK(res1
)) {
26519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26521 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26526 wxPyEndAllowThreads(__tstate
);
26527 if (PyErr_Occurred()) SWIG_fail
;
26529 resultobj
= SWIG_Py_Void();
26536 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26537 PyObject
*resultobj
= 0;
26538 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26539 wxColour
*arg2
= 0 ;
26543 PyObject
* obj0
= 0 ;
26544 PyObject
* obj1
= 0 ;
26545 char * kwnames
[] = {
26546 (char *) "self",(char *) "colText", NULL
26549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26551 if (!SWIG_IsOK(res1
)) {
26552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26554 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26557 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26561 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26562 wxPyEndAllowThreads(__tstate
);
26563 if (PyErr_Occurred()) SWIG_fail
;
26565 resultobj
= SWIG_Py_Void();
26572 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26573 PyObject
*resultobj
= 0;
26574 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26575 wxColour
*arg2
= 0 ;
26579 PyObject
* obj0
= 0 ;
26580 PyObject
* obj1
= 0 ;
26581 char * kwnames
[] = {
26582 (char *) "self",(char *) "colBack", NULL
26585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26587 if (!SWIG_IsOK(res1
)) {
26588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26590 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26593 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26597 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26598 wxPyEndAllowThreads(__tstate
);
26599 if (PyErr_Occurred()) SWIG_fail
;
26601 resultobj
= SWIG_Py_Void();
26608 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26609 PyObject
*resultobj
= 0;
26610 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26616 PyObject
* obj0
= 0 ;
26617 PyObject
* obj1
= 0 ;
26618 char * kwnames
[] = {
26619 (char *) "self",(char *) "font", NULL
26622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26624 if (!SWIG_IsOK(res1
)) {
26625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26627 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26628 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26629 if (!SWIG_IsOK(res2
)) {
26630 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26633 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26635 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26638 (arg1
)->SetFont((wxFont
const &)*arg2
);
26639 wxPyEndAllowThreads(__tstate
);
26640 if (PyErr_Occurred()) SWIG_fail
;
26642 resultobj
= SWIG_Py_Void();
26649 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26650 PyObject
*resultobj
= 0;
26651 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26655 PyObject
*swig_obj
[1] ;
26657 if (!args
) SWIG_fail
;
26658 swig_obj
[0] = args
;
26659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26660 if (!SWIG_IsOK(res1
)) {
26661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26663 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26666 result
= (bool)(arg1
)->HasTextColour();
26667 wxPyEndAllowThreads(__tstate
);
26668 if (PyErr_Occurred()) SWIG_fail
;
26671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26679 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26680 PyObject
*resultobj
= 0;
26681 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26685 PyObject
*swig_obj
[1] ;
26687 if (!args
) SWIG_fail
;
26688 swig_obj
[0] = args
;
26689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26690 if (!SWIG_IsOK(res1
)) {
26691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26693 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26696 result
= (bool)(arg1
)->HasBackgroundColour();
26697 wxPyEndAllowThreads(__tstate
);
26698 if (PyErr_Occurred()) SWIG_fail
;
26701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26709 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26710 PyObject
*resultobj
= 0;
26711 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26715 PyObject
*swig_obj
[1] ;
26717 if (!args
) SWIG_fail
;
26718 swig_obj
[0] = args
;
26719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26720 if (!SWIG_IsOK(res1
)) {
26721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26723 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26726 result
= (bool)(arg1
)->HasFont();
26727 wxPyEndAllowThreads(__tstate
);
26728 if (PyErr_Occurred()) SWIG_fail
;
26731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26739 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26740 PyObject
*resultobj
= 0;
26741 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26745 PyObject
*swig_obj
[1] ;
26747 if (!args
) SWIG_fail
;
26748 swig_obj
[0] = args
;
26749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26750 if (!SWIG_IsOK(res1
)) {
26751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26753 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26756 result
= (arg1
)->GetTextColour();
26757 wxPyEndAllowThreads(__tstate
);
26758 if (PyErr_Occurred()) SWIG_fail
;
26760 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26767 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26768 PyObject
*resultobj
= 0;
26769 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26773 PyObject
*swig_obj
[1] ;
26775 if (!args
) SWIG_fail
;
26776 swig_obj
[0] = args
;
26777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26778 if (!SWIG_IsOK(res1
)) {
26779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26781 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26784 result
= (arg1
)->GetBackgroundColour();
26785 wxPyEndAllowThreads(__tstate
);
26786 if (PyErr_Occurred()) SWIG_fail
;
26788 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26795 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26796 PyObject
*resultobj
= 0;
26797 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26801 PyObject
*swig_obj
[1] ;
26803 if (!args
) SWIG_fail
;
26804 swig_obj
[0] = args
;
26805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26806 if (!SWIG_IsOK(res1
)) {
26807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26809 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26812 result
= (arg1
)->GetFont();
26813 wxPyEndAllowThreads(__tstate
);
26814 if (PyErr_Occurred()) SWIG_fail
;
26816 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26823 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26824 PyObject
*resultobj
= 0;
26825 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26826 wxListItemAttr
*arg2
= 0 ;
26831 PyObject
* obj0
= 0 ;
26832 PyObject
* obj1
= 0 ;
26833 char * kwnames
[] = {
26834 (char *) "self",(char *) "source", NULL
26837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26839 if (!SWIG_IsOK(res1
)) {
26840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26842 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26843 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26844 if (!SWIG_IsOK(res2
)) {
26845 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26848 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26850 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26853 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26854 wxPyEndAllowThreads(__tstate
);
26855 if (PyErr_Occurred()) SWIG_fail
;
26857 resultobj
= SWIG_Py_Void();
26864 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26865 PyObject
*resultobj
= 0;
26866 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26869 PyObject
*swig_obj
[1] ;
26871 if (!args
) SWIG_fail
;
26872 swig_obj
[0] = args
;
26873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26874 if (!SWIG_IsOK(res1
)) {
26875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26877 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26880 wxListItemAttr_Destroy(arg1
);
26881 wxPyEndAllowThreads(__tstate
);
26882 if (PyErr_Occurred()) SWIG_fail
;
26884 resultobj
= SWIG_Py_Void();
26891 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26893 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26894 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26895 return SWIG_Py_Void();
26898 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26899 return SWIG_Python_InitShadowInstance(args
);
26902 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26903 PyObject
*resultobj
= 0;
26904 wxListItem
*result
= 0 ;
26906 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26909 result
= (wxListItem
*)new wxListItem();
26910 wxPyEndAllowThreads(__tstate
);
26911 if (PyErr_Occurred()) SWIG_fail
;
26913 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, SWIG_POINTER_NEW
| 0 );
26920 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26921 PyObject
*resultobj
= 0;
26922 wxListItem
*arg1
= (wxListItem
*) 0 ;
26925 PyObject
*swig_obj
[1] ;
26927 if (!args
) SWIG_fail
;
26928 swig_obj
[0] = args
;
26929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26930 if (!SWIG_IsOK(res1
)) {
26931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26933 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26938 wxPyEndAllowThreads(__tstate
);
26939 if (PyErr_Occurred()) SWIG_fail
;
26941 resultobj
= SWIG_Py_Void();
26948 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26949 PyObject
*resultobj
= 0;
26950 wxListItem
*arg1
= (wxListItem
*) 0 ;
26953 PyObject
*swig_obj
[1] ;
26955 if (!args
) SWIG_fail
;
26956 swig_obj
[0] = args
;
26957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26958 if (!SWIG_IsOK(res1
)) {
26959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26961 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26965 wxPyEndAllowThreads(__tstate
);
26966 if (PyErr_Occurred()) SWIG_fail
;
26968 resultobj
= SWIG_Py_Void();
26975 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26976 PyObject
*resultobj
= 0;
26977 wxListItem
*arg1
= (wxListItem
*) 0 ;
26980 PyObject
*swig_obj
[1] ;
26982 if (!args
) SWIG_fail
;
26983 swig_obj
[0] = args
;
26984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26985 if (!SWIG_IsOK(res1
)) {
26986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26988 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26991 (arg1
)->ClearAttributes();
26992 wxPyEndAllowThreads(__tstate
);
26993 if (PyErr_Occurred()) SWIG_fail
;
26995 resultobj
= SWIG_Py_Void();
27002 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27003 PyObject
*resultobj
= 0;
27004 wxListItem
*arg1
= (wxListItem
*) 0 ;
27010 PyObject
* obj0
= 0 ;
27011 PyObject
* obj1
= 0 ;
27012 char * kwnames
[] = {
27013 (char *) "self",(char *) "mask", NULL
27016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27018 if (!SWIG_IsOK(res1
)) {
27019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27021 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27022 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
27023 if (!SWIG_IsOK(ecode2
)) {
27024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
27026 arg2
= static_cast< long >(val2
);
27028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27029 (arg1
)->SetMask(arg2
);
27030 wxPyEndAllowThreads(__tstate
);
27031 if (PyErr_Occurred()) SWIG_fail
;
27033 resultobj
= SWIG_Py_Void();
27040 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27041 PyObject
*resultobj
= 0;
27042 wxListItem
*arg1
= (wxListItem
*) 0 ;
27048 PyObject
* obj0
= 0 ;
27049 PyObject
* obj1
= 0 ;
27050 char * kwnames
[] = {
27051 (char *) "self",(char *) "id", NULL
27054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27056 if (!SWIG_IsOK(res1
)) {
27057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27059 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27060 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
27061 if (!SWIG_IsOK(ecode2
)) {
27062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
27064 arg2
= static_cast< long >(val2
);
27066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27067 (arg1
)->SetId(arg2
);
27068 wxPyEndAllowThreads(__tstate
);
27069 if (PyErr_Occurred()) SWIG_fail
;
27071 resultobj
= SWIG_Py_Void();
27078 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27079 PyObject
*resultobj
= 0;
27080 wxListItem
*arg1
= (wxListItem
*) 0 ;
27086 PyObject
* obj0
= 0 ;
27087 PyObject
* obj1
= 0 ;
27088 char * kwnames
[] = {
27089 (char *) "self",(char *) "col", NULL
27092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27094 if (!SWIG_IsOK(res1
)) {
27095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27097 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27098 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27099 if (!SWIG_IsOK(ecode2
)) {
27100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
27102 arg2
= static_cast< int >(val2
);
27104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27105 (arg1
)->SetColumn(arg2
);
27106 wxPyEndAllowThreads(__tstate
);
27107 if (PyErr_Occurred()) SWIG_fail
;
27109 resultobj
= SWIG_Py_Void();
27116 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27117 PyObject
*resultobj
= 0;
27118 wxListItem
*arg1
= (wxListItem
*) 0 ;
27124 PyObject
* obj0
= 0 ;
27125 PyObject
* obj1
= 0 ;
27126 char * kwnames
[] = {
27127 (char *) "self",(char *) "state", NULL
27130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27132 if (!SWIG_IsOK(res1
)) {
27133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27135 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27136 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
27137 if (!SWIG_IsOK(ecode2
)) {
27138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
27140 arg2
= static_cast< long >(val2
);
27142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27143 (arg1
)->SetState(arg2
);
27144 wxPyEndAllowThreads(__tstate
);
27145 if (PyErr_Occurred()) SWIG_fail
;
27147 resultobj
= SWIG_Py_Void();
27154 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27155 PyObject
*resultobj
= 0;
27156 wxListItem
*arg1
= (wxListItem
*) 0 ;
27162 PyObject
* obj0
= 0 ;
27163 PyObject
* obj1
= 0 ;
27164 char * kwnames
[] = {
27165 (char *) "self",(char *) "stateMask", NULL
27168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27170 if (!SWIG_IsOK(res1
)) {
27171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27173 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27174 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
27175 if (!SWIG_IsOK(ecode2
)) {
27176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
27178 arg2
= static_cast< long >(val2
);
27180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27181 (arg1
)->SetStateMask(arg2
);
27182 wxPyEndAllowThreads(__tstate
);
27183 if (PyErr_Occurred()) SWIG_fail
;
27185 resultobj
= SWIG_Py_Void();
27192 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27193 PyObject
*resultobj
= 0;
27194 wxListItem
*arg1
= (wxListItem
*) 0 ;
27195 wxString
*arg2
= 0 ;
27198 bool temp2
= false ;
27199 PyObject
* obj0
= 0 ;
27200 PyObject
* obj1
= 0 ;
27201 char * kwnames
[] = {
27202 (char *) "self",(char *) "text", NULL
27205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27207 if (!SWIG_IsOK(res1
)) {
27208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27210 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27212 arg2
= wxString_in_helper(obj1
);
27213 if (arg2
== NULL
) SWIG_fail
;
27217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27218 (arg1
)->SetText((wxString
const &)*arg2
);
27219 wxPyEndAllowThreads(__tstate
);
27220 if (PyErr_Occurred()) SWIG_fail
;
27222 resultobj
= SWIG_Py_Void();
27237 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27238 PyObject
*resultobj
= 0;
27239 wxListItem
*arg1
= (wxListItem
*) 0 ;
27245 PyObject
* obj0
= 0 ;
27246 PyObject
* obj1
= 0 ;
27247 char * kwnames
[] = {
27248 (char *) "self",(char *) "image", NULL
27251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27253 if (!SWIG_IsOK(res1
)) {
27254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27256 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27257 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27258 if (!SWIG_IsOK(ecode2
)) {
27259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
27261 arg2
= static_cast< int >(val2
);
27263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27264 (arg1
)->SetImage(arg2
);
27265 wxPyEndAllowThreads(__tstate
);
27266 if (PyErr_Occurred()) SWIG_fail
;
27268 resultobj
= SWIG_Py_Void();
27275 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27276 PyObject
*resultobj
= 0;
27277 wxListItem
*arg1
= (wxListItem
*) 0 ;
27283 PyObject
* obj0
= 0 ;
27284 PyObject
* obj1
= 0 ;
27285 char * kwnames
[] = {
27286 (char *) "self",(char *) "data", NULL
27289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27291 if (!SWIG_IsOK(res1
)) {
27292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27294 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27295 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
27296 if (!SWIG_IsOK(ecode2
)) {
27297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
27299 arg2
= static_cast< long >(val2
);
27301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27302 (arg1
)->SetData(arg2
);
27303 wxPyEndAllowThreads(__tstate
);
27304 if (PyErr_Occurred()) SWIG_fail
;
27306 resultobj
= SWIG_Py_Void();
27313 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27314 PyObject
*resultobj
= 0;
27315 wxListItem
*arg1
= (wxListItem
*) 0 ;
27321 PyObject
* obj0
= 0 ;
27322 PyObject
* obj1
= 0 ;
27323 char * kwnames
[] = {
27324 (char *) "self",(char *) "width", NULL
27327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27329 if (!SWIG_IsOK(res1
)) {
27330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27332 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27333 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27334 if (!SWIG_IsOK(ecode2
)) {
27335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
27337 arg2
= static_cast< int >(val2
);
27339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27340 (arg1
)->SetWidth(arg2
);
27341 wxPyEndAllowThreads(__tstate
);
27342 if (PyErr_Occurred()) SWIG_fail
;
27344 resultobj
= SWIG_Py_Void();
27351 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27352 PyObject
*resultobj
= 0;
27353 wxListItem
*arg1
= (wxListItem
*) 0 ;
27354 wxListColumnFormat arg2
;
27359 PyObject
* obj0
= 0 ;
27360 PyObject
* obj1
= 0 ;
27361 char * kwnames
[] = {
27362 (char *) "self",(char *) "align", NULL
27365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27367 if (!SWIG_IsOK(res1
)) {
27368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27370 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27371 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27372 if (!SWIG_IsOK(ecode2
)) {
27373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
27375 arg2
= static_cast< wxListColumnFormat
>(val2
);
27377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27378 (arg1
)->SetAlign(arg2
);
27379 wxPyEndAllowThreads(__tstate
);
27380 if (PyErr_Occurred()) SWIG_fail
;
27382 resultobj
= SWIG_Py_Void();
27389 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27390 PyObject
*resultobj
= 0;
27391 wxListItem
*arg1
= (wxListItem
*) 0 ;
27392 wxColour
*arg2
= 0 ;
27396 PyObject
* obj0
= 0 ;
27397 PyObject
* obj1
= 0 ;
27398 char * kwnames
[] = {
27399 (char *) "self",(char *) "colText", NULL
27402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27404 if (!SWIG_IsOK(res1
)) {
27405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27407 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27410 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27414 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
27415 wxPyEndAllowThreads(__tstate
);
27416 if (PyErr_Occurred()) SWIG_fail
;
27418 resultobj
= SWIG_Py_Void();
27425 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27426 PyObject
*resultobj
= 0;
27427 wxListItem
*arg1
= (wxListItem
*) 0 ;
27428 wxColour
*arg2
= 0 ;
27432 PyObject
* obj0
= 0 ;
27433 PyObject
* obj1
= 0 ;
27434 char * kwnames
[] = {
27435 (char *) "self",(char *) "colBack", NULL
27438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27440 if (!SWIG_IsOK(res1
)) {
27441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27443 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27446 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27450 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
27451 wxPyEndAllowThreads(__tstate
);
27452 if (PyErr_Occurred()) SWIG_fail
;
27454 resultobj
= SWIG_Py_Void();
27461 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27462 PyObject
*resultobj
= 0;
27463 wxListItem
*arg1
= (wxListItem
*) 0 ;
27469 PyObject
* obj0
= 0 ;
27470 PyObject
* obj1
= 0 ;
27471 char * kwnames
[] = {
27472 (char *) "self",(char *) "font", NULL
27475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27477 if (!SWIG_IsOK(res1
)) {
27478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27480 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27481 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27482 if (!SWIG_IsOK(res2
)) {
27483 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27486 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27488 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27491 (arg1
)->SetFont((wxFont
const &)*arg2
);
27492 wxPyEndAllowThreads(__tstate
);
27493 if (PyErr_Occurred()) SWIG_fail
;
27495 resultobj
= SWIG_Py_Void();
27502 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27503 PyObject
*resultobj
= 0;
27504 wxListItem
*arg1
= (wxListItem
*) 0 ;
27508 PyObject
*swig_obj
[1] ;
27510 if (!args
) SWIG_fail
;
27511 swig_obj
[0] = args
;
27512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27513 if (!SWIG_IsOK(res1
)) {
27514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27516 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27519 result
= (long)(arg1
)->GetMask();
27520 wxPyEndAllowThreads(__tstate
);
27521 if (PyErr_Occurred()) SWIG_fail
;
27523 resultobj
= SWIG_From_long(static_cast< long >(result
));
27530 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27531 PyObject
*resultobj
= 0;
27532 wxListItem
*arg1
= (wxListItem
*) 0 ;
27536 PyObject
*swig_obj
[1] ;
27538 if (!args
) SWIG_fail
;
27539 swig_obj
[0] = args
;
27540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27541 if (!SWIG_IsOK(res1
)) {
27542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27544 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27547 result
= (long)(arg1
)->GetId();
27548 wxPyEndAllowThreads(__tstate
);
27549 if (PyErr_Occurred()) SWIG_fail
;
27551 resultobj
= SWIG_From_long(static_cast< long >(result
));
27558 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27559 PyObject
*resultobj
= 0;
27560 wxListItem
*arg1
= (wxListItem
*) 0 ;
27564 PyObject
*swig_obj
[1] ;
27566 if (!args
) SWIG_fail
;
27567 swig_obj
[0] = args
;
27568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27569 if (!SWIG_IsOK(res1
)) {
27570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27572 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27575 result
= (int)(arg1
)->GetColumn();
27576 wxPyEndAllowThreads(__tstate
);
27577 if (PyErr_Occurred()) SWIG_fail
;
27579 resultobj
= SWIG_From_int(static_cast< int >(result
));
27586 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27587 PyObject
*resultobj
= 0;
27588 wxListItem
*arg1
= (wxListItem
*) 0 ;
27592 PyObject
*swig_obj
[1] ;
27594 if (!args
) SWIG_fail
;
27595 swig_obj
[0] = args
;
27596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27597 if (!SWIG_IsOK(res1
)) {
27598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27600 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27603 result
= (long)(arg1
)->GetState();
27604 wxPyEndAllowThreads(__tstate
);
27605 if (PyErr_Occurred()) SWIG_fail
;
27607 resultobj
= SWIG_From_long(static_cast< long >(result
));
27614 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27615 PyObject
*resultobj
= 0;
27616 wxListItem
*arg1
= (wxListItem
*) 0 ;
27617 wxString
*result
= 0 ;
27620 PyObject
*swig_obj
[1] ;
27622 if (!args
) SWIG_fail
;
27623 swig_obj
[0] = args
;
27624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27625 if (!SWIG_IsOK(res1
)) {
27626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27628 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27632 wxString
const &_result_ref
= (arg1
)->GetText();
27633 result
= (wxString
*) &_result_ref
;
27635 wxPyEndAllowThreads(__tstate
);
27636 if (PyErr_Occurred()) SWIG_fail
;
27640 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27642 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27651 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27652 PyObject
*resultobj
= 0;
27653 wxListItem
*arg1
= (wxListItem
*) 0 ;
27657 PyObject
*swig_obj
[1] ;
27659 if (!args
) SWIG_fail
;
27660 swig_obj
[0] = args
;
27661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27662 if (!SWIG_IsOK(res1
)) {
27663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27665 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27668 result
= (int)(arg1
)->GetImage();
27669 wxPyEndAllowThreads(__tstate
);
27670 if (PyErr_Occurred()) SWIG_fail
;
27672 resultobj
= SWIG_From_int(static_cast< int >(result
));
27679 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27680 PyObject
*resultobj
= 0;
27681 wxListItem
*arg1
= (wxListItem
*) 0 ;
27685 PyObject
*swig_obj
[1] ;
27687 if (!args
) SWIG_fail
;
27688 swig_obj
[0] = args
;
27689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27690 if (!SWIG_IsOK(res1
)) {
27691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27693 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27696 result
= (long)(arg1
)->GetData();
27697 wxPyEndAllowThreads(__tstate
);
27698 if (PyErr_Occurred()) SWIG_fail
;
27700 resultobj
= SWIG_From_long(static_cast< long >(result
));
27707 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27708 PyObject
*resultobj
= 0;
27709 wxListItem
*arg1
= (wxListItem
*) 0 ;
27713 PyObject
*swig_obj
[1] ;
27715 if (!args
) SWIG_fail
;
27716 swig_obj
[0] = args
;
27717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27718 if (!SWIG_IsOK(res1
)) {
27719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27721 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27724 result
= (int)(arg1
)->GetWidth();
27725 wxPyEndAllowThreads(__tstate
);
27726 if (PyErr_Occurred()) SWIG_fail
;
27728 resultobj
= SWIG_From_int(static_cast< int >(result
));
27735 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27736 PyObject
*resultobj
= 0;
27737 wxListItem
*arg1
= (wxListItem
*) 0 ;
27738 wxListColumnFormat result
;
27741 PyObject
*swig_obj
[1] ;
27743 if (!args
) SWIG_fail
;
27744 swig_obj
[0] = args
;
27745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27746 if (!SWIG_IsOK(res1
)) {
27747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27749 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27752 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27753 wxPyEndAllowThreads(__tstate
);
27754 if (PyErr_Occurred()) SWIG_fail
;
27756 resultobj
= SWIG_From_int(static_cast< int >(result
));
27763 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27764 PyObject
*resultobj
= 0;
27765 wxListItem
*arg1
= (wxListItem
*) 0 ;
27766 wxListItemAttr
*result
= 0 ;
27769 PyObject
*swig_obj
[1] ;
27771 if (!args
) SWIG_fail
;
27772 swig_obj
[0] = args
;
27773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27774 if (!SWIG_IsOK(res1
)) {
27775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27777 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27780 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27781 wxPyEndAllowThreads(__tstate
);
27782 if (PyErr_Occurred()) SWIG_fail
;
27784 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27791 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27792 PyObject
*resultobj
= 0;
27793 wxListItem
*arg1
= (wxListItem
*) 0 ;
27797 PyObject
*swig_obj
[1] ;
27799 if (!args
) SWIG_fail
;
27800 swig_obj
[0] = args
;
27801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27802 if (!SWIG_IsOK(res1
)) {
27803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27805 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27808 result
= (bool)(arg1
)->HasAttributes();
27809 wxPyEndAllowThreads(__tstate
);
27810 if (PyErr_Occurred()) SWIG_fail
;
27813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27821 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27822 PyObject
*resultobj
= 0;
27823 wxListItem
*arg1
= (wxListItem
*) 0 ;
27827 PyObject
*swig_obj
[1] ;
27829 if (!args
) SWIG_fail
;
27830 swig_obj
[0] = args
;
27831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27832 if (!SWIG_IsOK(res1
)) {
27833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27835 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27838 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27839 wxPyEndAllowThreads(__tstate
);
27840 if (PyErr_Occurred()) SWIG_fail
;
27842 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27849 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27850 PyObject
*resultobj
= 0;
27851 wxListItem
*arg1
= (wxListItem
*) 0 ;
27855 PyObject
*swig_obj
[1] ;
27857 if (!args
) SWIG_fail
;
27858 swig_obj
[0] = args
;
27859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27860 if (!SWIG_IsOK(res1
)) {
27861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27863 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27866 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27867 wxPyEndAllowThreads(__tstate
);
27868 if (PyErr_Occurred()) SWIG_fail
;
27870 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27877 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27878 PyObject
*resultobj
= 0;
27879 wxListItem
*arg1
= (wxListItem
*) 0 ;
27883 PyObject
*swig_obj
[1] ;
27885 if (!args
) SWIG_fail
;
27886 swig_obj
[0] = args
;
27887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27888 if (!SWIG_IsOK(res1
)) {
27889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27891 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27894 result
= ((wxListItem
const *)arg1
)->GetFont();
27895 wxPyEndAllowThreads(__tstate
);
27896 if (PyErr_Occurred()) SWIG_fail
;
27898 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27905 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27906 PyObject
*resultobj
= 0;
27907 wxListItem
*arg1
= (wxListItem
*) 0 ;
27913 PyObject
*swig_obj
[2] ;
27915 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27917 if (!SWIG_IsOK(res1
)) {
27918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27920 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27921 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27922 if (!SWIG_IsOK(ecode2
)) {
27923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27925 arg2
= static_cast< long >(val2
);
27926 if (arg1
) (arg1
)->m_mask
= arg2
;
27928 resultobj
= SWIG_Py_Void();
27935 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27936 PyObject
*resultobj
= 0;
27937 wxListItem
*arg1
= (wxListItem
*) 0 ;
27941 PyObject
*swig_obj
[1] ;
27943 if (!args
) SWIG_fail
;
27944 swig_obj
[0] = args
;
27945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27946 if (!SWIG_IsOK(res1
)) {
27947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27949 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27950 result
= (long) ((arg1
)->m_mask
);
27951 resultobj
= SWIG_From_long(static_cast< long >(result
));
27958 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27959 PyObject
*resultobj
= 0;
27960 wxListItem
*arg1
= (wxListItem
*) 0 ;
27966 PyObject
*swig_obj
[2] ;
27968 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27970 if (!SWIG_IsOK(res1
)) {
27971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27973 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27974 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27975 if (!SWIG_IsOK(ecode2
)) {
27976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27978 arg2
= static_cast< long >(val2
);
27979 if (arg1
) (arg1
)->m_itemId
= arg2
;
27981 resultobj
= SWIG_Py_Void();
27988 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27989 PyObject
*resultobj
= 0;
27990 wxListItem
*arg1
= (wxListItem
*) 0 ;
27994 PyObject
*swig_obj
[1] ;
27996 if (!args
) SWIG_fail
;
27997 swig_obj
[0] = args
;
27998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27999 if (!SWIG_IsOK(res1
)) {
28000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28002 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28003 result
= (long) ((arg1
)->m_itemId
);
28004 resultobj
= SWIG_From_long(static_cast< long >(result
));
28011 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28012 PyObject
*resultobj
= 0;
28013 wxListItem
*arg1
= (wxListItem
*) 0 ;
28019 PyObject
*swig_obj
[2] ;
28021 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28023 if (!SWIG_IsOK(res1
)) {
28024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28026 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28027 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28028 if (!SWIG_IsOK(ecode2
)) {
28029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
28031 arg2
= static_cast< int >(val2
);
28032 if (arg1
) (arg1
)->m_col
= arg2
;
28034 resultobj
= SWIG_Py_Void();
28041 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28042 PyObject
*resultobj
= 0;
28043 wxListItem
*arg1
= (wxListItem
*) 0 ;
28047 PyObject
*swig_obj
[1] ;
28049 if (!args
) SWIG_fail
;
28050 swig_obj
[0] = args
;
28051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28052 if (!SWIG_IsOK(res1
)) {
28053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28055 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28056 result
= (int) ((arg1
)->m_col
);
28057 resultobj
= SWIG_From_int(static_cast< int >(result
));
28064 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28065 PyObject
*resultobj
= 0;
28066 wxListItem
*arg1
= (wxListItem
*) 0 ;
28072 PyObject
*swig_obj
[2] ;
28074 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
28075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28076 if (!SWIG_IsOK(res1
)) {
28077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28079 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28080 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28081 if (!SWIG_IsOK(ecode2
)) {
28082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
28084 arg2
= static_cast< long >(val2
);
28085 if (arg1
) (arg1
)->m_state
= arg2
;
28087 resultobj
= SWIG_Py_Void();
28094 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28095 PyObject
*resultobj
= 0;
28096 wxListItem
*arg1
= (wxListItem
*) 0 ;
28100 PyObject
*swig_obj
[1] ;
28102 if (!args
) SWIG_fail
;
28103 swig_obj
[0] = args
;
28104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28105 if (!SWIG_IsOK(res1
)) {
28106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28108 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28109 result
= (long) ((arg1
)->m_state
);
28110 resultobj
= SWIG_From_long(static_cast< long >(result
));
28117 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28118 PyObject
*resultobj
= 0;
28119 wxListItem
*arg1
= (wxListItem
*) 0 ;
28125 PyObject
*swig_obj
[2] ;
28127 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
28128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28129 if (!SWIG_IsOK(res1
)) {
28130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28132 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28133 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28134 if (!SWIG_IsOK(ecode2
)) {
28135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
28137 arg2
= static_cast< long >(val2
);
28138 if (arg1
) (arg1
)->m_stateMask
= arg2
;
28140 resultobj
= SWIG_Py_Void();
28147 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28148 PyObject
*resultobj
= 0;
28149 wxListItem
*arg1
= (wxListItem
*) 0 ;
28153 PyObject
*swig_obj
[1] ;
28155 if (!args
) SWIG_fail
;
28156 swig_obj
[0] = args
;
28157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28158 if (!SWIG_IsOK(res1
)) {
28159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28161 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28162 result
= (long) ((arg1
)->m_stateMask
);
28163 resultobj
= SWIG_From_long(static_cast< long >(result
));
28170 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28171 PyObject
*resultobj
= 0;
28172 wxListItem
*arg1
= (wxListItem
*) 0 ;
28173 wxString
*arg2
= (wxString
*) 0 ;
28176 bool temp2
= false ;
28177 PyObject
*swig_obj
[2] ;
28179 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
28180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28181 if (!SWIG_IsOK(res1
)) {
28182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28184 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28186 arg2
= wxString_in_helper(swig_obj
[1]);
28187 if (arg2
== NULL
) SWIG_fail
;
28190 if (arg1
) (arg1
)->m_text
= *arg2
;
28192 resultobj
= SWIG_Py_Void();
28207 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28208 PyObject
*resultobj
= 0;
28209 wxListItem
*arg1
= (wxListItem
*) 0 ;
28210 wxString
*result
= 0 ;
28213 PyObject
*swig_obj
[1] ;
28215 if (!args
) SWIG_fail
;
28216 swig_obj
[0] = args
;
28217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28218 if (!SWIG_IsOK(res1
)) {
28219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28221 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28222 result
= (wxString
*)& ((arg1
)->m_text
);
28225 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28227 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28236 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28237 PyObject
*resultobj
= 0;
28238 wxListItem
*arg1
= (wxListItem
*) 0 ;
28244 PyObject
*swig_obj
[2] ;
28246 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
28247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28248 if (!SWIG_IsOK(res1
)) {
28249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28251 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28252 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28253 if (!SWIG_IsOK(ecode2
)) {
28254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
28256 arg2
= static_cast< int >(val2
);
28257 if (arg1
) (arg1
)->m_image
= arg2
;
28259 resultobj
= SWIG_Py_Void();
28266 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28267 PyObject
*resultobj
= 0;
28268 wxListItem
*arg1
= (wxListItem
*) 0 ;
28272 PyObject
*swig_obj
[1] ;
28274 if (!args
) SWIG_fail
;
28275 swig_obj
[0] = args
;
28276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28277 if (!SWIG_IsOK(res1
)) {
28278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28280 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28281 result
= (int) ((arg1
)->m_image
);
28282 resultobj
= SWIG_From_int(static_cast< int >(result
));
28289 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28290 PyObject
*resultobj
= 0;
28291 wxListItem
*arg1
= (wxListItem
*) 0 ;
28297 PyObject
*swig_obj
[2] ;
28299 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
28300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28301 if (!SWIG_IsOK(res1
)) {
28302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28304 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28305 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28306 if (!SWIG_IsOK(ecode2
)) {
28307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
28309 arg2
= static_cast< long >(val2
);
28310 if (arg1
) (arg1
)->m_data
= arg2
;
28312 resultobj
= SWIG_Py_Void();
28319 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28320 PyObject
*resultobj
= 0;
28321 wxListItem
*arg1
= (wxListItem
*) 0 ;
28325 PyObject
*swig_obj
[1] ;
28327 if (!args
) SWIG_fail
;
28328 swig_obj
[0] = args
;
28329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28330 if (!SWIG_IsOK(res1
)) {
28331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28333 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28334 result
= (long) ((arg1
)->m_data
);
28335 resultobj
= SWIG_From_long(static_cast< long >(result
));
28342 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28343 PyObject
*resultobj
= 0;
28344 wxListItem
*arg1
= (wxListItem
*) 0 ;
28350 PyObject
*swig_obj
[2] ;
28352 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
28353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28354 if (!SWIG_IsOK(res1
)) {
28355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28357 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28358 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28359 if (!SWIG_IsOK(ecode2
)) {
28360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
28362 arg2
= static_cast< int >(val2
);
28363 if (arg1
) (arg1
)->m_format
= arg2
;
28365 resultobj
= SWIG_Py_Void();
28372 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28373 PyObject
*resultobj
= 0;
28374 wxListItem
*arg1
= (wxListItem
*) 0 ;
28378 PyObject
*swig_obj
[1] ;
28380 if (!args
) SWIG_fail
;
28381 swig_obj
[0] = args
;
28382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28383 if (!SWIG_IsOK(res1
)) {
28384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28386 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28387 result
= (int) ((arg1
)->m_format
);
28388 resultobj
= SWIG_From_int(static_cast< int >(result
));
28395 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28396 PyObject
*resultobj
= 0;
28397 wxListItem
*arg1
= (wxListItem
*) 0 ;
28403 PyObject
*swig_obj
[2] ;
28405 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
28406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28407 if (!SWIG_IsOK(res1
)) {
28408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28410 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28411 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28412 if (!SWIG_IsOK(ecode2
)) {
28413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
28415 arg2
= static_cast< int >(val2
);
28416 if (arg1
) (arg1
)->m_width
= arg2
;
28418 resultobj
= SWIG_Py_Void();
28425 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28426 PyObject
*resultobj
= 0;
28427 wxListItem
*arg1
= (wxListItem
*) 0 ;
28431 PyObject
*swig_obj
[1] ;
28433 if (!args
) SWIG_fail
;
28434 swig_obj
[0] = args
;
28435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28436 if (!SWIG_IsOK(res1
)) {
28437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28439 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28440 result
= (int) ((arg1
)->m_width
);
28441 resultobj
= SWIG_From_int(static_cast< int >(result
));
28448 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28450 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28451 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
28452 return SWIG_Py_Void();
28455 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28456 return SWIG_Python_InitShadowInstance(args
);
28459 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28460 PyObject
*resultobj
= 0;
28461 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28462 int arg2
= (int) 0 ;
28463 wxListEvent
*result
= 0 ;
28468 PyObject
* obj0
= 0 ;
28469 PyObject
* obj1
= 0 ;
28470 char * kwnames
[] = {
28471 (char *) "commandType",(char *) "id", NULL
28474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28476 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28477 if (!SWIG_IsOK(ecode1
)) {
28478 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28480 arg1
= static_cast< wxEventType
>(val1
);
28483 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28484 if (!SWIG_IsOK(ecode2
)) {
28485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28487 arg2
= static_cast< int >(val2
);
28490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28491 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
28492 wxPyEndAllowThreads(__tstate
);
28493 if (PyErr_Occurred()) SWIG_fail
;
28495 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
28502 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28503 PyObject
*resultobj
= 0;
28504 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28510 PyObject
*swig_obj
[2] ;
28512 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
28513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28514 if (!SWIG_IsOK(res1
)) {
28515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28517 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28518 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28519 if (!SWIG_IsOK(ecode2
)) {
28520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28522 arg2
= static_cast< int >(val2
);
28523 if (arg1
) (arg1
)->m_code
= arg2
;
28525 resultobj
= SWIG_Py_Void();
28532 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28533 PyObject
*resultobj
= 0;
28534 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28538 PyObject
*swig_obj
[1] ;
28540 if (!args
) SWIG_fail
;
28541 swig_obj
[0] = args
;
28542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28543 if (!SWIG_IsOK(res1
)) {
28544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28546 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28547 result
= (int) ((arg1
)->m_code
);
28548 resultobj
= SWIG_From_int(static_cast< int >(result
));
28555 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28556 PyObject
*resultobj
= 0;
28557 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28563 PyObject
*swig_obj
[2] ;
28565 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28567 if (!SWIG_IsOK(res1
)) {
28568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28570 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28571 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28572 if (!SWIG_IsOK(ecode2
)) {
28573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28575 arg2
= static_cast< long >(val2
);
28576 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
28578 resultobj
= SWIG_Py_Void();
28585 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28586 PyObject
*resultobj
= 0;
28587 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28591 PyObject
*swig_obj
[1] ;
28593 if (!args
) SWIG_fail
;
28594 swig_obj
[0] = args
;
28595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28596 if (!SWIG_IsOK(res1
)) {
28597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28599 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28600 result
= (long) ((arg1
)->m_oldItemIndex
);
28601 resultobj
= SWIG_From_long(static_cast< long >(result
));
28608 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28609 PyObject
*resultobj
= 0;
28610 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28616 PyObject
*swig_obj
[2] ;
28618 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28620 if (!SWIG_IsOK(res1
)) {
28621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28623 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28624 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28625 if (!SWIG_IsOK(ecode2
)) {
28626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28628 arg2
= static_cast< long >(val2
);
28629 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
28631 resultobj
= SWIG_Py_Void();
28638 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28639 PyObject
*resultobj
= 0;
28640 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28644 PyObject
*swig_obj
[1] ;
28646 if (!args
) SWIG_fail
;
28647 swig_obj
[0] = args
;
28648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28649 if (!SWIG_IsOK(res1
)) {
28650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28652 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28653 result
= (long) ((arg1
)->m_itemIndex
);
28654 resultobj
= SWIG_From_long(static_cast< long >(result
));
28661 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28662 PyObject
*resultobj
= 0;
28663 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28669 PyObject
*swig_obj
[2] ;
28671 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28673 if (!SWIG_IsOK(res1
)) {
28674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28676 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28677 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28678 if (!SWIG_IsOK(ecode2
)) {
28679 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28681 arg2
= static_cast< int >(val2
);
28682 if (arg1
) (arg1
)->m_col
= arg2
;
28684 resultobj
= SWIG_Py_Void();
28691 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28692 PyObject
*resultobj
= 0;
28693 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28697 PyObject
*swig_obj
[1] ;
28699 if (!args
) SWIG_fail
;
28700 swig_obj
[0] = args
;
28701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28702 if (!SWIG_IsOK(res1
)) {
28703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28705 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28706 result
= (int) ((arg1
)->m_col
);
28707 resultobj
= SWIG_From_int(static_cast< int >(result
));
28714 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28715 PyObject
*resultobj
= 0;
28716 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28717 wxPoint
*arg2
= (wxPoint
*) 0 ;
28722 PyObject
*swig_obj
[2] ;
28724 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28726 if (!SWIG_IsOK(res1
)) {
28727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28729 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28730 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28731 if (!SWIG_IsOK(res2
)) {
28732 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28734 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28735 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28737 resultobj
= SWIG_Py_Void();
28744 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28745 PyObject
*resultobj
= 0;
28746 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28747 wxPoint
*result
= 0 ;
28750 PyObject
*swig_obj
[1] ;
28752 if (!args
) SWIG_fail
;
28753 swig_obj
[0] = args
;
28754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28755 if (!SWIG_IsOK(res1
)) {
28756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28758 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28759 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28760 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28767 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28768 PyObject
*resultobj
= 0;
28769 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28770 wxListItem
*result
= 0 ;
28773 PyObject
*swig_obj
[1] ;
28775 if (!args
) SWIG_fail
;
28776 swig_obj
[0] = args
;
28777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28778 if (!SWIG_IsOK(res1
)) {
28779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28781 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28782 result
= (wxListItem
*)& ((arg1
)->m_item
);
28784 resultobj
= wxPyMake_wxObject(result
, 0);
28792 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28793 PyObject
*resultobj
= 0;
28794 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28798 PyObject
*swig_obj
[1] ;
28800 if (!args
) SWIG_fail
;
28801 swig_obj
[0] = args
;
28802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28803 if (!SWIG_IsOK(res1
)) {
28804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28806 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28809 result
= (int)(arg1
)->GetKeyCode();
28810 wxPyEndAllowThreads(__tstate
);
28811 if (PyErr_Occurred()) SWIG_fail
;
28813 resultobj
= SWIG_From_int(static_cast< int >(result
));
28820 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28821 PyObject
*resultobj
= 0;
28822 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28826 PyObject
*swig_obj
[1] ;
28828 if (!args
) SWIG_fail
;
28829 swig_obj
[0] = args
;
28830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28831 if (!SWIG_IsOK(res1
)) {
28832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28834 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28837 result
= (long)(arg1
)->GetIndex();
28838 wxPyEndAllowThreads(__tstate
);
28839 if (PyErr_Occurred()) SWIG_fail
;
28841 resultobj
= SWIG_From_long(static_cast< long >(result
));
28848 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28849 PyObject
*resultobj
= 0;
28850 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28854 PyObject
*swig_obj
[1] ;
28856 if (!args
) SWIG_fail
;
28857 swig_obj
[0] = args
;
28858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28859 if (!SWIG_IsOK(res1
)) {
28860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28862 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28865 result
= (int)(arg1
)->GetColumn();
28866 wxPyEndAllowThreads(__tstate
);
28867 if (PyErr_Occurred()) SWIG_fail
;
28869 resultobj
= SWIG_From_int(static_cast< int >(result
));
28876 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28877 PyObject
*resultobj
= 0;
28878 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28882 PyObject
*swig_obj
[1] ;
28884 if (!args
) SWIG_fail
;
28885 swig_obj
[0] = args
;
28886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28887 if (!SWIG_IsOK(res1
)) {
28888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28890 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28893 result
= (arg1
)->GetPoint();
28894 wxPyEndAllowThreads(__tstate
);
28895 if (PyErr_Occurred()) SWIG_fail
;
28897 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28904 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28905 PyObject
*resultobj
= 0;
28906 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28907 wxString
*result
= 0 ;
28910 PyObject
*swig_obj
[1] ;
28912 if (!args
) SWIG_fail
;
28913 swig_obj
[0] = args
;
28914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28915 if (!SWIG_IsOK(res1
)) {
28916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28918 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28922 wxString
const &_result_ref
= (arg1
)->GetLabel();
28923 result
= (wxString
*) &_result_ref
;
28925 wxPyEndAllowThreads(__tstate
);
28926 if (PyErr_Occurred()) SWIG_fail
;
28930 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28932 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28941 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28942 PyObject
*resultobj
= 0;
28943 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28944 wxString
*result
= 0 ;
28947 PyObject
*swig_obj
[1] ;
28949 if (!args
) SWIG_fail
;
28950 swig_obj
[0] = args
;
28951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28952 if (!SWIG_IsOK(res1
)) {
28953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28955 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28959 wxString
const &_result_ref
= (arg1
)->GetText();
28960 result
= (wxString
*) &_result_ref
;
28962 wxPyEndAllowThreads(__tstate
);
28963 if (PyErr_Occurred()) SWIG_fail
;
28967 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28969 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28978 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28979 PyObject
*resultobj
= 0;
28980 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28984 PyObject
*swig_obj
[1] ;
28986 if (!args
) SWIG_fail
;
28987 swig_obj
[0] = args
;
28988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28989 if (!SWIG_IsOK(res1
)) {
28990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28992 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28995 result
= (int)(arg1
)->GetImage();
28996 wxPyEndAllowThreads(__tstate
);
28997 if (PyErr_Occurred()) SWIG_fail
;
28999 resultobj
= SWIG_From_int(static_cast< int >(result
));
29006 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29007 PyObject
*resultobj
= 0;
29008 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
29012 PyObject
*swig_obj
[1] ;
29014 if (!args
) SWIG_fail
;
29015 swig_obj
[0] = args
;
29016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
29017 if (!SWIG_IsOK(res1
)) {
29018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
29020 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
29022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29023 result
= (long)(arg1
)->GetData();
29024 wxPyEndAllowThreads(__tstate
);
29025 if (PyErr_Occurred()) SWIG_fail
;
29027 resultobj
= SWIG_From_long(static_cast< long >(result
));
29034 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29035 PyObject
*resultobj
= 0;
29036 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
29040 PyObject
*swig_obj
[1] ;
29042 if (!args
) SWIG_fail
;
29043 swig_obj
[0] = args
;
29044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
29045 if (!SWIG_IsOK(res1
)) {
29046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
29048 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
29050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29051 result
= (long)(arg1
)->GetMask();
29052 wxPyEndAllowThreads(__tstate
);
29053 if (PyErr_Occurred()) SWIG_fail
;
29055 resultobj
= SWIG_From_long(static_cast< long >(result
));
29062 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29063 PyObject
*resultobj
= 0;
29064 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
29065 wxListItem
*result
= 0 ;
29068 PyObject
*swig_obj
[1] ;
29070 if (!args
) SWIG_fail
;
29071 swig_obj
[0] = args
;
29072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
29073 if (!SWIG_IsOK(res1
)) {
29074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
29076 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
29078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29080 wxListItem
const &_result_ref
= (arg1
)->GetItem();
29081 result
= (wxListItem
*) &_result_ref
;
29083 wxPyEndAllowThreads(__tstate
);
29084 if (PyErr_Occurred()) SWIG_fail
;
29086 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
29093 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29094 PyObject
*resultobj
= 0;
29095 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
29099 PyObject
*swig_obj
[1] ;
29101 if (!args
) SWIG_fail
;
29102 swig_obj
[0] = args
;
29103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
29104 if (!SWIG_IsOK(res1
)) {
29105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
29107 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
29109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29110 result
= (long)(arg1
)->GetCacheFrom();
29111 wxPyEndAllowThreads(__tstate
);
29112 if (PyErr_Occurred()) SWIG_fail
;
29114 resultobj
= SWIG_From_long(static_cast< long >(result
));
29121 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29122 PyObject
*resultobj
= 0;
29123 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
29127 PyObject
*swig_obj
[1] ;
29129 if (!args
) SWIG_fail
;
29130 swig_obj
[0] = args
;
29131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
29132 if (!SWIG_IsOK(res1
)) {
29133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
29135 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
29137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29138 result
= (long)(arg1
)->GetCacheTo();
29139 wxPyEndAllowThreads(__tstate
);
29140 if (PyErr_Occurred()) SWIG_fail
;
29142 resultobj
= SWIG_From_long(static_cast< long >(result
));
29149 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29150 PyObject
*resultobj
= 0;
29151 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
29155 PyObject
*swig_obj
[1] ;
29157 if (!args
) SWIG_fail
;
29158 swig_obj
[0] = args
;
29159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
29160 if (!SWIG_IsOK(res1
)) {
29161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
29163 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
29165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29166 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
29167 wxPyEndAllowThreads(__tstate
);
29168 if (PyErr_Occurred()) SWIG_fail
;
29171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29179 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29180 PyObject
*resultobj
= 0;
29181 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
29187 PyObject
* obj0
= 0 ;
29188 PyObject
* obj1
= 0 ;
29189 char * kwnames
[] = {
29190 (char *) "self",(char *) "editCancelled", NULL
29193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
29195 if (!SWIG_IsOK(res1
)) {
29196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
29198 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
29199 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29200 if (!SWIG_IsOK(ecode2
)) {
29201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
29203 arg2
= static_cast< bool >(val2
);
29205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29206 (arg1
)->SetEditCanceled(arg2
);
29207 wxPyEndAllowThreads(__tstate
);
29208 if (PyErr_Occurred()) SWIG_fail
;
29210 resultobj
= SWIG_Py_Void();
29217 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29219 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29220 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
29221 return SWIG_Py_Void();
29224 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29225 return SWIG_Python_InitShadowInstance(args
);
29228 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29229 PyObject
*resultobj
= 0;
29230 wxWindow
*arg1
= (wxWindow
*) 0 ;
29231 int arg2
= (int) -1 ;
29232 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29233 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29234 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29235 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29236 long arg5
= (long) wxLC_ICON
;
29237 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
29238 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
29239 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
29240 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29241 wxPyListCtrl
*result
= 0 ;
29252 bool temp7
= false ;
29253 PyObject
* obj0
= 0 ;
29254 PyObject
* obj1
= 0 ;
29255 PyObject
* obj2
= 0 ;
29256 PyObject
* obj3
= 0 ;
29257 PyObject
* obj4
= 0 ;
29258 PyObject
* obj5
= 0 ;
29259 PyObject
* obj6
= 0 ;
29260 char * kwnames
[] = {
29261 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29266 if (!SWIG_IsOK(res1
)) {
29267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
29269 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29271 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29272 if (!SWIG_IsOK(ecode2
)) {
29273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
29275 arg2
= static_cast< int >(val2
);
29280 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29286 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29290 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
29291 if (!SWIG_IsOK(ecode5
)) {
29292 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
29294 arg5
= static_cast< long >(val5
);
29297 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
29298 if (!SWIG_IsOK(res6
)) {
29299 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
29302 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
29304 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
29308 arg7
= wxString_in_helper(obj6
);
29309 if (arg7
== NULL
) SWIG_fail
;
29314 if (!wxPyCheckForApp()) SWIG_fail
;
29315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29316 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29317 wxPyEndAllowThreads(__tstate
);
29318 if (PyErr_Occurred()) SWIG_fail
;
29320 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
29335 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29336 PyObject
*resultobj
= 0;
29337 wxPyListCtrl
*result
= 0 ;
29339 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
29341 if (!wxPyCheckForApp()) SWIG_fail
;
29342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29343 result
= (wxPyListCtrl
*)new wxPyListCtrl();
29344 wxPyEndAllowThreads(__tstate
);
29345 if (PyErr_Occurred()) SWIG_fail
;
29347 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
29354 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29355 PyObject
*resultobj
= 0;
29356 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29357 wxWindow
*arg2
= (wxWindow
*) 0 ;
29358 int arg3
= (int) -1 ;
29359 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29360 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29361 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29362 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29363 long arg6
= (long) wxLC_ICON
;
29364 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
29365 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
29366 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
29367 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
29381 bool temp8
= false ;
29382 PyObject
* obj0
= 0 ;
29383 PyObject
* obj1
= 0 ;
29384 PyObject
* obj2
= 0 ;
29385 PyObject
* obj3
= 0 ;
29386 PyObject
* obj4
= 0 ;
29387 PyObject
* obj5
= 0 ;
29388 PyObject
* obj6
= 0 ;
29389 PyObject
* obj7
= 0 ;
29390 char * kwnames
[] = {
29391 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
29395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29396 if (!SWIG_IsOK(res1
)) {
29397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29399 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29400 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29401 if (!SWIG_IsOK(res2
)) {
29402 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
29404 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29406 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29407 if (!SWIG_IsOK(ecode3
)) {
29408 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
29410 arg3
= static_cast< int >(val3
);
29415 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29421 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29425 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29426 if (!SWIG_IsOK(ecode6
)) {
29427 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
29429 arg6
= static_cast< long >(val6
);
29432 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
29433 if (!SWIG_IsOK(res7
)) {
29434 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29437 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29439 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
29443 arg8
= wxString_in_helper(obj7
);
29444 if (arg8
== NULL
) SWIG_fail
;
29449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29450 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
29451 wxPyEndAllowThreads(__tstate
);
29452 if (PyErr_Occurred()) SWIG_fail
;
29455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29471 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29472 PyObject
*resultobj
= 0;
29473 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29474 PyObject
*arg2
= (PyObject
*) 0 ;
29475 PyObject
*arg3
= (PyObject
*) 0 ;
29478 PyObject
* obj0
= 0 ;
29479 PyObject
* obj1
= 0 ;
29480 PyObject
* obj2
= 0 ;
29481 char * kwnames
[] = {
29482 (char *) "self",(char *) "self",(char *) "_class", NULL
29485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29487 if (!SWIG_IsOK(res1
)) {
29488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29490 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29495 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29496 wxPyEndAllowThreads(__tstate
);
29497 if (PyErr_Occurred()) SWIG_fail
;
29499 resultobj
= SWIG_Py_Void();
29506 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29507 PyObject
*resultobj
= 0;
29508 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29510 wxListItem
*result
= 0 ;
29515 PyObject
* obj0
= 0 ;
29516 PyObject
* obj1
= 0 ;
29517 char * kwnames
[] = {
29518 (char *) "self",(char *) "col", NULL
29521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29523 if (!SWIG_IsOK(res1
)) {
29524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29526 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29527 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29528 if (!SWIG_IsOK(ecode2
)) {
29529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29531 arg2
= static_cast< int >(val2
);
29533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29534 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
29535 wxPyEndAllowThreads(__tstate
);
29536 if (PyErr_Occurred()) SWIG_fail
;
29539 resultobj
= wxPyMake_wxObject(result
, 0);
29547 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29548 PyObject
*resultobj
= 0;
29549 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29551 wxListItem
*arg3
= 0 ;
29559 PyObject
* obj0
= 0 ;
29560 PyObject
* obj1
= 0 ;
29561 PyObject
* obj2
= 0 ;
29562 char * kwnames
[] = {
29563 (char *) "self",(char *) "col",(char *) "item", NULL
29566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29568 if (!SWIG_IsOK(res1
)) {
29569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29571 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29573 if (!SWIG_IsOK(ecode2
)) {
29574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29576 arg2
= static_cast< int >(val2
);
29577 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
29578 if (!SWIG_IsOK(res3
)) {
29579 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29584 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
29586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29587 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
29588 wxPyEndAllowThreads(__tstate
);
29589 if (PyErr_Occurred()) SWIG_fail
;
29592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29600 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29601 PyObject
*resultobj
= 0;
29602 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29609 PyObject
* obj0
= 0 ;
29610 PyObject
* obj1
= 0 ;
29611 char * kwnames
[] = {
29612 (char *) "self",(char *) "col", NULL
29615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29617 if (!SWIG_IsOK(res1
)) {
29618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29620 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29621 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29622 if (!SWIG_IsOK(ecode2
)) {
29623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29625 arg2
= static_cast< int >(val2
);
29627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29628 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
29629 wxPyEndAllowThreads(__tstate
);
29630 if (PyErr_Occurred()) SWIG_fail
;
29632 resultobj
= SWIG_From_int(static_cast< int >(result
));
29639 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29640 PyObject
*resultobj
= 0;
29641 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29651 PyObject
* obj0
= 0 ;
29652 PyObject
* obj1
= 0 ;
29653 PyObject
* obj2
= 0 ;
29654 char * kwnames
[] = {
29655 (char *) "self",(char *) "col",(char *) "width", NULL
29658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29660 if (!SWIG_IsOK(res1
)) {
29661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29663 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29665 if (!SWIG_IsOK(ecode2
)) {
29666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29668 arg2
= static_cast< int >(val2
);
29669 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29670 if (!SWIG_IsOK(ecode3
)) {
29671 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29673 arg3
= static_cast< int >(val3
);
29675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29676 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
29677 wxPyEndAllowThreads(__tstate
);
29678 if (PyErr_Occurred()) SWIG_fail
;
29681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29689 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29690 PyObject
*resultobj
= 0;
29691 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29695 PyObject
*swig_obj
[1] ;
29697 if (!args
) SWIG_fail
;
29698 swig_obj
[0] = args
;
29699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29700 if (!SWIG_IsOK(res1
)) {
29701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29703 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29706 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29707 wxPyEndAllowThreads(__tstate
);
29708 if (PyErr_Occurred()) SWIG_fail
;
29710 resultobj
= SWIG_From_int(static_cast< int >(result
));
29717 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29718 PyObject
*resultobj
= 0;
29719 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29723 PyObject
*swig_obj
[1] ;
29725 if (!args
) SWIG_fail
;
29726 swig_obj
[0] = args
;
29727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29728 if (!SWIG_IsOK(res1
)) {
29729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29731 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29734 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29735 wxPyEndAllowThreads(__tstate
);
29736 if (PyErr_Occurred()) SWIG_fail
;
29738 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29745 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29746 PyObject
*resultobj
= 0;
29747 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29748 wxTextCtrl
*result
= 0 ;
29751 PyObject
*swig_obj
[1] ;
29753 if (!args
) SWIG_fail
;
29754 swig_obj
[0] = args
;
29755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29756 if (!SWIG_IsOK(res1
)) {
29757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29759 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29762 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29763 wxPyEndAllowThreads(__tstate
);
29764 if (PyErr_Occurred()) SWIG_fail
;
29767 resultobj
= wxPyMake_wxObject(result
, 0);
29775 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29776 PyObject
*resultobj
= 0;
29777 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29779 int arg3
= (int) 0 ;
29780 wxListItem
*result
= 0 ;
29787 PyObject
* obj0
= 0 ;
29788 PyObject
* obj1
= 0 ;
29789 PyObject
* obj2
= 0 ;
29790 char * kwnames
[] = {
29791 (char *) "self",(char *) "itemId",(char *) "col", NULL
29794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29796 if (!SWIG_IsOK(res1
)) {
29797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29799 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29800 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29801 if (!SWIG_IsOK(ecode2
)) {
29802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29804 arg2
= static_cast< long >(val2
);
29806 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29807 if (!SWIG_IsOK(ecode3
)) {
29808 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29810 arg3
= static_cast< int >(val3
);
29813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29814 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29815 wxPyEndAllowThreads(__tstate
);
29816 if (PyErr_Occurred()) SWIG_fail
;
29819 resultobj
= wxPyMake_wxObject(result
, 0);
29827 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29828 PyObject
*resultobj
= 0;
29829 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29830 wxListItem
*arg2
= 0 ;
29836 PyObject
* obj0
= 0 ;
29837 PyObject
* obj1
= 0 ;
29838 char * kwnames
[] = {
29839 (char *) "self",(char *) "info", NULL
29842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29844 if (!SWIG_IsOK(res1
)) {
29845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29847 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29848 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29849 if (!SWIG_IsOK(res2
)) {
29850 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29853 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29855 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29858 result
= (bool)(arg1
)->SetItem(*arg2
);
29859 wxPyEndAllowThreads(__tstate
);
29860 if (PyErr_Occurred()) SWIG_fail
;
29863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29871 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29872 PyObject
*resultobj
= 0;
29873 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29876 wxString
*arg4
= 0 ;
29877 int arg5
= (int) -1 ;
29885 bool temp4
= false ;
29888 PyObject
* obj0
= 0 ;
29889 PyObject
* obj1
= 0 ;
29890 PyObject
* obj2
= 0 ;
29891 PyObject
* obj3
= 0 ;
29892 PyObject
* obj4
= 0 ;
29893 char * kwnames
[] = {
29894 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29899 if (!SWIG_IsOK(res1
)) {
29900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29902 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29903 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29904 if (!SWIG_IsOK(ecode2
)) {
29905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29907 arg2
= static_cast< long >(val2
);
29908 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29909 if (!SWIG_IsOK(ecode3
)) {
29910 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29912 arg3
= static_cast< int >(val3
);
29914 arg4
= wxString_in_helper(obj3
);
29915 if (arg4
== NULL
) SWIG_fail
;
29919 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29920 if (!SWIG_IsOK(ecode5
)) {
29921 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29923 arg5
= static_cast< int >(val5
);
29926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29927 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29928 wxPyEndAllowThreads(__tstate
);
29929 if (PyErr_Occurred()) SWIG_fail
;
29931 resultobj
= SWIG_From_long(static_cast< long >(result
));
29946 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29947 PyObject
*resultobj
= 0;
29948 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29958 PyObject
* obj0
= 0 ;
29959 PyObject
* obj1
= 0 ;
29960 PyObject
* obj2
= 0 ;
29961 char * kwnames
[] = {
29962 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29967 if (!SWIG_IsOK(res1
)) {
29968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29970 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29971 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29972 if (!SWIG_IsOK(ecode2
)) {
29973 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29975 arg2
= static_cast< long >(val2
);
29976 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29977 if (!SWIG_IsOK(ecode3
)) {
29978 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29980 arg3
= static_cast< long >(val3
);
29982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29983 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29984 wxPyEndAllowThreads(__tstate
);
29985 if (PyErr_Occurred()) SWIG_fail
;
29987 resultobj
= SWIG_From_int(static_cast< int >(result
));
29994 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29995 PyObject
*resultobj
= 0;
29996 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30009 PyObject
* obj0
= 0 ;
30010 PyObject
* obj1
= 0 ;
30011 PyObject
* obj2
= 0 ;
30012 PyObject
* obj3
= 0 ;
30013 char * kwnames
[] = {
30014 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
30017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30019 if (!SWIG_IsOK(res1
)) {
30020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30022 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30023 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30024 if (!SWIG_IsOK(ecode2
)) {
30025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
30027 arg2
= static_cast< long >(val2
);
30028 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30029 if (!SWIG_IsOK(ecode3
)) {
30030 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
30032 arg3
= static_cast< long >(val3
);
30033 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
30034 if (!SWIG_IsOK(ecode4
)) {
30035 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
30037 arg4
= static_cast< long >(val4
);
30039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30040 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
30041 wxPyEndAllowThreads(__tstate
);
30042 if (PyErr_Occurred()) SWIG_fail
;
30045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30053 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30054 PyObject
*resultobj
= 0;
30055 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30058 int arg4
= (int) -1 ;
30068 PyObject
* obj0
= 0 ;
30069 PyObject
* obj1
= 0 ;
30070 PyObject
* obj2
= 0 ;
30071 PyObject
* obj3
= 0 ;
30072 char * kwnames
[] = {
30073 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
30076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30078 if (!SWIG_IsOK(res1
)) {
30079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30081 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30082 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30083 if (!SWIG_IsOK(ecode2
)) {
30084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
30086 arg2
= static_cast< long >(val2
);
30087 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30088 if (!SWIG_IsOK(ecode3
)) {
30089 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
30091 arg3
= static_cast< int >(val3
);
30093 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30094 if (!SWIG_IsOK(ecode4
)) {
30095 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
30097 arg4
= static_cast< int >(val4
);
30100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30101 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
30102 wxPyEndAllowThreads(__tstate
);
30103 if (PyErr_Occurred()) SWIG_fail
;
30106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30114 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30115 PyObject
*resultobj
= 0;
30116 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30129 PyObject
* obj0
= 0 ;
30130 PyObject
* obj1
= 0 ;
30131 PyObject
* obj2
= 0 ;
30132 PyObject
* obj3
= 0 ;
30133 char * kwnames
[] = {
30134 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
30137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30139 if (!SWIG_IsOK(res1
)) {
30140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30142 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30143 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30144 if (!SWIG_IsOK(ecode2
)) {
30145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
30147 arg2
= static_cast< long >(val2
);
30148 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30149 if (!SWIG_IsOK(ecode3
)) {
30150 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
30152 arg3
= static_cast< long >(val3
);
30153 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30154 if (!SWIG_IsOK(ecode4
)) {
30155 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
30157 arg4
= static_cast< int >(val4
);
30159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30160 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
30161 wxPyEndAllowThreads(__tstate
);
30162 if (PyErr_Occurred()) SWIG_fail
;
30165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30173 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30174 PyObject
*resultobj
= 0;
30175 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30182 PyObject
* obj0
= 0 ;
30183 PyObject
* obj1
= 0 ;
30184 char * kwnames
[] = {
30185 (char *) "self",(char *) "item", NULL
30188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30190 if (!SWIG_IsOK(res1
)) {
30191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30193 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30194 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30195 if (!SWIG_IsOK(ecode2
)) {
30196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
30198 arg2
= static_cast< long >(val2
);
30200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30201 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
30202 wxPyEndAllowThreads(__tstate
);
30203 if (PyErr_Occurred()) SWIG_fail
;
30207 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30209 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30218 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30219 PyObject
*resultobj
= 0;
30220 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30222 wxString
*arg3
= 0 ;
30227 bool temp3
= false ;
30228 PyObject
* obj0
= 0 ;
30229 PyObject
* obj1
= 0 ;
30230 PyObject
* obj2
= 0 ;
30231 char * kwnames
[] = {
30232 (char *) "self",(char *) "item",(char *) "str", NULL
30235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30237 if (!SWIG_IsOK(res1
)) {
30238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30240 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30241 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30242 if (!SWIG_IsOK(ecode2
)) {
30243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
30245 arg2
= static_cast< long >(val2
);
30247 arg3
= wxString_in_helper(obj2
);
30248 if (arg3
== NULL
) SWIG_fail
;
30252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30253 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
30254 wxPyEndAllowThreads(__tstate
);
30255 if (PyErr_Occurred()) SWIG_fail
;
30257 resultobj
= SWIG_Py_Void();
30272 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30273 PyObject
*resultobj
= 0;
30274 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30281 PyObject
* obj0
= 0 ;
30282 PyObject
* obj1
= 0 ;
30283 char * kwnames
[] = {
30284 (char *) "self",(char *) "item", NULL
30287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30289 if (!SWIG_IsOK(res1
)) {
30290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30292 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30293 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30294 if (!SWIG_IsOK(ecode2
)) {
30295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
30297 arg2
= static_cast< long >(val2
);
30299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30300 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
30301 wxPyEndAllowThreads(__tstate
);
30302 if (PyErr_Occurred()) SWIG_fail
;
30304 resultobj
= SWIG_From_long(static_cast< long >(result
));
30311 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30312 PyObject
*resultobj
= 0;
30313 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30323 PyObject
* obj0
= 0 ;
30324 PyObject
* obj1
= 0 ;
30325 PyObject
* obj2
= 0 ;
30326 char * kwnames
[] = {
30327 (char *) "self",(char *) "item",(char *) "data", NULL
30330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30332 if (!SWIG_IsOK(res1
)) {
30333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30335 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30336 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30337 if (!SWIG_IsOK(ecode2
)) {
30338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
30340 arg2
= static_cast< long >(val2
);
30341 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30342 if (!SWIG_IsOK(ecode3
)) {
30343 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
30345 arg3
= static_cast< long >(val3
);
30347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30348 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
30349 wxPyEndAllowThreads(__tstate
);
30350 if (PyErr_Occurred()) SWIG_fail
;
30353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30361 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30362 PyObject
*resultobj
= 0;
30363 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30370 PyObject
* obj0
= 0 ;
30371 PyObject
* obj1
= 0 ;
30372 char * kwnames
[] = {
30373 (char *) "self",(char *) "item", NULL
30376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30378 if (!SWIG_IsOK(res1
)) {
30379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30381 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30382 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30383 if (!SWIG_IsOK(ecode2
)) {
30384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
30386 arg2
= static_cast< long >(val2
);
30388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30389 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
30390 wxPyEndAllowThreads(__tstate
);
30391 if (PyErr_Occurred()) SWIG_fail
;
30393 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
30400 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30401 PyObject
*resultobj
= 0;
30402 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30404 int arg3
= (int) wxLIST_RECT_BOUNDS
;
30412 PyObject
* obj0
= 0 ;
30413 PyObject
* obj1
= 0 ;
30414 PyObject
* obj2
= 0 ;
30415 char * kwnames
[] = {
30416 (char *) "self",(char *) "item",(char *) "code", NULL
30419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30421 if (!SWIG_IsOK(res1
)) {
30422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30424 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30425 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30426 if (!SWIG_IsOK(ecode2
)) {
30427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
30429 arg2
= static_cast< long >(val2
);
30431 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30432 if (!SWIG_IsOK(ecode3
)) {
30433 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
30435 arg3
= static_cast< int >(val3
);
30438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30439 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
30440 wxPyEndAllowThreads(__tstate
);
30441 if (PyErr_Occurred()) SWIG_fail
;
30443 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30450 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30451 PyObject
*resultobj
= 0;
30452 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30454 wxPoint
*arg3
= 0 ;
30461 PyObject
* obj0
= 0 ;
30462 PyObject
* obj1
= 0 ;
30463 PyObject
* obj2
= 0 ;
30464 char * kwnames
[] = {
30465 (char *) "self",(char *) "item",(char *) "pos", NULL
30468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30470 if (!SWIG_IsOK(res1
)) {
30471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30473 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30474 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30475 if (!SWIG_IsOK(ecode2
)) {
30476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30478 arg2
= static_cast< long >(val2
);
30481 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30485 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
30486 wxPyEndAllowThreads(__tstate
);
30487 if (PyErr_Occurred()) SWIG_fail
;
30490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30498 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30499 PyObject
*resultobj
= 0;
30500 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30504 PyObject
*swig_obj
[1] ;
30506 if (!args
) SWIG_fail
;
30507 swig_obj
[0] = args
;
30508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30509 if (!SWIG_IsOK(res1
)) {
30510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30512 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30515 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
30516 wxPyEndAllowThreads(__tstate
);
30517 if (PyErr_Occurred()) SWIG_fail
;
30519 resultobj
= SWIG_From_int(static_cast< int >(result
));
30526 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30527 PyObject
*resultobj
= 0;
30528 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30532 PyObject
*swig_obj
[1] ;
30534 if (!args
) SWIG_fail
;
30535 swig_obj
[0] = args
;
30536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30537 if (!SWIG_IsOK(res1
)) {
30538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30540 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30543 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
30544 wxPyEndAllowThreads(__tstate
);
30545 if (PyErr_Occurred()) SWIG_fail
;
30547 resultobj
= SWIG_From_int(static_cast< int >(result
));
30554 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30555 PyObject
*resultobj
= 0;
30556 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30560 PyObject
*swig_obj
[1] ;
30562 if (!args
) SWIG_fail
;
30563 swig_obj
[0] = args
;
30564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30565 if (!SWIG_IsOK(res1
)) {
30566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30568 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30571 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
30572 wxPyEndAllowThreads(__tstate
);
30573 if (PyErr_Occurred()) SWIG_fail
;
30575 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30582 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30583 PyObject
*resultobj
= 0;
30584 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30588 PyObject
*swig_obj
[1] ;
30590 if (!args
) SWIG_fail
;
30591 swig_obj
[0] = args
;
30592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30593 if (!SWIG_IsOK(res1
)) {
30594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30596 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30599 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
30600 wxPyEndAllowThreads(__tstate
);
30601 if (PyErr_Occurred()) SWIG_fail
;
30603 resultobj
= SWIG_From_int(static_cast< int >(result
));
30610 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30611 PyObject
*resultobj
= 0;
30612 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30616 PyObject
*swig_obj
[1] ;
30618 if (!args
) SWIG_fail
;
30619 swig_obj
[0] = args
;
30620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30621 if (!SWIG_IsOK(res1
)) {
30622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30624 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30627 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
30628 wxPyEndAllowThreads(__tstate
);
30629 if (PyErr_Occurred()) SWIG_fail
;
30631 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30638 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30639 PyObject
*resultobj
= 0;
30640 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30641 wxColour
*arg2
= 0 ;
30645 PyObject
* obj0
= 0 ;
30646 PyObject
* obj1
= 0 ;
30647 char * kwnames
[] = {
30648 (char *) "self",(char *) "col", NULL
30651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30653 if (!SWIG_IsOK(res1
)) {
30654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30656 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30659 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30663 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30664 wxPyEndAllowThreads(__tstate
);
30665 if (PyErr_Occurred()) SWIG_fail
;
30667 resultobj
= SWIG_Py_Void();
30674 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30675 PyObject
*resultobj
= 0;
30676 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30680 PyObject
*swig_obj
[1] ;
30682 if (!args
) SWIG_fail
;
30683 swig_obj
[0] = args
;
30684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30685 if (!SWIG_IsOK(res1
)) {
30686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30688 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30691 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30692 wxPyEndAllowThreads(__tstate
);
30693 if (PyErr_Occurred()) SWIG_fail
;
30695 resultobj
= SWIG_From_long(static_cast< long >(result
));
30702 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30703 PyObject
*resultobj
= 0;
30704 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30706 bool arg3
= (bool) true ;
30713 PyObject
* obj0
= 0 ;
30714 PyObject
* obj1
= 0 ;
30715 PyObject
* obj2
= 0 ;
30716 char * kwnames
[] = {
30717 (char *) "self",(char *) "style",(char *) "add", NULL
30720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30722 if (!SWIG_IsOK(res1
)) {
30723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30725 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30726 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30727 if (!SWIG_IsOK(ecode2
)) {
30728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30730 arg2
= static_cast< long >(val2
);
30732 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30733 if (!SWIG_IsOK(ecode3
)) {
30734 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30736 arg3
= static_cast< bool >(val3
);
30739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30740 (arg1
)->SetSingleStyle(arg2
,arg3
);
30741 wxPyEndAllowThreads(__tstate
);
30742 if (PyErr_Occurred()) SWIG_fail
;
30744 resultobj
= SWIG_Py_Void();
30751 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30752 PyObject
*resultobj
= 0;
30753 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30755 int arg3
= (int) wxLIST_NEXT_ALL
;
30756 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30766 PyObject
* obj0
= 0 ;
30767 PyObject
* obj1
= 0 ;
30768 PyObject
* obj2
= 0 ;
30769 PyObject
* obj3
= 0 ;
30770 char * kwnames
[] = {
30771 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30776 if (!SWIG_IsOK(res1
)) {
30777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30779 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30780 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30781 if (!SWIG_IsOK(ecode2
)) {
30782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30784 arg2
= static_cast< long >(val2
);
30786 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30787 if (!SWIG_IsOK(ecode3
)) {
30788 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30790 arg3
= static_cast< int >(val3
);
30793 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30794 if (!SWIG_IsOK(ecode4
)) {
30795 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30797 arg4
= static_cast< int >(val4
);
30800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30801 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30802 wxPyEndAllowThreads(__tstate
);
30803 if (PyErr_Occurred()) SWIG_fail
;
30805 resultobj
= SWIG_From_long(static_cast< long >(result
));
30812 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30813 PyObject
*resultobj
= 0;
30814 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30816 wxImageList
*result
= 0 ;
30821 PyObject
* obj0
= 0 ;
30822 PyObject
* obj1
= 0 ;
30823 char * kwnames
[] = {
30824 (char *) "self",(char *) "which", NULL
30827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30829 if (!SWIG_IsOK(res1
)) {
30830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30832 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30833 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30834 if (!SWIG_IsOK(ecode2
)) {
30835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30837 arg2
= static_cast< int >(val2
);
30839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30840 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30841 wxPyEndAllowThreads(__tstate
);
30842 if (PyErr_Occurred()) SWIG_fail
;
30845 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30853 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30854 PyObject
*resultobj
= 0;
30855 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30856 wxImageList
*arg2
= (wxImageList
*) 0 ;
30864 PyObject
* obj0
= 0 ;
30865 PyObject
* obj1
= 0 ;
30866 PyObject
* obj2
= 0 ;
30867 char * kwnames
[] = {
30868 (char *) "self",(char *) "imageList",(char *) "which", NULL
30871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30873 if (!SWIG_IsOK(res1
)) {
30874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30876 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30877 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30878 if (!SWIG_IsOK(res2
)) {
30879 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30881 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30882 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30883 if (!SWIG_IsOK(ecode3
)) {
30884 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30886 arg3
= static_cast< int >(val3
);
30888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30889 (arg1
)->SetImageList(arg2
,arg3
);
30890 wxPyEndAllowThreads(__tstate
);
30891 if (PyErr_Occurred()) SWIG_fail
;
30893 resultobj
= SWIG_Py_Void();
30900 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30901 PyObject
*resultobj
= 0;
30902 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30903 wxImageList
*arg2
= (wxImageList
*) 0 ;
30910 PyObject
* obj0
= 0 ;
30911 PyObject
* obj1
= 0 ;
30912 PyObject
* obj2
= 0 ;
30913 char * kwnames
[] = {
30914 (char *) "self",(char *) "imageList",(char *) "which", NULL
30917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30919 if (!SWIG_IsOK(res1
)) {
30920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30922 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30923 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30924 if (!SWIG_IsOK(res2
)) {
30925 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30927 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30928 if (!SWIG_IsOK(ecode3
)) {
30929 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30931 arg3
= static_cast< int >(val3
);
30933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30934 (arg1
)->AssignImageList(arg2
,arg3
);
30935 wxPyEndAllowThreads(__tstate
);
30936 if (PyErr_Occurred()) SWIG_fail
;
30938 resultobj
= SWIG_Py_Void();
30945 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30946 PyObject
*resultobj
= 0;
30947 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30951 PyObject
*swig_obj
[1] ;
30953 if (!args
) SWIG_fail
;
30954 swig_obj
[0] = args
;
30955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30956 if (!SWIG_IsOK(res1
)) {
30957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30959 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30962 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30963 wxPyEndAllowThreads(__tstate
);
30964 if (PyErr_Occurred()) SWIG_fail
;
30967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30975 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30976 PyObject
*resultobj
= 0;
30977 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30981 PyObject
*swig_obj
[1] ;
30983 if (!args
) SWIG_fail
;
30984 swig_obj
[0] = args
;
30985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30986 if (!SWIG_IsOK(res1
)) {
30987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30989 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30992 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30993 wxPyEndAllowThreads(__tstate
);
30994 if (PyErr_Occurred()) SWIG_fail
;
30997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31005 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31006 PyObject
*resultobj
= 0;
31007 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31013 PyObject
* obj0
= 0 ;
31014 PyObject
* obj1
= 0 ;
31015 char * kwnames
[] = {
31016 (char *) "self",(char *) "item", NULL
31019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31021 if (!SWIG_IsOK(res1
)) {
31022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31024 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31025 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31026 if (!SWIG_IsOK(ecode2
)) {
31027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
31029 arg2
= static_cast< long >(val2
);
31031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31032 (arg1
)->RefreshItem(arg2
);
31033 wxPyEndAllowThreads(__tstate
);
31034 if (PyErr_Occurred()) SWIG_fail
;
31036 resultobj
= SWIG_Py_Void();
31043 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31044 PyObject
*resultobj
= 0;
31045 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31054 PyObject
* obj0
= 0 ;
31055 PyObject
* obj1
= 0 ;
31056 PyObject
* obj2
= 0 ;
31057 char * kwnames
[] = {
31058 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
31061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31063 if (!SWIG_IsOK(res1
)) {
31064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31066 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31067 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31068 if (!SWIG_IsOK(ecode2
)) {
31069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
31071 arg2
= static_cast< long >(val2
);
31072 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
31073 if (!SWIG_IsOK(ecode3
)) {
31074 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
31076 arg3
= static_cast< long >(val3
);
31078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31079 (arg1
)->RefreshItems(arg2
,arg3
);
31080 wxPyEndAllowThreads(__tstate
);
31081 if (PyErr_Occurred()) SWIG_fail
;
31083 resultobj
= SWIG_Py_Void();
31090 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31091 PyObject
*resultobj
= 0;
31092 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31093 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
31099 PyObject
* obj0
= 0 ;
31100 PyObject
* obj1
= 0 ;
31101 char * kwnames
[] = {
31102 (char *) "self",(char *) "flag", NULL
31105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31107 if (!SWIG_IsOK(res1
)) {
31108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31110 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31112 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31113 if (!SWIG_IsOK(ecode2
)) {
31114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
31116 arg2
= static_cast< int >(val2
);
31119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31120 result
= (bool)(arg1
)->Arrange(arg2
);
31121 wxPyEndAllowThreads(__tstate
);
31122 if (PyErr_Occurred()) SWIG_fail
;
31125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31133 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31134 PyObject
*resultobj
= 0;
31135 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31142 PyObject
* obj0
= 0 ;
31143 PyObject
* obj1
= 0 ;
31144 char * kwnames
[] = {
31145 (char *) "self",(char *) "item", NULL
31148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31150 if (!SWIG_IsOK(res1
)) {
31151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31153 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31154 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31155 if (!SWIG_IsOK(ecode2
)) {
31156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
31158 arg2
= static_cast< long >(val2
);
31160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31161 result
= (bool)(arg1
)->DeleteItem(arg2
);
31162 wxPyEndAllowThreads(__tstate
);
31163 if (PyErr_Occurred()) SWIG_fail
;
31166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31174 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31175 PyObject
*resultobj
= 0;
31176 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31180 PyObject
*swig_obj
[1] ;
31182 if (!args
) SWIG_fail
;
31183 swig_obj
[0] = args
;
31184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31185 if (!SWIG_IsOK(res1
)) {
31186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31188 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31191 result
= (bool)(arg1
)->DeleteAllItems();
31192 wxPyEndAllowThreads(__tstate
);
31193 if (PyErr_Occurred()) SWIG_fail
;
31196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31204 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31205 PyObject
*resultobj
= 0;
31206 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31213 PyObject
* obj0
= 0 ;
31214 PyObject
* obj1
= 0 ;
31215 char * kwnames
[] = {
31216 (char *) "self",(char *) "col", NULL
31219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31221 if (!SWIG_IsOK(res1
)) {
31222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31224 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31225 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31226 if (!SWIG_IsOK(ecode2
)) {
31227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
31229 arg2
= static_cast< int >(val2
);
31231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31232 result
= (bool)(arg1
)->DeleteColumn(arg2
);
31233 wxPyEndAllowThreads(__tstate
);
31234 if (PyErr_Occurred()) SWIG_fail
;
31237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31245 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31246 PyObject
*resultobj
= 0;
31247 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31251 PyObject
*swig_obj
[1] ;
31253 if (!args
) SWIG_fail
;
31254 swig_obj
[0] = args
;
31255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31256 if (!SWIG_IsOK(res1
)) {
31257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31259 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31262 result
= (bool)(arg1
)->DeleteAllColumns();
31263 wxPyEndAllowThreads(__tstate
);
31264 if (PyErr_Occurred()) SWIG_fail
;
31267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31275 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31276 PyObject
*resultobj
= 0;
31277 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31280 PyObject
*swig_obj
[1] ;
31282 if (!args
) SWIG_fail
;
31283 swig_obj
[0] = args
;
31284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31285 if (!SWIG_IsOK(res1
)) {
31286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31288 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31291 (arg1
)->ClearAll();
31292 wxPyEndAllowThreads(__tstate
);
31293 if (PyErr_Occurred()) SWIG_fail
;
31295 resultobj
= SWIG_Py_Void();
31302 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31303 PyObject
*resultobj
= 0;
31304 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31306 wxTextCtrl
*result
= 0 ;
31311 PyObject
* obj0
= 0 ;
31312 PyObject
* obj1
= 0 ;
31313 char * kwnames
[] = {
31314 (char *) "self",(char *) "item", NULL
31317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31319 if (!SWIG_IsOK(res1
)) {
31320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31322 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31323 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31324 if (!SWIG_IsOK(ecode2
)) {
31325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
31327 arg2
= static_cast< long >(val2
);
31329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31330 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
31331 wxPyEndAllowThreads(__tstate
);
31332 if (PyErr_Occurred()) SWIG_fail
;
31335 resultobj
= wxPyMake_wxObject(result
, 0);
31343 SWIGINTERN PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31344 PyObject
*resultobj
= 0;
31345 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31352 PyObject
* obj0
= 0 ;
31353 PyObject
* obj1
= 0 ;
31354 char * kwnames
[] = {
31355 (char *) "self",(char *) "cancel", NULL
31358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31360 if (!SWIG_IsOK(res1
)) {
31361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31363 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31364 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
31365 if (!SWIG_IsOK(ecode2
)) {
31366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "2"" of type '" "bool""'");
31368 arg2
= static_cast< bool >(val2
);
31370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31371 result
= (bool)(arg1
)->EndEditLabel(arg2
);
31372 wxPyEndAllowThreads(__tstate
);
31373 if (PyErr_Occurred()) SWIG_fail
;
31376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31384 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31385 PyObject
*resultobj
= 0;
31386 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31393 PyObject
* obj0
= 0 ;
31394 PyObject
* obj1
= 0 ;
31395 char * kwnames
[] = {
31396 (char *) "self",(char *) "item", NULL
31399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31401 if (!SWIG_IsOK(res1
)) {
31402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31404 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31405 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31406 if (!SWIG_IsOK(ecode2
)) {
31407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
31409 arg2
= static_cast< long >(val2
);
31411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31412 result
= (bool)(arg1
)->EnsureVisible(arg2
);
31413 wxPyEndAllowThreads(__tstate
);
31414 if (PyErr_Occurred()) SWIG_fail
;
31417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31425 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31426 PyObject
*resultobj
= 0;
31427 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31429 wxString
*arg3
= 0 ;
31430 bool arg4
= (bool) false ;
31436 bool temp3
= false ;
31439 PyObject
* obj0
= 0 ;
31440 PyObject
* obj1
= 0 ;
31441 PyObject
* obj2
= 0 ;
31442 PyObject
* obj3
= 0 ;
31443 char * kwnames
[] = {
31444 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
31447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31449 if (!SWIG_IsOK(res1
)) {
31450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31452 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31453 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31454 if (!SWIG_IsOK(ecode2
)) {
31455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31457 arg2
= static_cast< long >(val2
);
31459 arg3
= wxString_in_helper(obj2
);
31460 if (arg3
== NULL
) SWIG_fail
;
31464 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
31465 if (!SWIG_IsOK(ecode4
)) {
31466 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31468 arg4
= static_cast< bool >(val4
);
31471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31472 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
31473 wxPyEndAllowThreads(__tstate
);
31474 if (PyErr_Occurred()) SWIG_fail
;
31476 resultobj
= SWIG_From_long(static_cast< long >(result
));
31491 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31492 PyObject
*resultobj
= 0;
31493 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31503 PyObject
* obj0
= 0 ;
31504 PyObject
* obj1
= 0 ;
31505 PyObject
* obj2
= 0 ;
31506 char * kwnames
[] = {
31507 (char *) "self",(char *) "start",(char *) "data", NULL
31510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31512 if (!SWIG_IsOK(res1
)) {
31513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31515 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31516 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31517 if (!SWIG_IsOK(ecode2
)) {
31518 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31520 arg2
= static_cast< long >(val2
);
31521 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
31522 if (!SWIG_IsOK(ecode3
)) {
31523 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31525 arg3
= static_cast< long >(val3
);
31527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31528 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
31529 wxPyEndAllowThreads(__tstate
);
31530 if (PyErr_Occurred()) SWIG_fail
;
31532 resultobj
= SWIG_From_long(static_cast< long >(result
));
31539 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31540 PyObject
*resultobj
= 0;
31541 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31543 wxPoint
*arg3
= 0 ;
31553 PyObject
* obj0
= 0 ;
31554 PyObject
* obj1
= 0 ;
31555 PyObject
* obj2
= 0 ;
31556 PyObject
* obj3
= 0 ;
31557 char * kwnames
[] = {
31558 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31563 if (!SWIG_IsOK(res1
)) {
31564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31566 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31567 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31568 if (!SWIG_IsOK(ecode2
)) {
31569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31571 arg2
= static_cast< long >(val2
);
31574 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31576 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31577 if (!SWIG_IsOK(ecode4
)) {
31578 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31580 arg4
= static_cast< int >(val4
);
31582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31583 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
31584 wxPyEndAllowThreads(__tstate
);
31585 if (PyErr_Occurred()) SWIG_fail
;
31587 resultobj
= SWIG_From_long(static_cast< long >(result
));
31594 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31595 PyObject
*resultobj
= 0;
31596 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31597 wxPoint
*arg2
= 0 ;
31604 int res3
= SWIG_TMPOBJ
;
31605 PyObject
* obj0
= 0 ;
31606 PyObject
* obj1
= 0 ;
31607 char * kwnames
[] = {
31608 (char *) "self",(char *) "point", NULL
31612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31614 if (!SWIG_IsOK(res1
)) {
31615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31617 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31620 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31624 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31625 wxPyEndAllowThreads(__tstate
);
31626 if (PyErr_Occurred()) SWIG_fail
;
31628 resultobj
= SWIG_From_long(static_cast< long >(result
));
31629 if (SWIG_IsTmpObj(res3
)) {
31630 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31632 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31633 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31641 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31642 PyObject
*resultobj
= 0;
31643 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31644 wxPoint
*arg2
= 0 ;
31646 long *arg4
= (long *) 0 ;
31652 int res3
= SWIG_TMPOBJ
;
31654 int res4
= SWIG_TMPOBJ
;
31655 PyObject
* obj0
= 0 ;
31656 PyObject
* obj1
= 0 ;
31657 char * kwnames
[] = {
31658 (char *) "self",(char *) "point", NULL
31663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31665 if (!SWIG_IsOK(res1
)) {
31666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31668 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31671 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31675 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
31676 wxPyEndAllowThreads(__tstate
);
31677 if (PyErr_Occurred()) SWIG_fail
;
31679 resultobj
= SWIG_From_long(static_cast< long >(result
));
31680 if (SWIG_IsTmpObj(res3
)) {
31681 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31683 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31684 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31686 if (SWIG_IsTmpObj(res4
)) {
31687 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31689 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31690 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31698 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31699 PyObject
*resultobj
= 0;
31700 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31701 wxListItem
*arg2
= 0 ;
31707 PyObject
* obj0
= 0 ;
31708 PyObject
* obj1
= 0 ;
31709 char * kwnames
[] = {
31710 (char *) "self",(char *) "info", NULL
31713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31715 if (!SWIG_IsOK(res1
)) {
31716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31718 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31719 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31720 if (!SWIG_IsOK(res2
)) {
31721 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31724 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31726 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31729 result
= (long)(arg1
)->InsertItem(*arg2
);
31730 wxPyEndAllowThreads(__tstate
);
31731 if (PyErr_Occurred()) SWIG_fail
;
31733 resultobj
= SWIG_From_long(static_cast< long >(result
));
31740 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31741 PyObject
*resultobj
= 0;
31742 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31744 wxString
*arg3
= 0 ;
31745 int arg4
= (int) -1 ;
31751 bool temp3
= false ;
31754 PyObject
* obj0
= 0 ;
31755 PyObject
* obj1
= 0 ;
31756 PyObject
* obj2
= 0 ;
31757 PyObject
* obj3
= 0 ;
31758 char * kwnames
[] = {
31759 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31764 if (!SWIG_IsOK(res1
)) {
31765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31767 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31768 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31769 if (!SWIG_IsOK(ecode2
)) {
31770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31772 arg2
= static_cast< long >(val2
);
31774 arg3
= wxString_in_helper(obj2
);
31775 if (arg3
== NULL
) SWIG_fail
;
31779 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31780 if (!SWIG_IsOK(ecode4
)) {
31781 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31783 arg4
= static_cast< int >(val4
);
31786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31787 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31788 wxPyEndAllowThreads(__tstate
);
31789 if (PyErr_Occurred()) SWIG_fail
;
31791 resultobj
= SWIG_From_long(static_cast< long >(result
));
31806 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31807 PyObject
*resultobj
= 0;
31808 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31818 PyObject
* obj0
= 0 ;
31819 PyObject
* obj1
= 0 ;
31820 PyObject
* obj2
= 0 ;
31821 char * kwnames
[] = {
31822 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31827 if (!SWIG_IsOK(res1
)) {
31828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31830 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31831 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31832 if (!SWIG_IsOK(ecode2
)) {
31833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31835 arg2
= static_cast< long >(val2
);
31836 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31837 if (!SWIG_IsOK(ecode3
)) {
31838 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31840 arg3
= static_cast< int >(val3
);
31842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31843 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31844 wxPyEndAllowThreads(__tstate
);
31845 if (PyErr_Occurred()) SWIG_fail
;
31847 resultobj
= SWIG_From_long(static_cast< long >(result
));
31854 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31855 PyObject
*resultobj
= 0;
31856 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31858 wxString
*arg3
= 0 ;
31865 bool temp3
= false ;
31868 PyObject
* obj0
= 0 ;
31869 PyObject
* obj1
= 0 ;
31870 PyObject
* obj2
= 0 ;
31871 PyObject
* obj3
= 0 ;
31872 char * kwnames
[] = {
31873 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31878 if (!SWIG_IsOK(res1
)) {
31879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31881 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31882 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31883 if (!SWIG_IsOK(ecode2
)) {
31884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31886 arg2
= static_cast< long >(val2
);
31888 arg3
= wxString_in_helper(obj2
);
31889 if (arg3
== NULL
) SWIG_fail
;
31892 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31893 if (!SWIG_IsOK(ecode4
)) {
31894 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31896 arg4
= static_cast< int >(val4
);
31898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31899 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31900 wxPyEndAllowThreads(__tstate
);
31901 if (PyErr_Occurred()) SWIG_fail
;
31903 resultobj
= SWIG_From_long(static_cast< long >(result
));
31918 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31919 PyObject
*resultobj
= 0;
31920 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31922 wxListItem
*arg3
= 0 ;
31930 PyObject
* obj0
= 0 ;
31931 PyObject
* obj1
= 0 ;
31932 PyObject
* obj2
= 0 ;
31933 char * kwnames
[] = {
31934 (char *) "self",(char *) "col",(char *) "info", NULL
31937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31939 if (!SWIG_IsOK(res1
)) {
31940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31942 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31943 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31944 if (!SWIG_IsOK(ecode2
)) {
31945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31947 arg2
= static_cast< long >(val2
);
31948 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31949 if (!SWIG_IsOK(res3
)) {
31950 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31953 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31955 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31958 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31959 wxPyEndAllowThreads(__tstate
);
31960 if (PyErr_Occurred()) SWIG_fail
;
31962 resultobj
= SWIG_From_long(static_cast< long >(result
));
31969 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31970 PyObject
*resultobj
= 0;
31971 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31973 wxString
*arg3
= 0 ;
31974 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31975 int arg5
= (int) -1 ;
31981 bool temp3
= false ;
31986 PyObject
* obj0
= 0 ;
31987 PyObject
* obj1
= 0 ;
31988 PyObject
* obj2
= 0 ;
31989 PyObject
* obj3
= 0 ;
31990 PyObject
* obj4
= 0 ;
31991 char * kwnames
[] = {
31992 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31997 if (!SWIG_IsOK(res1
)) {
31998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32000 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32001 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32002 if (!SWIG_IsOK(ecode2
)) {
32003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
32005 arg2
= static_cast< long >(val2
);
32007 arg3
= wxString_in_helper(obj2
);
32008 if (arg3
== NULL
) SWIG_fail
;
32012 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32013 if (!SWIG_IsOK(ecode4
)) {
32014 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
32016 arg4
= static_cast< int >(val4
);
32019 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32020 if (!SWIG_IsOK(ecode5
)) {
32021 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
32023 arg5
= static_cast< int >(val5
);
32026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32027 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
32028 wxPyEndAllowThreads(__tstate
);
32029 if (PyErr_Occurred()) SWIG_fail
;
32031 resultobj
= SWIG_From_long(static_cast< long >(result
));
32046 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32047 PyObject
*resultobj
= 0;
32048 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32054 PyObject
* obj0
= 0 ;
32055 PyObject
* obj1
= 0 ;
32056 char * kwnames
[] = {
32057 (char *) "self",(char *) "count", NULL
32060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32062 if (!SWIG_IsOK(res1
)) {
32063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32065 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32066 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32067 if (!SWIG_IsOK(ecode2
)) {
32068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
32070 arg2
= static_cast< long >(val2
);
32072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32073 (arg1
)->SetItemCount(arg2
);
32074 wxPyEndAllowThreads(__tstate
);
32075 if (PyErr_Occurred()) SWIG_fail
;
32077 resultobj
= SWIG_Py_Void();
32084 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32085 PyObject
*resultobj
= 0;
32086 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32096 PyObject
* obj0
= 0 ;
32097 PyObject
* obj1
= 0 ;
32098 PyObject
* obj2
= 0 ;
32099 char * kwnames
[] = {
32100 (char *) "self",(char *) "dx",(char *) "dy", NULL
32103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32105 if (!SWIG_IsOK(res1
)) {
32106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32108 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32109 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32110 if (!SWIG_IsOK(ecode2
)) {
32111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
32113 arg2
= static_cast< int >(val2
);
32114 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32115 if (!SWIG_IsOK(ecode3
)) {
32116 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
32118 arg3
= static_cast< int >(val3
);
32120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32121 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
32122 wxPyEndAllowThreads(__tstate
);
32123 if (PyErr_Occurred()) SWIG_fail
;
32126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32134 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32135 PyObject
*resultobj
= 0;
32136 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32138 wxColour
*arg3
= 0 ;
32144 PyObject
* obj0
= 0 ;
32145 PyObject
* obj1
= 0 ;
32146 PyObject
* obj2
= 0 ;
32147 char * kwnames
[] = {
32148 (char *) "self",(char *) "item",(char *) "col", NULL
32151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32153 if (!SWIG_IsOK(res1
)) {
32154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32156 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32157 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32158 if (!SWIG_IsOK(ecode2
)) {
32159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
32161 arg2
= static_cast< long >(val2
);
32164 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32168 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
32169 wxPyEndAllowThreads(__tstate
);
32170 if (PyErr_Occurred()) SWIG_fail
;
32172 resultobj
= SWIG_Py_Void();
32179 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32180 PyObject
*resultobj
= 0;
32181 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32188 PyObject
* obj0
= 0 ;
32189 PyObject
* obj1
= 0 ;
32190 char * kwnames
[] = {
32191 (char *) "self",(char *) "item", NULL
32194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32196 if (!SWIG_IsOK(res1
)) {
32197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32199 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32200 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32201 if (!SWIG_IsOK(ecode2
)) {
32202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
32204 arg2
= static_cast< long >(val2
);
32206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32207 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
32208 wxPyEndAllowThreads(__tstate
);
32209 if (PyErr_Occurred()) SWIG_fail
;
32211 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32218 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32219 PyObject
*resultobj
= 0;
32220 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32222 wxColour
*arg3
= 0 ;
32228 PyObject
* obj0
= 0 ;
32229 PyObject
* obj1
= 0 ;
32230 PyObject
* obj2
= 0 ;
32231 char * kwnames
[] = {
32232 (char *) "self",(char *) "item",(char *) "col", NULL
32235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32237 if (!SWIG_IsOK(res1
)) {
32238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32240 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32241 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32242 if (!SWIG_IsOK(ecode2
)) {
32243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
32245 arg2
= static_cast< long >(val2
);
32248 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32252 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
32253 wxPyEndAllowThreads(__tstate
);
32254 if (PyErr_Occurred()) SWIG_fail
;
32256 resultobj
= SWIG_Py_Void();
32263 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32264 PyObject
*resultobj
= 0;
32265 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32272 PyObject
* obj0
= 0 ;
32273 PyObject
* obj1
= 0 ;
32274 char * kwnames
[] = {
32275 (char *) "self",(char *) "item", NULL
32278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32280 if (!SWIG_IsOK(res1
)) {
32281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32283 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32284 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32285 if (!SWIG_IsOK(ecode2
)) {
32286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
32288 arg2
= static_cast< long >(val2
);
32290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32291 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
32292 wxPyEndAllowThreads(__tstate
);
32293 if (PyErr_Occurred()) SWIG_fail
;
32295 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32302 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32303 PyObject
*resultobj
= 0;
32304 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32313 PyObject
* obj0
= 0 ;
32314 PyObject
* obj1
= 0 ;
32315 PyObject
* obj2
= 0 ;
32316 char * kwnames
[] = {
32317 (char *) "self",(char *) "item",(char *) "f", NULL
32320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32322 if (!SWIG_IsOK(res1
)) {
32323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32325 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32326 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32327 if (!SWIG_IsOK(ecode2
)) {
32328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
32330 arg2
= static_cast< long >(val2
);
32331 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
32332 if (!SWIG_IsOK(res3
)) {
32333 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32336 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32338 arg3
= reinterpret_cast< wxFont
* >(argp3
);
32340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32341 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
32342 wxPyEndAllowThreads(__tstate
);
32343 if (PyErr_Occurred()) SWIG_fail
;
32345 resultobj
= SWIG_Py_Void();
32352 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32353 PyObject
*resultobj
= 0;
32354 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32361 PyObject
* obj0
= 0 ;
32362 PyObject
* obj1
= 0 ;
32363 char * kwnames
[] = {
32364 (char *) "self",(char *) "item", NULL
32367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32369 if (!SWIG_IsOK(res1
)) {
32370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32372 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32373 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32374 if (!SWIG_IsOK(ecode2
)) {
32375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
32377 arg2
= static_cast< long >(val2
);
32379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32380 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
32381 wxPyEndAllowThreads(__tstate
);
32382 if (PyErr_Occurred()) SWIG_fail
;
32384 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
32391 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32392 PyObject
*resultobj
= 0;
32393 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32394 PyObject
*arg2
= (PyObject
*) 0 ;
32398 PyObject
* obj0
= 0 ;
32399 PyObject
* obj1
= 0 ;
32400 char * kwnames
[] = {
32401 (char *) "self",(char *) "func", NULL
32404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32406 if (!SWIG_IsOK(res1
)) {
32407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32409 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32413 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
32414 wxPyEndAllowThreads(__tstate
);
32415 if (PyErr_Occurred()) SWIG_fail
;
32418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32426 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32427 PyObject
*resultobj
= 0;
32428 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32429 wxWindow
*result
= 0 ;
32432 PyObject
*swig_obj
[1] ;
32434 if (!args
) SWIG_fail
;
32435 swig_obj
[0] = args
;
32436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32437 if (!SWIG_IsOK(res1
)) {
32438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32440 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32443 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
32444 wxPyEndAllowThreads(__tstate
);
32445 if (PyErr_Occurred()) SWIG_fail
;
32448 resultobj
= wxPyMake_wxObject(result
, 0);
32456 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32457 PyObject
*resultobj
= 0;
32458 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
32459 SwigValueWrapper
<wxVisualAttributes
> result
;
32462 PyObject
* obj0
= 0 ;
32463 char * kwnames
[] = {
32464 (char *) "variant", NULL
32467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
32469 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32470 if (!SWIG_IsOK(ecode1
)) {
32471 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32473 arg1
= static_cast< wxWindowVariant
>(val1
);
32476 if (!wxPyCheckForApp()) SWIG_fail
;
32477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32478 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
32479 wxPyEndAllowThreads(__tstate
);
32480 if (PyErr_Occurred()) SWIG_fail
;
32482 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
32489 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32491 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32492 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
32493 return SWIG_Py_Void();
32496 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32497 return SWIG_Python_InitShadowInstance(args
);
32500 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32501 PyObject
*resultobj
= 0;
32502 wxWindow
*arg1
= (wxWindow
*) 0 ;
32503 int arg2
= (int) -1 ;
32504 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32505 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32506 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32507 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32508 long arg5
= (long) wxLC_REPORT
;
32509 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32510 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32511 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
32512 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32513 wxListView
*result
= 0 ;
32524 bool temp7
= false ;
32525 PyObject
* obj0
= 0 ;
32526 PyObject
* obj1
= 0 ;
32527 PyObject
* obj2
= 0 ;
32528 PyObject
* obj3
= 0 ;
32529 PyObject
* obj4
= 0 ;
32530 PyObject
* obj5
= 0 ;
32531 PyObject
* obj6
= 0 ;
32532 char * kwnames
[] = {
32533 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32538 if (!SWIG_IsOK(res1
)) {
32539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32541 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32543 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32544 if (!SWIG_IsOK(ecode2
)) {
32545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32547 arg2
= static_cast< int >(val2
);
32552 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32558 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32562 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
32563 if (!SWIG_IsOK(ecode5
)) {
32564 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32566 arg5
= static_cast< long >(val5
);
32569 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
32570 if (!SWIG_IsOK(res6
)) {
32571 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32574 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32576 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
32580 arg7
= wxString_in_helper(obj6
);
32581 if (arg7
== NULL
) SWIG_fail
;
32586 if (!wxPyCheckForApp()) SWIG_fail
;
32587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32588 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32589 wxPyEndAllowThreads(__tstate
);
32590 if (PyErr_Occurred()) SWIG_fail
;
32592 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
32607 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32608 PyObject
*resultobj
= 0;
32609 wxListView
*result
= 0 ;
32611 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
32613 if (!wxPyCheckForApp()) SWIG_fail
;
32614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32615 result
= (wxListView
*)new wxListView();
32616 wxPyEndAllowThreads(__tstate
);
32617 if (PyErr_Occurred()) SWIG_fail
;
32619 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
32626 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32627 PyObject
*resultobj
= 0;
32628 wxListView
*arg1
= (wxListView
*) 0 ;
32629 wxWindow
*arg2
= (wxWindow
*) 0 ;
32630 int arg3
= (int) -1 ;
32631 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32632 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32633 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32634 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32635 long arg6
= (long) wxLC_REPORT
;
32636 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32637 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32638 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
32639 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32653 bool temp8
= false ;
32654 PyObject
* obj0
= 0 ;
32655 PyObject
* obj1
= 0 ;
32656 PyObject
* obj2
= 0 ;
32657 PyObject
* obj3
= 0 ;
32658 PyObject
* obj4
= 0 ;
32659 PyObject
* obj5
= 0 ;
32660 PyObject
* obj6
= 0 ;
32661 PyObject
* obj7
= 0 ;
32662 char * kwnames
[] = {
32663 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32668 if (!SWIG_IsOK(res1
)) {
32669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32671 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32672 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32673 if (!SWIG_IsOK(res2
)) {
32674 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32676 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32678 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32679 if (!SWIG_IsOK(ecode3
)) {
32680 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32682 arg3
= static_cast< int >(val3
);
32687 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32693 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32697 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32698 if (!SWIG_IsOK(ecode6
)) {
32699 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32701 arg6
= static_cast< long >(val6
);
32704 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32705 if (!SWIG_IsOK(res7
)) {
32706 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32709 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32711 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32715 arg8
= wxString_in_helper(obj7
);
32716 if (arg8
== NULL
) SWIG_fail
;
32721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32722 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32723 wxPyEndAllowThreads(__tstate
);
32724 if (PyErr_Occurred()) SWIG_fail
;
32727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32743 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32744 PyObject
*resultobj
= 0;
32745 wxListView
*arg1
= (wxListView
*) 0 ;
32747 bool arg3
= (bool) true ;
32754 PyObject
* obj0
= 0 ;
32755 PyObject
* obj1
= 0 ;
32756 PyObject
* obj2
= 0 ;
32757 char * kwnames
[] = {
32758 (char *) "self",(char *) "n",(char *) "on", NULL
32761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32763 if (!SWIG_IsOK(res1
)) {
32764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32766 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32767 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32768 if (!SWIG_IsOK(ecode2
)) {
32769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32771 arg2
= static_cast< long >(val2
);
32773 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32774 if (!SWIG_IsOK(ecode3
)) {
32775 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32777 arg3
= static_cast< bool >(val3
);
32780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32781 (arg1
)->Select(arg2
,arg3
);
32782 wxPyEndAllowThreads(__tstate
);
32783 if (PyErr_Occurred()) SWIG_fail
;
32785 resultobj
= SWIG_Py_Void();
32792 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32793 PyObject
*resultobj
= 0;
32794 wxListView
*arg1
= (wxListView
*) 0 ;
32800 PyObject
* obj0
= 0 ;
32801 PyObject
* obj1
= 0 ;
32802 char * kwnames
[] = {
32803 (char *) "self",(char *) "index", NULL
32806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32808 if (!SWIG_IsOK(res1
)) {
32809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32811 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32812 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32813 if (!SWIG_IsOK(ecode2
)) {
32814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32816 arg2
= static_cast< long >(val2
);
32818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32819 (arg1
)->Focus(arg2
);
32820 wxPyEndAllowThreads(__tstate
);
32821 if (PyErr_Occurred()) SWIG_fail
;
32823 resultobj
= SWIG_Py_Void();
32830 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32831 PyObject
*resultobj
= 0;
32832 wxListView
*arg1
= (wxListView
*) 0 ;
32836 PyObject
*swig_obj
[1] ;
32838 if (!args
) SWIG_fail
;
32839 swig_obj
[0] = args
;
32840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32841 if (!SWIG_IsOK(res1
)) {
32842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32844 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32847 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32848 wxPyEndAllowThreads(__tstate
);
32849 if (PyErr_Occurred()) SWIG_fail
;
32851 resultobj
= SWIG_From_long(static_cast< long >(result
));
32858 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32859 PyObject
*resultobj
= 0;
32860 wxListView
*arg1
= (wxListView
*) 0 ;
32867 PyObject
* obj0
= 0 ;
32868 PyObject
* obj1
= 0 ;
32869 char * kwnames
[] = {
32870 (char *) "self",(char *) "item", NULL
32873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32875 if (!SWIG_IsOK(res1
)) {
32876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32878 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32879 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32880 if (!SWIG_IsOK(ecode2
)) {
32881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32883 arg2
= static_cast< long >(val2
);
32885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32886 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32887 wxPyEndAllowThreads(__tstate
);
32888 if (PyErr_Occurred()) SWIG_fail
;
32890 resultobj
= SWIG_From_long(static_cast< long >(result
));
32897 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32898 PyObject
*resultobj
= 0;
32899 wxListView
*arg1
= (wxListView
*) 0 ;
32903 PyObject
*swig_obj
[1] ;
32905 if (!args
) SWIG_fail
;
32906 swig_obj
[0] = args
;
32907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32908 if (!SWIG_IsOK(res1
)) {
32909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32911 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32914 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32915 wxPyEndAllowThreads(__tstate
);
32916 if (PyErr_Occurred()) SWIG_fail
;
32918 resultobj
= SWIG_From_long(static_cast< long >(result
));
32925 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32926 PyObject
*resultobj
= 0;
32927 wxListView
*arg1
= (wxListView
*) 0 ;
32934 PyObject
* obj0
= 0 ;
32935 PyObject
* obj1
= 0 ;
32936 char * kwnames
[] = {
32937 (char *) "self",(char *) "index", NULL
32940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32942 if (!SWIG_IsOK(res1
)) {
32943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32945 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32946 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32947 if (!SWIG_IsOK(ecode2
)) {
32948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32950 arg2
= static_cast< long >(val2
);
32952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32953 result
= (bool)(arg1
)->IsSelected(arg2
);
32954 wxPyEndAllowThreads(__tstate
);
32955 if (PyErr_Occurred()) SWIG_fail
;
32958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32966 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32967 PyObject
*resultobj
= 0;
32968 wxListView
*arg1
= (wxListView
*) 0 ;
32977 PyObject
* obj0
= 0 ;
32978 PyObject
* obj1
= 0 ;
32979 PyObject
* obj2
= 0 ;
32980 char * kwnames
[] = {
32981 (char *) "self",(char *) "col",(char *) "image", NULL
32984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32986 if (!SWIG_IsOK(res1
)) {
32987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32989 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32990 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32991 if (!SWIG_IsOK(ecode2
)) {
32992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32994 arg2
= static_cast< int >(val2
);
32995 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32996 if (!SWIG_IsOK(ecode3
)) {
32997 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32999 arg3
= static_cast< int >(val3
);
33001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33002 (arg1
)->SetColumnImage(arg2
,arg3
);
33003 wxPyEndAllowThreads(__tstate
);
33004 if (PyErr_Occurred()) SWIG_fail
;
33006 resultobj
= SWIG_Py_Void();
33013 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33014 PyObject
*resultobj
= 0;
33015 wxListView
*arg1
= (wxListView
*) 0 ;
33021 PyObject
* obj0
= 0 ;
33022 PyObject
* obj1
= 0 ;
33023 char * kwnames
[] = {
33024 (char *) "self",(char *) "col", NULL
33027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
33029 if (!SWIG_IsOK(res1
)) {
33030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
33032 arg1
= reinterpret_cast< wxListView
* >(argp1
);
33033 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33034 if (!SWIG_IsOK(ecode2
)) {
33035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
33037 arg2
= static_cast< int >(val2
);
33039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33040 (arg1
)->ClearColumnImage(arg2
);
33041 wxPyEndAllowThreads(__tstate
);
33042 if (PyErr_Occurred()) SWIG_fail
;
33044 resultobj
= SWIG_Py_Void();
33051 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33053 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33054 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
33055 return SWIG_Py_Void();
33058 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33059 return SWIG_Python_InitShadowInstance(args
);
33062 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
33063 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
33068 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
33069 PyObject
*pyobj
= 0;
33073 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
33075 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
33082 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33083 PyObject
*resultobj
= 0;
33084 wxTreeItemId
*result
= 0 ;
33086 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
33088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33089 result
= (wxTreeItemId
*)new wxTreeItemId();
33090 wxPyEndAllowThreads(__tstate
);
33091 if (PyErr_Occurred()) SWIG_fail
;
33093 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
33100 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33101 PyObject
*resultobj
= 0;
33102 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
33105 PyObject
*swig_obj
[1] ;
33107 if (!args
) SWIG_fail
;
33108 swig_obj
[0] = args
;
33109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
33110 if (!SWIG_IsOK(res1
)) {
33111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33113 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
33115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33118 wxPyEndAllowThreads(__tstate
);
33119 if (PyErr_Occurred()) SWIG_fail
;
33121 resultobj
= SWIG_Py_Void();
33128 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33129 PyObject
*resultobj
= 0;
33130 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
33134 PyObject
*swig_obj
[1] ;
33136 if (!args
) SWIG_fail
;
33137 swig_obj
[0] = args
;
33138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33139 if (!SWIG_IsOK(res1
)) {
33140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
33142 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
33144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33145 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
33146 wxPyEndAllowThreads(__tstate
);
33147 if (PyErr_Occurred()) SWIG_fail
;
33150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33158 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33159 PyObject
*resultobj
= 0;
33160 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
33161 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
33167 PyObject
* obj0
= 0 ;
33168 PyObject
* obj1
= 0 ;
33169 char * kwnames
[] = {
33170 (char *) "self",(char *) "other", NULL
33173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33175 if (!SWIG_IsOK(res1
)) {
33176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33178 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
33179 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33180 if (!SWIG_IsOK(res2
)) {
33181 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
33183 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33186 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
33187 wxPyEndAllowThreads(__tstate
);
33188 if (PyErr_Occurred()) SWIG_fail
;
33191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33199 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33200 PyObject
*resultobj
= 0;
33201 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
33202 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
33208 PyObject
* obj0
= 0 ;
33209 PyObject
* obj1
= 0 ;
33210 char * kwnames
[] = {
33211 (char *) "self",(char *) "other", NULL
33214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33216 if (!SWIG_IsOK(res1
)) {
33217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33219 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
33220 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33221 if (!SWIG_IsOK(res2
)) {
33222 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
33224 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33227 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
33228 wxPyEndAllowThreads(__tstate
);
33229 if (PyErr_Occurred()) SWIG_fail
;
33232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33240 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33241 PyObject
*resultobj
= 0;
33242 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
33243 void *arg2
= (void *) 0 ;
33247 PyObject
*swig_obj
[2] ;
33249 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
33250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33251 if (!SWIG_IsOK(res1
)) {
33252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33254 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
33255 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
33256 if (!SWIG_IsOK(res2
)) {
33257 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
33259 if (arg1
) (arg1
)->m_pItem
= arg2
;
33261 resultobj
= SWIG_Py_Void();
33268 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33269 PyObject
*resultobj
= 0;
33270 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
33274 PyObject
*swig_obj
[1] ;
33276 if (!args
) SWIG_fail
;
33277 swig_obj
[0] = args
;
33278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33279 if (!SWIG_IsOK(res1
)) {
33280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33282 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
33283 result
= (void *) ((arg1
)->m_pItem
);
33284 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
33291 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33293 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33294 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
33295 return SWIG_Py_Void();
33298 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33299 return SWIG_Python_InitShadowInstance(args
);
33302 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33303 PyObject
*resultobj
= 0;
33304 PyObject
*arg1
= (PyObject
*) NULL
;
33305 wxPyTreeItemData
*result
= 0 ;
33306 PyObject
* obj0
= 0 ;
33307 char * kwnames
[] = {
33308 (char *) "obj", NULL
33311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
33316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33317 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
33318 wxPyEndAllowThreads(__tstate
);
33319 if (PyErr_Occurred()) SWIG_fail
;
33321 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
33328 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33329 PyObject
*resultobj
= 0;
33330 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33333 PyObject
*swig_obj
[1] ;
33335 if (!args
) SWIG_fail
;
33336 swig_obj
[0] = args
;
33337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
33338 if (!SWIG_IsOK(res1
)) {
33339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33341 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33346 wxPyEndAllowThreads(__tstate
);
33347 if (PyErr_Occurred()) SWIG_fail
;
33349 resultobj
= SWIG_Py_Void();
33356 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33357 PyObject
*resultobj
= 0;
33358 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33359 PyObject
*result
= 0 ;
33362 PyObject
*swig_obj
[1] ;
33364 if (!args
) SWIG_fail
;
33365 swig_obj
[0] = args
;
33366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33367 if (!SWIG_IsOK(res1
)) {
33368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33370 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33373 result
= (PyObject
*)(arg1
)->GetData();
33374 wxPyEndAllowThreads(__tstate
);
33375 if (PyErr_Occurred()) SWIG_fail
;
33377 resultobj
= result
;
33384 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33385 PyObject
*resultobj
= 0;
33386 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33387 PyObject
*arg2
= (PyObject
*) 0 ;
33390 PyObject
* obj0
= 0 ;
33391 PyObject
* obj1
= 0 ;
33392 char * kwnames
[] = {
33393 (char *) "self",(char *) "obj", NULL
33396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33398 if (!SWIG_IsOK(res1
)) {
33399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33401 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33405 (arg1
)->SetData(arg2
);
33406 wxPyEndAllowThreads(__tstate
);
33407 if (PyErr_Occurred()) SWIG_fail
;
33409 resultobj
= SWIG_Py_Void();
33416 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33417 PyObject
*resultobj
= 0;
33418 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33419 wxTreeItemId
*result
= 0 ;
33422 PyObject
*swig_obj
[1] ;
33424 if (!args
) SWIG_fail
;
33425 swig_obj
[0] = args
;
33426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33427 if (!SWIG_IsOK(res1
)) {
33428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33430 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33434 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
33435 result
= (wxTreeItemId
*) &_result_ref
;
33437 wxPyEndAllowThreads(__tstate
);
33438 if (PyErr_Occurred()) SWIG_fail
;
33440 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33447 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33448 PyObject
*resultobj
= 0;
33449 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33450 wxTreeItemId
*arg2
= 0 ;
33455 PyObject
* obj0
= 0 ;
33456 PyObject
* obj1
= 0 ;
33457 char * kwnames
[] = {
33458 (char *) "self",(char *) "id", NULL
33461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33463 if (!SWIG_IsOK(res1
)) {
33464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33466 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33467 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33468 if (!SWIG_IsOK(res2
)) {
33469 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33472 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33474 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33477 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
33478 wxPyEndAllowThreads(__tstate
);
33479 if (PyErr_Occurred()) SWIG_fail
;
33481 resultobj
= SWIG_Py_Void();
33488 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33489 PyObject
*resultobj
= 0;
33490 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33493 PyObject
*swig_obj
[1] ;
33495 if (!args
) SWIG_fail
;
33496 swig_obj
[0] = args
;
33497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33498 if (!SWIG_IsOK(res1
)) {
33499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33501 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33504 wxPyTreeItemData_Destroy(arg1
);
33505 wxPyEndAllowThreads(__tstate
);
33506 if (PyErr_Occurred()) SWIG_fail
;
33508 resultobj
= SWIG_Py_Void();
33515 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33517 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33518 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
33519 return SWIG_Py_Void();
33522 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33523 return SWIG_Python_InitShadowInstance(args
);
33526 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
33529 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33530 if (!SWIG_IsOK(res
)) {
33531 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33534 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33536 wxTreeItemId
* temp
;
33537 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
33538 wxNullTreeItemId
= *temp
;
33539 if (SWIG_IsNewObj(res
)) delete temp
;
33548 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
33549 PyObject
*pyobj
= 0;
33551 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
33556 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33557 PyObject
*resultobj
= 0;
33558 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33559 int arg2
= (int) 0 ;
33560 wxTreeEvent
*result
= 0 ;
33566 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
33568 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33569 if (!SWIG_IsOK(ecode1
)) {
33570 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33572 arg1
= static_cast< wxEventType
>(val1
);
33575 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33576 if (!SWIG_IsOK(ecode2
)) {
33577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33579 arg2
= static_cast< int >(val2
);
33582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33583 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
33584 wxPyEndAllowThreads(__tstate
);
33585 if (PyErr_Occurred()) SWIG_fail
;
33587 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33594 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33595 PyObject
*resultobj
= 0;
33597 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
33598 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
33599 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
33600 wxTreeEvent
*result
= 0 ;
33608 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33609 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33610 if (!SWIG_IsOK(ecode1
)) {
33611 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33613 arg1
= static_cast< wxEventType
>(val1
);
33614 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33615 if (!SWIG_IsOK(res2
)) {
33616 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33618 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
33620 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
33621 if (!SWIG_IsOK(res3
)) {
33622 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33625 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33627 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
33630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33631 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
33632 wxPyEndAllowThreads(__tstate
);
33633 if (PyErr_Occurred()) SWIG_fail
;
33635 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33642 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
33646 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
33648 if ((argc
>= 0) && (argc
<= 2)) {
33653 int res
= SWIG_AsVal_int(argv
[1], NULL
);
33654 _v
= SWIG_CheckState(res
);
33657 if (!_v
) goto check_1
;
33659 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
33663 if ((argc
>= 2) && (argc
<= 3)) {
33664 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
33668 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
33673 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33674 PyObject
*resultobj
= 0;
33675 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33676 wxTreeItemId result
;
33679 PyObject
*swig_obj
[1] ;
33681 if (!args
) SWIG_fail
;
33682 swig_obj
[0] = args
;
33683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33684 if (!SWIG_IsOK(res1
)) {
33685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33687 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33690 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
33691 wxPyEndAllowThreads(__tstate
);
33692 if (PyErr_Occurred()) SWIG_fail
;
33694 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33701 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33702 PyObject
*resultobj
= 0;
33703 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33704 wxTreeItemId
*arg2
= 0 ;
33709 PyObject
* obj0
= 0 ;
33710 PyObject
* obj1
= 0 ;
33711 char * kwnames
[] = {
33712 (char *) "self",(char *) "item", NULL
33715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33717 if (!SWIG_IsOK(res1
)) {
33718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33720 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33721 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33722 if (!SWIG_IsOK(res2
)) {
33723 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33726 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33728 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33731 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33732 wxPyEndAllowThreads(__tstate
);
33733 if (PyErr_Occurred()) SWIG_fail
;
33735 resultobj
= SWIG_Py_Void();
33742 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33743 PyObject
*resultobj
= 0;
33744 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33745 wxTreeItemId result
;
33748 PyObject
*swig_obj
[1] ;
33750 if (!args
) SWIG_fail
;
33751 swig_obj
[0] = args
;
33752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33753 if (!SWIG_IsOK(res1
)) {
33754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33756 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33759 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33760 wxPyEndAllowThreads(__tstate
);
33761 if (PyErr_Occurred()) SWIG_fail
;
33763 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33770 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33771 PyObject
*resultobj
= 0;
33772 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33773 wxTreeItemId
*arg2
= 0 ;
33778 PyObject
* obj0
= 0 ;
33779 PyObject
* obj1
= 0 ;
33780 char * kwnames
[] = {
33781 (char *) "self",(char *) "item", NULL
33784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33786 if (!SWIG_IsOK(res1
)) {
33787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33789 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33790 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33791 if (!SWIG_IsOK(res2
)) {
33792 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33795 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33797 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33800 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33801 wxPyEndAllowThreads(__tstate
);
33802 if (PyErr_Occurred()) SWIG_fail
;
33804 resultobj
= SWIG_Py_Void();
33811 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33812 PyObject
*resultobj
= 0;
33813 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33817 PyObject
*swig_obj
[1] ;
33819 if (!args
) SWIG_fail
;
33820 swig_obj
[0] = args
;
33821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33822 if (!SWIG_IsOK(res1
)) {
33823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33825 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33828 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33829 wxPyEndAllowThreads(__tstate
);
33830 if (PyErr_Occurred()) SWIG_fail
;
33832 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33839 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33840 PyObject
*resultobj
= 0;
33841 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33842 wxPoint
*arg2
= 0 ;
33846 PyObject
* obj0
= 0 ;
33847 PyObject
* obj1
= 0 ;
33848 char * kwnames
[] = {
33849 (char *) "self",(char *) "pt", NULL
33852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33854 if (!SWIG_IsOK(res1
)) {
33855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33857 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33860 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33864 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33865 wxPyEndAllowThreads(__tstate
);
33866 if (PyErr_Occurred()) SWIG_fail
;
33868 resultobj
= SWIG_Py_Void();
33875 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33876 PyObject
*resultobj
= 0;
33877 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33878 wxKeyEvent
*result
= 0 ;
33881 PyObject
*swig_obj
[1] ;
33883 if (!args
) SWIG_fail
;
33884 swig_obj
[0] = args
;
33885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33886 if (!SWIG_IsOK(res1
)) {
33887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33889 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33893 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33894 result
= (wxKeyEvent
*) &_result_ref
;
33896 wxPyEndAllowThreads(__tstate
);
33897 if (PyErr_Occurred()) SWIG_fail
;
33899 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33906 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33907 PyObject
*resultobj
= 0;
33908 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33912 PyObject
*swig_obj
[1] ;
33914 if (!args
) SWIG_fail
;
33915 swig_obj
[0] = args
;
33916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33917 if (!SWIG_IsOK(res1
)) {
33918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33920 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33923 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33924 wxPyEndAllowThreads(__tstate
);
33925 if (PyErr_Occurred()) SWIG_fail
;
33927 resultobj
= SWIG_From_int(static_cast< int >(result
));
33934 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33935 PyObject
*resultobj
= 0;
33936 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33937 wxKeyEvent
*arg2
= 0 ;
33942 PyObject
* obj0
= 0 ;
33943 PyObject
* obj1
= 0 ;
33944 char * kwnames
[] = {
33945 (char *) "self",(char *) "evt", NULL
33948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33950 if (!SWIG_IsOK(res1
)) {
33951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33953 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33954 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33955 if (!SWIG_IsOK(res2
)) {
33956 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33959 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33961 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33964 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33965 wxPyEndAllowThreads(__tstate
);
33966 if (PyErr_Occurred()) SWIG_fail
;
33968 resultobj
= SWIG_Py_Void();
33975 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33976 PyObject
*resultobj
= 0;
33977 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33978 wxString
*result
= 0 ;
33981 PyObject
*swig_obj
[1] ;
33983 if (!args
) SWIG_fail
;
33984 swig_obj
[0] = args
;
33985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33986 if (!SWIG_IsOK(res1
)) {
33987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33989 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33993 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33994 result
= (wxString
*) &_result_ref
;
33996 wxPyEndAllowThreads(__tstate
);
33997 if (PyErr_Occurred()) SWIG_fail
;
34001 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
34003 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
34012 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34013 PyObject
*resultobj
= 0;
34014 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
34015 wxString
*arg2
= 0 ;
34018 bool temp2
= false ;
34019 PyObject
* obj0
= 0 ;
34020 PyObject
* obj1
= 0 ;
34021 char * kwnames
[] = {
34022 (char *) "self",(char *) "label", NULL
34025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
34027 if (!SWIG_IsOK(res1
)) {
34028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
34030 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
34032 arg2
= wxString_in_helper(obj1
);
34033 if (arg2
== NULL
) SWIG_fail
;
34037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34038 (arg1
)->SetLabel((wxString
const &)*arg2
);
34039 wxPyEndAllowThreads(__tstate
);
34040 if (PyErr_Occurred()) SWIG_fail
;
34042 resultobj
= SWIG_Py_Void();
34057 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34058 PyObject
*resultobj
= 0;
34059 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
34063 PyObject
*swig_obj
[1] ;
34065 if (!args
) SWIG_fail
;
34066 swig_obj
[0] = args
;
34067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
34068 if (!SWIG_IsOK(res1
)) {
34069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
34071 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
34073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34074 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
34075 wxPyEndAllowThreads(__tstate
);
34076 if (PyErr_Occurred()) SWIG_fail
;
34079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34087 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34088 PyObject
*resultobj
= 0;
34089 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
34095 PyObject
* obj0
= 0 ;
34096 PyObject
* obj1
= 0 ;
34097 char * kwnames
[] = {
34098 (char *) "self",(char *) "editCancelled", NULL
34101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
34103 if (!SWIG_IsOK(res1
)) {
34104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
34106 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
34107 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
34108 if (!SWIG_IsOK(ecode2
)) {
34109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
34111 arg2
= static_cast< bool >(val2
);
34113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34114 (arg1
)->SetEditCanceled(arg2
);
34115 wxPyEndAllowThreads(__tstate
);
34116 if (PyErr_Occurred()) SWIG_fail
;
34118 resultobj
= SWIG_Py_Void();
34125 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34126 PyObject
*resultobj
= 0;
34127 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
34128 wxString
*arg2
= 0 ;
34131 bool temp2
= false ;
34132 PyObject
* obj0
= 0 ;
34133 PyObject
* obj1
= 0 ;
34134 char * kwnames
[] = {
34135 (char *) "self",(char *) "toolTip", NULL
34138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
34140 if (!SWIG_IsOK(res1
)) {
34141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
34143 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
34145 arg2
= wxString_in_helper(obj1
);
34146 if (arg2
== NULL
) SWIG_fail
;
34150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34151 (arg1
)->SetToolTip((wxString
const &)*arg2
);
34152 wxPyEndAllowThreads(__tstate
);
34153 if (PyErr_Occurred()) SWIG_fail
;
34155 resultobj
= SWIG_Py_Void();
34170 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34171 PyObject
*resultobj
= 0;
34172 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
34176 PyObject
*swig_obj
[1] ;
34178 if (!args
) SWIG_fail
;
34179 swig_obj
[0] = args
;
34180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
34181 if (!SWIG_IsOK(res1
)) {
34182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
34184 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
34186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34187 result
= (arg1
)->GetToolTip();
34188 wxPyEndAllowThreads(__tstate
);
34189 if (PyErr_Occurred()) SWIG_fail
;
34193 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34195 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34204 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34206 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34207 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
34208 return SWIG_Py_Void();
34211 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34212 return SWIG_Python_InitShadowInstance(args
);
34215 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34216 PyObject
*resultobj
= 0;
34217 wxWindow
*arg1
= (wxWindow
*) 0 ;
34218 int arg2
= (int) -1 ;
34219 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
34220 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
34221 wxSize
const &arg4_defvalue
= wxDefaultSize
;
34222 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
34223 long arg5
= (long) wxTR_DEFAULT_STYLE
;
34224 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
34225 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
34226 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
34227 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
34228 wxPyTreeCtrl
*result
= 0 ;
34239 bool temp7
= false ;
34240 PyObject
* obj0
= 0 ;
34241 PyObject
* obj1
= 0 ;
34242 PyObject
* obj2
= 0 ;
34243 PyObject
* obj3
= 0 ;
34244 PyObject
* obj4
= 0 ;
34245 PyObject
* obj5
= 0 ;
34246 PyObject
* obj6
= 0 ;
34247 char * kwnames
[] = {
34248 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34253 if (!SWIG_IsOK(res1
)) {
34254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
34256 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34258 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34259 if (!SWIG_IsOK(ecode2
)) {
34260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
34262 arg2
= static_cast< int >(val2
);
34267 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34273 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34277 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
34278 if (!SWIG_IsOK(ecode5
)) {
34279 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
34281 arg5
= static_cast< long >(val5
);
34284 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
34285 if (!SWIG_IsOK(res6
)) {
34286 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
34289 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
34291 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
34295 arg7
= wxString_in_helper(obj6
);
34296 if (arg7
== NULL
) SWIG_fail
;
34301 if (!wxPyCheckForApp()) SWIG_fail
;
34302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34303 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
34304 wxPyEndAllowThreads(__tstate
);
34305 if (PyErr_Occurred()) SWIG_fail
;
34307 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
34322 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34323 PyObject
*resultobj
= 0;
34324 wxPyTreeCtrl
*result
= 0 ;
34326 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
34328 if (!wxPyCheckForApp()) SWIG_fail
;
34329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34330 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
34331 wxPyEndAllowThreads(__tstate
);
34332 if (PyErr_Occurred()) SWIG_fail
;
34334 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
34341 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34342 PyObject
*resultobj
= 0;
34343 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34344 wxWindow
*arg2
= (wxWindow
*) 0 ;
34345 int arg3
= (int) -1 ;
34346 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34347 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34348 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34349 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34350 long arg6
= (long) wxTR_DEFAULT_STYLE
;
34351 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34352 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34353 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
34354 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34368 bool temp8
= false ;
34369 PyObject
* obj0
= 0 ;
34370 PyObject
* obj1
= 0 ;
34371 PyObject
* obj2
= 0 ;
34372 PyObject
* obj3
= 0 ;
34373 PyObject
* obj4
= 0 ;
34374 PyObject
* obj5
= 0 ;
34375 PyObject
* obj6
= 0 ;
34376 PyObject
* obj7
= 0 ;
34377 char * kwnames
[] = {
34378 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
34382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34383 if (!SWIG_IsOK(res1
)) {
34384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34386 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34387 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34388 if (!SWIG_IsOK(res2
)) {
34389 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
34391 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34393 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34394 if (!SWIG_IsOK(ecode3
)) {
34395 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
34397 arg3
= static_cast< int >(val3
);
34402 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34408 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34412 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
34413 if (!SWIG_IsOK(ecode6
)) {
34414 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
34416 arg6
= static_cast< long >(val6
);
34419 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
34420 if (!SWIG_IsOK(res7
)) {
34421 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34424 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34426 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
34430 arg8
= wxString_in_helper(obj7
);
34431 if (arg8
== NULL
) SWIG_fail
;
34436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34437 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34438 wxPyEndAllowThreads(__tstate
);
34439 if (PyErr_Occurred()) SWIG_fail
;
34442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34458 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34459 PyObject
*resultobj
= 0;
34460 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34461 PyObject
*arg2
= (PyObject
*) 0 ;
34462 PyObject
*arg3
= (PyObject
*) 0 ;
34465 PyObject
* obj0
= 0 ;
34466 PyObject
* obj1
= 0 ;
34467 PyObject
* obj2
= 0 ;
34468 char * kwnames
[] = {
34469 (char *) "self",(char *) "self",(char *) "_class", NULL
34472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34474 if (!SWIG_IsOK(res1
)) {
34475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34477 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34482 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34483 wxPyEndAllowThreads(__tstate
);
34484 if (PyErr_Occurred()) SWIG_fail
;
34486 resultobj
= SWIG_Py_Void();
34493 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34494 PyObject
*resultobj
= 0;
34495 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34496 unsigned int result
;
34499 PyObject
*swig_obj
[1] ;
34501 if (!args
) SWIG_fail
;
34502 swig_obj
[0] = args
;
34503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34504 if (!SWIG_IsOK(res1
)) {
34505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34507 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34510 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
34511 wxPyEndAllowThreads(__tstate
);
34512 if (PyErr_Occurred()) SWIG_fail
;
34514 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34521 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34522 PyObject
*resultobj
= 0;
34523 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34524 unsigned int result
;
34527 PyObject
*swig_obj
[1] ;
34529 if (!args
) SWIG_fail
;
34530 swig_obj
[0] = args
;
34531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34532 if (!SWIG_IsOK(res1
)) {
34533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34535 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34538 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
34539 wxPyEndAllowThreads(__tstate
);
34540 if (PyErr_Occurred()) SWIG_fail
;
34542 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34549 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34550 PyObject
*resultobj
= 0;
34551 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34552 unsigned int arg2
;
34555 unsigned int val2
;
34557 PyObject
* obj0
= 0 ;
34558 PyObject
* obj1
= 0 ;
34559 char * kwnames
[] = {
34560 (char *) "self",(char *) "indent", NULL
34563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34565 if (!SWIG_IsOK(res1
)) {
34566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34568 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34569 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34570 if (!SWIG_IsOK(ecode2
)) {
34571 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34573 arg2
= static_cast< unsigned int >(val2
);
34575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34576 (arg1
)->SetIndent(arg2
);
34577 wxPyEndAllowThreads(__tstate
);
34578 if (PyErr_Occurred()) SWIG_fail
;
34580 resultobj
= SWIG_Py_Void();
34587 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34588 PyObject
*resultobj
= 0;
34589 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34590 unsigned int result
;
34593 PyObject
*swig_obj
[1] ;
34595 if (!args
) SWIG_fail
;
34596 swig_obj
[0] = args
;
34597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34598 if (!SWIG_IsOK(res1
)) {
34599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34601 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34604 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
34605 wxPyEndAllowThreads(__tstate
);
34606 if (PyErr_Occurred()) SWIG_fail
;
34608 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34615 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34616 PyObject
*resultobj
= 0;
34617 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34618 unsigned int arg2
;
34621 unsigned int val2
;
34623 PyObject
* obj0
= 0 ;
34624 PyObject
* obj1
= 0 ;
34625 char * kwnames
[] = {
34626 (char *) "self",(char *) "spacing", NULL
34629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34631 if (!SWIG_IsOK(res1
)) {
34632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34634 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34635 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34636 if (!SWIG_IsOK(ecode2
)) {
34637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34639 arg2
= static_cast< unsigned int >(val2
);
34641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34642 (arg1
)->SetSpacing(arg2
);
34643 wxPyEndAllowThreads(__tstate
);
34644 if (PyErr_Occurred()) SWIG_fail
;
34646 resultobj
= SWIG_Py_Void();
34653 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34654 PyObject
*resultobj
= 0;
34655 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34656 wxImageList
*result
= 0 ;
34659 PyObject
*swig_obj
[1] ;
34661 if (!args
) SWIG_fail
;
34662 swig_obj
[0] = args
;
34663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34664 if (!SWIG_IsOK(res1
)) {
34665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34667 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34670 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
34671 wxPyEndAllowThreads(__tstate
);
34672 if (PyErr_Occurred()) SWIG_fail
;
34675 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34683 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34684 PyObject
*resultobj
= 0;
34685 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34686 wxImageList
*result
= 0 ;
34689 PyObject
*swig_obj
[1] ;
34691 if (!args
) SWIG_fail
;
34692 swig_obj
[0] = args
;
34693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34694 if (!SWIG_IsOK(res1
)) {
34695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34697 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34700 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
34701 wxPyEndAllowThreads(__tstate
);
34702 if (PyErr_Occurred()) SWIG_fail
;
34705 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34713 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34714 PyObject
*resultobj
= 0;
34715 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34716 wxImageList
*arg2
= (wxImageList
*) 0 ;
34721 PyObject
* obj0
= 0 ;
34722 PyObject
* obj1
= 0 ;
34723 char * kwnames
[] = {
34724 (char *) "self",(char *) "imageList", NULL
34727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34729 if (!SWIG_IsOK(res1
)) {
34730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34732 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34733 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34734 if (!SWIG_IsOK(res2
)) {
34735 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34737 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34740 (arg1
)->SetImageList(arg2
);
34741 wxPyEndAllowThreads(__tstate
);
34742 if (PyErr_Occurred()) SWIG_fail
;
34744 resultobj
= SWIG_Py_Void();
34751 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34752 PyObject
*resultobj
= 0;
34753 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34754 wxImageList
*arg2
= (wxImageList
*) 0 ;
34759 PyObject
* obj0
= 0 ;
34760 PyObject
* obj1
= 0 ;
34761 char * kwnames
[] = {
34762 (char *) "self",(char *) "imageList", NULL
34765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34767 if (!SWIG_IsOK(res1
)) {
34768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34770 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34771 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34772 if (!SWIG_IsOK(res2
)) {
34773 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34775 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34778 (arg1
)->SetStateImageList(arg2
);
34779 wxPyEndAllowThreads(__tstate
);
34780 if (PyErr_Occurred()) SWIG_fail
;
34782 resultobj
= SWIG_Py_Void();
34789 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34790 PyObject
*resultobj
= 0;
34791 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34792 wxImageList
*arg2
= (wxImageList
*) 0 ;
34796 PyObject
* obj0
= 0 ;
34797 PyObject
* obj1
= 0 ;
34798 char * kwnames
[] = {
34799 (char *) "self",(char *) "imageList", NULL
34802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34804 if (!SWIG_IsOK(res1
)) {
34805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34807 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34808 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34809 if (!SWIG_IsOK(res2
)) {
34810 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34814 (arg1
)->AssignImageList(arg2
);
34815 wxPyEndAllowThreads(__tstate
);
34816 if (PyErr_Occurred()) SWIG_fail
;
34818 resultobj
= SWIG_Py_Void();
34825 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34826 PyObject
*resultobj
= 0;
34827 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34828 wxImageList
*arg2
= (wxImageList
*) 0 ;
34832 PyObject
* obj0
= 0 ;
34833 PyObject
* obj1
= 0 ;
34834 char * kwnames
[] = {
34835 (char *) "self",(char *) "imageList", NULL
34838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34840 if (!SWIG_IsOK(res1
)) {
34841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34843 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34844 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34845 if (!SWIG_IsOK(res2
)) {
34846 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34850 (arg1
)->AssignStateImageList(arg2
);
34851 wxPyEndAllowThreads(__tstate
);
34852 if (PyErr_Occurred()) SWIG_fail
;
34854 resultobj
= SWIG_Py_Void();
34861 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34862 PyObject
*resultobj
= 0;
34863 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34864 wxTreeItemId
*arg2
= 0 ;
34870 PyObject
* obj0
= 0 ;
34871 PyObject
* obj1
= 0 ;
34872 char * kwnames
[] = {
34873 (char *) "self",(char *) "item", NULL
34876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34878 if (!SWIG_IsOK(res1
)) {
34879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34881 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34882 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34883 if (!SWIG_IsOK(res2
)) {
34884 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34887 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34889 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34892 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34893 wxPyEndAllowThreads(__tstate
);
34894 if (PyErr_Occurred()) SWIG_fail
;
34898 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34900 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34909 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34910 PyObject
*resultobj
= 0;
34911 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34912 wxTreeItemId
*arg2
= 0 ;
34913 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34921 PyObject
* obj0
= 0 ;
34922 PyObject
* obj1
= 0 ;
34923 PyObject
* obj2
= 0 ;
34924 char * kwnames
[] = {
34925 (char *) "self",(char *) "item",(char *) "which", NULL
34928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34930 if (!SWIG_IsOK(res1
)) {
34931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34933 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34934 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34935 if (!SWIG_IsOK(res2
)) {
34936 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34939 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34941 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34943 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34944 if (!SWIG_IsOK(ecode3
)) {
34945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34947 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34951 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34952 wxPyEndAllowThreads(__tstate
);
34953 if (PyErr_Occurred()) SWIG_fail
;
34955 resultobj
= SWIG_From_int(static_cast< int >(result
));
34962 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34963 PyObject
*resultobj
= 0;
34964 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34965 wxTreeItemId
*arg2
= 0 ;
34966 wxPyTreeItemData
*result
= 0 ;
34971 PyObject
* obj0
= 0 ;
34972 PyObject
* obj1
= 0 ;
34973 char * kwnames
[] = {
34974 (char *) "self",(char *) "item", NULL
34977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34979 if (!SWIG_IsOK(res1
)) {
34980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34982 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34983 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34984 if (!SWIG_IsOK(res2
)) {
34985 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34988 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34990 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34993 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34994 wxPyEndAllowThreads(__tstate
);
34995 if (PyErr_Occurred()) SWIG_fail
;
34997 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
35004 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35005 PyObject
*resultobj
= 0;
35006 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35007 wxTreeItemId
*arg2
= 0 ;
35008 PyObject
*result
= 0 ;
35013 PyObject
* obj0
= 0 ;
35014 PyObject
* obj1
= 0 ;
35015 char * kwnames
[] = {
35016 (char *) "self",(char *) "item", NULL
35019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35021 if (!SWIG_IsOK(res1
)) {
35022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35024 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35025 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35026 if (!SWIG_IsOK(res2
)) {
35027 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35032 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35035 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
35036 wxPyEndAllowThreads(__tstate
);
35037 if (PyErr_Occurred()) SWIG_fail
;
35039 resultobj
= result
;
35046 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35047 PyObject
*resultobj
= 0;
35048 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35049 wxTreeItemId
*arg2
= 0 ;
35055 PyObject
* obj0
= 0 ;
35056 PyObject
* obj1
= 0 ;
35057 char * kwnames
[] = {
35058 (char *) "self",(char *) "item", NULL
35061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35063 if (!SWIG_IsOK(res1
)) {
35064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35066 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35067 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35068 if (!SWIG_IsOK(res2
)) {
35069 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35072 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35074 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35077 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
35078 wxPyEndAllowThreads(__tstate
);
35079 if (PyErr_Occurred()) SWIG_fail
;
35081 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
35088 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35089 PyObject
*resultobj
= 0;
35090 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35091 wxTreeItemId
*arg2
= 0 ;
35097 PyObject
* obj0
= 0 ;
35098 PyObject
* obj1
= 0 ;
35099 char * kwnames
[] = {
35100 (char *) "self",(char *) "item", NULL
35103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35105 if (!SWIG_IsOK(res1
)) {
35106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35108 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35109 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35110 if (!SWIG_IsOK(res2
)) {
35111 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35114 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35116 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35119 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
35120 wxPyEndAllowThreads(__tstate
);
35121 if (PyErr_Occurred()) SWIG_fail
;
35123 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
35130 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35131 PyObject
*resultobj
= 0;
35132 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35133 wxTreeItemId
*arg2
= 0 ;
35139 PyObject
* obj0
= 0 ;
35140 PyObject
* obj1
= 0 ;
35141 char * kwnames
[] = {
35142 (char *) "self",(char *) "item", NULL
35145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35147 if (!SWIG_IsOK(res1
)) {
35148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35150 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35151 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35152 if (!SWIG_IsOK(res2
)) {
35153 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35156 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35158 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35161 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
35162 wxPyEndAllowThreads(__tstate
);
35163 if (PyErr_Occurred()) SWIG_fail
;
35165 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
35172 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35173 PyObject
*resultobj
= 0;
35174 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35175 wxTreeItemId
*arg2
= 0 ;
35176 wxString
*arg3
= 0 ;
35181 bool temp3
= false ;
35182 PyObject
* obj0
= 0 ;
35183 PyObject
* obj1
= 0 ;
35184 PyObject
* obj2
= 0 ;
35185 char * kwnames
[] = {
35186 (char *) "self",(char *) "item",(char *) "text", NULL
35189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35191 if (!SWIG_IsOK(res1
)) {
35192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35194 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35195 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35196 if (!SWIG_IsOK(res2
)) {
35197 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35200 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35202 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35204 arg3
= wxString_in_helper(obj2
);
35205 if (arg3
== NULL
) SWIG_fail
;
35209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35210 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
35211 wxPyEndAllowThreads(__tstate
);
35212 if (PyErr_Occurred()) SWIG_fail
;
35214 resultobj
= SWIG_Py_Void();
35229 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35230 PyObject
*resultobj
= 0;
35231 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35232 wxTreeItemId
*arg2
= 0 ;
35234 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
35243 PyObject
* obj0
= 0 ;
35244 PyObject
* obj1
= 0 ;
35245 PyObject
* obj2
= 0 ;
35246 PyObject
* obj3
= 0 ;
35247 char * kwnames
[] = {
35248 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
35251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35253 if (!SWIG_IsOK(res1
)) {
35254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35256 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35257 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35258 if (!SWIG_IsOK(res2
)) {
35259 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35262 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35264 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35265 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35266 if (!SWIG_IsOK(ecode3
)) {
35267 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
35269 arg3
= static_cast< int >(val3
);
35271 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35272 if (!SWIG_IsOK(ecode4
)) {
35273 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
35275 arg4
= static_cast< wxTreeItemIcon
>(val4
);
35278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35279 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
35280 wxPyEndAllowThreads(__tstate
);
35281 if (PyErr_Occurred()) SWIG_fail
;
35283 resultobj
= SWIG_Py_Void();
35290 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35291 PyObject
*resultobj
= 0;
35292 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35293 wxTreeItemId
*arg2
= 0 ;
35294 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
35300 PyObject
* obj0
= 0 ;
35301 PyObject
* obj1
= 0 ;
35302 PyObject
* obj2
= 0 ;
35303 char * kwnames
[] = {
35304 (char *) "self",(char *) "item",(char *) "data", NULL
35307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35309 if (!SWIG_IsOK(res1
)) {
35310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35312 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35313 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35314 if (!SWIG_IsOK(res2
)) {
35315 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35318 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35320 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35321 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35322 if (!SWIG_IsOK(res3
)) {
35323 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
35326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35327 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35328 wxPyEndAllowThreads(__tstate
);
35329 if (PyErr_Occurred()) SWIG_fail
;
35331 resultobj
= SWIG_Py_Void();
35338 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35339 PyObject
*resultobj
= 0;
35340 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35341 wxTreeItemId
*arg2
= 0 ;
35342 PyObject
*arg3
= (PyObject
*) 0 ;
35347 PyObject
* obj0
= 0 ;
35348 PyObject
* obj1
= 0 ;
35349 PyObject
* obj2
= 0 ;
35350 char * kwnames
[] = {
35351 (char *) "self",(char *) "item",(char *) "obj", NULL
35354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35356 if (!SWIG_IsOK(res1
)) {
35357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35359 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35360 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35361 if (!SWIG_IsOK(res2
)) {
35362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35365 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35367 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35371 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35372 wxPyEndAllowThreads(__tstate
);
35373 if (PyErr_Occurred()) SWIG_fail
;
35375 resultobj
= SWIG_Py_Void();
35382 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35383 PyObject
*resultobj
= 0;
35384 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35385 wxTreeItemId
*arg2
= 0 ;
35386 bool arg3
= (bool) true ;
35393 PyObject
* obj0
= 0 ;
35394 PyObject
* obj1
= 0 ;
35395 PyObject
* obj2
= 0 ;
35396 char * kwnames
[] = {
35397 (char *) "self",(char *) "item",(char *) "has", NULL
35400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35402 if (!SWIG_IsOK(res1
)) {
35403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35405 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35406 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35407 if (!SWIG_IsOK(res2
)) {
35408 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35411 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35413 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35415 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35416 if (!SWIG_IsOK(ecode3
)) {
35417 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
35419 arg3
= static_cast< bool >(val3
);
35422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35423 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
35424 wxPyEndAllowThreads(__tstate
);
35425 if (PyErr_Occurred()) SWIG_fail
;
35427 resultobj
= SWIG_Py_Void();
35434 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35435 PyObject
*resultobj
= 0;
35436 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35437 wxTreeItemId
*arg2
= 0 ;
35438 bool arg3
= (bool) true ;
35445 PyObject
* obj0
= 0 ;
35446 PyObject
* obj1
= 0 ;
35447 PyObject
* obj2
= 0 ;
35448 char * kwnames
[] = {
35449 (char *) "self",(char *) "item",(char *) "bold", NULL
35452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35454 if (!SWIG_IsOK(res1
)) {
35455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35457 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35458 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35459 if (!SWIG_IsOK(res2
)) {
35460 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35463 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35465 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35467 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35468 if (!SWIG_IsOK(ecode3
)) {
35469 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35471 arg3
= static_cast< bool >(val3
);
35474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35475 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
35476 wxPyEndAllowThreads(__tstate
);
35477 if (PyErr_Occurred()) SWIG_fail
;
35479 resultobj
= SWIG_Py_Void();
35486 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35487 PyObject
*resultobj
= 0;
35488 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35489 wxTreeItemId
*arg2
= 0 ;
35490 bool arg3
= (bool) true ;
35497 PyObject
* obj0
= 0 ;
35498 PyObject
* obj1
= 0 ;
35499 PyObject
* obj2
= 0 ;
35500 char * kwnames
[] = {
35501 (char *) "self",(char *) "item",(char *) "highlight", NULL
35504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35506 if (!SWIG_IsOK(res1
)) {
35507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35509 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35510 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35511 if (!SWIG_IsOK(res2
)) {
35512 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35515 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35517 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35519 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35520 if (!SWIG_IsOK(ecode3
)) {
35521 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35523 arg3
= static_cast< bool >(val3
);
35526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35527 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
35528 wxPyEndAllowThreads(__tstate
);
35529 if (PyErr_Occurred()) SWIG_fail
;
35531 resultobj
= SWIG_Py_Void();
35538 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35539 PyObject
*resultobj
= 0;
35540 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35541 wxTreeItemId
*arg2
= 0 ;
35542 wxColour
*arg3
= 0 ;
35548 PyObject
* obj0
= 0 ;
35549 PyObject
* obj1
= 0 ;
35550 PyObject
* obj2
= 0 ;
35551 char * kwnames
[] = {
35552 (char *) "self",(char *) "item",(char *) "col", NULL
35555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35557 if (!SWIG_IsOK(res1
)) {
35558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35560 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35561 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35562 if (!SWIG_IsOK(res2
)) {
35563 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35566 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35568 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35571 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35575 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35576 wxPyEndAllowThreads(__tstate
);
35577 if (PyErr_Occurred()) SWIG_fail
;
35579 resultobj
= SWIG_Py_Void();
35586 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35587 PyObject
*resultobj
= 0;
35588 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35589 wxTreeItemId
*arg2
= 0 ;
35590 wxColour
*arg3
= 0 ;
35596 PyObject
* obj0
= 0 ;
35597 PyObject
* obj1
= 0 ;
35598 PyObject
* obj2
= 0 ;
35599 char * kwnames
[] = {
35600 (char *) "self",(char *) "item",(char *) "col", NULL
35603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35605 if (!SWIG_IsOK(res1
)) {
35606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35608 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35609 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35610 if (!SWIG_IsOK(res2
)) {
35611 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35614 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35616 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35619 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35623 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35624 wxPyEndAllowThreads(__tstate
);
35625 if (PyErr_Occurred()) SWIG_fail
;
35627 resultobj
= SWIG_Py_Void();
35634 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35635 PyObject
*resultobj
= 0;
35636 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35637 wxTreeItemId
*arg2
= 0 ;
35645 PyObject
* obj0
= 0 ;
35646 PyObject
* obj1
= 0 ;
35647 PyObject
* obj2
= 0 ;
35648 char * kwnames
[] = {
35649 (char *) "self",(char *) "item",(char *) "font", NULL
35652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35654 if (!SWIG_IsOK(res1
)) {
35655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35657 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35658 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35659 if (!SWIG_IsOK(res2
)) {
35660 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35663 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35665 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35666 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
35667 if (!SWIG_IsOK(res3
)) {
35668 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35671 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35673 arg3
= reinterpret_cast< wxFont
* >(argp3
);
35675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35676 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
35677 wxPyEndAllowThreads(__tstate
);
35678 if (PyErr_Occurred()) SWIG_fail
;
35680 resultobj
= SWIG_Py_Void();
35687 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35688 PyObject
*resultobj
= 0;
35689 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35690 wxTreeItemId
*arg2
= 0 ;
35696 PyObject
* obj0
= 0 ;
35697 PyObject
* obj1
= 0 ;
35698 char * kwnames
[] = {
35699 (char *) "self",(char *) "item", NULL
35702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35704 if (!SWIG_IsOK(res1
)) {
35705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35707 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35708 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35709 if (!SWIG_IsOK(res2
)) {
35710 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35713 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35715 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35718 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35719 wxPyEndAllowThreads(__tstate
);
35720 if (PyErr_Occurred()) SWIG_fail
;
35723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35731 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35732 PyObject
*resultobj
= 0;
35733 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35734 wxTreeItemId
*arg2
= 0 ;
35740 PyObject
* obj0
= 0 ;
35741 PyObject
* obj1
= 0 ;
35742 char * kwnames
[] = {
35743 (char *) "self",(char *) "item", NULL
35746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35748 if (!SWIG_IsOK(res1
)) {
35749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35751 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35752 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35753 if (!SWIG_IsOK(res2
)) {
35754 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35757 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35759 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35762 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35763 wxPyEndAllowThreads(__tstate
);
35764 if (PyErr_Occurred()) SWIG_fail
;
35767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35775 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35776 PyObject
*resultobj
= 0;
35777 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35778 wxTreeItemId
*arg2
= 0 ;
35784 PyObject
* obj0
= 0 ;
35785 PyObject
* obj1
= 0 ;
35786 char * kwnames
[] = {
35787 (char *) "self",(char *) "item", NULL
35790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35792 if (!SWIG_IsOK(res1
)) {
35793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35795 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35796 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35797 if (!SWIG_IsOK(res2
)) {
35798 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35801 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35803 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35806 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35807 wxPyEndAllowThreads(__tstate
);
35808 if (PyErr_Occurred()) SWIG_fail
;
35811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35819 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35820 PyObject
*resultobj
= 0;
35821 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35822 wxTreeItemId
*arg2
= 0 ;
35828 PyObject
* obj0
= 0 ;
35829 PyObject
* obj1
= 0 ;
35830 char * kwnames
[] = {
35831 (char *) "self",(char *) "item", NULL
35834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35836 if (!SWIG_IsOK(res1
)) {
35837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35839 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35840 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35841 if (!SWIG_IsOK(res2
)) {
35842 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35845 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35847 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35850 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35851 wxPyEndAllowThreads(__tstate
);
35852 if (PyErr_Occurred()) SWIG_fail
;
35855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35863 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35864 PyObject
*resultobj
= 0;
35865 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35866 wxTreeItemId
*arg2
= 0 ;
35872 PyObject
* obj0
= 0 ;
35873 PyObject
* obj1
= 0 ;
35874 char * kwnames
[] = {
35875 (char *) "self",(char *) "item", NULL
35878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35880 if (!SWIG_IsOK(res1
)) {
35881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35883 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35884 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35885 if (!SWIG_IsOK(res2
)) {
35886 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35889 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35891 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35894 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35895 wxPyEndAllowThreads(__tstate
);
35896 if (PyErr_Occurred()) SWIG_fail
;
35899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35907 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35908 PyObject
*resultobj
= 0;
35909 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35913 PyObject
*swig_obj
[1] ;
35915 if (!args
) SWIG_fail
;
35916 swig_obj
[0] = args
;
35917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35918 if (!SWIG_IsOK(res1
)) {
35919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35921 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35924 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsEmpty();
35925 wxPyEndAllowThreads(__tstate
);
35926 if (PyErr_Occurred()) SWIG_fail
;
35929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35937 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35938 PyObject
*resultobj
= 0;
35939 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35940 wxTreeItemId
*arg2
= 0 ;
35941 bool arg3
= (bool) true ;
35949 PyObject
* obj0
= 0 ;
35950 PyObject
* obj1
= 0 ;
35951 PyObject
* obj2
= 0 ;
35952 char * kwnames
[] = {
35953 (char *) "self",(char *) "item",(char *) "recursively", NULL
35956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35958 if (!SWIG_IsOK(res1
)) {
35959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35961 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35962 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35963 if (!SWIG_IsOK(res2
)) {
35964 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35967 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35969 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35971 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35972 if (!SWIG_IsOK(ecode3
)) {
35973 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35975 arg3
= static_cast< bool >(val3
);
35978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35979 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35980 wxPyEndAllowThreads(__tstate
);
35981 if (PyErr_Occurred()) SWIG_fail
;
35983 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35990 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35991 PyObject
*resultobj
= 0;
35992 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35993 wxTreeItemId result
;
35996 PyObject
*swig_obj
[1] ;
35998 if (!args
) SWIG_fail
;
35999 swig_obj
[0] = args
;
36000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36001 if (!SWIG_IsOK(res1
)) {
36002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36004 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36007 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
36008 wxPyEndAllowThreads(__tstate
);
36009 if (PyErr_Occurred()) SWIG_fail
;
36011 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36018 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36019 PyObject
*resultobj
= 0;
36020 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36021 wxTreeItemId result
;
36024 PyObject
*swig_obj
[1] ;
36026 if (!args
) SWIG_fail
;
36027 swig_obj
[0] = args
;
36028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36029 if (!SWIG_IsOK(res1
)) {
36030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36032 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36035 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
36036 wxPyEndAllowThreads(__tstate
);
36037 if (PyErr_Occurred()) SWIG_fail
;
36039 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36046 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36047 PyObject
*resultobj
= 0;
36048 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36049 PyObject
*result
= 0 ;
36052 PyObject
*swig_obj
[1] ;
36054 if (!args
) SWIG_fail
;
36055 swig_obj
[0] = args
;
36056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36057 if (!SWIG_IsOK(res1
)) {
36058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36060 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36063 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
36064 wxPyEndAllowThreads(__tstate
);
36065 if (PyErr_Occurred()) SWIG_fail
;
36067 resultobj
= result
;
36074 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36075 PyObject
*resultobj
= 0;
36076 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36077 wxTreeItemId
*arg2
= 0 ;
36078 wxTreeItemId result
;
36083 PyObject
* obj0
= 0 ;
36084 PyObject
* obj1
= 0 ;
36085 char * kwnames
[] = {
36086 (char *) "self",(char *) "item", NULL
36089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36091 if (!SWIG_IsOK(res1
)) {
36092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36094 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36095 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36096 if (!SWIG_IsOK(res2
)) {
36097 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36100 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36102 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36105 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
36106 wxPyEndAllowThreads(__tstate
);
36107 if (PyErr_Occurred()) SWIG_fail
;
36109 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36116 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36117 PyObject
*resultobj
= 0;
36118 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36119 wxTreeItemId
*arg2
= 0 ;
36120 PyObject
*result
= 0 ;
36125 PyObject
* obj0
= 0 ;
36126 PyObject
* obj1
= 0 ;
36127 char * kwnames
[] = {
36128 (char *) "self",(char *) "item", NULL
36131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36133 if (!SWIG_IsOK(res1
)) {
36134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36136 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36137 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36138 if (!SWIG_IsOK(res2
)) {
36139 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36142 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36144 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36147 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
36148 wxPyEndAllowThreads(__tstate
);
36149 if (PyErr_Occurred()) SWIG_fail
;
36151 resultobj
= result
;
36158 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36159 PyObject
*resultobj
= 0;
36160 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36161 wxTreeItemId
*arg2
= 0 ;
36162 void *arg3
= (void *) 0 ;
36163 PyObject
*result
= 0 ;
36169 PyObject
* obj0
= 0 ;
36170 PyObject
* obj1
= 0 ;
36171 PyObject
* obj2
= 0 ;
36172 char * kwnames
[] = {
36173 (char *) "self",(char *) "item",(char *) "cookie", NULL
36176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36178 if (!SWIG_IsOK(res1
)) {
36179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36181 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36182 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36183 if (!SWIG_IsOK(res2
)) {
36184 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36187 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36189 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36190 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
36191 if (!SWIG_IsOK(res3
)) {
36192 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
36195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36196 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
36197 wxPyEndAllowThreads(__tstate
);
36198 if (PyErr_Occurred()) SWIG_fail
;
36200 resultobj
= result
;
36207 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36208 PyObject
*resultobj
= 0;
36209 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36210 wxTreeItemId
*arg2
= 0 ;
36211 wxTreeItemId result
;
36216 PyObject
* obj0
= 0 ;
36217 PyObject
* obj1
= 0 ;
36218 char * kwnames
[] = {
36219 (char *) "self",(char *) "item", NULL
36222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36224 if (!SWIG_IsOK(res1
)) {
36225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36227 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36228 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36229 if (!SWIG_IsOK(res2
)) {
36230 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36233 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36235 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36238 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
36239 wxPyEndAllowThreads(__tstate
);
36240 if (PyErr_Occurred()) SWIG_fail
;
36242 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36249 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36250 PyObject
*resultobj
= 0;
36251 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36252 wxTreeItemId
*arg2
= 0 ;
36253 wxTreeItemId result
;
36258 PyObject
* obj0
= 0 ;
36259 PyObject
* obj1
= 0 ;
36260 char * kwnames
[] = {
36261 (char *) "self",(char *) "item", NULL
36264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36266 if (!SWIG_IsOK(res1
)) {
36267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36269 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36270 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36271 if (!SWIG_IsOK(res2
)) {
36272 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36275 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36277 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36280 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
36281 wxPyEndAllowThreads(__tstate
);
36282 if (PyErr_Occurred()) SWIG_fail
;
36284 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36291 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36292 PyObject
*resultobj
= 0;
36293 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36294 wxTreeItemId
*arg2
= 0 ;
36295 wxTreeItemId result
;
36300 PyObject
* obj0
= 0 ;
36301 PyObject
* obj1
= 0 ;
36302 char * kwnames
[] = {
36303 (char *) "self",(char *) "item", NULL
36306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36308 if (!SWIG_IsOK(res1
)) {
36309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36311 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36312 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36313 if (!SWIG_IsOK(res2
)) {
36314 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36317 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36319 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36322 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
36323 wxPyEndAllowThreads(__tstate
);
36324 if (PyErr_Occurred()) SWIG_fail
;
36326 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36333 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36334 PyObject
*resultobj
= 0;
36335 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36336 wxTreeItemId result
;
36339 PyObject
*swig_obj
[1] ;
36341 if (!args
) SWIG_fail
;
36342 swig_obj
[0] = args
;
36343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36344 if (!SWIG_IsOK(res1
)) {
36345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36347 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36350 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
36351 wxPyEndAllowThreads(__tstate
);
36352 if (PyErr_Occurred()) SWIG_fail
;
36354 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36361 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36362 PyObject
*resultobj
= 0;
36363 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36364 wxTreeItemId
*arg2
= 0 ;
36365 wxTreeItemId result
;
36370 PyObject
* obj0
= 0 ;
36371 PyObject
* obj1
= 0 ;
36372 char * kwnames
[] = {
36373 (char *) "self",(char *) "item", NULL
36376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36378 if (!SWIG_IsOK(res1
)) {
36379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36381 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36382 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36383 if (!SWIG_IsOK(res2
)) {
36384 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36387 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36389 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36392 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
36393 wxPyEndAllowThreads(__tstate
);
36394 if (PyErr_Occurred()) SWIG_fail
;
36396 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36403 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36404 PyObject
*resultobj
= 0;
36405 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36406 wxTreeItemId
*arg2
= 0 ;
36407 wxTreeItemId result
;
36412 PyObject
* obj0
= 0 ;
36413 PyObject
* obj1
= 0 ;
36414 char * kwnames
[] = {
36415 (char *) "self",(char *) "item", NULL
36418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36420 if (!SWIG_IsOK(res1
)) {
36421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36423 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36424 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36425 if (!SWIG_IsOK(res2
)) {
36426 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36429 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36431 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36434 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
36435 wxPyEndAllowThreads(__tstate
);
36436 if (PyErr_Occurred()) SWIG_fail
;
36438 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36445 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36446 PyObject
*resultobj
= 0;
36447 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36448 wxString
*arg2
= 0 ;
36449 int arg3
= (int) -1 ;
36450 int arg4
= (int) -1 ;
36451 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
36452 wxTreeItemId result
;
36455 bool temp2
= false ;
36461 PyObject
* obj0
= 0 ;
36462 PyObject
* obj1
= 0 ;
36463 PyObject
* obj2
= 0 ;
36464 PyObject
* obj3
= 0 ;
36465 PyObject
* obj4
= 0 ;
36466 char * kwnames
[] = {
36467 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36472 if (!SWIG_IsOK(res1
)) {
36473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36475 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36477 arg2
= wxString_in_helper(obj1
);
36478 if (arg2
== NULL
) SWIG_fail
;
36482 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36483 if (!SWIG_IsOK(ecode3
)) {
36484 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36486 arg3
= static_cast< int >(val3
);
36489 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36490 if (!SWIG_IsOK(ecode4
)) {
36491 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36493 arg4
= static_cast< int >(val4
);
36496 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36497 if (!SWIG_IsOK(res5
)) {
36498 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36503 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
36504 wxPyEndAllowThreads(__tstate
);
36505 if (PyErr_Occurred()) SWIG_fail
;
36507 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36522 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36523 PyObject
*resultobj
= 0;
36524 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36525 wxTreeItemId
*arg2
= 0 ;
36526 wxString
*arg3
= 0 ;
36527 int arg4
= (int) -1 ;
36528 int arg5
= (int) -1 ;
36529 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36530 wxTreeItemId result
;
36535 bool temp3
= false ;
36541 PyObject
* obj0
= 0 ;
36542 PyObject
* obj1
= 0 ;
36543 PyObject
* obj2
= 0 ;
36544 PyObject
* obj3
= 0 ;
36545 PyObject
* obj4
= 0 ;
36546 PyObject
* obj5
= 0 ;
36547 char * kwnames
[] = {
36548 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36553 if (!SWIG_IsOK(res1
)) {
36554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36556 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36557 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36558 if (!SWIG_IsOK(res2
)) {
36559 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36562 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36564 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36566 arg3
= wxString_in_helper(obj2
);
36567 if (arg3
== NULL
) SWIG_fail
;
36571 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36572 if (!SWIG_IsOK(ecode4
)) {
36573 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36575 arg4
= static_cast< int >(val4
);
36578 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36579 if (!SWIG_IsOK(ecode5
)) {
36580 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36582 arg5
= static_cast< int >(val5
);
36585 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36586 if (!SWIG_IsOK(res6
)) {
36587 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36592 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36593 wxPyEndAllowThreads(__tstate
);
36594 if (PyErr_Occurred()) SWIG_fail
;
36596 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36611 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36612 PyObject
*resultobj
= 0;
36613 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36614 wxTreeItemId
*arg2
= 0 ;
36615 wxTreeItemId
*arg3
= 0 ;
36616 wxString
*arg4
= 0 ;
36617 int arg5
= (int) -1 ;
36618 int arg6
= (int) -1 ;
36619 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36620 wxTreeItemId result
;
36627 bool temp4
= false ;
36633 PyObject
* obj0
= 0 ;
36634 PyObject
* obj1
= 0 ;
36635 PyObject
* obj2
= 0 ;
36636 PyObject
* obj3
= 0 ;
36637 PyObject
* obj4
= 0 ;
36638 PyObject
* obj5
= 0 ;
36639 PyObject
* obj6
= 0 ;
36640 char * kwnames
[] = {
36641 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36646 if (!SWIG_IsOK(res1
)) {
36647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36649 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36650 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36651 if (!SWIG_IsOK(res2
)) {
36652 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36655 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36657 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36658 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36659 if (!SWIG_IsOK(res3
)) {
36660 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36663 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36665 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
36667 arg4
= wxString_in_helper(obj3
);
36668 if (arg4
== NULL
) SWIG_fail
;
36672 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36673 if (!SWIG_IsOK(ecode5
)) {
36674 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36676 arg5
= static_cast< int >(val5
);
36679 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36680 if (!SWIG_IsOK(ecode6
)) {
36681 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36683 arg6
= static_cast< int >(val6
);
36686 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36687 if (!SWIG_IsOK(res7
)) {
36688 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36693 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36694 wxPyEndAllowThreads(__tstate
);
36695 if (PyErr_Occurred()) SWIG_fail
;
36697 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36712 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36713 PyObject
*resultobj
= 0;
36714 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36715 wxTreeItemId
*arg2
= 0 ;
36717 wxString
*arg4
= 0 ;
36718 int arg5
= (int) -1 ;
36719 int arg6
= (int) -1 ;
36720 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36721 wxTreeItemId result
;
36728 bool temp4
= false ;
36734 PyObject
* obj0
= 0 ;
36735 PyObject
* obj1
= 0 ;
36736 PyObject
* obj2
= 0 ;
36737 PyObject
* obj3
= 0 ;
36738 PyObject
* obj4
= 0 ;
36739 PyObject
* obj5
= 0 ;
36740 PyObject
* obj6
= 0 ;
36741 char * kwnames
[] = {
36742 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36747 if (!SWIG_IsOK(res1
)) {
36748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36750 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36751 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36752 if (!SWIG_IsOK(res2
)) {
36753 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36756 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36758 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36759 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36760 if (!SWIG_IsOK(ecode3
)) {
36761 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36763 arg3
= static_cast< size_t >(val3
);
36765 arg4
= wxString_in_helper(obj3
);
36766 if (arg4
== NULL
) SWIG_fail
;
36770 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36771 if (!SWIG_IsOK(ecode5
)) {
36772 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36774 arg5
= static_cast< int >(val5
);
36777 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36778 if (!SWIG_IsOK(ecode6
)) {
36779 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36781 arg6
= static_cast< int >(val6
);
36784 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36785 if (!SWIG_IsOK(res7
)) {
36786 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36791 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36792 wxPyEndAllowThreads(__tstate
);
36793 if (PyErr_Occurred()) SWIG_fail
;
36795 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36810 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36811 PyObject
*resultobj
= 0;
36812 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36813 wxTreeItemId
*arg2
= 0 ;
36814 wxString
*arg3
= 0 ;
36815 int arg4
= (int) -1 ;
36816 int arg5
= (int) -1 ;
36817 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36818 wxTreeItemId result
;
36823 bool temp3
= false ;
36829 PyObject
* obj0
= 0 ;
36830 PyObject
* obj1
= 0 ;
36831 PyObject
* obj2
= 0 ;
36832 PyObject
* obj3
= 0 ;
36833 PyObject
* obj4
= 0 ;
36834 PyObject
* obj5
= 0 ;
36835 char * kwnames
[] = {
36836 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36841 if (!SWIG_IsOK(res1
)) {
36842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36844 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36845 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36846 if (!SWIG_IsOK(res2
)) {
36847 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36850 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36852 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36854 arg3
= wxString_in_helper(obj2
);
36855 if (arg3
== NULL
) SWIG_fail
;
36859 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36860 if (!SWIG_IsOK(ecode4
)) {
36861 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36863 arg4
= static_cast< int >(val4
);
36866 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36867 if (!SWIG_IsOK(ecode5
)) {
36868 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36870 arg5
= static_cast< int >(val5
);
36873 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36874 if (!SWIG_IsOK(res6
)) {
36875 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36880 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36881 wxPyEndAllowThreads(__tstate
);
36882 if (PyErr_Occurred()) SWIG_fail
;
36884 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36899 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36900 PyObject
*resultobj
= 0;
36901 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36902 wxTreeItemId
*arg2
= 0 ;
36907 PyObject
* obj0
= 0 ;
36908 PyObject
* obj1
= 0 ;
36909 char * kwnames
[] = {
36910 (char *) "self",(char *) "item", NULL
36913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36915 if (!SWIG_IsOK(res1
)) {
36916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36918 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36919 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36920 if (!SWIG_IsOK(res2
)) {
36921 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36924 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36926 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36929 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36930 wxPyEndAllowThreads(__tstate
);
36931 if (PyErr_Occurred()) SWIG_fail
;
36933 resultobj
= SWIG_Py_Void();
36940 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36941 PyObject
*resultobj
= 0;
36942 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36943 wxTreeItemId
*arg2
= 0 ;
36948 PyObject
* obj0
= 0 ;
36949 PyObject
* obj1
= 0 ;
36950 char * kwnames
[] = {
36951 (char *) "self",(char *) "item", NULL
36954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36956 if (!SWIG_IsOK(res1
)) {
36957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36959 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36960 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36961 if (!SWIG_IsOK(res2
)) {
36962 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36965 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36967 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36970 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36971 wxPyEndAllowThreads(__tstate
);
36972 if (PyErr_Occurred()) SWIG_fail
;
36974 resultobj
= SWIG_Py_Void();
36981 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36982 PyObject
*resultobj
= 0;
36983 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36986 PyObject
*swig_obj
[1] ;
36988 if (!args
) SWIG_fail
;
36989 swig_obj
[0] = args
;
36990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36991 if (!SWIG_IsOK(res1
)) {
36992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36994 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36997 (arg1
)->DeleteAllItems();
36998 wxPyEndAllowThreads(__tstate
);
36999 if (PyErr_Occurred()) SWIG_fail
;
37001 resultobj
= SWIG_Py_Void();
37008 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37009 PyObject
*resultobj
= 0;
37010 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37011 wxTreeItemId
*arg2
= 0 ;
37016 PyObject
* obj0
= 0 ;
37017 PyObject
* obj1
= 0 ;
37018 char * kwnames
[] = {
37019 (char *) "self",(char *) "item", NULL
37022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37024 if (!SWIG_IsOK(res1
)) {
37025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37027 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37028 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37029 if (!SWIG_IsOK(res2
)) {
37030 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37033 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37035 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37038 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
37039 wxPyEndAllowThreads(__tstate
);
37040 if (PyErr_Occurred()) SWIG_fail
;
37042 resultobj
= SWIG_Py_Void();
37049 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37050 PyObject
*resultobj
= 0;
37051 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37052 wxTreeItemId
*arg2
= 0 ;
37057 PyObject
* obj0
= 0 ;
37058 PyObject
* obj1
= 0 ;
37059 char * kwnames
[] = {
37060 (char *) "self",(char *) "item", NULL
37063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37065 if (!SWIG_IsOK(res1
)) {
37066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37068 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37069 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37070 if (!SWIG_IsOK(res2
)) {
37071 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37074 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37076 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37079 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
37080 wxPyEndAllowThreads(__tstate
);
37081 if (PyErr_Occurred()) SWIG_fail
;
37083 resultobj
= SWIG_Py_Void();
37090 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37091 PyObject
*resultobj
= 0;
37092 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37095 PyObject
*swig_obj
[1] ;
37097 if (!args
) SWIG_fail
;
37098 swig_obj
[0] = args
;
37099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37100 if (!SWIG_IsOK(res1
)) {
37101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37103 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37106 (arg1
)->ExpandAll();
37107 wxPyEndAllowThreads(__tstate
);
37108 if (PyErr_Occurred()) SWIG_fail
;
37110 resultobj
= SWIG_Py_Void();
37117 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37118 PyObject
*resultobj
= 0;
37119 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37120 wxTreeItemId
*arg2
= 0 ;
37125 PyObject
* obj0
= 0 ;
37126 PyObject
* obj1
= 0 ;
37127 char * kwnames
[] = {
37128 (char *) "self",(char *) "item", NULL
37131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37133 if (!SWIG_IsOK(res1
)) {
37134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37136 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37137 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37138 if (!SWIG_IsOK(res2
)) {
37139 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37142 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37144 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37147 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
37148 wxPyEndAllowThreads(__tstate
);
37149 if (PyErr_Occurred()) SWIG_fail
;
37151 resultobj
= SWIG_Py_Void();
37158 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37159 PyObject
*resultobj
= 0;
37160 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37161 wxTreeItemId
*arg2
= 0 ;
37166 PyObject
* obj0
= 0 ;
37167 PyObject
* obj1
= 0 ;
37168 char * kwnames
[] = {
37169 (char *) "self",(char *) "item", NULL
37172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37174 if (!SWIG_IsOK(res1
)) {
37175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37177 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37178 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37179 if (!SWIG_IsOK(res2
)) {
37180 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37183 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37185 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37188 (arg1
)->CollapseAllChildren((wxTreeItemId
const &)*arg2
);
37189 wxPyEndAllowThreads(__tstate
);
37190 if (PyErr_Occurred()) SWIG_fail
;
37192 resultobj
= SWIG_Py_Void();
37199 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37200 PyObject
*resultobj
= 0;
37201 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37204 PyObject
*swig_obj
[1] ;
37206 if (!args
) SWIG_fail
;
37207 swig_obj
[0] = args
;
37208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37209 if (!SWIG_IsOK(res1
)) {
37210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37212 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37215 (arg1
)->CollapseAll();
37216 wxPyEndAllowThreads(__tstate
);
37217 if (PyErr_Occurred()) SWIG_fail
;
37219 resultobj
= SWIG_Py_Void();
37226 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37227 PyObject
*resultobj
= 0;
37228 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37229 wxTreeItemId
*arg2
= 0 ;
37234 PyObject
* obj0
= 0 ;
37235 PyObject
* obj1
= 0 ;
37236 char * kwnames
[] = {
37237 (char *) "self",(char *) "item", NULL
37240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37242 if (!SWIG_IsOK(res1
)) {
37243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37245 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37246 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37247 if (!SWIG_IsOK(res2
)) {
37248 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37251 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37253 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37256 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
37257 wxPyEndAllowThreads(__tstate
);
37258 if (PyErr_Occurred()) SWIG_fail
;
37260 resultobj
= SWIG_Py_Void();
37267 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37268 PyObject
*resultobj
= 0;
37269 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37270 wxTreeItemId
*arg2
= 0 ;
37275 PyObject
* obj0
= 0 ;
37276 PyObject
* obj1
= 0 ;
37277 char * kwnames
[] = {
37278 (char *) "self",(char *) "item", NULL
37281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37283 if (!SWIG_IsOK(res1
)) {
37284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37286 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37287 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37288 if (!SWIG_IsOK(res2
)) {
37289 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37292 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37294 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37297 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
37298 wxPyEndAllowThreads(__tstate
);
37299 if (PyErr_Occurred()) SWIG_fail
;
37301 resultobj
= SWIG_Py_Void();
37308 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37309 PyObject
*resultobj
= 0;
37310 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37313 PyObject
*swig_obj
[1] ;
37315 if (!args
) SWIG_fail
;
37316 swig_obj
[0] = args
;
37317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37318 if (!SWIG_IsOK(res1
)) {
37319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37321 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37324 (arg1
)->Unselect();
37325 wxPyEndAllowThreads(__tstate
);
37326 if (PyErr_Occurred()) SWIG_fail
;
37328 resultobj
= SWIG_Py_Void();
37335 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37336 PyObject
*resultobj
= 0;
37337 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37338 wxTreeItemId
*arg2
= 0 ;
37343 PyObject
* obj0
= 0 ;
37344 PyObject
* obj1
= 0 ;
37345 char * kwnames
[] = {
37346 (char *) "self",(char *) "item", NULL
37349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37351 if (!SWIG_IsOK(res1
)) {
37352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37354 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37355 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37356 if (!SWIG_IsOK(res2
)) {
37357 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37360 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37362 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37365 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
37366 wxPyEndAllowThreads(__tstate
);
37367 if (PyErr_Occurred()) SWIG_fail
;
37369 resultobj
= SWIG_Py_Void();
37376 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37377 PyObject
*resultobj
= 0;
37378 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37381 PyObject
*swig_obj
[1] ;
37383 if (!args
) SWIG_fail
;
37384 swig_obj
[0] = args
;
37385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37386 if (!SWIG_IsOK(res1
)) {
37387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37389 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37392 (arg1
)->UnselectAll();
37393 wxPyEndAllowThreads(__tstate
);
37394 if (PyErr_Occurred()) SWIG_fail
;
37396 resultobj
= SWIG_Py_Void();
37403 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37404 PyObject
*resultobj
= 0;
37405 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37406 wxTreeItemId
*arg2
= 0 ;
37407 bool arg3
= (bool) true ;
37414 PyObject
* obj0
= 0 ;
37415 PyObject
* obj1
= 0 ;
37416 PyObject
* obj2
= 0 ;
37417 char * kwnames
[] = {
37418 (char *) "self",(char *) "item",(char *) "select", NULL
37421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37423 if (!SWIG_IsOK(res1
)) {
37424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37426 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37427 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37428 if (!SWIG_IsOK(res2
)) {
37429 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37432 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37434 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37436 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37437 if (!SWIG_IsOK(ecode3
)) {
37438 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
37440 arg3
= static_cast< bool >(val3
);
37443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37444 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
37445 wxPyEndAllowThreads(__tstate
);
37446 if (PyErr_Occurred()) SWIG_fail
;
37448 resultobj
= SWIG_Py_Void();
37455 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37456 PyObject
*resultobj
= 0;
37457 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37458 wxTreeItemId
*arg2
= 0 ;
37463 PyObject
* obj0
= 0 ;
37464 PyObject
* obj1
= 0 ;
37465 char * kwnames
[] = {
37466 (char *) "self",(char *) "item", NULL
37469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37471 if (!SWIG_IsOK(res1
)) {
37472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37474 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37475 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37476 if (!SWIG_IsOK(res2
)) {
37477 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37480 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37482 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37485 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
37486 wxPyEndAllowThreads(__tstate
);
37487 if (PyErr_Occurred()) SWIG_fail
;
37489 resultobj
= SWIG_Py_Void();
37496 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37497 PyObject
*resultobj
= 0;
37498 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37499 wxTreeItemId
*arg2
= 0 ;
37504 PyObject
* obj0
= 0 ;
37505 PyObject
* obj1
= 0 ;
37506 char * kwnames
[] = {
37507 (char *) "self",(char *) "item", NULL
37510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37512 if (!SWIG_IsOK(res1
)) {
37513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37515 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37516 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37517 if (!SWIG_IsOK(res2
)) {
37518 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37521 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37523 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37526 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
37527 wxPyEndAllowThreads(__tstate
);
37528 if (PyErr_Occurred()) SWIG_fail
;
37530 resultobj
= SWIG_Py_Void();
37537 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37538 PyObject
*resultobj
= 0;
37539 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37540 wxTreeItemId
*arg2
= 0 ;
37545 PyObject
* obj0
= 0 ;
37546 PyObject
* obj1
= 0 ;
37547 char * kwnames
[] = {
37548 (char *) "self",(char *) "item", NULL
37551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37553 if (!SWIG_IsOK(res1
)) {
37554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37556 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37557 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37558 if (!SWIG_IsOK(res2
)) {
37559 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37562 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37564 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37567 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
37568 wxPyEndAllowThreads(__tstate
);
37569 if (PyErr_Occurred()) SWIG_fail
;
37571 resultobj
= SWIG_Py_Void();
37578 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37579 PyObject
*resultobj
= 0;
37580 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37581 wxTreeItemId
*arg2
= 0 ;
37586 PyObject
* obj0
= 0 ;
37587 PyObject
* obj1
= 0 ;
37588 char * kwnames
[] = {
37589 (char *) "self",(char *) "item", NULL
37592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37594 if (!SWIG_IsOK(res1
)) {
37595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37597 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37598 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37599 if (!SWIG_IsOK(res2
)) {
37600 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37603 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37605 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37608 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
37609 wxPyEndAllowThreads(__tstate
);
37610 if (PyErr_Occurred()) SWIG_fail
;
37612 resultobj
= SWIG_Py_Void();
37619 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37620 PyObject
*resultobj
= 0;
37621 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37622 wxTextCtrl
*result
= 0 ;
37625 PyObject
*swig_obj
[1] ;
37627 if (!args
) SWIG_fail
;
37628 swig_obj
[0] = args
;
37629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37630 if (!SWIG_IsOK(res1
)) {
37631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37633 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37636 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
37637 wxPyEndAllowThreads(__tstate
);
37638 if (PyErr_Occurred()) SWIG_fail
;
37641 resultobj
= wxPyMake_wxObject(result
, 0);
37649 SWIGINTERN PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37650 PyObject
*resultobj
= 0;
37651 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37652 wxTreeItemId
*arg2
= 0 ;
37653 bool arg3
= (bool) false ;
37660 PyObject
* obj0
= 0 ;
37661 PyObject
* obj1
= 0 ;
37662 PyObject
* obj2
= 0 ;
37663 char * kwnames
[] = {
37664 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
37667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37669 if (!SWIG_IsOK(res1
)) {
37670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37672 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37673 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37674 if (!SWIG_IsOK(res2
)) {
37675 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37678 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37680 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37682 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37683 if (!SWIG_IsOK(ecode3
)) {
37684 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "3"" of type '" "bool""'");
37686 arg3
= static_cast< bool >(val3
);
37689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37690 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
37691 wxPyEndAllowThreads(__tstate
);
37692 if (PyErr_Occurred()) SWIG_fail
;
37694 resultobj
= SWIG_Py_Void();
37701 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37702 PyObject
*resultobj
= 0;
37703 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37704 wxTreeItemId
*arg2
= 0 ;
37709 PyObject
* obj0
= 0 ;
37710 PyObject
* obj1
= 0 ;
37711 char * kwnames
[] = {
37712 (char *) "self",(char *) "item", NULL
37715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37717 if (!SWIG_IsOK(res1
)) {
37718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37720 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37721 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37722 if (!SWIG_IsOK(res2
)) {
37723 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37726 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37728 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37731 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
37732 wxPyEndAllowThreads(__tstate
);
37733 if (PyErr_Occurred()) SWIG_fail
;
37735 resultobj
= SWIG_Py_Void();
37742 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37743 PyObject
*resultobj
= 0;
37744 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37745 wxPoint
*arg2
= 0 ;
37747 wxTreeItemId result
;
37752 int res3
= SWIG_TMPOBJ
;
37753 PyObject
* obj0
= 0 ;
37754 PyObject
* obj1
= 0 ;
37755 char * kwnames
[] = {
37756 (char *) "self",(char *) "point", NULL
37760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37762 if (!SWIG_IsOK(res1
)) {
37763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37765 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37768 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37772 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
37773 wxPyEndAllowThreads(__tstate
);
37774 if (PyErr_Occurred()) SWIG_fail
;
37776 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37777 if (SWIG_IsTmpObj(res3
)) {
37778 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
37780 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37781 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
37789 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37790 PyObject
*resultobj
= 0;
37791 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37792 wxTreeItemId
*arg2
= 0 ;
37793 bool arg3
= (bool) false ;
37794 PyObject
*result
= 0 ;
37801 PyObject
* obj0
= 0 ;
37802 PyObject
* obj1
= 0 ;
37803 PyObject
* obj2
= 0 ;
37804 char * kwnames
[] = {
37805 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37810 if (!SWIG_IsOK(res1
)) {
37811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37813 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37814 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37815 if (!SWIG_IsOK(res2
)) {
37816 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37819 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37821 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37823 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37824 if (!SWIG_IsOK(ecode3
)) {
37825 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37827 arg3
= static_cast< bool >(val3
);
37830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37831 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
37832 wxPyEndAllowThreads(__tstate
);
37833 if (PyErr_Occurred()) SWIG_fail
;
37835 resultobj
= result
;
37842 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37843 PyObject
*resultobj
= 0;
37844 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37845 wxTreeItemId
*arg2
= 0 ;
37853 PyObject
* obj0
= 0 ;
37854 PyObject
* obj1
= 0 ;
37855 PyObject
* obj2
= 0 ;
37856 char * kwnames
[] = {
37857 (char *) "self",(char *) "node",(char *) "state", NULL
37860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37862 if (!SWIG_IsOK(res1
)) {
37863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37865 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37866 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37867 if (!SWIG_IsOK(res2
)) {
37868 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37871 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37873 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37874 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37875 if (!SWIG_IsOK(ecode3
)) {
37876 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetState" "', expected argument " "3"" of type '" "int""'");
37878 arg3
= static_cast< int >(val3
);
37880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37881 (arg1
)->SetState((wxTreeItemId
const &)*arg2
,arg3
);
37882 wxPyEndAllowThreads(__tstate
);
37883 if (PyErr_Occurred()) SWIG_fail
;
37885 resultobj
= SWIG_Py_Void();
37892 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37893 PyObject
*resultobj
= 0;
37894 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37895 wxTreeItemId
*arg2
= 0 ;
37901 PyObject
* obj0
= 0 ;
37902 PyObject
* obj1
= 0 ;
37903 char * kwnames
[] = {
37904 (char *) "self",(char *) "node", NULL
37907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37909 if (!SWIG_IsOK(res1
)) {
37910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37912 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37913 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37914 if (!SWIG_IsOK(res2
)) {
37915 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37918 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37920 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37923 result
= (int)(arg1
)->GetState((wxTreeItemId
const &)*arg2
);
37924 wxPyEndAllowThreads(__tstate
);
37925 if (PyErr_Occurred()) SWIG_fail
;
37927 resultobj
= SWIG_From_int(static_cast< int >(result
));
37934 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37935 PyObject
*resultobj
= 0;
37936 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37937 SwigValueWrapper
<wxVisualAttributes
> result
;
37940 PyObject
* obj0
= 0 ;
37941 char * kwnames
[] = {
37942 (char *) "variant", NULL
37945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
37947 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37948 if (!SWIG_IsOK(ecode1
)) {
37949 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37951 arg1
= static_cast< wxWindowVariant
>(val1
);
37954 if (!wxPyCheckForApp()) SWIG_fail
;
37955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37956 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37957 wxPyEndAllowThreads(__tstate
);
37958 if (PyErr_Occurred()) SWIG_fail
;
37960 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37967 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37968 PyObject
*resultobj
= 0;
37969 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37975 PyObject
* obj0
= 0 ;
37976 PyObject
* obj1
= 0 ;
37977 char * kwnames
[] = {
37978 (char *) "self",(char *) "q", NULL
37981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37983 if (!SWIG_IsOK(res1
)) {
37984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37986 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37987 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37988 if (!SWIG_IsOK(ecode2
)) {
37989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37991 arg2
= static_cast< bool >(val2
);
37993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37994 (arg1
)->SetQuickBestSize(arg2
);
37995 wxPyEndAllowThreads(__tstate
);
37996 if (PyErr_Occurred()) SWIG_fail
;
37998 resultobj
= SWIG_Py_Void();
38005 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38006 PyObject
*resultobj
= 0;
38007 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
38011 PyObject
*swig_obj
[1] ;
38013 if (!args
) SWIG_fail
;
38014 swig_obj
[0] = args
;
38015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
38016 if (!SWIG_IsOK(res1
)) {
38017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
38019 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
38021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38022 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
38023 wxPyEndAllowThreads(__tstate
);
38024 if (PyErr_Occurred()) SWIG_fail
;
38027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38035 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38037 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38038 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
38039 return SWIG_Py_Void();
38042 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38043 return SWIG_Python_InitShadowInstance(args
);
38046 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
38047 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
38052 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
38053 PyObject
*pyobj
= 0;
38057 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
38059 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
38066 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38067 PyObject
*resultobj
= 0;
38068 wxWindow
*arg1
= (wxWindow
*) 0 ;
38069 int arg2
= (int) (int)-1 ;
38070 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
38071 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
38072 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38073 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38074 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38075 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38076 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
38077 wxString
const &arg7_defvalue
= wxPyEmptyString
;
38078 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38079 int arg8
= (int) 0 ;
38080 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
38081 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
38082 wxGenericDirCtrl
*result
= 0 ;
38087 bool temp3
= false ;
38092 bool temp7
= false ;
38095 bool temp9
= false ;
38096 PyObject
* obj0
= 0 ;
38097 PyObject
* obj1
= 0 ;
38098 PyObject
* obj2
= 0 ;
38099 PyObject
* obj3
= 0 ;
38100 PyObject
* obj4
= 0 ;
38101 PyObject
* obj5
= 0 ;
38102 PyObject
* obj6
= 0 ;
38103 PyObject
* obj7
= 0 ;
38104 PyObject
* obj8
= 0 ;
38105 char * kwnames
[] = {
38106 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
38109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
38110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38111 if (!SWIG_IsOK(res1
)) {
38112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
38114 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38116 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38117 if (!SWIG_IsOK(ecode2
)) {
38118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
38120 arg2
= static_cast< int >(val2
);
38124 arg3
= wxString_in_helper(obj2
);
38125 if (arg3
== NULL
) SWIG_fail
;
38132 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38138 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38142 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38143 if (!SWIG_IsOK(ecode6
)) {
38144 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
38146 arg6
= static_cast< long >(val6
);
38150 arg7
= wxString_in_helper(obj6
);
38151 if (arg7
== NULL
) SWIG_fail
;
38156 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
38157 if (!SWIG_IsOK(ecode8
)) {
38158 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
38160 arg8
= static_cast< int >(val8
);
38164 arg9
= wxString_in_helper(obj8
);
38165 if (arg9
== NULL
) SWIG_fail
;
38170 if (!wxPyCheckForApp()) SWIG_fail
;
38171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38172 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
38173 wxPyEndAllowThreads(__tstate
);
38174 if (PyErr_Occurred()) SWIG_fail
;
38176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
38207 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38208 PyObject
*resultobj
= 0;
38209 wxGenericDirCtrl
*result
= 0 ;
38211 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
38213 if (!wxPyCheckForApp()) SWIG_fail
;
38214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38215 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
38216 wxPyEndAllowThreads(__tstate
);
38217 if (PyErr_Occurred()) SWIG_fail
;
38219 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
38226 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38227 PyObject
*resultobj
= 0;
38228 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38229 wxWindow
*arg2
= (wxWindow
*) 0 ;
38230 int arg3
= (int) (int)-1 ;
38231 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
38232 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
38233 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
38234 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
38235 wxSize
const &arg6_defvalue
= wxDefaultSize
;
38236 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
38237 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
38238 wxString
const &arg8_defvalue
= wxPyEmptyString
;
38239 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
38240 int arg9
= (int) 0 ;
38241 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
38242 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
38250 bool temp4
= false ;
38255 bool temp8
= false ;
38258 bool temp10
= false ;
38259 PyObject
* obj0
= 0 ;
38260 PyObject
* obj1
= 0 ;
38261 PyObject
* obj2
= 0 ;
38262 PyObject
* obj3
= 0 ;
38263 PyObject
* obj4
= 0 ;
38264 PyObject
* obj5
= 0 ;
38265 PyObject
* obj6
= 0 ;
38266 PyObject
* obj7
= 0 ;
38267 PyObject
* obj8
= 0 ;
38268 PyObject
* obj9
= 0 ;
38269 char * kwnames
[] = {
38270 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
38273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
38274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38275 if (!SWIG_IsOK(res1
)) {
38276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38278 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38279 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38280 if (!SWIG_IsOK(res2
)) {
38281 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
38283 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
38285 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38286 if (!SWIG_IsOK(ecode3
)) {
38287 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38289 arg3
= static_cast< int >(val3
);
38293 arg4
= wxString_in_helper(obj3
);
38294 if (arg4
== NULL
) SWIG_fail
;
38301 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
38307 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
38311 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
38312 if (!SWIG_IsOK(ecode7
)) {
38313 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
38315 arg7
= static_cast< long >(val7
);
38319 arg8
= wxString_in_helper(obj7
);
38320 if (arg8
== NULL
) SWIG_fail
;
38325 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
38326 if (!SWIG_IsOK(ecode9
)) {
38327 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
38329 arg9
= static_cast< int >(val9
);
38333 arg10
= wxString_in_helper(obj9
);
38334 if (arg10
== NULL
) SWIG_fail
;
38339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38340 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
38341 wxPyEndAllowThreads(__tstate
);
38342 if (PyErr_Occurred()) SWIG_fail
;
38345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38377 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38378 PyObject
*resultobj
= 0;
38379 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38380 wxString
*arg2
= 0 ;
38384 bool temp2
= false ;
38385 PyObject
* obj0
= 0 ;
38386 PyObject
* obj1
= 0 ;
38387 char * kwnames
[] = {
38388 (char *) "self",(char *) "path", NULL
38391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38393 if (!SWIG_IsOK(res1
)) {
38394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38396 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38398 arg2
= wxString_in_helper(obj1
);
38399 if (arg2
== NULL
) SWIG_fail
;
38403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38404 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
38405 wxPyEndAllowThreads(__tstate
);
38406 if (PyErr_Occurred()) SWIG_fail
;
38409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38425 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38426 PyObject
*resultobj
= 0;
38427 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38428 wxString
*arg2
= 0 ;
38432 bool temp2
= false ;
38433 PyObject
* obj0
= 0 ;
38434 PyObject
* obj1
= 0 ;
38435 char * kwnames
[] = {
38436 (char *) "self",(char *) "path", NULL
38439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38441 if (!SWIG_IsOK(res1
)) {
38442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38444 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38446 arg2
= wxString_in_helper(obj1
);
38447 if (arg2
== NULL
) SWIG_fail
;
38451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38452 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
38453 wxPyEndAllowThreads(__tstate
);
38454 if (PyErr_Occurred()) SWIG_fail
;
38457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38473 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38474 PyObject
*resultobj
= 0;
38475 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38479 PyObject
*swig_obj
[1] ;
38481 if (!args
) SWIG_fail
;
38482 swig_obj
[0] = args
;
38483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38484 if (!SWIG_IsOK(res1
)) {
38485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38487 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38490 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
38491 wxPyEndAllowThreads(__tstate
);
38492 if (PyErr_Occurred()) SWIG_fail
;
38496 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38498 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38507 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38508 PyObject
*resultobj
= 0;
38509 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38510 wxString
*arg2
= 0 ;
38513 bool temp2
= false ;
38514 PyObject
* obj0
= 0 ;
38515 PyObject
* obj1
= 0 ;
38516 char * kwnames
[] = {
38517 (char *) "self",(char *) "path", NULL
38520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38522 if (!SWIG_IsOK(res1
)) {
38523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38525 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38527 arg2
= wxString_in_helper(obj1
);
38528 if (arg2
== NULL
) SWIG_fail
;
38532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38533 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
38534 wxPyEndAllowThreads(__tstate
);
38535 if (PyErr_Occurred()) SWIG_fail
;
38537 resultobj
= SWIG_Py_Void();
38552 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38553 PyObject
*resultobj
= 0;
38554 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38558 PyObject
*swig_obj
[1] ;
38560 if (!args
) SWIG_fail
;
38561 swig_obj
[0] = args
;
38562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38563 if (!SWIG_IsOK(res1
)) {
38564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38566 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38569 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
38570 wxPyEndAllowThreads(__tstate
);
38571 if (PyErr_Occurred()) SWIG_fail
;
38575 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38577 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38586 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38587 PyObject
*resultobj
= 0;
38588 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38592 PyObject
*swig_obj
[1] ;
38594 if (!args
) SWIG_fail
;
38595 swig_obj
[0] = args
;
38596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38597 if (!SWIG_IsOK(res1
)) {
38598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38600 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38603 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
38604 wxPyEndAllowThreads(__tstate
);
38605 if (PyErr_Occurred()) SWIG_fail
;
38609 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38611 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38620 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38621 PyObject
*resultobj
= 0;
38622 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38623 wxString
*arg2
= 0 ;
38626 bool temp2
= false ;
38627 PyObject
* obj0
= 0 ;
38628 PyObject
* obj1
= 0 ;
38629 char * kwnames
[] = {
38630 (char *) "self",(char *) "path", NULL
38633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38635 if (!SWIG_IsOK(res1
)) {
38636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38638 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38640 arg2
= wxString_in_helper(obj1
);
38641 if (arg2
== NULL
) SWIG_fail
;
38645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38646 (arg1
)->SetPath((wxString
const &)*arg2
);
38647 wxPyEndAllowThreads(__tstate
);
38648 if (PyErr_Occurred()) SWIG_fail
;
38650 resultobj
= SWIG_Py_Void();
38665 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38666 PyObject
*resultobj
= 0;
38667 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38673 PyObject
* obj0
= 0 ;
38674 PyObject
* obj1
= 0 ;
38675 char * kwnames
[] = {
38676 (char *) "self",(char *) "show", NULL
38679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38681 if (!SWIG_IsOK(res1
)) {
38682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38684 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38685 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
38686 if (!SWIG_IsOK(ecode2
)) {
38687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38689 arg2
= static_cast< bool >(val2
);
38691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38692 (arg1
)->ShowHidden(arg2
);
38693 wxPyEndAllowThreads(__tstate
);
38694 if (PyErr_Occurred()) SWIG_fail
;
38696 resultobj
= SWIG_Py_Void();
38703 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38704 PyObject
*resultobj
= 0;
38705 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38709 PyObject
*swig_obj
[1] ;
38711 if (!args
) SWIG_fail
;
38712 swig_obj
[0] = args
;
38713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38714 if (!SWIG_IsOK(res1
)) {
38715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38717 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38720 result
= (bool)(arg1
)->GetShowHidden();
38721 wxPyEndAllowThreads(__tstate
);
38722 if (PyErr_Occurred()) SWIG_fail
;
38725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38733 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38734 PyObject
*resultobj
= 0;
38735 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38739 PyObject
*swig_obj
[1] ;
38741 if (!args
) SWIG_fail
;
38742 swig_obj
[0] = args
;
38743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38744 if (!SWIG_IsOK(res1
)) {
38745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38747 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38750 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
38751 wxPyEndAllowThreads(__tstate
);
38752 if (PyErr_Occurred()) SWIG_fail
;
38756 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38758 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38767 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38768 PyObject
*resultobj
= 0;
38769 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38770 wxString
*arg2
= 0 ;
38773 bool temp2
= false ;
38774 PyObject
* obj0
= 0 ;
38775 PyObject
* obj1
= 0 ;
38776 char * kwnames
[] = {
38777 (char *) "self",(char *) "filter", NULL
38780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38782 if (!SWIG_IsOK(res1
)) {
38783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38785 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38787 arg2
= wxString_in_helper(obj1
);
38788 if (arg2
== NULL
) SWIG_fail
;
38792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38793 (arg1
)->SetFilter((wxString
const &)*arg2
);
38794 wxPyEndAllowThreads(__tstate
);
38795 if (PyErr_Occurred()) SWIG_fail
;
38797 resultobj
= SWIG_Py_Void();
38812 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38813 PyObject
*resultobj
= 0;
38814 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38818 PyObject
*swig_obj
[1] ;
38820 if (!args
) SWIG_fail
;
38821 swig_obj
[0] = args
;
38822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38823 if (!SWIG_IsOK(res1
)) {
38824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38826 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38829 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
38830 wxPyEndAllowThreads(__tstate
);
38831 if (PyErr_Occurred()) SWIG_fail
;
38833 resultobj
= SWIG_From_int(static_cast< int >(result
));
38840 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38841 PyObject
*resultobj
= 0;
38842 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38848 PyObject
* obj0
= 0 ;
38849 PyObject
* obj1
= 0 ;
38850 char * kwnames
[] = {
38851 (char *) "self",(char *) "n", NULL
38854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38856 if (!SWIG_IsOK(res1
)) {
38857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38859 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38860 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38861 if (!SWIG_IsOK(ecode2
)) {
38862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38864 arg2
= static_cast< int >(val2
);
38866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38867 (arg1
)->SetFilterIndex(arg2
);
38868 wxPyEndAllowThreads(__tstate
);
38869 if (PyErr_Occurred()) SWIG_fail
;
38871 resultobj
= SWIG_Py_Void();
38878 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38879 PyObject
*resultobj
= 0;
38880 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38881 wxTreeItemId result
;
38884 PyObject
*swig_obj
[1] ;
38886 if (!args
) SWIG_fail
;
38887 swig_obj
[0] = args
;
38888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38889 if (!SWIG_IsOK(res1
)) {
38890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38892 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38895 result
= (arg1
)->GetRootId();
38896 wxPyEndAllowThreads(__tstate
);
38897 if (PyErr_Occurred()) SWIG_fail
;
38899 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38906 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38907 PyObject
*resultobj
= 0;
38908 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38909 wxPyTreeCtrl
*result
= 0 ;
38912 PyObject
*swig_obj
[1] ;
38914 if (!args
) SWIG_fail
;
38915 swig_obj
[0] = args
;
38916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38917 if (!SWIG_IsOK(res1
)) {
38918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38920 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38923 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
38924 wxPyEndAllowThreads(__tstate
);
38925 if (PyErr_Occurred()) SWIG_fail
;
38928 resultobj
= wxPyMake_wxObject(result
, 0);
38936 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38937 PyObject
*resultobj
= 0;
38938 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38939 wxDirFilterListCtrl
*result
= 0 ;
38942 PyObject
*swig_obj
[1] ;
38944 if (!args
) SWIG_fail
;
38945 swig_obj
[0] = args
;
38946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38947 if (!SWIG_IsOK(res1
)) {
38948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38950 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38953 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38954 wxPyEndAllowThreads(__tstate
);
38955 if (PyErr_Occurred()) SWIG_fail
;
38957 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38964 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38965 PyObject
*resultobj
= 0;
38966 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38967 wxTreeItemId arg2
;
38968 wxString
*arg3
= 0 ;
38970 wxTreeItemId result
;
38975 bool temp3
= false ;
38977 int res4
= SWIG_TMPOBJ
;
38978 PyObject
* obj0
= 0 ;
38979 PyObject
* obj1
= 0 ;
38980 PyObject
* obj2
= 0 ;
38981 char * kwnames
[] = {
38982 (char *) "self",(char *) "parentId",(char *) "path", NULL
38986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38988 if (!SWIG_IsOK(res1
)) {
38989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38991 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38993 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38994 if (!SWIG_IsOK(res2
)) {
38995 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38998 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
39000 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
39002 if (SWIG_IsNewObj(res2
)) delete temp
;
39006 arg3
= wxString_in_helper(obj2
);
39007 if (arg3
== NULL
) SWIG_fail
;
39011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39012 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
39013 wxPyEndAllowThreads(__tstate
);
39014 if (PyErr_Occurred()) SWIG_fail
;
39016 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
39017 if (SWIG_IsTmpObj(res4
)) {
39018 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
39020 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39021 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
39037 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39038 PyObject
*resultobj
= 0;
39039 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
39042 PyObject
*swig_obj
[1] ;
39044 if (!args
) SWIG_fail
;
39045 swig_obj
[0] = args
;
39046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
39047 if (!SWIG_IsOK(res1
)) {
39048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
39050 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
39052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39053 (arg1
)->DoResize();
39054 wxPyEndAllowThreads(__tstate
);
39055 if (PyErr_Occurred()) SWIG_fail
;
39057 resultobj
= SWIG_Py_Void();
39064 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39065 PyObject
*resultobj
= 0;
39066 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
39069 PyObject
*swig_obj
[1] ;
39071 if (!args
) SWIG_fail
;
39072 swig_obj
[0] = args
;
39073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
39074 if (!SWIG_IsOK(res1
)) {
39075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
39077 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
39079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39080 (arg1
)->ReCreateTree();
39081 wxPyEndAllowThreads(__tstate
);
39082 if (PyErr_Occurred()) SWIG_fail
;
39084 resultobj
= SWIG_Py_Void();
39091 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39093 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39094 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
39095 return SWIG_Py_Void();
39098 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39099 return SWIG_Python_InitShadowInstance(args
);
39102 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39103 PyObject
*resultobj
= 0;
39104 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
39105 int arg2
= (int) (int)-1 ;
39106 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39107 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39108 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39109 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39110 long arg5
= (long) 0 ;
39111 wxDirFilterListCtrl
*result
= 0 ;
39120 PyObject
* obj0
= 0 ;
39121 PyObject
* obj1
= 0 ;
39122 PyObject
* obj2
= 0 ;
39123 PyObject
* obj3
= 0 ;
39124 PyObject
* obj4
= 0 ;
39125 char * kwnames
[] = {
39126 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
39131 if (!SWIG_IsOK(res1
)) {
39132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
39134 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
39136 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39137 if (!SWIG_IsOK(ecode2
)) {
39138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
39140 arg2
= static_cast< int >(val2
);
39145 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39151 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39155 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39156 if (!SWIG_IsOK(ecode5
)) {
39157 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
39159 arg5
= static_cast< long >(val5
);
39162 if (!wxPyCheckForApp()) SWIG_fail
;
39163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39164 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
39165 wxPyEndAllowThreads(__tstate
);
39166 if (PyErr_Occurred()) SWIG_fail
;
39168 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
39175 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39176 PyObject
*resultobj
= 0;
39177 wxDirFilterListCtrl
*result
= 0 ;
39179 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
39181 if (!wxPyCheckForApp()) SWIG_fail
;
39182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39183 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
39184 wxPyEndAllowThreads(__tstate
);
39185 if (PyErr_Occurred()) SWIG_fail
;
39187 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
39194 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39195 PyObject
*resultobj
= 0;
39196 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
39197 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
39198 int arg3
= (int) (int)-1 ;
39199 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
39200 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
39201 wxSize
const &arg5_defvalue
= wxDefaultSize
;
39202 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
39203 long arg6
= (long) 0 ;
39215 PyObject
* obj0
= 0 ;
39216 PyObject
* obj1
= 0 ;
39217 PyObject
* obj2
= 0 ;
39218 PyObject
* obj3
= 0 ;
39219 PyObject
* obj4
= 0 ;
39220 PyObject
* obj5
= 0 ;
39221 char * kwnames
[] = {
39222 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
39226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
39227 if (!SWIG_IsOK(res1
)) {
39228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
39230 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
39231 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
39232 if (!SWIG_IsOK(res2
)) {
39233 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
39235 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
39237 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39238 if (!SWIG_IsOK(ecode3
)) {
39239 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
39241 arg3
= static_cast< int >(val3
);
39246 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
39252 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
39256 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
39257 if (!SWIG_IsOK(ecode6
)) {
39258 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
39260 arg6
= static_cast< long >(val6
);
39263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39264 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
39265 wxPyEndAllowThreads(__tstate
);
39266 if (PyErr_Occurred()) SWIG_fail
;
39269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39277 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39278 PyObject
*resultobj
= 0;
39279 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
39280 wxString
*arg2
= 0 ;
39284 bool temp2
= false ;
39287 PyObject
* obj0
= 0 ;
39288 PyObject
* obj1
= 0 ;
39289 PyObject
* obj2
= 0 ;
39290 char * kwnames
[] = {
39291 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
39294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
39296 if (!SWIG_IsOK(res1
)) {
39297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
39299 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
39301 arg2
= wxString_in_helper(obj1
);
39302 if (arg2
== NULL
) SWIG_fail
;
39305 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39306 if (!SWIG_IsOK(ecode3
)) {
39307 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
39309 arg3
= static_cast< int >(val3
);
39311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39312 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
39313 wxPyEndAllowThreads(__tstate
);
39314 if (PyErr_Occurred()) SWIG_fail
;
39316 resultobj
= SWIG_Py_Void();
39331 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39333 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39334 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
39335 return SWIG_Py_Void();
39338 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39339 return SWIG_Python_InitShadowInstance(args
);
39342 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39343 PyObject
*resultobj
= 0;
39344 wxWindow
*arg1
= (wxWindow
*) 0 ;
39345 int arg2
= (int) (int)-1 ;
39346 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39347 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39348 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39349 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39350 long arg5
= (long) 0 ;
39351 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
39352 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
39353 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
39354 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
39355 wxPyControl
*result
= 0 ;
39366 bool temp7
= false ;
39367 PyObject
* obj0
= 0 ;
39368 PyObject
* obj1
= 0 ;
39369 PyObject
* obj2
= 0 ;
39370 PyObject
* obj3
= 0 ;
39371 PyObject
* obj4
= 0 ;
39372 PyObject
* obj5
= 0 ;
39373 PyObject
* obj6
= 0 ;
39374 char * kwnames
[] = {
39375 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
39378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
39379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39380 if (!SWIG_IsOK(res1
)) {
39381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
39383 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39385 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39386 if (!SWIG_IsOK(ecode2
)) {
39387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
39389 arg2
= static_cast< int >(val2
);
39394 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39400 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39404 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39405 if (!SWIG_IsOK(ecode5
)) {
39406 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
39408 arg5
= static_cast< long >(val5
);
39411 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
39412 if (!SWIG_IsOK(res6
)) {
39413 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
39416 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
39418 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
39422 arg7
= wxString_in_helper(obj6
);
39423 if (arg7
== NULL
) SWIG_fail
;
39428 if (!wxPyCheckForApp()) SWIG_fail
;
39429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39430 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
39431 wxPyEndAllowThreads(__tstate
);
39432 if (PyErr_Occurred()) SWIG_fail
;
39434 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
39449 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39450 PyObject
*resultobj
= 0;
39451 wxPyControl
*result
= 0 ;
39453 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
39455 if (!wxPyCheckForApp()) SWIG_fail
;
39456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39457 result
= (wxPyControl
*)new wxPyControl();
39458 wxPyEndAllowThreads(__tstate
);
39459 if (PyErr_Occurred()) SWIG_fail
;
39461 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
39468 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39469 PyObject
*resultobj
= 0;
39470 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39471 PyObject
*arg2
= (PyObject
*) 0 ;
39472 PyObject
*arg3
= (PyObject
*) 0 ;
39475 PyObject
* obj0
= 0 ;
39476 PyObject
* obj1
= 0 ;
39477 PyObject
* obj2
= 0 ;
39478 char * kwnames
[] = {
39479 (char *) "self",(char *) "self",(char *) "_class", NULL
39482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39484 if (!SWIG_IsOK(res1
)) {
39485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
39487 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39492 (arg1
)->_setCallbackInfo(arg2
,arg3
);
39493 wxPyEndAllowThreads(__tstate
);
39494 if (PyErr_Occurred()) SWIG_fail
;
39496 resultobj
= SWIG_Py_Void();
39503 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39504 PyObject
*resultobj
= 0;
39505 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39506 wxDC
*arg2
= (wxDC
*) 0 ;
39512 PyObject
* obj0
= 0 ;
39513 PyObject
* obj1
= 0 ;
39514 char * kwnames
[] = {
39515 (char *) "self",(char *) "dc", NULL
39518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39520 if (!SWIG_IsOK(res1
)) {
39521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
39523 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39524 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
39525 if (!SWIG_IsOK(res2
)) {
39526 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
39528 arg2
= reinterpret_cast< wxDC
* >(argp2
);
39530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39531 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
39532 wxPyEndAllowThreads(__tstate
);
39533 if (PyErr_Occurred()) SWIG_fail
;
39536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39544 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39545 PyObject
*resultobj
= 0;
39546 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39561 PyObject
* obj0
= 0 ;
39562 PyObject
* obj1
= 0 ;
39563 PyObject
* obj2
= 0 ;
39564 PyObject
* obj3
= 0 ;
39565 PyObject
* obj4
= 0 ;
39566 char * kwnames
[] = {
39567 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39572 if (!SWIG_IsOK(res1
)) {
39573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
39575 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39576 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39577 if (!SWIG_IsOK(ecode2
)) {
39578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
39580 arg2
= static_cast< int >(val2
);
39581 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39582 if (!SWIG_IsOK(ecode3
)) {
39583 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
39585 arg3
= static_cast< int >(val3
);
39586 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39587 if (!SWIG_IsOK(ecode4
)) {
39588 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
39590 arg4
= static_cast< int >(val4
);
39591 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39592 if (!SWIG_IsOK(ecode5
)) {
39593 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
39595 arg5
= static_cast< int >(val5
);
39597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39598 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
39599 wxPyEndAllowThreads(__tstate
);
39600 if (PyErr_Occurred()) SWIG_fail
;
39602 resultobj
= SWIG_Py_Void();
39609 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39610 PyObject
*resultobj
= 0;
39611 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39616 int arg6
= (int) wxSIZE_AUTO
;
39629 PyObject
* obj0
= 0 ;
39630 PyObject
* obj1
= 0 ;
39631 PyObject
* obj2
= 0 ;
39632 PyObject
* obj3
= 0 ;
39633 PyObject
* obj4
= 0 ;
39634 PyObject
* obj5
= 0 ;
39635 char * kwnames
[] = {
39636 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
39639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
39640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39641 if (!SWIG_IsOK(res1
)) {
39642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39644 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39645 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39646 if (!SWIG_IsOK(ecode2
)) {
39647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
39649 arg2
= static_cast< int >(val2
);
39650 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39651 if (!SWIG_IsOK(ecode3
)) {
39652 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
39654 arg3
= static_cast< int >(val3
);
39655 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39656 if (!SWIG_IsOK(ecode4
)) {
39657 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39659 arg4
= static_cast< int >(val4
);
39660 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39661 if (!SWIG_IsOK(ecode5
)) {
39662 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39664 arg5
= static_cast< int >(val5
);
39666 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
39667 if (!SWIG_IsOK(ecode6
)) {
39668 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39670 arg6
= static_cast< int >(val6
);
39673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39674 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
39675 wxPyEndAllowThreads(__tstate
);
39676 if (PyErr_Occurred()) SWIG_fail
;
39678 resultobj
= SWIG_Py_Void();
39685 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39686 PyObject
*resultobj
= 0;
39687 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39696 PyObject
* obj0
= 0 ;
39697 PyObject
* obj1
= 0 ;
39698 PyObject
* obj2
= 0 ;
39699 char * kwnames
[] = {
39700 (char *) "self",(char *) "width",(char *) "height", NULL
39703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39705 if (!SWIG_IsOK(res1
)) {
39706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39708 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39709 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39710 if (!SWIG_IsOK(ecode2
)) {
39711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39713 arg2
= static_cast< int >(val2
);
39714 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39715 if (!SWIG_IsOK(ecode3
)) {
39716 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39718 arg3
= static_cast< int >(val3
);
39720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39721 (arg1
)->DoSetClientSize(arg2
,arg3
);
39722 wxPyEndAllowThreads(__tstate
);
39723 if (PyErr_Occurred()) SWIG_fail
;
39725 resultobj
= SWIG_Py_Void();
39732 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39733 PyObject
*resultobj
= 0;
39734 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39743 PyObject
* obj0
= 0 ;
39744 PyObject
* obj1
= 0 ;
39745 PyObject
* obj2
= 0 ;
39746 char * kwnames
[] = {
39747 (char *) "self",(char *) "x",(char *) "y", NULL
39750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39752 if (!SWIG_IsOK(res1
)) {
39753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39755 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39756 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39757 if (!SWIG_IsOK(ecode2
)) {
39758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39760 arg2
= static_cast< int >(val2
);
39761 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39762 if (!SWIG_IsOK(ecode3
)) {
39763 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39765 arg3
= static_cast< int >(val3
);
39767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39768 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
39769 wxPyEndAllowThreads(__tstate
);
39770 if (PyErr_Occurred()) SWIG_fail
;
39772 resultobj
= SWIG_Py_Void();
39779 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39780 PyObject
*resultobj
= 0;
39781 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39782 int *arg2
= (int *) 0 ;
39783 int *arg3
= (int *) 0 ;
39787 int res2
= SWIG_TMPOBJ
;
39789 int res3
= SWIG_TMPOBJ
;
39790 PyObject
*swig_obj
[1] ;
39794 if (!args
) SWIG_fail
;
39795 swig_obj
[0] = args
;
39796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39797 if (!SWIG_IsOK(res1
)) {
39798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39800 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39803 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
39804 wxPyEndAllowThreads(__tstate
);
39805 if (PyErr_Occurred()) SWIG_fail
;
39807 resultobj
= SWIG_Py_Void();
39808 if (SWIG_IsTmpObj(res2
)) {
39809 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39811 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39812 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39814 if (SWIG_IsTmpObj(res3
)) {
39815 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39817 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39818 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39826 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39827 PyObject
*resultobj
= 0;
39828 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39829 int *arg2
= (int *) 0 ;
39830 int *arg3
= (int *) 0 ;
39834 int res2
= SWIG_TMPOBJ
;
39836 int res3
= SWIG_TMPOBJ
;
39837 PyObject
*swig_obj
[1] ;
39841 if (!args
) SWIG_fail
;
39842 swig_obj
[0] = args
;
39843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39844 if (!SWIG_IsOK(res1
)) {
39845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39847 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39850 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
39851 wxPyEndAllowThreads(__tstate
);
39852 if (PyErr_Occurred()) SWIG_fail
;
39854 resultobj
= SWIG_Py_Void();
39855 if (SWIG_IsTmpObj(res2
)) {
39856 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39858 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39859 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39861 if (SWIG_IsTmpObj(res3
)) {
39862 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39864 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39865 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39873 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39874 PyObject
*resultobj
= 0;
39875 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39876 int *arg2
= (int *) 0 ;
39877 int *arg3
= (int *) 0 ;
39881 int res2
= SWIG_TMPOBJ
;
39883 int res3
= SWIG_TMPOBJ
;
39884 PyObject
*swig_obj
[1] ;
39888 if (!args
) SWIG_fail
;
39889 swig_obj
[0] = args
;
39890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39891 if (!SWIG_IsOK(res1
)) {
39892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39894 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39897 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
39898 wxPyEndAllowThreads(__tstate
);
39899 if (PyErr_Occurred()) SWIG_fail
;
39901 resultobj
= SWIG_Py_Void();
39902 if (SWIG_IsTmpObj(res2
)) {
39903 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39905 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39906 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39908 if (SWIG_IsTmpObj(res3
)) {
39909 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39911 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39912 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39920 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39921 PyObject
*resultobj
= 0;
39922 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39926 PyObject
*swig_obj
[1] ;
39928 if (!args
) SWIG_fail
;
39929 swig_obj
[0] = args
;
39930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39931 if (!SWIG_IsOK(res1
)) {
39932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39934 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39937 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39938 wxPyEndAllowThreads(__tstate
);
39939 if (PyErr_Occurred()) SWIG_fail
;
39941 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39948 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39949 PyObject
*resultobj
= 0;
39950 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39954 PyObject
*swig_obj
[1] ;
39956 if (!args
) SWIG_fail
;
39957 swig_obj
[0] = args
;
39958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39959 if (!SWIG_IsOK(res1
)) {
39960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39962 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39965 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39966 wxPyEndAllowThreads(__tstate
);
39967 if (PyErr_Occurred()) SWIG_fail
;
39969 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39976 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39977 PyObject
*resultobj
= 0;
39978 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39979 SwigValueWrapper
<wxVisualAttributes
> result
;
39982 PyObject
*swig_obj
[1] ;
39984 if (!args
) SWIG_fail
;
39985 swig_obj
[0] = args
;
39986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39987 if (!SWIG_IsOK(res1
)) {
39988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39990 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39993 result
= (arg1
)->GetDefaultAttributes();
39994 wxPyEndAllowThreads(__tstate
);
39995 if (PyErr_Occurred()) SWIG_fail
;
39997 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
40004 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40005 PyObject
*resultobj
= 0;
40006 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
40009 PyObject
*swig_obj
[1] ;
40011 if (!args
) SWIG_fail
;
40012 swig_obj
[0] = args
;
40013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
40014 if (!SWIG_IsOK(res1
)) {
40015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
40017 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
40019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40020 (arg1
)->OnInternalIdle();
40021 wxPyEndAllowThreads(__tstate
);
40022 if (PyErr_Occurred()) SWIG_fail
;
40024 resultobj
= SWIG_Py_Void();
40031 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40033 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40034 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
40035 return SWIG_Py_Void();
40038 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40039 return SWIG_Python_InitShadowInstance(args
);
40042 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40043 PyObject
*resultobj
= 0;
40044 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
40045 int arg2
= (int) 0 ;
40046 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
40047 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
40048 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
40049 wxHelpEvent
*result
= 0 ;
40057 PyObject
* obj0
= 0 ;
40058 PyObject
* obj1
= 0 ;
40059 PyObject
* obj2
= 0 ;
40060 PyObject
* obj3
= 0 ;
40061 char * kwnames
[] = {
40062 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
40065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40067 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
40068 if (!SWIG_IsOK(ecode1
)) {
40069 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
40071 arg1
= static_cast< wxEventType
>(val1
);
40074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40075 if (!SWIG_IsOK(ecode2
)) {
40076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
40078 arg2
= static_cast< int >(val2
);
40083 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40087 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
40088 if (!SWIG_IsOK(ecode4
)) {
40089 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40091 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
40094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40095 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
40096 wxPyEndAllowThreads(__tstate
);
40097 if (PyErr_Occurred()) SWIG_fail
;
40099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
40106 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40107 PyObject
*resultobj
= 0;
40108 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
40112 PyObject
*swig_obj
[1] ;
40114 if (!args
) SWIG_fail
;
40115 swig_obj
[0] = args
;
40116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
40117 if (!SWIG_IsOK(res1
)) {
40118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
40120 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
40122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40123 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
40124 wxPyEndAllowThreads(__tstate
);
40125 if (PyErr_Occurred()) SWIG_fail
;
40127 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
40134 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40135 PyObject
*resultobj
= 0;
40136 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
40137 wxPoint
*arg2
= 0 ;
40141 PyObject
* obj0
= 0 ;
40142 PyObject
* obj1
= 0 ;
40143 char * kwnames
[] = {
40144 (char *) "self",(char *) "pos", NULL
40147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
40149 if (!SWIG_IsOK(res1
)) {
40150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
40152 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
40155 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40159 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
40160 wxPyEndAllowThreads(__tstate
);
40161 if (PyErr_Occurred()) SWIG_fail
;
40163 resultobj
= SWIG_Py_Void();
40170 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40171 PyObject
*resultobj
= 0;
40172 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
40173 wxString
*result
= 0 ;
40176 PyObject
*swig_obj
[1] ;
40178 if (!args
) SWIG_fail
;
40179 swig_obj
[0] = args
;
40180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
40181 if (!SWIG_IsOK(res1
)) {
40182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
40184 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
40186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40188 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
40189 result
= (wxString
*) &_result_ref
;
40191 wxPyEndAllowThreads(__tstate
);
40192 if (PyErr_Occurred()) SWIG_fail
;
40196 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
40198 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
40207 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40208 PyObject
*resultobj
= 0;
40209 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
40210 wxString
*arg2
= 0 ;
40213 bool temp2
= false ;
40214 PyObject
* obj0
= 0 ;
40215 PyObject
* obj1
= 0 ;
40216 char * kwnames
[] = {
40217 (char *) "self",(char *) "link", NULL
40220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
40222 if (!SWIG_IsOK(res1
)) {
40223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
40225 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
40227 arg2
= wxString_in_helper(obj1
);
40228 if (arg2
== NULL
) SWIG_fail
;
40232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40233 (arg1
)->SetLink((wxString
const &)*arg2
);
40234 wxPyEndAllowThreads(__tstate
);
40235 if (PyErr_Occurred()) SWIG_fail
;
40237 resultobj
= SWIG_Py_Void();
40252 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40253 PyObject
*resultobj
= 0;
40254 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
40255 wxString
*result
= 0 ;
40258 PyObject
*swig_obj
[1] ;
40260 if (!args
) SWIG_fail
;
40261 swig_obj
[0] = args
;
40262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
40263 if (!SWIG_IsOK(res1
)) {
40264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
40266 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
40268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40270 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
40271 result
= (wxString
*) &_result_ref
;
40273 wxPyEndAllowThreads(__tstate
);
40274 if (PyErr_Occurred()) SWIG_fail
;
40278 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
40280 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
40289 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40290 PyObject
*resultobj
= 0;
40291 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
40292 wxString
*arg2
= 0 ;
40295 bool temp2
= false ;
40296 PyObject
* obj0
= 0 ;
40297 PyObject
* obj1
= 0 ;
40298 char * kwnames
[] = {
40299 (char *) "self",(char *) "target", NULL
40302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
40304 if (!SWIG_IsOK(res1
)) {
40305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
40307 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
40309 arg2
= wxString_in_helper(obj1
);
40310 if (arg2
== NULL
) SWIG_fail
;
40314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40315 (arg1
)->SetTarget((wxString
const &)*arg2
);
40316 wxPyEndAllowThreads(__tstate
);
40317 if (PyErr_Occurred()) SWIG_fail
;
40319 resultobj
= SWIG_Py_Void();
40334 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40335 PyObject
*resultobj
= 0;
40336 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
40337 wxHelpEvent::Origin result
;
40340 PyObject
*swig_obj
[1] ;
40342 if (!args
) SWIG_fail
;
40343 swig_obj
[0] = args
;
40344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
40345 if (!SWIG_IsOK(res1
)) {
40346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
40348 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
40350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40351 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
40352 wxPyEndAllowThreads(__tstate
);
40353 if (PyErr_Occurred()) SWIG_fail
;
40355 resultobj
= SWIG_From_int(static_cast< int >(result
));
40362 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40363 PyObject
*resultobj
= 0;
40364 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
40365 wxHelpEvent::Origin arg2
;
40370 PyObject
* obj0
= 0 ;
40371 PyObject
* obj1
= 0 ;
40372 char * kwnames
[] = {
40373 (char *) "self",(char *) "origin", NULL
40376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
40378 if (!SWIG_IsOK(res1
)) {
40379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
40381 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
40382 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40383 if (!SWIG_IsOK(ecode2
)) {
40384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
40386 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
40388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40389 (arg1
)->SetOrigin(arg2
);
40390 wxPyEndAllowThreads(__tstate
);
40391 if (PyErr_Occurred()) SWIG_fail
;
40393 resultobj
= SWIG_Py_Void();
40400 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40402 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40403 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
40404 return SWIG_Py_Void();
40407 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40408 return SWIG_Python_InitShadowInstance(args
);
40411 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40412 PyObject
*resultobj
= 0;
40413 wxWindow
*arg1
= (wxWindow
*) NULL
;
40414 bool arg2
= (bool) true ;
40415 wxContextHelp
*result
= 0 ;
40420 PyObject
* obj0
= 0 ;
40421 PyObject
* obj1
= 0 ;
40422 char * kwnames
[] = {
40423 (char *) "window",(char *) "doNow", NULL
40426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40429 if (!SWIG_IsOK(res1
)) {
40430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
40432 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40435 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
40436 if (!SWIG_IsOK(ecode2
)) {
40437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
40439 arg2
= static_cast< bool >(val2
);
40442 if (!wxPyCheckForApp()) SWIG_fail
;
40443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40444 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
40445 wxPyEndAllowThreads(__tstate
);
40446 if (PyErr_Occurred()) SWIG_fail
;
40448 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
40455 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40456 PyObject
*resultobj
= 0;
40457 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40460 PyObject
*swig_obj
[1] ;
40462 if (!args
) SWIG_fail
;
40463 swig_obj
[0] = args
;
40464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
40465 if (!SWIG_IsOK(res1
)) {
40466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40468 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40473 wxPyEndAllowThreads(__tstate
);
40474 if (PyErr_Occurred()) SWIG_fail
;
40476 resultobj
= SWIG_Py_Void();
40483 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40484 PyObject
*resultobj
= 0;
40485 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40486 wxWindow
*arg2
= (wxWindow
*) NULL
;
40492 PyObject
* obj0
= 0 ;
40493 PyObject
* obj1
= 0 ;
40494 char * kwnames
[] = {
40495 (char *) "self",(char *) "window", NULL
40498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
40500 if (!SWIG_IsOK(res1
)) {
40501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40503 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40505 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40506 if (!SWIG_IsOK(res2
)) {
40507 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40509 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40513 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
40514 wxPyEndAllowThreads(__tstate
);
40515 if (PyErr_Occurred()) SWIG_fail
;
40518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40526 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40527 PyObject
*resultobj
= 0;
40528 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40532 PyObject
*swig_obj
[1] ;
40534 if (!args
) SWIG_fail
;
40535 swig_obj
[0] = args
;
40536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
40537 if (!SWIG_IsOK(res1
)) {
40538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40540 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40543 result
= (bool)(arg1
)->EndContextHelp();
40544 wxPyEndAllowThreads(__tstate
);
40545 if (PyErr_Occurred()) SWIG_fail
;
40548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40556 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40558 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40559 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
40560 return SWIG_Py_Void();
40563 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40564 return SWIG_Python_InitShadowInstance(args
);
40567 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40568 PyObject
*resultobj
= 0;
40569 wxWindow
*arg1
= (wxWindow
*) 0 ;
40570 int arg2
= (int) wxID_CONTEXT_HELP
;
40571 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
40572 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
40573 wxSize
const &arg4_defvalue
= wxDefaultSize
;
40574 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
40575 long arg5
= (long) wxBU_AUTODRAW
;
40576 wxContextHelpButton
*result
= 0 ;
40585 PyObject
* obj0
= 0 ;
40586 PyObject
* obj1
= 0 ;
40587 PyObject
* obj2
= 0 ;
40588 PyObject
* obj3
= 0 ;
40589 PyObject
* obj4
= 0 ;
40590 char * kwnames
[] = {
40591 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
40594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40596 if (!SWIG_IsOK(res1
)) {
40597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
40599 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40601 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40602 if (!SWIG_IsOK(ecode2
)) {
40603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
40605 arg2
= static_cast< int >(val2
);
40610 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40616 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
40620 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
40621 if (!SWIG_IsOK(ecode5
)) {
40622 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
40624 arg5
= static_cast< long >(val5
);
40627 if (!wxPyCheckForApp()) SWIG_fail
;
40628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40629 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
40630 wxPyEndAllowThreads(__tstate
);
40631 if (PyErr_Occurred()) SWIG_fail
;
40633 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
40640 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40642 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40643 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
40644 return SWIG_Py_Void();
40647 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40648 return SWIG_Python_InitShadowInstance(args
);
40651 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40652 PyObject
*resultobj
= 0;
40653 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40656 PyObject
*swig_obj
[1] ;
40658 if (!args
) SWIG_fail
;
40659 swig_obj
[0] = args
;
40660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40661 if (!SWIG_IsOK(res1
)) {
40662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40664 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40669 wxPyEndAllowThreads(__tstate
);
40670 if (PyErr_Occurred()) SWIG_fail
;
40672 resultobj
= SWIG_Py_Void();
40679 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40680 PyObject
*resultobj
= 0;
40681 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40682 wxHelpProvider
*result
= 0 ;
40684 PyObject
* obj0
= 0 ;
40685 char * kwnames
[] = {
40686 (char *) "helpProvider", NULL
40689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
40690 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40691 if (!SWIG_IsOK(res1
)) {
40692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40696 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
40697 wxPyEndAllowThreads(__tstate
);
40698 if (PyErr_Occurred()) SWIG_fail
;
40700 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
40707 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40708 PyObject
*resultobj
= 0;
40709 wxHelpProvider
*result
= 0 ;
40711 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
40713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40714 result
= (wxHelpProvider
*)wxHelpProvider::Get();
40715 wxPyEndAllowThreads(__tstate
);
40716 if (PyErr_Occurred()) SWIG_fail
;
40718 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40725 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40726 PyObject
*resultobj
= 0;
40727 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40728 wxWindow
*arg2
= (wxWindow
*) 0 ;
40734 PyObject
* obj0
= 0 ;
40735 PyObject
* obj1
= 0 ;
40736 char * kwnames
[] = {
40737 (char *) "self",(char *) "window", NULL
40740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40742 if (!SWIG_IsOK(res1
)) {
40743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40745 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40746 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40747 if (!SWIG_IsOK(res2
)) {
40748 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40750 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40753 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
40754 wxPyEndAllowThreads(__tstate
);
40755 if (PyErr_Occurred()) SWIG_fail
;
40759 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40761 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40770 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40771 PyObject
*resultobj
= 0;
40772 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40773 wxWindow
*arg2
= (wxWindow
*) 0 ;
40779 PyObject
* obj0
= 0 ;
40780 PyObject
* obj1
= 0 ;
40781 char * kwnames
[] = {
40782 (char *) "self",(char *) "window", NULL
40785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40787 if (!SWIG_IsOK(res1
)) {
40788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40790 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40791 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40792 if (!SWIG_IsOK(res2
)) {
40793 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40795 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40798 result
= (bool)(arg1
)->ShowHelp(arg2
);
40799 wxPyEndAllowThreads(__tstate
);
40800 if (PyErr_Occurred()) SWIG_fail
;
40803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40811 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40812 PyObject
*resultobj
= 0;
40813 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40814 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
40815 wxPoint
*arg3
= 0 ;
40816 wxHelpEvent::Origin arg4
;
40825 PyObject
* obj0
= 0 ;
40826 PyObject
* obj1
= 0 ;
40827 PyObject
* obj2
= 0 ;
40828 PyObject
* obj3
= 0 ;
40829 char * kwnames
[] = {
40830 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40835 if (!SWIG_IsOK(res1
)) {
40836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40838 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40839 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
40840 if (!SWIG_IsOK(res2
)) {
40841 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40843 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
40846 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40848 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
40849 if (!SWIG_IsOK(ecode4
)) {
40850 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40852 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
40854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40855 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
40856 wxPyEndAllowThreads(__tstate
);
40857 if (PyErr_Occurred()) SWIG_fail
;
40860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40868 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40869 PyObject
*resultobj
= 0;
40870 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40871 wxWindow
*arg2
= (wxWindow
*) 0 ;
40872 wxString
*arg3
= 0 ;
40877 bool temp3
= false ;
40878 PyObject
* obj0
= 0 ;
40879 PyObject
* obj1
= 0 ;
40880 PyObject
* obj2
= 0 ;
40881 char * kwnames
[] = {
40882 (char *) "self",(char *) "window",(char *) "text", NULL
40885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40887 if (!SWIG_IsOK(res1
)) {
40888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40890 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40891 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40892 if (!SWIG_IsOK(res2
)) {
40893 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40895 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40897 arg3
= wxString_in_helper(obj2
);
40898 if (arg3
== NULL
) SWIG_fail
;
40902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40903 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40904 wxPyEndAllowThreads(__tstate
);
40905 if (PyErr_Occurred()) SWIG_fail
;
40907 resultobj
= SWIG_Py_Void();
40922 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40923 PyObject
*resultobj
= 0;
40924 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40926 wxString
*arg3
= 0 ;
40931 bool temp3
= false ;
40932 PyObject
* obj0
= 0 ;
40933 PyObject
* obj1
= 0 ;
40934 PyObject
* obj2
= 0 ;
40935 char * kwnames
[] = {
40936 (char *) "self",(char *) "id",(char *) "text", NULL
40939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40941 if (!SWIG_IsOK(res1
)) {
40942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40944 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40945 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40946 if (!SWIG_IsOK(ecode2
)) {
40947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40949 arg2
= static_cast< int >(val2
);
40951 arg3
= wxString_in_helper(obj2
);
40952 if (arg3
== NULL
) SWIG_fail
;
40956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40957 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40958 wxPyEndAllowThreads(__tstate
);
40959 if (PyErr_Occurred()) SWIG_fail
;
40961 resultobj
= SWIG_Py_Void();
40976 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40977 PyObject
*resultobj
= 0;
40978 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40979 wxWindow
*arg2
= (wxWindow
*) 0 ;
40984 PyObject
* obj0
= 0 ;
40985 PyObject
* obj1
= 0 ;
40986 char * kwnames
[] = {
40987 (char *) "self",(char *) "window", NULL
40990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40992 if (!SWIG_IsOK(res1
)) {
40993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40995 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40996 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40997 if (!SWIG_IsOK(res2
)) {
40998 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
41000 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41003 (arg1
)->RemoveHelp(arg2
);
41004 wxPyEndAllowThreads(__tstate
);
41005 if (PyErr_Occurred()) SWIG_fail
;
41007 resultobj
= SWIG_Py_Void();
41014 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41015 PyObject
*resultobj
= 0;
41016 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
41019 PyObject
*swig_obj
[1] ;
41021 if (!args
) SWIG_fail
;
41022 swig_obj
[0] = args
;
41023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
41024 if (!SWIG_IsOK(res1
)) {
41025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
41027 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
41029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41030 wxHelpProvider_Destroy(arg1
);
41031 wxPyEndAllowThreads(__tstate
);
41032 if (PyErr_Occurred()) SWIG_fail
;
41034 resultobj
= SWIG_Py_Void();
41041 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41043 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41044 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
41045 return SWIG_Py_Void();
41048 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41049 PyObject
*resultobj
= 0;
41050 wxSimpleHelpProvider
*result
= 0 ;
41052 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
41054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41055 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
41056 wxPyEndAllowThreads(__tstate
);
41057 if (PyErr_Occurred()) SWIG_fail
;
41059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
41066 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41068 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41069 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
41070 return SWIG_Py_Void();
41073 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41074 return SWIG_Python_InitShadowInstance(args
);
41077 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41078 PyObject
*resultobj
= 0;
41079 wxBitmap
*arg1
= 0 ;
41080 wxCursor
const &arg2_defvalue
= wxNullCursor
;
41081 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
41082 wxGenericDragImage
*result
= 0 ;
41087 PyObject
* obj0
= 0 ;
41088 PyObject
* obj1
= 0 ;
41089 char * kwnames
[] = {
41090 (char *) "image",(char *) "cursor", NULL
41093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41094 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
41095 if (!SWIG_IsOK(res1
)) {
41096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
41099 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
41101 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
41103 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
41104 if (!SWIG_IsOK(res2
)) {
41105 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
41108 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
41110 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
41113 if (!wxPyCheckForApp()) SWIG_fail
;
41114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41115 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
41116 wxPyEndAllowThreads(__tstate
);
41117 if (PyErr_Occurred()) SWIG_fail
;
41119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
41126 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41127 PyObject
*resultobj
= 0;
41129 wxCursor
const &arg2_defvalue
= wxNullCursor
;
41130 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
41131 wxGenericDragImage
*result
= 0 ;
41136 PyObject
* obj0
= 0 ;
41137 PyObject
* obj1
= 0 ;
41138 char * kwnames
[] = {
41139 (char *) "image",(char *) "cursor", NULL
41142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41143 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
41144 if (!SWIG_IsOK(res1
)) {
41145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
41148 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
41150 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
41152 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
41153 if (!SWIG_IsOK(res2
)) {
41154 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
41157 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
41159 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
41162 if (!wxPyCheckForApp()) SWIG_fail
;
41163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41164 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
41165 wxPyEndAllowThreads(__tstate
);
41166 if (PyErr_Occurred()) SWIG_fail
;
41168 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
41175 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41176 PyObject
*resultobj
= 0;
41177 wxString
*arg1
= 0 ;
41178 wxCursor
const &arg2_defvalue
= wxNullCursor
;
41179 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
41180 wxGenericDragImage
*result
= 0 ;
41181 bool temp1
= false ;
41184 PyObject
* obj0
= 0 ;
41185 PyObject
* obj1
= 0 ;
41186 char * kwnames
[] = {
41187 (char *) "str",(char *) "cursor", NULL
41190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41192 arg1
= wxString_in_helper(obj0
);
41193 if (arg1
== NULL
) SWIG_fail
;
41197 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
41198 if (!SWIG_IsOK(res2
)) {
41199 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
41202 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
41204 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
41207 if (!wxPyCheckForApp()) SWIG_fail
;
41208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41209 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
41210 wxPyEndAllowThreads(__tstate
);
41211 if (PyErr_Occurred()) SWIG_fail
;
41213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
41228 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41229 PyObject
*resultobj
= 0;
41230 wxPyTreeCtrl
*arg1
= 0 ;
41231 wxTreeItemId
*arg2
= 0 ;
41232 wxGenericDragImage
*result
= 0 ;
41237 PyObject
* obj0
= 0 ;
41238 PyObject
* obj1
= 0 ;
41239 char * kwnames
[] = {
41240 (char *) "treeCtrl",(char *) "id", NULL
41243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41244 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
41245 if (!SWIG_IsOK(res1
)) {
41246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
41249 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
41251 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
41252 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
41253 if (!SWIG_IsOK(res2
)) {
41254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
41257 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
41259 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
41261 if (!wxPyCheckForApp()) SWIG_fail
;
41262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41263 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
41264 wxPyEndAllowThreads(__tstate
);
41265 if (PyErr_Occurred()) SWIG_fail
;
41267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
41274 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41275 PyObject
*resultobj
= 0;
41276 wxPyListCtrl
*arg1
= 0 ;
41278 wxGenericDragImage
*result
= 0 ;
41283 PyObject
* obj0
= 0 ;
41284 PyObject
* obj1
= 0 ;
41285 char * kwnames
[] = {
41286 (char *) "listCtrl",(char *) "id", NULL
41289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41290 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
41291 if (!SWIG_IsOK(res1
)) {
41292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
41295 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
41297 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
41298 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
41299 if (!SWIG_IsOK(ecode2
)) {
41300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
41302 arg2
= static_cast< long >(val2
);
41304 if (!wxPyCheckForApp()) SWIG_fail
;
41305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41306 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
41307 wxPyEndAllowThreads(__tstate
);
41308 if (PyErr_Occurred()) SWIG_fail
;
41310 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
41317 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41318 PyObject
*resultobj
= 0;
41319 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41322 PyObject
*swig_obj
[1] ;
41324 if (!args
) SWIG_fail
;
41325 swig_obj
[0] = args
;
41326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
41327 if (!SWIG_IsOK(res1
)) {
41328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41330 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41335 wxPyEndAllowThreads(__tstate
);
41336 if (PyErr_Occurred()) SWIG_fail
;
41338 resultobj
= SWIG_Py_Void();
41345 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41346 PyObject
*resultobj
= 0;
41347 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41348 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
41353 PyObject
* obj0
= 0 ;
41354 PyObject
* obj1
= 0 ;
41355 char * kwnames
[] = {
41356 (char *) "self",(char *) "bitmap", NULL
41359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41361 if (!SWIG_IsOK(res1
)) {
41362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41364 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41365 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
41366 if (!SWIG_IsOK(res2
)) {
41367 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
41369 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
41371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41372 (arg1
)->SetBackingBitmap(arg2
);
41373 wxPyEndAllowThreads(__tstate
);
41374 if (PyErr_Occurred()) SWIG_fail
;
41376 resultobj
= SWIG_Py_Void();
41383 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41384 PyObject
*resultobj
= 0;
41385 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41386 wxPoint
*arg2
= 0 ;
41387 wxWindow
*arg3
= (wxWindow
*) 0 ;
41388 bool arg4
= (bool) false ;
41389 wxRect
*arg5
= (wxRect
*) NULL
;
41400 PyObject
* obj0
= 0 ;
41401 PyObject
* obj1
= 0 ;
41402 PyObject
* obj2
= 0 ;
41403 PyObject
* obj3
= 0 ;
41404 PyObject
* obj4
= 0 ;
41405 char * kwnames
[] = {
41406 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
41409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41411 if (!SWIG_IsOK(res1
)) {
41412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41414 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41417 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41419 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41420 if (!SWIG_IsOK(res3
)) {
41421 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
41423 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
41425 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41426 if (!SWIG_IsOK(ecode4
)) {
41427 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
41429 arg4
= static_cast< bool >(val4
);
41432 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
41433 if (!SWIG_IsOK(res5
)) {
41434 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
41436 arg5
= reinterpret_cast< wxRect
* >(argp5
);
41439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41440 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
41441 wxPyEndAllowThreads(__tstate
);
41442 if (PyErr_Occurred()) SWIG_fail
;
41445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41453 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41454 PyObject
*resultobj
= 0;
41455 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41456 wxPoint
*arg2
= 0 ;
41457 wxWindow
*arg3
= (wxWindow
*) 0 ;
41458 wxWindow
*arg4
= (wxWindow
*) 0 ;
41467 PyObject
* obj0
= 0 ;
41468 PyObject
* obj1
= 0 ;
41469 PyObject
* obj2
= 0 ;
41470 PyObject
* obj3
= 0 ;
41471 char * kwnames
[] = {
41472 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
41475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
41476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41477 if (!SWIG_IsOK(res1
)) {
41478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41480 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41483 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41485 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41486 if (!SWIG_IsOK(res3
)) {
41487 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
41489 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
41490 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41491 if (!SWIG_IsOK(res4
)) {
41492 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
41494 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
41496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41497 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
41498 wxPyEndAllowThreads(__tstate
);
41499 if (PyErr_Occurred()) SWIG_fail
;
41502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41510 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41511 PyObject
*resultobj
= 0;
41512 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41516 PyObject
*swig_obj
[1] ;
41518 if (!args
) SWIG_fail
;
41519 swig_obj
[0] = args
;
41520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41521 if (!SWIG_IsOK(res1
)) {
41522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41524 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41527 result
= (bool)(arg1
)->EndDrag();
41528 wxPyEndAllowThreads(__tstate
);
41529 if (PyErr_Occurred()) SWIG_fail
;
41532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41540 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41541 PyObject
*resultobj
= 0;
41542 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41543 wxPoint
*arg2
= 0 ;
41548 PyObject
* obj0
= 0 ;
41549 PyObject
* obj1
= 0 ;
41550 char * kwnames
[] = {
41551 (char *) "self",(char *) "pt", NULL
41554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41556 if (!SWIG_IsOK(res1
)) {
41557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41559 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41562 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41566 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
41567 wxPyEndAllowThreads(__tstate
);
41568 if (PyErr_Occurred()) SWIG_fail
;
41571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41579 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41580 PyObject
*resultobj
= 0;
41581 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41585 PyObject
*swig_obj
[1] ;
41587 if (!args
) SWIG_fail
;
41588 swig_obj
[0] = args
;
41589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41590 if (!SWIG_IsOK(res1
)) {
41591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41593 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41596 result
= (bool)(arg1
)->Show();
41597 wxPyEndAllowThreads(__tstate
);
41598 if (PyErr_Occurred()) SWIG_fail
;
41601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41609 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41610 PyObject
*resultobj
= 0;
41611 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41615 PyObject
*swig_obj
[1] ;
41617 if (!args
) SWIG_fail
;
41618 swig_obj
[0] = args
;
41619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41620 if (!SWIG_IsOK(res1
)) {
41621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41623 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41626 result
= (bool)(arg1
)->Hide();
41627 wxPyEndAllowThreads(__tstate
);
41628 if (PyErr_Occurred()) SWIG_fail
;
41631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41639 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41640 PyObject
*resultobj
= 0;
41641 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41642 wxPoint
*arg2
= 0 ;
41647 PyObject
* obj0
= 0 ;
41648 PyObject
* obj1
= 0 ;
41649 char * kwnames
[] = {
41650 (char *) "self",(char *) "pos", NULL
41653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41655 if (!SWIG_IsOK(res1
)) {
41656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41658 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41661 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41665 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
41666 wxPyEndAllowThreads(__tstate
);
41667 if (PyErr_Occurred()) SWIG_fail
;
41669 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
41676 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41677 PyObject
*resultobj
= 0;
41678 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41680 wxPoint
*arg3
= 0 ;
41687 PyObject
* obj0
= 0 ;
41688 PyObject
* obj1
= 0 ;
41689 PyObject
* obj2
= 0 ;
41690 char * kwnames
[] = {
41691 (char *) "self",(char *) "dc",(char *) "pos", NULL
41694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41696 if (!SWIG_IsOK(res1
)) {
41697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41699 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41700 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41701 if (!SWIG_IsOK(res2
)) {
41702 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41705 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41707 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41710 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41714 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
41715 wxPyEndAllowThreads(__tstate
);
41716 if (PyErr_Occurred()) SWIG_fail
;
41719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41727 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41728 PyObject
*resultobj
= 0;
41729 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41731 wxMemoryDC
*arg3
= 0 ;
41743 PyObject
* obj0
= 0 ;
41744 PyObject
* obj1
= 0 ;
41745 PyObject
* obj2
= 0 ;
41746 PyObject
* obj3
= 0 ;
41747 PyObject
* obj4
= 0 ;
41748 char * kwnames
[] = {
41749 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41754 if (!SWIG_IsOK(res1
)) {
41755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41757 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41758 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41759 if (!SWIG_IsOK(res2
)) {
41760 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41763 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41765 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41766 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
41767 if (!SWIG_IsOK(res3
)) {
41768 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41771 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41773 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
41776 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
41780 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
41783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41784 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
41785 wxPyEndAllowThreads(__tstate
);
41786 if (PyErr_Occurred()) SWIG_fail
;
41789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41797 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41798 PyObject
*resultobj
= 0;
41799 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41800 wxPoint
*arg2
= 0 ;
41801 wxPoint
*arg3
= 0 ;
41813 PyObject
* obj0
= 0 ;
41814 PyObject
* obj1
= 0 ;
41815 PyObject
* obj2
= 0 ;
41816 PyObject
* obj3
= 0 ;
41817 PyObject
* obj4
= 0 ;
41818 char * kwnames
[] = {
41819 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41824 if (!SWIG_IsOK(res1
)) {
41825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41827 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41830 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41834 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41836 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41837 if (!SWIG_IsOK(ecode4
)) {
41838 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41840 arg4
= static_cast< bool >(val4
);
41841 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
41842 if (!SWIG_IsOK(ecode5
)) {
41843 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41845 arg5
= static_cast< bool >(val5
);
41847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41848 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
41849 wxPyEndAllowThreads(__tstate
);
41850 if (PyErr_Occurred()) SWIG_fail
;
41853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41861 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41863 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41864 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
41865 return SWIG_Py_Void();
41868 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41869 return SWIG_Python_InitShadowInstance(args
);
41872 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
41873 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
41878 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
41879 PyObject
*pyobj
= 0;
41883 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41885 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41892 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41893 PyObject
*resultobj
= 0;
41894 wxWindow
*arg1
= (wxWindow
*) 0 ;
41895 int arg2
= (int) -1 ;
41896 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
41897 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
41898 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
41899 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
41900 wxSize
const &arg5_defvalue
= wxDefaultSize
;
41901 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
41902 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41903 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
41904 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
41905 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
41906 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41907 wxDatePickerCtrl
*result
= 0 ;
41920 bool temp8
= false ;
41921 PyObject
* obj0
= 0 ;
41922 PyObject
* obj1
= 0 ;
41923 PyObject
* obj2
= 0 ;
41924 PyObject
* obj3
= 0 ;
41925 PyObject
* obj4
= 0 ;
41926 PyObject
* obj5
= 0 ;
41927 PyObject
* obj6
= 0 ;
41928 PyObject
* obj7
= 0 ;
41929 char * kwnames
[] = {
41930 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41935 if (!SWIG_IsOK(res1
)) {
41936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41938 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41940 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41941 if (!SWIG_IsOK(ecode2
)) {
41942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41944 arg2
= static_cast< int >(val2
);
41947 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41948 if (!SWIG_IsOK(res3
)) {
41949 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41952 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41954 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41959 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41965 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41969 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41970 if (!SWIG_IsOK(ecode6
)) {
41971 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41973 arg6
= static_cast< long >(val6
);
41976 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41977 if (!SWIG_IsOK(res7
)) {
41978 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41983 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41987 arg8
= wxString_in_helper(obj7
);
41988 if (arg8
== NULL
) SWIG_fail
;
41993 if (!wxPyCheckForApp()) SWIG_fail
;
41994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41995 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41996 wxPyEndAllowThreads(__tstate
);
41997 if (PyErr_Occurred()) SWIG_fail
;
41999 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
42014 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42015 PyObject
*resultobj
= 0;
42016 wxDatePickerCtrl
*result
= 0 ;
42018 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
42020 if (!wxPyCheckForApp()) SWIG_fail
;
42021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42022 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
42023 wxPyEndAllowThreads(__tstate
);
42024 if (PyErr_Occurred()) SWIG_fail
;
42026 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
42033 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42034 PyObject
*resultobj
= 0;
42035 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
42036 wxWindow
*arg2
= (wxWindow
*) 0 ;
42037 int arg3
= (int) -1 ;
42038 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
42039 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
42040 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42041 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42042 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42043 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42044 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
42045 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42046 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42047 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
42048 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42064 bool temp9
= false ;
42065 PyObject
* obj0
= 0 ;
42066 PyObject
* obj1
= 0 ;
42067 PyObject
* obj2
= 0 ;
42068 PyObject
* obj3
= 0 ;
42069 PyObject
* obj4
= 0 ;
42070 PyObject
* obj5
= 0 ;
42071 PyObject
* obj6
= 0 ;
42072 PyObject
* obj7
= 0 ;
42073 PyObject
* obj8
= 0 ;
42074 char * kwnames
[] = {
42075 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
42080 if (!SWIG_IsOK(res1
)) {
42081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
42083 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
42084 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42085 if (!SWIG_IsOK(res2
)) {
42086 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42088 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42090 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42091 if (!SWIG_IsOK(ecode3
)) {
42092 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42094 arg3
= static_cast< int >(val3
);
42097 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
42098 if (!SWIG_IsOK(res4
)) {
42099 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
42102 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
42104 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
42109 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42115 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42119 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42120 if (!SWIG_IsOK(ecode7
)) {
42121 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
42123 arg7
= static_cast< long >(val7
);
42126 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42127 if (!SWIG_IsOK(res8
)) {
42128 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
42131 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
42133 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42137 arg9
= wxString_in_helper(obj8
);
42138 if (arg9
== NULL
) SWIG_fail
;
42143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42144 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42145 wxPyEndAllowThreads(__tstate
);
42146 if (PyErr_Occurred()) SWIG_fail
;
42149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42165 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42166 PyObject
*resultobj
= 0;
42167 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
42168 wxDateTime
*arg2
= 0 ;
42173 PyObject
* obj0
= 0 ;
42174 PyObject
* obj1
= 0 ;
42175 char * kwnames
[] = {
42176 (char *) "self",(char *) "dt", NULL
42179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
42181 if (!SWIG_IsOK(res1
)) {
42182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
42184 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
42185 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
42186 if (!SWIG_IsOK(res2
)) {
42187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
42190 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
42192 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
42194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42195 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
42196 wxPyEndAllowThreads(__tstate
);
42197 if (PyErr_Occurred()) SWIG_fail
;
42199 resultobj
= SWIG_Py_Void();
42206 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42207 PyObject
*resultobj
= 0;
42208 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
42212 PyObject
*swig_obj
[1] ;
42214 if (!args
) SWIG_fail
;
42215 swig_obj
[0] = args
;
42216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
42217 if (!SWIG_IsOK(res1
)) {
42218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
42220 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
42222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42223 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
42224 wxPyEndAllowThreads(__tstate
);
42225 if (PyErr_Occurred()) SWIG_fail
;
42227 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
42234 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42235 PyObject
*resultobj
= 0;
42236 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
42237 wxDateTime
*arg2
= 0 ;
42238 wxDateTime
*arg3
= 0 ;
42245 PyObject
* obj0
= 0 ;
42246 PyObject
* obj1
= 0 ;
42247 PyObject
* obj2
= 0 ;
42248 char * kwnames
[] = {
42249 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
42252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
42254 if (!SWIG_IsOK(res1
)) {
42255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
42257 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
42258 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
42259 if (!SWIG_IsOK(res2
)) {
42260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
42263 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
42265 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
42266 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
42267 if (!SWIG_IsOK(res3
)) {
42268 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
42271 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
42273 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
42275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42276 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
42277 wxPyEndAllowThreads(__tstate
);
42278 if (PyErr_Occurred()) SWIG_fail
;
42280 resultobj
= SWIG_Py_Void();
42287 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42288 PyObject
*resultobj
= 0;
42289 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
42293 PyObject
*swig_obj
[1] ;
42295 if (!args
) SWIG_fail
;
42296 swig_obj
[0] = args
;
42297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
42298 if (!SWIG_IsOK(res1
)) {
42299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
42301 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
42303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42304 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
42305 wxPyEndAllowThreads(__tstate
);
42306 if (PyErr_Occurred()) SWIG_fail
;
42308 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
42315 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42316 PyObject
*resultobj
= 0;
42317 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
42321 PyObject
*swig_obj
[1] ;
42323 if (!args
) SWIG_fail
;
42324 swig_obj
[0] = args
;
42325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
42326 if (!SWIG_IsOK(res1
)) {
42327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
42329 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
42331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42332 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
42333 wxPyEndAllowThreads(__tstate
);
42334 if (PyErr_Occurred()) SWIG_fail
;
42336 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
42343 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42345 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42346 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
42347 return SWIG_Py_Void();
42350 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42351 return SWIG_Python_InitShadowInstance(args
);
42354 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
42355 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
42360 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
42361 PyObject
*pyobj
= 0;
42365 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
42367 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
42374 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42375 PyObject
*resultobj
= 0;
42376 wxWindow
*arg1
= (wxWindow
*) 0 ;
42378 wxString
*arg3
= 0 ;
42379 wxString
*arg4
= 0 ;
42380 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42381 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42382 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42383 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42384 long arg7
= (long) wxHL_DEFAULT_STYLE
;
42385 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
42386 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
42387 wxHyperlinkCtrl
*result
= 0 ;
42392 bool temp3
= false ;
42393 bool temp4
= false ;
42398 bool temp8
= false ;
42399 PyObject
* obj0
= 0 ;
42400 PyObject
* obj1
= 0 ;
42401 PyObject
* obj2
= 0 ;
42402 PyObject
* obj3
= 0 ;
42403 PyObject
* obj4
= 0 ;
42404 PyObject
* obj5
= 0 ;
42405 PyObject
* obj6
= 0 ;
42406 PyObject
* obj7
= 0 ;
42407 char * kwnames
[] = {
42408 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
42412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42413 if (!SWIG_IsOK(res1
)) {
42414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
42416 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
42417 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42418 if (!SWIG_IsOK(ecode2
)) {
42419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
42421 arg2
= static_cast< int >(val2
);
42423 arg3
= wxString_in_helper(obj2
);
42424 if (arg3
== NULL
) SWIG_fail
;
42428 arg4
= wxString_in_helper(obj3
);
42429 if (arg4
== NULL
) SWIG_fail
;
42435 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42441 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42445 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42446 if (!SWIG_IsOK(ecode7
)) {
42447 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
42449 arg7
= static_cast< long >(val7
);
42453 arg8
= wxString_in_helper(obj7
);
42454 if (arg8
== NULL
) SWIG_fail
;
42459 if (!wxPyCheckForApp()) SWIG_fail
;
42460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42461 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
42462 wxPyEndAllowThreads(__tstate
);
42463 if (PyErr_Occurred()) SWIG_fail
;
42465 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
42496 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42497 PyObject
*resultobj
= 0;
42498 wxHyperlinkCtrl
*result
= 0 ;
42500 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
42502 if (!wxPyCheckForApp()) SWIG_fail
;
42503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42504 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
42505 wxPyEndAllowThreads(__tstate
);
42506 if (PyErr_Occurred()) SWIG_fail
;
42508 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
42515 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42516 PyObject
*resultobj
= 0;
42517 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42518 wxWindow
*arg2
= (wxWindow
*) 0 ;
42520 wxString
*arg4
= 0 ;
42521 wxString
*arg5
= 0 ;
42522 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
42523 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
42524 wxSize
const &arg7_defvalue
= wxDefaultSize
;
42525 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
42526 long arg8
= (long) wxHL_DEFAULT_STYLE
;
42527 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
42528 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42536 bool temp4
= false ;
42537 bool temp5
= false ;
42542 bool temp9
= false ;
42543 PyObject
* obj0
= 0 ;
42544 PyObject
* obj1
= 0 ;
42545 PyObject
* obj2
= 0 ;
42546 PyObject
* obj3
= 0 ;
42547 PyObject
* obj4
= 0 ;
42548 PyObject
* obj5
= 0 ;
42549 PyObject
* obj6
= 0 ;
42550 PyObject
* obj7
= 0 ;
42551 PyObject
* obj8
= 0 ;
42552 char * kwnames
[] = {
42553 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42558 if (!SWIG_IsOK(res1
)) {
42559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42561 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42562 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42563 if (!SWIG_IsOK(res2
)) {
42564 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42566 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42567 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42568 if (!SWIG_IsOK(ecode3
)) {
42569 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42571 arg3
= static_cast< int >(val3
);
42573 arg4
= wxString_in_helper(obj3
);
42574 if (arg4
== NULL
) SWIG_fail
;
42578 arg5
= wxString_in_helper(obj4
);
42579 if (arg5
== NULL
) SWIG_fail
;
42585 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
42591 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
42595 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
42596 if (!SWIG_IsOK(ecode8
)) {
42597 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
42599 arg8
= static_cast< long >(val8
);
42603 arg9
= wxString_in_helper(obj8
);
42604 if (arg9
== NULL
) SWIG_fail
;
42609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42610 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
42611 wxPyEndAllowThreads(__tstate
);
42612 if (PyErr_Occurred()) SWIG_fail
;
42615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42647 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42648 PyObject
*resultobj
= 0;
42649 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42653 PyObject
*swig_obj
[1] ;
42655 if (!args
) SWIG_fail
;
42656 swig_obj
[0] = args
;
42657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42658 if (!SWIG_IsOK(res1
)) {
42659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42661 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42664 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
42665 wxPyEndAllowThreads(__tstate
);
42666 if (PyErr_Occurred()) SWIG_fail
;
42668 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42675 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42676 PyObject
*resultobj
= 0;
42677 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42678 wxColour
*arg2
= 0 ;
42682 PyObject
* obj0
= 0 ;
42683 PyObject
* obj1
= 0 ;
42684 char * kwnames
[] = {
42685 (char *) "self",(char *) "colour", NULL
42688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42690 if (!SWIG_IsOK(res1
)) {
42691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42693 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42696 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42700 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
42701 wxPyEndAllowThreads(__tstate
);
42702 if (PyErr_Occurred()) SWIG_fail
;
42704 resultobj
= SWIG_Py_Void();
42711 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42712 PyObject
*resultobj
= 0;
42713 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42717 PyObject
*swig_obj
[1] ;
42719 if (!args
) SWIG_fail
;
42720 swig_obj
[0] = args
;
42721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42722 if (!SWIG_IsOK(res1
)) {
42723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42725 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42728 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
42729 wxPyEndAllowThreads(__tstate
);
42730 if (PyErr_Occurred()) SWIG_fail
;
42732 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42739 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42740 PyObject
*resultobj
= 0;
42741 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42742 wxColour
*arg2
= 0 ;
42746 PyObject
* obj0
= 0 ;
42747 PyObject
* obj1
= 0 ;
42748 char * kwnames
[] = {
42749 (char *) "self",(char *) "colour", NULL
42752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42754 if (!SWIG_IsOK(res1
)) {
42755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42757 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42760 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42764 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
42765 wxPyEndAllowThreads(__tstate
);
42766 if (PyErr_Occurred()) SWIG_fail
;
42768 resultobj
= SWIG_Py_Void();
42775 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42776 PyObject
*resultobj
= 0;
42777 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42781 PyObject
*swig_obj
[1] ;
42783 if (!args
) SWIG_fail
;
42784 swig_obj
[0] = args
;
42785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42786 if (!SWIG_IsOK(res1
)) {
42787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42789 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42792 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
42793 wxPyEndAllowThreads(__tstate
);
42794 if (PyErr_Occurred()) SWIG_fail
;
42796 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42803 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42804 PyObject
*resultobj
= 0;
42805 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42806 wxColour
*arg2
= 0 ;
42810 PyObject
* obj0
= 0 ;
42811 PyObject
* obj1
= 0 ;
42812 char * kwnames
[] = {
42813 (char *) "self",(char *) "colour", NULL
42816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42818 if (!SWIG_IsOK(res1
)) {
42819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42821 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42824 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42828 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
42829 wxPyEndAllowThreads(__tstate
);
42830 if (PyErr_Occurred()) SWIG_fail
;
42832 resultobj
= SWIG_Py_Void();
42839 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42840 PyObject
*resultobj
= 0;
42841 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42845 PyObject
*swig_obj
[1] ;
42847 if (!args
) SWIG_fail
;
42848 swig_obj
[0] = args
;
42849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42850 if (!SWIG_IsOK(res1
)) {
42851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42853 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42856 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
42857 wxPyEndAllowThreads(__tstate
);
42858 if (PyErr_Occurred()) SWIG_fail
;
42862 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42864 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42873 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42874 PyObject
*resultobj
= 0;
42875 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42876 wxString
*arg2
= 0 ;
42879 bool temp2
= false ;
42880 PyObject
* obj0
= 0 ;
42881 PyObject
* obj1
= 0 ;
42882 char * kwnames
[] = {
42883 (char *) "self",(char *) "url", NULL
42886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42888 if (!SWIG_IsOK(res1
)) {
42889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42891 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42893 arg2
= wxString_in_helper(obj1
);
42894 if (arg2
== NULL
) SWIG_fail
;
42898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42899 (arg1
)->SetURL((wxString
const &)*arg2
);
42900 wxPyEndAllowThreads(__tstate
);
42901 if (PyErr_Occurred()) SWIG_fail
;
42903 resultobj
= SWIG_Py_Void();
42918 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42919 PyObject
*resultobj
= 0;
42920 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42921 bool arg2
= (bool) true ;
42926 PyObject
* obj0
= 0 ;
42927 PyObject
* obj1
= 0 ;
42928 char * kwnames
[] = {
42929 (char *) "self",(char *) "visited", NULL
42932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42934 if (!SWIG_IsOK(res1
)) {
42935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42937 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42939 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42940 if (!SWIG_IsOK(ecode2
)) {
42941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42943 arg2
= static_cast< bool >(val2
);
42946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42947 (arg1
)->SetVisited(arg2
);
42948 wxPyEndAllowThreads(__tstate
);
42949 if (PyErr_Occurred()) SWIG_fail
;
42951 resultobj
= SWIG_Py_Void();
42958 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42959 PyObject
*resultobj
= 0;
42960 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42964 PyObject
*swig_obj
[1] ;
42966 if (!args
) SWIG_fail
;
42967 swig_obj
[0] = args
;
42968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42969 if (!SWIG_IsOK(res1
)) {
42970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42972 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42975 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42976 wxPyEndAllowThreads(__tstate
);
42977 if (PyErr_Occurred()) SWIG_fail
;
42980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42988 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42990 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42991 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42992 return SWIG_Py_Void();
42995 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42996 return SWIG_Python_InitShadowInstance(args
);
42999 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43000 PyObject
*resultobj
= 0;
43001 wxObject
*arg1
= (wxObject
*) 0 ;
43003 wxString
*arg3
= 0 ;
43004 wxHyperlinkEvent
*result
= 0 ;
43009 bool temp3
= false ;
43010 PyObject
* obj0
= 0 ;
43011 PyObject
* obj1
= 0 ;
43012 PyObject
* obj2
= 0 ;
43013 char * kwnames
[] = {
43014 (char *) "generator",(char *) "id",(char *) "url", NULL
43017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43019 if (!SWIG_IsOK(res1
)) {
43020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43022 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43023 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43024 if (!SWIG_IsOK(ecode2
)) {
43025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
43027 arg2
= static_cast< int >(val2
);
43029 arg3
= wxString_in_helper(obj2
);
43030 if (arg3
== NULL
) SWIG_fail
;
43034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43035 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
43036 wxPyEndAllowThreads(__tstate
);
43037 if (PyErr_Occurred()) SWIG_fail
;
43039 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
43054 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43055 PyObject
*resultobj
= 0;
43056 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
43060 PyObject
*swig_obj
[1] ;
43062 if (!args
) SWIG_fail
;
43063 swig_obj
[0] = args
;
43064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
43065 if (!SWIG_IsOK(res1
)) {
43066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
43068 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
43070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43071 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
43072 wxPyEndAllowThreads(__tstate
);
43073 if (PyErr_Occurred()) SWIG_fail
;
43077 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43079 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43088 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43089 PyObject
*resultobj
= 0;
43090 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
43091 wxString
*arg2
= 0 ;
43094 bool temp2
= false ;
43095 PyObject
* obj0
= 0 ;
43096 PyObject
* obj1
= 0 ;
43097 char * kwnames
[] = {
43098 (char *) "self",(char *) "url", NULL
43101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
43103 if (!SWIG_IsOK(res1
)) {
43104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
43106 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
43108 arg2
= wxString_in_helper(obj1
);
43109 if (arg2
== NULL
) SWIG_fail
;
43113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43114 (arg1
)->SetURL((wxString
const &)*arg2
);
43115 wxPyEndAllowThreads(__tstate
);
43116 if (PyErr_Occurred()) SWIG_fail
;
43118 resultobj
= SWIG_Py_Void();
43133 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43135 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43136 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
43137 return SWIG_Py_Void();
43140 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43141 return SWIG_Python_InitShadowInstance(args
);
43144 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43145 PyObject
*resultobj
= 0;
43146 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43147 wxWindow
*arg2
= (wxWindow
*) 0 ;
43149 wxString
const &arg4_defvalue
= wxEmptyString
;
43150 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43151 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43152 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43153 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43154 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43155 long arg7
= (long) 0 ;
43156 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43157 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43158 wxString
const &arg9_defvalue
= wxButtonNameStr
;
43159 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43167 bool temp4
= false ;
43174 bool temp9
= false ;
43175 PyObject
* obj0
= 0 ;
43176 PyObject
* obj1
= 0 ;
43177 PyObject
* obj2
= 0 ;
43178 PyObject
* obj3
= 0 ;
43179 PyObject
* obj4
= 0 ;
43180 PyObject
* obj5
= 0 ;
43181 PyObject
* obj6
= 0 ;
43182 PyObject
* obj7
= 0 ;
43183 PyObject
* obj8
= 0 ;
43184 char * kwnames
[] = {
43185 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43190 if (!SWIG_IsOK(res1
)) {
43191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43193 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43194 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43195 if (!SWIG_IsOK(res2
)) {
43196 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
43198 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43199 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43200 if (!SWIG_IsOK(ecode3
)) {
43201 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
43203 arg3
= static_cast< int >(val3
);
43206 arg4
= wxString_in_helper(obj3
);
43207 if (arg4
== NULL
) SWIG_fail
;
43214 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43220 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43224 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43225 if (!SWIG_IsOK(ecode7
)) {
43226 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
43228 arg7
= static_cast< long >(val7
);
43231 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43232 if (!SWIG_IsOK(res8
)) {
43233 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
43236 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
43238 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43242 arg9
= wxString_in_helper(obj8
);
43243 if (arg9
== NULL
) SWIG_fail
;
43248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43249 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43250 wxPyEndAllowThreads(__tstate
);
43251 if (PyErr_Occurred()) SWIG_fail
;
43254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43278 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43279 PyObject
*resultobj
= 0;
43280 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43286 PyObject
* obj0
= 0 ;
43287 PyObject
* obj1
= 0 ;
43288 char * kwnames
[] = {
43289 (char *) "self",(char *) "newmargin", NULL
43292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43294 if (!SWIG_IsOK(res1
)) {
43295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43297 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43298 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43299 if (!SWIG_IsOK(ecode2
)) {
43300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
43302 arg2
= static_cast< int >(val2
);
43304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43305 (arg1
)->SetInternalMargin(arg2
);
43306 wxPyEndAllowThreads(__tstate
);
43307 if (PyErr_Occurred()) SWIG_fail
;
43309 resultobj
= SWIG_Py_Void();
43316 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43317 PyObject
*resultobj
= 0;
43318 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43322 PyObject
*swig_obj
[1] ;
43324 if (!args
) SWIG_fail
;
43325 swig_obj
[0] = args
;
43326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43327 if (!SWIG_IsOK(res1
)) {
43328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43330 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43333 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
43334 wxPyEndAllowThreads(__tstate
);
43335 if (PyErr_Occurred()) SWIG_fail
;
43337 resultobj
= SWIG_From_int(static_cast< int >(result
));
43344 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43345 PyObject
*resultobj
= 0;
43346 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43352 PyObject
* obj0
= 0 ;
43353 PyObject
* obj1
= 0 ;
43354 char * kwnames
[] = {
43355 (char *) "self",(char *) "prop", NULL
43358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43360 if (!SWIG_IsOK(res1
)) {
43361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43363 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43364 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43365 if (!SWIG_IsOK(ecode2
)) {
43366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
43368 arg2
= static_cast< int >(val2
);
43370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43371 (arg1
)->SetTextCtrlProportion(arg2
);
43372 wxPyEndAllowThreads(__tstate
);
43373 if (PyErr_Occurred()) SWIG_fail
;
43375 resultobj
= SWIG_Py_Void();
43382 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43383 PyObject
*resultobj
= 0;
43384 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43388 PyObject
*swig_obj
[1] ;
43390 if (!args
) SWIG_fail
;
43391 swig_obj
[0] = args
;
43392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43393 if (!SWIG_IsOK(res1
)) {
43394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43396 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43399 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
43400 wxPyEndAllowThreads(__tstate
);
43401 if (PyErr_Occurred()) SWIG_fail
;
43403 resultobj
= SWIG_From_int(static_cast< int >(result
));
43410 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43411 PyObject
*resultobj
= 0;
43412 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43418 PyObject
* obj0
= 0 ;
43419 PyObject
* obj1
= 0 ;
43420 char * kwnames
[] = {
43421 (char *) "self",(char *) "prop", NULL
43424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43426 if (!SWIG_IsOK(res1
)) {
43427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43429 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43431 if (!SWIG_IsOK(ecode2
)) {
43432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
43434 arg2
= static_cast< int >(val2
);
43436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43437 (arg1
)->SetPickerCtrlProportion(arg2
);
43438 wxPyEndAllowThreads(__tstate
);
43439 if (PyErr_Occurred()) SWIG_fail
;
43441 resultobj
= SWIG_Py_Void();
43448 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43449 PyObject
*resultobj
= 0;
43450 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43454 PyObject
*swig_obj
[1] ;
43456 if (!args
) SWIG_fail
;
43457 swig_obj
[0] = args
;
43458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43459 if (!SWIG_IsOK(res1
)) {
43460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43462 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43465 result
= (int)((wxPickerBase
const *)arg1
)->GetPickerCtrlProportion();
43466 wxPyEndAllowThreads(__tstate
);
43467 if (PyErr_Occurred()) SWIG_fail
;
43469 resultobj
= SWIG_From_int(static_cast< int >(result
));
43476 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43477 PyObject
*resultobj
= 0;
43478 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43482 PyObject
*swig_obj
[1] ;
43484 if (!args
) SWIG_fail
;
43485 swig_obj
[0] = args
;
43486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43487 if (!SWIG_IsOK(res1
)) {
43488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43490 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43493 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
43494 wxPyEndAllowThreads(__tstate
);
43495 if (PyErr_Occurred()) SWIG_fail
;
43498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43506 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43507 PyObject
*resultobj
= 0;
43508 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43509 bool arg2
= (bool) true ;
43514 PyObject
* obj0
= 0 ;
43515 PyObject
* obj1
= 0 ;
43516 char * kwnames
[] = {
43517 (char *) "self",(char *) "grow", NULL
43520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43522 if (!SWIG_IsOK(res1
)) {
43523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43525 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43527 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43528 if (!SWIG_IsOK(ecode2
)) {
43529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43531 arg2
= static_cast< bool >(val2
);
43534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43535 (arg1
)->SetTextCtrlGrowable(arg2
);
43536 wxPyEndAllowThreads(__tstate
);
43537 if (PyErr_Occurred()) SWIG_fail
;
43539 resultobj
= SWIG_Py_Void();
43546 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43547 PyObject
*resultobj
= 0;
43548 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43552 PyObject
*swig_obj
[1] ;
43554 if (!args
) SWIG_fail
;
43555 swig_obj
[0] = args
;
43556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43557 if (!SWIG_IsOK(res1
)) {
43558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43560 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43563 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
43564 wxPyEndAllowThreads(__tstate
);
43565 if (PyErr_Occurred()) SWIG_fail
;
43568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43576 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43577 PyObject
*resultobj
= 0;
43578 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43579 bool arg2
= (bool) true ;
43584 PyObject
* obj0
= 0 ;
43585 PyObject
* obj1
= 0 ;
43586 char * kwnames
[] = {
43587 (char *) "self",(char *) "grow", NULL
43590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43592 if (!SWIG_IsOK(res1
)) {
43593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43595 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43597 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43598 if (!SWIG_IsOK(ecode2
)) {
43599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43601 arg2
= static_cast< bool >(val2
);
43604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43605 (arg1
)->SetPickerCtrlGrowable(arg2
);
43606 wxPyEndAllowThreads(__tstate
);
43607 if (PyErr_Occurred()) SWIG_fail
;
43609 resultobj
= SWIG_Py_Void();
43616 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43617 PyObject
*resultobj
= 0;
43618 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43622 PyObject
*swig_obj
[1] ;
43624 if (!args
) SWIG_fail
;
43625 swig_obj
[0] = args
;
43626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43627 if (!SWIG_IsOK(res1
)) {
43628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43630 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43633 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
43634 wxPyEndAllowThreads(__tstate
);
43635 if (PyErr_Occurred()) SWIG_fail
;
43638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43646 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43647 PyObject
*resultobj
= 0;
43648 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43649 wxTextCtrl
*result
= 0 ;
43652 PyObject
*swig_obj
[1] ;
43654 if (!args
) SWIG_fail
;
43655 swig_obj
[0] = args
;
43656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43657 if (!SWIG_IsOK(res1
)) {
43658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43660 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43663 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
43664 wxPyEndAllowThreads(__tstate
);
43665 if (PyErr_Occurred()) SWIG_fail
;
43668 resultobj
= wxPyMake_wxObject(result
, 0);
43676 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43677 PyObject
*resultobj
= 0;
43678 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43679 wxControl
*result
= 0 ;
43682 PyObject
*swig_obj
[1] ;
43684 if (!args
) SWIG_fail
;
43685 swig_obj
[0] = args
;
43686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43687 if (!SWIG_IsOK(res1
)) {
43688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43690 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43693 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
43694 wxPyEndAllowThreads(__tstate
);
43695 if (PyErr_Occurred()) SWIG_fail
;
43698 resultobj
= wxPyMake_wxObject(result
, 0);
43706 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43708 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43709 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
43710 return SWIG_Py_Void();
43713 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
43714 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
43719 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
43720 PyObject
*pyobj
= 0;
43724 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43726 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43733 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43734 PyObject
*resultobj
= 0;
43735 wxWindow
*arg1
= (wxWindow
*) 0 ;
43736 int arg2
= (int) -1 ;
43737 wxColour
const &arg3_defvalue
= *wxBLACK
;
43738 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
43739 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43740 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43741 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43742 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43743 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
43744 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43745 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43746 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
43747 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43748 wxColourPickerCtrl
*result
= 0 ;
43760 bool temp8
= false ;
43761 PyObject
* obj0
= 0 ;
43762 PyObject
* obj1
= 0 ;
43763 PyObject
* obj2
= 0 ;
43764 PyObject
* obj3
= 0 ;
43765 PyObject
* obj4
= 0 ;
43766 PyObject
* obj5
= 0 ;
43767 PyObject
* obj6
= 0 ;
43768 PyObject
* obj7
= 0 ;
43769 char * kwnames
[] = {
43770 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43775 if (!SWIG_IsOK(res1
)) {
43776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43778 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43780 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43781 if (!SWIG_IsOK(ecode2
)) {
43782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43784 arg2
= static_cast< int >(val2
);
43789 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43795 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43801 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43805 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43806 if (!SWIG_IsOK(ecode6
)) {
43807 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43809 arg6
= static_cast< long >(val6
);
43812 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43813 if (!SWIG_IsOK(res7
)) {
43814 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43817 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43819 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43823 arg8
= wxString_in_helper(obj7
);
43824 if (arg8
== NULL
) SWIG_fail
;
43829 if (!wxPyCheckForApp()) SWIG_fail
;
43830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43831 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43832 wxPyEndAllowThreads(__tstate
);
43833 if (PyErr_Occurred()) SWIG_fail
;
43835 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43850 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43851 PyObject
*resultobj
= 0;
43852 wxColourPickerCtrl
*result
= 0 ;
43854 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
43856 if (!wxPyCheckForApp()) SWIG_fail
;
43857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43858 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
43859 wxPyEndAllowThreads(__tstate
);
43860 if (PyErr_Occurred()) SWIG_fail
;
43862 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43869 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43870 PyObject
*resultobj
= 0;
43871 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43872 wxWindow
*arg2
= (wxWindow
*) 0 ;
43874 wxColour
const &arg4_defvalue
= *wxBLACK
;
43875 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
43876 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43877 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43878 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43879 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43880 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
43881 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43882 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43883 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
43884 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43899 bool temp9
= false ;
43900 PyObject
* obj0
= 0 ;
43901 PyObject
* obj1
= 0 ;
43902 PyObject
* obj2
= 0 ;
43903 PyObject
* obj3
= 0 ;
43904 PyObject
* obj4
= 0 ;
43905 PyObject
* obj5
= 0 ;
43906 PyObject
* obj6
= 0 ;
43907 PyObject
* obj7
= 0 ;
43908 PyObject
* obj8
= 0 ;
43909 char * kwnames
[] = {
43910 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43915 if (!SWIG_IsOK(res1
)) {
43916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43918 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43919 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43920 if (!SWIG_IsOK(res2
)) {
43921 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43923 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43924 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43925 if (!SWIG_IsOK(ecode3
)) {
43926 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43928 arg3
= static_cast< int >(val3
);
43932 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
43938 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43944 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43948 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43949 if (!SWIG_IsOK(ecode7
)) {
43950 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43952 arg7
= static_cast< long >(val7
);
43955 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43956 if (!SWIG_IsOK(res8
)) {
43957 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43960 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43962 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43966 arg9
= wxString_in_helper(obj8
);
43967 if (arg9
== NULL
) SWIG_fail
;
43972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43973 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43974 wxPyEndAllowThreads(__tstate
);
43975 if (PyErr_Occurred()) SWIG_fail
;
43978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43994 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43995 PyObject
*resultobj
= 0;
43996 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
44000 PyObject
*swig_obj
[1] ;
44002 if (!args
) SWIG_fail
;
44003 swig_obj
[0] = args
;
44004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
44005 if (!SWIG_IsOK(res1
)) {
44006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
44008 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
44010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44011 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
44012 wxPyEndAllowThreads(__tstate
);
44013 if (PyErr_Occurred()) SWIG_fail
;
44015 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
44022 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44023 PyObject
*resultobj
= 0;
44024 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
44025 wxColour
*arg2
= 0 ;
44029 PyObject
* obj0
= 0 ;
44030 PyObject
* obj1
= 0 ;
44031 char * kwnames
[] = {
44032 (char *) "self",(char *) "col", NULL
44035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
44037 if (!SWIG_IsOK(res1
)) {
44038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
44040 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
44043 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
44046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44047 (arg1
)->SetColour((wxColour
const &)*arg2
);
44048 wxPyEndAllowThreads(__tstate
);
44049 if (PyErr_Occurred()) SWIG_fail
;
44051 resultobj
= SWIG_Py_Void();
44058 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44060 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44061 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
44062 return SWIG_Py_Void();
44065 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44066 return SWIG_Python_InitShadowInstance(args
);
44069 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44070 PyObject
*resultobj
= 0;
44071 wxObject
*arg1
= (wxObject
*) 0 ;
44073 wxColour
*arg3
= 0 ;
44074 wxColourPickerEvent
*result
= 0 ;
44080 PyObject
* obj0
= 0 ;
44081 PyObject
* obj1
= 0 ;
44082 PyObject
* obj2
= 0 ;
44083 char * kwnames
[] = {
44084 (char *) "generator",(char *) "id",(char *) "col", NULL
44087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
44088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
44089 if (!SWIG_IsOK(res1
)) {
44090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
44092 arg1
= reinterpret_cast< wxObject
* >(argp1
);
44093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44094 if (!SWIG_IsOK(ecode2
)) {
44095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
44097 arg2
= static_cast< int >(val2
);
44100 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
44103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44104 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
44105 wxPyEndAllowThreads(__tstate
);
44106 if (PyErr_Occurred()) SWIG_fail
;
44108 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
44115 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44116 PyObject
*resultobj
= 0;
44117 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
44121 PyObject
*swig_obj
[1] ;
44123 if (!args
) SWIG_fail
;
44124 swig_obj
[0] = args
;
44125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
44126 if (!SWIG_IsOK(res1
)) {
44127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
44129 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
44131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44132 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
44133 wxPyEndAllowThreads(__tstate
);
44134 if (PyErr_Occurred()) SWIG_fail
;
44136 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
44143 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44144 PyObject
*resultobj
= 0;
44145 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
44146 wxColour
*arg2
= 0 ;
44150 PyObject
* obj0
= 0 ;
44151 PyObject
* obj1
= 0 ;
44152 char * kwnames
[] = {
44153 (char *) "self",(char *) "c", NULL
44156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
44158 if (!SWIG_IsOK(res1
)) {
44159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
44161 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
44164 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
44167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44168 (arg1
)->SetColour((wxColour
const &)*arg2
);
44169 wxPyEndAllowThreads(__tstate
);
44170 if (PyErr_Occurred()) SWIG_fail
;
44172 resultobj
= SWIG_Py_Void();
44179 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44182 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
44183 return SWIG_Py_Void();
44186 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44187 return SWIG_Python_InitShadowInstance(args
);
44190 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
44191 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
44196 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
44197 PyObject
*pyobj
= 0;
44201 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
44203 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
44210 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
44211 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
44216 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
44217 PyObject
*pyobj
= 0;
44221 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
44223 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
44230 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
44231 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
44236 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
44237 PyObject
*pyobj
= 0;
44241 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
44243 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
44250 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
44251 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
44256 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
44257 PyObject
*pyobj
= 0;
44261 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
44263 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
44270 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
44271 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
44276 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
44277 PyObject
*pyobj
= 0;
44281 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
44283 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
44290 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44291 PyObject
*resultobj
= 0;
44292 wxWindow
*arg1
= (wxWindow
*) 0 ;
44293 int arg2
= (int) -1 ;
44294 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44295 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44296 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
44297 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44298 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
44299 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44300 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44301 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44302 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44303 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44304 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
44305 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44306 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44307 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
44308 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44309 wxFilePickerCtrl
*result
= 0 ;
44314 bool temp3
= false ;
44315 bool temp4
= false ;
44316 bool temp5
= false ;
44323 bool temp10
= false ;
44324 PyObject
* obj0
= 0 ;
44325 PyObject
* obj1
= 0 ;
44326 PyObject
* obj2
= 0 ;
44327 PyObject
* obj3
= 0 ;
44328 PyObject
* obj4
= 0 ;
44329 PyObject
* obj5
= 0 ;
44330 PyObject
* obj6
= 0 ;
44331 PyObject
* obj7
= 0 ;
44332 PyObject
* obj8
= 0 ;
44333 PyObject
* obj9
= 0 ;
44334 char * kwnames
[] = {
44335 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44340 if (!SWIG_IsOK(res1
)) {
44341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44343 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44346 if (!SWIG_IsOK(ecode2
)) {
44347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
44349 arg2
= static_cast< int >(val2
);
44353 arg3
= wxString_in_helper(obj2
);
44354 if (arg3
== NULL
) SWIG_fail
;
44360 arg4
= wxString_in_helper(obj3
);
44361 if (arg4
== NULL
) SWIG_fail
;
44367 arg5
= wxString_in_helper(obj4
);
44368 if (arg5
== NULL
) SWIG_fail
;
44375 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44381 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44385 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44386 if (!SWIG_IsOK(ecode8
)) {
44387 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
44389 arg8
= static_cast< long >(val8
);
44392 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44393 if (!SWIG_IsOK(res9
)) {
44394 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
44397 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
44399 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44403 arg10
= wxString_in_helper(obj9
);
44404 if (arg10
== NULL
) SWIG_fail
;
44409 if (!wxPyCheckForApp()) SWIG_fail
;
44410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44411 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
);
44412 wxPyEndAllowThreads(__tstate
);
44413 if (PyErr_Occurred()) SWIG_fail
;
44415 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
44454 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44455 PyObject
*resultobj
= 0;
44456 wxFilePickerCtrl
*result
= 0 ;
44458 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
44460 if (!wxPyCheckForApp()) SWIG_fail
;
44461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44462 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
44463 wxPyEndAllowThreads(__tstate
);
44464 if (PyErr_Occurred()) SWIG_fail
;
44466 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
44473 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44474 PyObject
*resultobj
= 0;
44475 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44476 wxWindow
*arg2
= (wxWindow
*) 0 ;
44477 int arg3
= (int) -1 ;
44478 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44479 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44480 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
44481 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44482 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
44483 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
44484 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
44485 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
44486 wxSize
const &arg8_defvalue
= wxDefaultSize
;
44487 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
44488 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
44489 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
44490 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
44491 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
44492 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
44500 bool temp4
= false ;
44501 bool temp5
= false ;
44502 bool temp6
= false ;
44509 bool temp11
= false ;
44510 PyObject
* obj0
= 0 ;
44511 PyObject
* obj1
= 0 ;
44512 PyObject
* obj2
= 0 ;
44513 PyObject
* obj3
= 0 ;
44514 PyObject
* obj4
= 0 ;
44515 PyObject
* obj5
= 0 ;
44516 PyObject
* obj6
= 0 ;
44517 PyObject
* obj7
= 0 ;
44518 PyObject
* obj8
= 0 ;
44519 PyObject
* obj9
= 0 ;
44520 PyObject
* obj10
= 0 ;
44521 char * kwnames
[] = {
44522 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
44526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44527 if (!SWIG_IsOK(res1
)) {
44528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44530 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44531 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44532 if (!SWIG_IsOK(res2
)) {
44533 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44535 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44537 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44538 if (!SWIG_IsOK(ecode3
)) {
44539 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44541 arg3
= static_cast< int >(val3
);
44545 arg4
= wxString_in_helper(obj3
);
44546 if (arg4
== NULL
) SWIG_fail
;
44552 arg5
= wxString_in_helper(obj4
);
44553 if (arg5
== NULL
) SWIG_fail
;
44559 arg6
= wxString_in_helper(obj5
);
44560 if (arg6
== NULL
) SWIG_fail
;
44567 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
44573 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
44577 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
44578 if (!SWIG_IsOK(ecode9
)) {
44579 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
44581 arg9
= static_cast< long >(val9
);
44584 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
44585 if (!SWIG_IsOK(res10
)) {
44586 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44589 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44591 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
44595 arg11
= wxString_in_helper(obj10
);
44596 if (arg11
== NULL
) SWIG_fail
;
44601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44602 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
);
44603 wxPyEndAllowThreads(__tstate
);
44604 if (PyErr_Occurred()) SWIG_fail
;
44607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44647 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44648 PyObject
*resultobj
= 0;
44649 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44653 PyObject
*swig_obj
[1] ;
44655 if (!args
) SWIG_fail
;
44656 swig_obj
[0] = args
;
44657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44658 if (!SWIG_IsOK(res1
)) {
44659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44661 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44664 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
44665 wxPyEndAllowThreads(__tstate
);
44666 if (PyErr_Occurred()) SWIG_fail
;
44670 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44672 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44681 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44682 PyObject
*resultobj
= 0;
44683 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44684 wxString
*arg2
= 0 ;
44687 bool temp2
= false ;
44688 PyObject
* obj0
= 0 ;
44689 PyObject
* obj1
= 0 ;
44690 char * kwnames
[] = {
44691 (char *) "self",(char *) "str", NULL
44694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44696 if (!SWIG_IsOK(res1
)) {
44697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44699 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44701 arg2
= wxString_in_helper(obj1
);
44702 if (arg2
== NULL
) SWIG_fail
;
44706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44707 (arg1
)->SetPath((wxString
const &)*arg2
);
44708 wxPyEndAllowThreads(__tstate
);
44709 if (PyErr_Occurred()) SWIG_fail
;
44711 resultobj
= SWIG_Py_Void();
44726 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44727 PyObject
*resultobj
= 0;
44728 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44729 wxString
*arg2
= 0 ;
44733 bool temp2
= false ;
44734 PyObject
* obj0
= 0 ;
44735 PyObject
* obj1
= 0 ;
44736 char * kwnames
[] = {
44737 (char *) "self",(char *) "path", NULL
44740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44742 if (!SWIG_IsOK(res1
)) {
44743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44745 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44747 arg2
= wxString_in_helper(obj1
);
44748 if (arg2
== NULL
) SWIG_fail
;
44752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44753 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44754 wxPyEndAllowThreads(__tstate
);
44755 if (PyErr_Occurred()) SWIG_fail
;
44758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44774 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44775 PyObject
*resultobj
= 0;
44776 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44780 PyObject
*swig_obj
[1] ;
44782 if (!args
) SWIG_fail
;
44783 swig_obj
[0] = args
;
44784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44785 if (!SWIG_IsOK(res1
)) {
44786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44788 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44791 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
44792 wxPyEndAllowThreads(__tstate
);
44793 if (PyErr_Occurred()) SWIG_fail
;
44797 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44799 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44808 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44810 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44811 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
44812 return SWIG_Py_Void();
44815 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44816 return SWIG_Python_InitShadowInstance(args
);
44819 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44820 PyObject
*resultobj
= 0;
44821 wxWindow
*arg1
= (wxWindow
*) 0 ;
44822 int arg2
= (int) -1 ;
44823 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44824 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44825 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
44826 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44827 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44828 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44829 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44830 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44831 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
44832 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44833 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44834 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
44835 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44836 wxDirPickerCtrl
*result
= 0 ;
44841 bool temp3
= false ;
44842 bool temp4
= false ;
44849 bool temp9
= false ;
44850 PyObject
* obj0
= 0 ;
44851 PyObject
* obj1
= 0 ;
44852 PyObject
* obj2
= 0 ;
44853 PyObject
* obj3
= 0 ;
44854 PyObject
* obj4
= 0 ;
44855 PyObject
* obj5
= 0 ;
44856 PyObject
* obj6
= 0 ;
44857 PyObject
* obj7
= 0 ;
44858 PyObject
* obj8
= 0 ;
44859 char * kwnames
[] = {
44860 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44865 if (!SWIG_IsOK(res1
)) {
44866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44868 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44871 if (!SWIG_IsOK(ecode2
)) {
44872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44874 arg2
= static_cast< int >(val2
);
44878 arg3
= wxString_in_helper(obj2
);
44879 if (arg3
== NULL
) SWIG_fail
;
44885 arg4
= wxString_in_helper(obj3
);
44886 if (arg4
== NULL
) SWIG_fail
;
44893 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44899 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44903 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44904 if (!SWIG_IsOK(ecode7
)) {
44905 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44907 arg7
= static_cast< long >(val7
);
44910 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44911 if (!SWIG_IsOK(res8
)) {
44912 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44915 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44917 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44921 arg9
= wxString_in_helper(obj8
);
44922 if (arg9
== NULL
) SWIG_fail
;
44927 if (!wxPyCheckForApp()) SWIG_fail
;
44928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44929 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
);
44930 wxPyEndAllowThreads(__tstate
);
44931 if (PyErr_Occurred()) SWIG_fail
;
44933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44964 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44965 PyObject
*resultobj
= 0;
44966 wxDirPickerCtrl
*result
= 0 ;
44968 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44970 if (!wxPyCheckForApp()) SWIG_fail
;
44971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44972 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44973 wxPyEndAllowThreads(__tstate
);
44974 if (PyErr_Occurred()) SWIG_fail
;
44976 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44983 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44984 PyObject
*resultobj
= 0;
44985 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44986 wxWindow
*arg2
= (wxWindow
*) 0 ;
44987 int arg3
= (int) -1 ;
44988 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44989 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44990 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44991 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44992 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44993 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44994 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44995 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44996 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44997 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44998 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44999 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
45000 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
45008 bool temp4
= false ;
45009 bool temp5
= false ;
45016 bool temp10
= false ;
45017 PyObject
* obj0
= 0 ;
45018 PyObject
* obj1
= 0 ;
45019 PyObject
* obj2
= 0 ;
45020 PyObject
* obj3
= 0 ;
45021 PyObject
* obj4
= 0 ;
45022 PyObject
* obj5
= 0 ;
45023 PyObject
* obj6
= 0 ;
45024 PyObject
* obj7
= 0 ;
45025 PyObject
* obj8
= 0 ;
45026 PyObject
* obj9
= 0 ;
45027 char * kwnames
[] = {
45028 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
45032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
45033 if (!SWIG_IsOK(res1
)) {
45034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
45036 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
45037 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45038 if (!SWIG_IsOK(res2
)) {
45039 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45041 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45043 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45044 if (!SWIG_IsOK(ecode3
)) {
45045 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45047 arg3
= static_cast< int >(val3
);
45051 arg4
= wxString_in_helper(obj3
);
45052 if (arg4
== NULL
) SWIG_fail
;
45058 arg5
= wxString_in_helper(obj4
);
45059 if (arg5
== NULL
) SWIG_fail
;
45066 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
45072 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
45076 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
45077 if (!SWIG_IsOK(ecode8
)) {
45078 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
45080 arg8
= static_cast< long >(val8
);
45083 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
45084 if (!SWIG_IsOK(res9
)) {
45085 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
45088 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
45090 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
45094 arg10
= wxString_in_helper(obj9
);
45095 if (arg10
== NULL
) SWIG_fail
;
45100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45101 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
);
45102 wxPyEndAllowThreads(__tstate
);
45103 if (PyErr_Occurred()) SWIG_fail
;
45106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45138 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45139 PyObject
*resultobj
= 0;
45140 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
45144 PyObject
*swig_obj
[1] ;
45146 if (!args
) SWIG_fail
;
45147 swig_obj
[0] = args
;
45148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
45149 if (!SWIG_IsOK(res1
)) {
45150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
45152 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
45154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45155 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
45156 wxPyEndAllowThreads(__tstate
);
45157 if (PyErr_Occurred()) SWIG_fail
;
45161 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
45163 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
45172 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45173 PyObject
*resultobj
= 0;
45174 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
45175 wxString
*arg2
= 0 ;
45178 bool temp2
= false ;
45179 PyObject
* obj0
= 0 ;
45180 PyObject
* obj1
= 0 ;
45181 char * kwnames
[] = {
45182 (char *) "self",(char *) "str", NULL
45185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
45187 if (!SWIG_IsOK(res1
)) {
45188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
45190 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
45192 arg2
= wxString_in_helper(obj1
);
45193 if (arg2
== NULL
) SWIG_fail
;
45197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45198 (arg1
)->SetPath((wxString
const &)*arg2
);
45199 wxPyEndAllowThreads(__tstate
);
45200 if (PyErr_Occurred()) SWIG_fail
;
45202 resultobj
= SWIG_Py_Void();
45217 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45218 PyObject
*resultobj
= 0;
45219 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
45220 wxString
*arg2
= 0 ;
45224 bool temp2
= false ;
45225 PyObject
* obj0
= 0 ;
45226 PyObject
* obj1
= 0 ;
45227 char * kwnames
[] = {
45228 (char *) "self",(char *) "path", NULL
45231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
45233 if (!SWIG_IsOK(res1
)) {
45234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
45236 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
45238 arg2
= wxString_in_helper(obj1
);
45239 if (arg2
== NULL
) SWIG_fail
;
45243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45244 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
45245 wxPyEndAllowThreads(__tstate
);
45246 if (PyErr_Occurred()) SWIG_fail
;
45249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45265 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45266 PyObject
*resultobj
= 0;
45267 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
45271 PyObject
*swig_obj
[1] ;
45273 if (!args
) SWIG_fail
;
45274 swig_obj
[0] = args
;
45275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
45276 if (!SWIG_IsOK(res1
)) {
45277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
45279 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
45281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45282 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
45283 wxPyEndAllowThreads(__tstate
);
45284 if (PyErr_Occurred()) SWIG_fail
;
45288 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
45290 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
45299 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45301 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45302 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
45303 return SWIG_Py_Void();
45306 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45307 return SWIG_Python_InitShadowInstance(args
);
45310 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45311 PyObject
*resultobj
= 0;
45313 wxObject
*arg2
= (wxObject
*) 0 ;
45315 wxString
*arg4
= 0 ;
45316 wxFileDirPickerEvent
*result
= 0 ;
45323 bool temp4
= false ;
45324 PyObject
* obj0
= 0 ;
45325 PyObject
* obj1
= 0 ;
45326 PyObject
* obj2
= 0 ;
45327 PyObject
* obj3
= 0 ;
45328 char * kwnames
[] = {
45329 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
45332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
45333 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
45334 if (!SWIG_IsOK(ecode1
)) {
45335 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
45337 arg1
= static_cast< wxEventType
>(val1
);
45338 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
45339 if (!SWIG_IsOK(res2
)) {
45340 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
45342 arg2
= reinterpret_cast< wxObject
* >(argp2
);
45343 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45344 if (!SWIG_IsOK(ecode3
)) {
45345 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
45347 arg3
= static_cast< int >(val3
);
45349 arg4
= wxString_in_helper(obj3
);
45350 if (arg4
== NULL
) SWIG_fail
;
45354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45355 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
45356 wxPyEndAllowThreads(__tstate
);
45357 if (PyErr_Occurred()) SWIG_fail
;
45359 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
45374 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45375 PyObject
*resultobj
= 0;
45376 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
45380 PyObject
*swig_obj
[1] ;
45382 if (!args
) SWIG_fail
;
45383 swig_obj
[0] = args
;
45384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
45385 if (!SWIG_IsOK(res1
)) {
45386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
45388 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
45390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45391 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
45392 wxPyEndAllowThreads(__tstate
);
45393 if (PyErr_Occurred()) SWIG_fail
;
45397 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
45399 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
45408 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45409 PyObject
*resultobj
= 0;
45410 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
45411 wxString
*arg2
= 0 ;
45414 bool temp2
= false ;
45415 PyObject
* obj0
= 0 ;
45416 PyObject
* obj1
= 0 ;
45417 char * kwnames
[] = {
45418 (char *) "self",(char *) "p", NULL
45421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
45423 if (!SWIG_IsOK(res1
)) {
45424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
45426 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
45428 arg2
= wxString_in_helper(obj1
);
45429 if (arg2
== NULL
) SWIG_fail
;
45433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45434 (arg1
)->SetPath((wxString
const &)*arg2
);
45435 wxPyEndAllowThreads(__tstate
);
45436 if (PyErr_Occurred()) SWIG_fail
;
45438 resultobj
= SWIG_Py_Void();
45453 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45455 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45456 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
45457 return SWIG_Py_Void();
45460 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45461 return SWIG_Python_InitShadowInstance(args
);
45464 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
45465 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
45470 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
45471 PyObject
*pyobj
= 0;
45475 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
45477 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
45484 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45485 PyObject
*resultobj
= 0;
45486 wxWindow
*arg1
= (wxWindow
*) 0 ;
45487 int arg2
= (int) -1 ;
45488 wxFont
const &arg3_defvalue
= wxNullFont
;
45489 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
45490 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45491 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45492 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45493 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45494 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
45495 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45496 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45497 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
45498 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45499 wxFontPickerCtrl
*result
= 0 ;
45512 bool temp8
= false ;
45513 PyObject
* obj0
= 0 ;
45514 PyObject
* obj1
= 0 ;
45515 PyObject
* obj2
= 0 ;
45516 PyObject
* obj3
= 0 ;
45517 PyObject
* obj4
= 0 ;
45518 PyObject
* obj5
= 0 ;
45519 PyObject
* obj6
= 0 ;
45520 PyObject
* obj7
= 0 ;
45521 char * kwnames
[] = {
45522 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45527 if (!SWIG_IsOK(res1
)) {
45528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
45530 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45532 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45533 if (!SWIG_IsOK(ecode2
)) {
45534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
45536 arg2
= static_cast< int >(val2
);
45539 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45540 if (!SWIG_IsOK(res3
)) {
45541 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45544 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45546 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45551 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45557 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45561 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45562 if (!SWIG_IsOK(ecode6
)) {
45563 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
45565 arg6
= static_cast< long >(val6
);
45568 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45569 if (!SWIG_IsOK(res7
)) {
45570 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45573 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45575 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45579 arg8
= wxString_in_helper(obj7
);
45580 if (arg8
== NULL
) SWIG_fail
;
45585 if (!wxPyCheckForApp()) SWIG_fail
;
45586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45587 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45588 wxPyEndAllowThreads(__tstate
);
45589 if (PyErr_Occurred()) SWIG_fail
;
45591 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
45606 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45607 PyObject
*resultobj
= 0;
45608 wxFontPickerCtrl
*result
= 0 ;
45610 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
45612 if (!wxPyCheckForApp()) SWIG_fail
;
45613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45614 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
45615 wxPyEndAllowThreads(__tstate
);
45616 if (PyErr_Occurred()) SWIG_fail
;
45618 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
45625 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45626 PyObject
*resultobj
= 0;
45627 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45628 wxWindow
*arg2
= (wxWindow
*) 0 ;
45629 int arg3
= (int) -1 ;
45630 wxFont
const &arg4_defvalue
= wxNullFont
;
45631 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
45632 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45633 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45634 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45635 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45636 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
45637 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45638 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45639 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
45640 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45656 bool temp9
= false ;
45657 PyObject
* obj0
= 0 ;
45658 PyObject
* obj1
= 0 ;
45659 PyObject
* obj2
= 0 ;
45660 PyObject
* obj3
= 0 ;
45661 PyObject
* obj4
= 0 ;
45662 PyObject
* obj5
= 0 ;
45663 PyObject
* obj6
= 0 ;
45664 PyObject
* obj7
= 0 ;
45665 PyObject
* obj8
= 0 ;
45666 char * kwnames
[] = {
45667 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45672 if (!SWIG_IsOK(res1
)) {
45673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45675 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45676 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45677 if (!SWIG_IsOK(res2
)) {
45678 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45680 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45682 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45683 if (!SWIG_IsOK(ecode3
)) {
45684 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45686 arg3
= static_cast< int >(val3
);
45689 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
45690 if (!SWIG_IsOK(res4
)) {
45691 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45694 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45696 arg4
= reinterpret_cast< wxFont
* >(argp4
);
45701 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45707 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45711 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45712 if (!SWIG_IsOK(ecode7
)) {
45713 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45715 arg7
= static_cast< long >(val7
);
45718 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45719 if (!SWIG_IsOK(res8
)) {
45720 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45723 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45725 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45729 arg9
= wxString_in_helper(obj8
);
45730 if (arg9
== NULL
) SWIG_fail
;
45735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45736 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45737 wxPyEndAllowThreads(__tstate
);
45738 if (PyErr_Occurred()) SWIG_fail
;
45741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45757 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45758 PyObject
*resultobj
= 0;
45759 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45763 PyObject
*swig_obj
[1] ;
45765 if (!args
) SWIG_fail
;
45766 swig_obj
[0] = args
;
45767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45768 if (!SWIG_IsOK(res1
)) {
45769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45771 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45774 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
45775 wxPyEndAllowThreads(__tstate
);
45776 if (PyErr_Occurred()) SWIG_fail
;
45778 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45785 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45786 PyObject
*resultobj
= 0;
45787 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45793 PyObject
* obj0
= 0 ;
45794 PyObject
* obj1
= 0 ;
45795 char * kwnames
[] = {
45796 (char *) "self",(char *) "f", NULL
45799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45801 if (!SWIG_IsOK(res1
)) {
45802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45804 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45805 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45806 if (!SWIG_IsOK(res2
)) {
45807 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45810 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45812 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45815 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
45816 wxPyEndAllowThreads(__tstate
);
45817 if (PyErr_Occurred()) SWIG_fail
;
45819 resultobj
= SWIG_Py_Void();
45826 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45827 PyObject
*resultobj
= 0;
45828 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45829 unsigned int arg2
;
45832 unsigned int val2
;
45834 PyObject
* obj0
= 0 ;
45835 PyObject
* obj1
= 0 ;
45836 char * kwnames
[] = {
45837 (char *) "self",(char *) "max", NULL
45840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45842 if (!SWIG_IsOK(res1
)) {
45843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45845 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45846 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45847 if (!SWIG_IsOK(ecode2
)) {
45848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45850 arg2
= static_cast< unsigned int >(val2
);
45852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45853 (arg1
)->SetMaxPointSize(arg2
);
45854 wxPyEndAllowThreads(__tstate
);
45855 if (PyErr_Occurred()) SWIG_fail
;
45857 resultobj
= SWIG_Py_Void();
45864 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45865 PyObject
*resultobj
= 0;
45866 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45867 unsigned int result
;
45870 PyObject
*swig_obj
[1] ;
45872 if (!args
) SWIG_fail
;
45873 swig_obj
[0] = args
;
45874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45875 if (!SWIG_IsOK(res1
)) {
45876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45878 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45881 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
45882 wxPyEndAllowThreads(__tstate
);
45883 if (PyErr_Occurred()) SWIG_fail
;
45885 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
45892 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45894 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45895 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
45896 return SWIG_Py_Void();
45899 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45900 return SWIG_Python_InitShadowInstance(args
);
45903 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45904 PyObject
*resultobj
= 0;
45905 wxObject
*arg1
= (wxObject
*) 0 ;
45908 wxFontPickerEvent
*result
= 0 ;
45915 PyObject
* obj0
= 0 ;
45916 PyObject
* obj1
= 0 ;
45917 PyObject
* obj2
= 0 ;
45918 char * kwnames
[] = {
45919 (char *) "generator",(char *) "id",(char *) "f", NULL
45922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45924 if (!SWIG_IsOK(res1
)) {
45925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45927 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45928 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45929 if (!SWIG_IsOK(ecode2
)) {
45930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45932 arg2
= static_cast< int >(val2
);
45933 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45934 if (!SWIG_IsOK(res3
)) {
45935 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45938 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45940 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45943 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45944 wxPyEndAllowThreads(__tstate
);
45945 if (PyErr_Occurred()) SWIG_fail
;
45947 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45954 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45955 PyObject
*resultobj
= 0;
45956 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45960 PyObject
*swig_obj
[1] ;
45962 if (!args
) SWIG_fail
;
45963 swig_obj
[0] = args
;
45964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45965 if (!SWIG_IsOK(res1
)) {
45966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45968 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45971 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45972 wxPyEndAllowThreads(__tstate
);
45973 if (PyErr_Occurred()) SWIG_fail
;
45975 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45982 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45983 PyObject
*resultobj
= 0;
45984 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45990 PyObject
* obj0
= 0 ;
45991 PyObject
* obj1
= 0 ;
45992 char * kwnames
[] = {
45993 (char *) "self",(char *) "c", NULL
45996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45998 if (!SWIG_IsOK(res1
)) {
45999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
46001 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
46002 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
46003 if (!SWIG_IsOK(res2
)) {
46004 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
46007 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
46009 arg2
= reinterpret_cast< wxFont
* >(argp2
);
46011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46012 (arg1
)->SetFont((wxFont
const &)*arg2
);
46013 wxPyEndAllowThreads(__tstate
);
46014 if (PyErr_Occurred()) SWIG_fail
;
46016 resultobj
= SWIG_Py_Void();
46023 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46025 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46026 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
46027 return SWIG_Py_Void();
46030 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46031 return SWIG_Python_InitShadowInstance(args
);
46034 SWIGINTERN
int CollapsiblePaneNameStr_set(PyObject
*) {
46035 SWIG_Error(SWIG_AttributeError
,"Variable CollapsiblePaneNameStr is read-only.");
46040 SWIGINTERN PyObject
*CollapsiblePaneNameStr_get(void) {
46041 PyObject
*pyobj
= 0;
46045 pyobj
= PyUnicode_FromWideChar((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
46047 pyobj
= PyString_FromStringAndSize((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
46054 SWIGINTERN PyObject
*_wrap_new_CollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46055 PyObject
*resultobj
= 0;
46056 wxWindow
*arg1
= (wxWindow
*) 0 ;
46057 int arg2
= (int) -1 ;
46058 wxString
const &arg3_defvalue
= wxPyEmptyString
;
46059 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
46060 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
46061 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
46062 wxSize
const &arg5_defvalue
= wxDefaultSize
;
46063 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
46064 long arg6
= (long) wxCP_DEFAULT_STYLE
;
46065 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
46066 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
46067 wxString
const &arg8_defvalue
= wxPyCollapsiblePaneNameStr
;
46068 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
46069 wxCollapsiblePane
*result
= 0 ;
46074 bool temp3
= false ;
46081 bool temp8
= false ;
46082 PyObject
* obj0
= 0 ;
46083 PyObject
* obj1
= 0 ;
46084 PyObject
* obj2
= 0 ;
46085 PyObject
* obj3
= 0 ;
46086 PyObject
* obj4
= 0 ;
46087 PyObject
* obj5
= 0 ;
46088 PyObject
* obj6
= 0 ;
46089 PyObject
* obj7
= 0 ;
46090 char * kwnames
[] = {
46091 (char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
46094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CollapsiblePane",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
46095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46096 if (!SWIG_IsOK(res1
)) {
46097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePane" "', expected argument " "1"" of type '" "wxWindow *""'");
46099 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
46101 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46102 if (!SWIG_IsOK(ecode2
)) {
46103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePane" "', expected argument " "2"" of type '" "int""'");
46105 arg2
= static_cast< int >(val2
);
46109 arg3
= wxString_in_helper(obj2
);
46110 if (arg3
== NULL
) SWIG_fail
;
46117 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
46123 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
46127 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
46128 if (!SWIG_IsOK(ecode6
)) {
46129 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CollapsiblePane" "', expected argument " "6"" of type '" "long""'");
46131 arg6
= static_cast< long >(val6
);
46134 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
46135 if (!SWIG_IsOK(res7
)) {
46136 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
46139 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
46141 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
46145 arg8
= wxString_in_helper(obj7
);
46146 if (arg8
== NULL
) SWIG_fail
;
46151 if (!wxPyCheckForApp()) SWIG_fail
;
46152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46153 result
= (wxCollapsiblePane
*)new wxCollapsiblePane(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
46154 wxPyEndAllowThreads(__tstate
);
46155 if (PyErr_Occurred()) SWIG_fail
;
46157 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_NEW
| 0 );
46180 SWIGINTERN PyObject
*_wrap_new_PreCollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46181 PyObject
*resultobj
= 0;
46182 wxCollapsiblePane
*result
= 0 ;
46184 if (!SWIG_Python_UnpackTuple(args
,"new_PreCollapsiblePane",0,0,0)) SWIG_fail
;
46186 if (!wxPyCheckForApp()) SWIG_fail
;
46187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46188 result
= (wxCollapsiblePane
*)new wxCollapsiblePane();
46189 wxPyEndAllowThreads(__tstate
);
46190 if (PyErr_Occurred()) SWIG_fail
;
46192 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_OWN
| 0 );
46199 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46200 PyObject
*resultobj
= 0;
46201 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46202 wxWindow
*arg2
= (wxWindow
*) 0 ;
46203 int arg3
= (int) -1 ;
46204 wxString
const &arg4_defvalue
= wxPyEmptyString
;
46205 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
46206 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
46207 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
46208 wxSize
const &arg6_defvalue
= wxDefaultSize
;
46209 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
46210 long arg7
= (long) wxCP_DEFAULT_STYLE
;
46211 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
46212 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
46213 wxString
const &arg9_defvalue
= wxPyCollapsiblePaneNameStr
;
46214 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
46222 bool temp4
= false ;
46229 bool temp9
= false ;
46230 PyObject
* obj0
= 0 ;
46231 PyObject
* obj1
= 0 ;
46232 PyObject
* obj2
= 0 ;
46233 PyObject
* obj3
= 0 ;
46234 PyObject
* obj4
= 0 ;
46235 PyObject
* obj5
= 0 ;
46236 PyObject
* obj6
= 0 ;
46237 PyObject
* obj7
= 0 ;
46238 PyObject
* obj8
= 0 ;
46239 char * kwnames
[] = {
46240 (char *) "self",(char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
46243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CollapsiblePane_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
46244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46245 if (!SWIG_IsOK(res1
)) {
46246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Create" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
46248 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46249 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46250 if (!SWIG_IsOK(res2
)) {
46251 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CollapsiblePane_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
46253 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46255 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46256 if (!SWIG_IsOK(ecode3
)) {
46257 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CollapsiblePane_Create" "', expected argument " "3"" of type '" "int""'");
46259 arg3
= static_cast< int >(val3
);
46263 arg4
= wxString_in_helper(obj3
);
46264 if (arg4
== NULL
) SWIG_fail
;
46271 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
46277 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
46281 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
46282 if (!SWIG_IsOK(ecode7
)) {
46283 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CollapsiblePane_Create" "', expected argument " "7"" of type '" "long""'");
46285 arg7
= static_cast< long >(val7
);
46288 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
46289 if (!SWIG_IsOK(res8
)) {
46290 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46293 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46295 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
46299 arg9
= wxString_in_helper(obj8
);
46300 if (arg9
== NULL
) SWIG_fail
;
46305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46306 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
46307 wxPyEndAllowThreads(__tstate
);
46308 if (PyErr_Occurred()) SWIG_fail
;
46311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46335 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46336 PyObject
*resultobj
= 0;
46337 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46338 bool arg2
= (bool) true ;
46343 PyObject
* obj0
= 0 ;
46344 PyObject
* obj1
= 0 ;
46345 char * kwnames
[] = {
46346 (char *) "self",(char *) "collapse", NULL
46349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CollapsiblePane_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46351 if (!SWIG_IsOK(res1
)) {
46352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
46354 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46356 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46357 if (!SWIG_IsOK(ecode2
)) {
46358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "2"" of type '" "bool""'");
46360 arg2
= static_cast< bool >(val2
);
46363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46364 (arg1
)->Collapse(arg2
);
46365 wxPyEndAllowThreads(__tstate
);
46366 if (PyErr_Occurred()) SWIG_fail
;
46368 resultobj
= SWIG_Py_Void();
46375 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46376 PyObject
*resultobj
= 0;
46377 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46380 PyObject
*swig_obj
[1] ;
46382 if (!args
) SWIG_fail
;
46383 swig_obj
[0] = args
;
46384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46385 if (!SWIG_IsOK(res1
)) {
46386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Expand" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
46388 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46392 wxPyEndAllowThreads(__tstate
);
46393 if (PyErr_Occurred()) SWIG_fail
;
46395 resultobj
= SWIG_Py_Void();
46402 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46403 PyObject
*resultobj
= 0;
46404 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46408 PyObject
*swig_obj
[1] ;
46410 if (!args
) SWIG_fail
;
46411 swig_obj
[0] = args
;
46412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46413 if (!SWIG_IsOK(res1
)) {
46414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46416 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46419 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsCollapsed();
46420 wxPyEndAllowThreads(__tstate
);
46421 if (PyErr_Occurred()) SWIG_fail
;
46424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46432 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46433 PyObject
*resultobj
= 0;
46434 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46438 PyObject
*swig_obj
[1] ;
46440 if (!args
) SWIG_fail
;
46441 swig_obj
[0] = args
;
46442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46443 if (!SWIG_IsOK(res1
)) {
46444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsExpanded" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46446 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46449 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsExpanded();
46450 wxPyEndAllowThreads(__tstate
);
46451 if (PyErr_Occurred()) SWIG_fail
;
46454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46462 SWIGINTERN PyObject
*_wrap_CollapsiblePane_GetPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46463 PyObject
*resultobj
= 0;
46464 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46465 wxWindow
*result
= 0 ;
46468 PyObject
*swig_obj
[1] ;
46470 if (!args
) SWIG_fail
;
46471 swig_obj
[0] = args
;
46472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46473 if (!SWIG_IsOK(res1
)) {
46474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_GetPane" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46476 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46479 result
= (wxWindow
*)((wxCollapsiblePane
const *)arg1
)->GetPane();
46480 wxPyEndAllowThreads(__tstate
);
46481 if (PyErr_Occurred()) SWIG_fail
;
46484 resultobj
= wxPyMake_wxObject(result
, 0);
46492 SWIGINTERN PyObject
*CollapsiblePane_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46494 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46495 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePane
, SWIG_NewClientData(obj
));
46496 return SWIG_Py_Void();
46499 SWIGINTERN PyObject
*CollapsiblePane_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46500 return SWIG_Python_InitShadowInstance(args
);
46503 SWIGINTERN PyObject
*_wrap_new_CollapsiblePaneEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46504 PyObject
*resultobj
= 0;
46505 wxObject
*arg1
= (wxObject
*) 0 ;
46508 wxCollapsiblePaneEvent
*result
= 0 ;
46515 PyObject
* obj0
= 0 ;
46516 PyObject
* obj1
= 0 ;
46517 PyObject
* obj2
= 0 ;
46518 char * kwnames
[] = {
46519 (char *) "generator",(char *) "id",(char *) "collapsed", NULL
46522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_CollapsiblePaneEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
46523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
46524 if (!SWIG_IsOK(res1
)) {
46525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "1"" of type '" "wxObject *""'");
46527 arg1
= reinterpret_cast< wxObject
* >(argp1
);
46528 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46529 if (!SWIG_IsOK(ecode2
)) {
46530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "2"" of type '" "int""'");
46532 arg2
= static_cast< int >(val2
);
46533 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
46534 if (!SWIG_IsOK(ecode3
)) {
46535 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "3"" of type '" "bool""'");
46537 arg3
= static_cast< bool >(val3
);
46539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46540 result
= (wxCollapsiblePaneEvent
*)new wxCollapsiblePaneEvent(arg1
,arg2
,arg3
);
46541 wxPyEndAllowThreads(__tstate
);
46542 if (PyErr_Occurred()) SWIG_fail
;
46544 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_POINTER_NEW
| 0 );
46551 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_GetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46552 PyObject
*resultobj
= 0;
46553 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
46557 PyObject
*swig_obj
[1] ;
46559 if (!args
) SWIG_fail
;
46560 swig_obj
[0] = args
;
46561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
46562 if (!SWIG_IsOK(res1
)) {
46563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_GetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent const *""'");
46565 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
46567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46568 result
= (bool)((wxCollapsiblePaneEvent
const *)arg1
)->GetCollapsed();
46569 wxPyEndAllowThreads(__tstate
);
46570 if (PyErr_Occurred()) SWIG_fail
;
46573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46581 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_SetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46582 PyObject
*resultobj
= 0;
46583 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
46589 PyObject
* obj0
= 0 ;
46590 PyObject
* obj1
= 0 ;
46591 char * kwnames
[] = {
46592 (char *) "self",(char *) "c", NULL
46595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CollapsiblePaneEvent_SetCollapsed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
46597 if (!SWIG_IsOK(res1
)) {
46598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent *""'");
46600 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
46601 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46602 if (!SWIG_IsOK(ecode2
)) {
46603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "2"" of type '" "bool""'");
46605 arg2
= static_cast< bool >(val2
);
46607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46608 (arg1
)->SetCollapsed(arg2
);
46609 wxPyEndAllowThreads(__tstate
);
46610 if (PyErr_Occurred()) SWIG_fail
;
46612 resultobj
= SWIG_Py_Void();
46619 SWIGINTERN PyObject
*CollapsiblePaneEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46621 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46622 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_NewClientData(obj
));
46623 return SWIG_Py_Void();
46626 SWIGINTERN PyObject
*CollapsiblePaneEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46627 return SWIG_Python_InitShadowInstance(args
);
46630 SWIGINTERN
int SearchCtrlNameStr_set(PyObject
*) {
46631 SWIG_Error(SWIG_AttributeError
,"Variable SearchCtrlNameStr is read-only.");
46636 SWIGINTERN PyObject
*SearchCtrlNameStr_get(void) {
46637 PyObject
*pyobj
= 0;
46641 pyobj
= PyUnicode_FromWideChar((&wxPySearchCtrlNameStr
)->c_str(), (&wxPySearchCtrlNameStr
)->Len());
46643 pyobj
= PyString_FromStringAndSize((&wxPySearchCtrlNameStr
)->c_str(), (&wxPySearchCtrlNameStr
)->Len());
46650 SWIGINTERN PyObject
*_wrap_new_SearchCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46651 PyObject
*resultobj
= 0;
46652 wxWindow
*arg1
= (wxWindow
*) 0 ;
46653 int arg2
= (int) -1 ;
46654 wxString
const &arg3_defvalue
= wxEmptyString
;
46655 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
46656 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
46657 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
46658 wxSize
const &arg5_defvalue
= wxDefaultSize
;
46659 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
46660 long arg6
= (long) 0 ;
46661 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
46662 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
46663 wxString
const &arg8_defvalue
= wxPySearchCtrlNameStr
;
46664 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
46665 wxSearchCtrl
*result
= 0 ;
46670 bool temp3
= false ;
46677 bool temp8
= false ;
46678 PyObject
* obj0
= 0 ;
46679 PyObject
* obj1
= 0 ;
46680 PyObject
* obj2
= 0 ;
46681 PyObject
* obj3
= 0 ;
46682 PyObject
* obj4
= 0 ;
46683 PyObject
* obj5
= 0 ;
46684 PyObject
* obj6
= 0 ;
46685 PyObject
* obj7
= 0 ;
46686 char * kwnames
[] = {
46687 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_SearchCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
46691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46692 if (!SWIG_IsOK(res1
)) {
46693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SearchCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
46695 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
46697 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46698 if (!SWIG_IsOK(ecode2
)) {
46699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SearchCtrl" "', expected argument " "2"" of type '" "int""'");
46701 arg2
= static_cast< int >(val2
);
46705 arg3
= wxString_in_helper(obj2
);
46706 if (arg3
== NULL
) SWIG_fail
;
46713 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
46719 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
46723 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
46724 if (!SWIG_IsOK(ecode6
)) {
46725 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SearchCtrl" "', expected argument " "6"" of type '" "long""'");
46727 arg6
= static_cast< long >(val6
);
46730 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
46731 if (!SWIG_IsOK(res7
)) {
46732 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46735 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46737 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
46741 arg8
= wxString_in_helper(obj7
);
46742 if (arg8
== NULL
) SWIG_fail
;
46747 if (!wxPyCheckForApp()) SWIG_fail
;
46748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46749 result
= (wxSearchCtrl
*)new wxSearchCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
46750 wxPyEndAllowThreads(__tstate
);
46751 if (PyErr_Occurred()) SWIG_fail
;
46753 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSearchCtrl
, SWIG_POINTER_NEW
| 0 );
46776 SWIGINTERN PyObject
*_wrap_new_PreSearchCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46777 PyObject
*resultobj
= 0;
46778 wxSearchCtrl
*result
= 0 ;
46780 if (!SWIG_Python_UnpackTuple(args
,"new_PreSearchCtrl",0,0,0)) SWIG_fail
;
46782 if (!wxPyCheckForApp()) SWIG_fail
;
46783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46784 result
= (wxSearchCtrl
*)new wxSearchCtrl();
46785 wxPyEndAllowThreads(__tstate
);
46786 if (PyErr_Occurred()) SWIG_fail
;
46788 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSearchCtrl
, SWIG_POINTER_OWN
| 0 );
46795 SWIGINTERN PyObject
*_wrap_SearchCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46796 PyObject
*resultobj
= 0;
46797 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46798 wxWindow
*arg2
= (wxWindow
*) 0 ;
46799 int arg3
= (int) -1 ;
46800 wxString
const &arg4_defvalue
= wxEmptyString
;
46801 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
46802 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
46803 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
46804 wxSize
const &arg6_defvalue
= wxDefaultSize
;
46805 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
46806 long arg7
= (long) 0 ;
46807 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
46808 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
46809 wxString
const &arg9_defvalue
= wxPySearchCtrlNameStr
;
46810 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
46818 bool temp4
= false ;
46825 bool temp9
= false ;
46826 PyObject
* obj0
= 0 ;
46827 PyObject
* obj1
= 0 ;
46828 PyObject
* obj2
= 0 ;
46829 PyObject
* obj3
= 0 ;
46830 PyObject
* obj4
= 0 ;
46831 PyObject
* obj5
= 0 ;
46832 PyObject
* obj6
= 0 ;
46833 PyObject
* obj7
= 0 ;
46834 PyObject
* obj8
= 0 ;
46835 char * kwnames
[] = {
46836 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:SearchCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
46840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46841 if (!SWIG_IsOK(res1
)) {
46842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_Create" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46844 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46845 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46846 if (!SWIG_IsOK(res2
)) {
46847 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
46849 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46851 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46852 if (!SWIG_IsOK(ecode3
)) {
46853 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SearchCtrl_Create" "', expected argument " "3"" of type '" "int""'");
46855 arg3
= static_cast< int >(val3
);
46859 arg4
= wxString_in_helper(obj3
);
46860 if (arg4
== NULL
) SWIG_fail
;
46867 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
46873 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
46877 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
46878 if (!SWIG_IsOK(ecode7
)) {
46879 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SearchCtrl_Create" "', expected argument " "7"" of type '" "long""'");
46881 arg7
= static_cast< long >(val7
);
46884 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
46885 if (!SWIG_IsOK(res8
)) {
46886 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46889 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46891 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
46895 arg9
= wxString_in_helper(obj8
);
46896 if (arg9
== NULL
) SWIG_fail
;
46901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46902 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
46903 wxPyEndAllowThreads(__tstate
);
46904 if (PyErr_Occurred()) SWIG_fail
;
46907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46931 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46932 PyObject
*resultobj
= 0;
46933 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46934 wxMenu
*arg2
= (wxMenu
*) 0 ;
46939 PyObject
* obj0
= 0 ;
46940 PyObject
* obj1
= 0 ;
46941 char * kwnames
[] = {
46942 (char *) "self",(char *) "menu", NULL
46945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46947 if (!SWIG_IsOK(res1
)) {
46948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46950 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46951 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
46952 if (!SWIG_IsOK(res2
)) {
46953 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
46955 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
46957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46958 (arg1
)->SetMenu(arg2
);
46959 wxPyEndAllowThreads(__tstate
);
46960 if (PyErr_Occurred()) SWIG_fail
;
46962 resultobj
= SWIG_Py_Void();
46969 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46970 PyObject
*resultobj
= 0;
46971 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46972 wxMenu
*result
= 0 ;
46975 PyObject
*swig_obj
[1] ;
46977 if (!args
) SWIG_fail
;
46978 swig_obj
[0] = args
;
46979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46980 if (!SWIG_IsOK(res1
)) {
46981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46983 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46986 result
= (wxMenu
*)(arg1
)->GetMenu();
46987 wxPyEndAllowThreads(__tstate
);
46988 if (PyErr_Occurred()) SWIG_fail
;
46991 resultobj
= wxPyMake_wxObject(result
, 0);
46999 SWIGINTERN PyObject
*_wrap_SearchCtrl_ShowSearchButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47000 PyObject
*resultobj
= 0;
47001 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
47007 PyObject
* obj0
= 0 ;
47008 PyObject
* obj1
= 0 ;
47009 char * kwnames
[] = {
47010 (char *) "self",(char *) "show", NULL
47013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_ShowSearchButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
47015 if (!SWIG_IsOK(res1
)) {
47016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
47018 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
47019 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
47020 if (!SWIG_IsOK(ecode2
)) {
47021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "2"" of type '" "bool""'");
47023 arg2
= static_cast< bool >(val2
);
47025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47026 (arg1
)->ShowSearchButton(arg2
);
47027 wxPyEndAllowThreads(__tstate
);
47028 if (PyErr_Occurred()) SWIG_fail
;
47030 resultobj
= SWIG_Py_Void();
47037 SWIGINTERN PyObject
*_wrap_SearchCtrl_IsSearchButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47038 PyObject
*resultobj
= 0;
47039 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
47043 PyObject
*swig_obj
[1] ;
47045 if (!args
) SWIG_fail
;
47046 swig_obj
[0] = args
;
47047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
47048 if (!SWIG_IsOK(res1
)) {
47049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_IsSearchButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
47051 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
47053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47054 result
= (bool)((wxSearchCtrl
const *)arg1
)->IsSearchButtonVisible();
47055 wxPyEndAllowThreads(__tstate
);
47056 if (PyErr_Occurred()) SWIG_fail
;
47059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
47067 SWIGINTERN PyObject
*_wrap_SearchCtrl_ShowCancelButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47068 PyObject
*resultobj
= 0;
47069 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
47075 PyObject
* obj0
= 0 ;
47076 PyObject
* obj1
= 0 ;
47077 char * kwnames
[] = {
47078 (char *) "self",(char *) "show", NULL
47081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_ShowCancelButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
47083 if (!SWIG_IsOK(res1
)) {
47084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
47086 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
47087 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
47088 if (!SWIG_IsOK(ecode2
)) {
47089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "2"" of type '" "bool""'");
47091 arg2
= static_cast< bool >(val2
);
47093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47094 (arg1
)->ShowCancelButton(arg2
);
47095 wxPyEndAllowThreads(__tstate
);
47096 if (PyErr_Occurred()) SWIG_fail
;
47098 resultobj
= SWIG_Py_Void();
47105 SWIGINTERN PyObject
*_wrap_SearchCtrl_IsCancelButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47106 PyObject
*resultobj
= 0;
47107 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
47111 PyObject
*swig_obj
[1] ;
47113 if (!args
) SWIG_fail
;
47114 swig_obj
[0] = args
;
47115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
47116 if (!SWIG_IsOK(res1
)) {
47117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_IsCancelButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
47119 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
47121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47122 result
= (bool)((wxSearchCtrl
const *)arg1
)->IsCancelButtonVisible();
47123 wxPyEndAllowThreads(__tstate
);
47124 if (PyErr_Occurred()) SWIG_fail
;
47127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
47135 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetDescriptiveText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47136 PyObject
*resultobj
= 0;
47137 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
47138 wxString
*arg2
= 0 ;
47141 bool temp2
= false ;
47142 PyObject
* obj0
= 0 ;
47143 PyObject
* obj1
= 0 ;
47144 char * kwnames
[] = {
47145 (char *) "self",(char *) "text", NULL
47148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetDescriptiveText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
47150 if (!SWIG_IsOK(res1
)) {
47151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetDescriptiveText" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
47153 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
47155 arg2
= wxString_in_helper(obj1
);
47156 if (arg2
== NULL
) SWIG_fail
;
47160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47161 (arg1
)->SetDescriptiveText((wxString
const &)*arg2
);
47162 wxPyEndAllowThreads(__tstate
);
47163 if (PyErr_Occurred()) SWIG_fail
;
47165 resultobj
= SWIG_Py_Void();
47180 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetDescriptiveText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47181 PyObject
*resultobj
= 0;
47182 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
47186 PyObject
*swig_obj
[1] ;
47188 if (!args
) SWIG_fail
;
47189 swig_obj
[0] = args
;
47190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
47191 if (!SWIG_IsOK(res1
)) {
47192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetDescriptiveText" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
47194 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
47196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47197 result
= ((wxSearchCtrl
const *)arg1
)->GetDescriptiveText();
47198 wxPyEndAllowThreads(__tstate
);
47199 if (PyErr_Occurred()) SWIG_fail
;
47203 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
47205 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
47214 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47215 PyObject
*resultobj
= 0;
47216 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
47217 wxBitmap
*arg2
= 0 ;
47222 PyObject
* obj0
= 0 ;
47223 PyObject
* obj1
= 0 ;
47224 char * kwnames
[] = {
47225 (char *) "self",(char *) "bitmap", NULL
47228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
47230 if (!SWIG_IsOK(res1
)) {
47231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
47233 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
47234 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
47235 if (!SWIG_IsOK(res2
)) {
47236 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47239 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47241 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
47243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47244 (arg1
)->SetSearchBitmap((wxBitmap
const &)*arg2
);
47245 wxPyEndAllowThreads(__tstate
);
47246 if (PyErr_Occurred()) SWIG_fail
;
47248 resultobj
= SWIG_Py_Void();
47255 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchMenuBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47256 PyObject
*resultobj
= 0;
47257 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
47258 wxBitmap
*arg2
= 0 ;
47263 PyObject
* obj0
= 0 ;
47264 PyObject
* obj1
= 0 ;
47265 char * kwnames
[] = {
47266 (char *) "self",(char *) "bitmap", NULL
47269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchMenuBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
47271 if (!SWIG_IsOK(res1
)) {
47272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
47274 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
47275 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
47276 if (!SWIG_IsOK(res2
)) {
47277 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47280 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47282 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
47284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47285 (arg1
)->SetSearchMenuBitmap((wxBitmap
const &)*arg2
);
47286 wxPyEndAllowThreads(__tstate
);
47287 if (PyErr_Occurred()) SWIG_fail
;
47289 resultobj
= SWIG_Py_Void();
47296 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetCancelBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47297 PyObject
*resultobj
= 0;
47298 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
47299 wxBitmap
*arg2
= 0 ;
47304 PyObject
* obj0
= 0 ;
47305 PyObject
* obj1
= 0 ;
47306 char * kwnames
[] = {
47307 (char *) "self",(char *) "bitmap", NULL
47310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetCancelBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
47312 if (!SWIG_IsOK(res1
)) {
47313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
47315 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
47316 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
47317 if (!SWIG_IsOK(res2
)) {
47318 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47321 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47323 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
47325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47326 (arg1
)->SetCancelBitmap((wxBitmap
const &)*arg2
);
47327 wxPyEndAllowThreads(__tstate
);
47328 if (PyErr_Occurred()) SWIG_fail
;
47330 resultobj
= SWIG_Py_Void();
47337 SWIGINTERN PyObject
*SearchCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47339 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47340 SWIG_TypeNewClientData(SWIGTYPE_p_wxSearchCtrl
, SWIG_NewClientData(obj
));
47341 return SWIG_Py_Void();
47344 SWIGINTERN PyObject
*SearchCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47345 return SWIG_Python_InitShadowInstance(args
);
47348 static PyMethodDef SwigMethods
[] = {
47349 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47350 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
47351 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47352 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
47353 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
47354 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47355 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
47356 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
47357 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47358 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
47359 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47360 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
47361 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
47362 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
47363 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
47364 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
47365 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47366 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47367 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47368 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47369 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47370 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47371 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
47372 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
47373 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
47374 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
47375 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47376 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
47377 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47378 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
47379 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
47380 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47381 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
47382 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47383 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
47384 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
47385 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47386 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
47387 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
47388 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47389 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
47390 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47391 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
47392 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47393 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
47394 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
47395 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47396 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
47397 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47398 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
47399 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47400 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
47401 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
47402 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
47403 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47404 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
47405 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
47406 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47407 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47408 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
47409 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
47410 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47411 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47412 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
47413 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47414 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
47415 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
47416 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
47417 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
47418 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
47419 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
47420 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
47421 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
47422 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
47423 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47424 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
47425 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
47426 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47427 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
47428 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47429 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47430 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
47431 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47432 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
47433 { (char *)"Gauge_Pulse", (PyCFunction
)_wrap_Gauge_Pulse
, METH_O
, NULL
},
47434 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
47435 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47436 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
47437 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47438 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
47439 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47440 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
47441 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
47442 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47443 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
47444 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47445 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47446 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
47447 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
47448 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47449 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
47450 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47451 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
47452 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
47453 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47454 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
47455 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
47456 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47457 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
47458 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47459 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47460 { (char *)"StaticText_IsEllipsized", (PyCFunction
)_wrap_StaticText_IsEllipsized
, METH_O
, NULL
},
47461 { (char *)"StaticText_RemoveMarkup", (PyCFunction
) _wrap_StaticText_RemoveMarkup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47462 { (char *)"StaticText_EscapeMarkup", (PyCFunction
) _wrap_StaticText_EscapeMarkup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47463 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47464 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
47465 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
47466 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47467 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
47468 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47469 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
47470 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47471 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47472 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47473 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
47474 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
47475 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47476 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
47477 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47478 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47479 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47480 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47481 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47482 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47483 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47484 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47485 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47486 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47487 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
47488 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47489 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47490 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47491 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47492 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
47493 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47494 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47495 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47496 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47497 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47498 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
47499 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
47500 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47501 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
47502 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47503 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47504 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47505 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
47506 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
47507 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
47508 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47509 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
47510 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
47511 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47512 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47513 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47514 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47515 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47516 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47517 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47518 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47519 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47520 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
47521 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
47522 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
47523 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
47524 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
47525 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
47526 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
47527 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47528 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
47529 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
47530 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
47531 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
47532 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
47533 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
47534 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
47535 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
47536 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
47537 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
47538 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47539 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
47540 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
47541 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47542 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
47543 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47544 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
47545 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47546 { (char *)"TextCtrl_IsEmpty", (PyCFunction
)_wrap_TextCtrl_IsEmpty
, METH_O
, NULL
},
47547 { (char *)"TextCtrl_ChangeValue", (PyCFunction
) _wrap_TextCtrl_ChangeValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47548 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47549 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47550 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47551 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
47552 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
47553 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
47554 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
47555 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
47556 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
47557 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
47558 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
47559 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47560 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47561 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47562 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47563 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
47564 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
47565 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47566 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47567 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47568 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47569 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47570 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47571 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47572 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47573 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
47574 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47575 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47576 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47577 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47578 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47579 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
47580 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
47581 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
47582 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
47583 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
47584 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
47585 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
47586 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
47587 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
47588 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
47589 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47590 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
47591 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
47592 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
47593 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47594 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
47595 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47596 { (char *)"TextCtrl_MacCheckSpelling", (PyCFunction
) _wrap_TextCtrl_MacCheckSpelling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47597 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction
)_wrap_TextCtrl_SendTextUpdatedEvent
, METH_O
, NULL
},
47598 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47599 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
)_wrap_TextCtrl_HideNativeCaret
, METH_O
, NULL
},
47600 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47601 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47602 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47603 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
47604 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
47605 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47606 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
47607 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
47608 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
47609 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
47610 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
47611 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47612 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
47613 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47614 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
47615 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
47616 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
47617 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
47618 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
47619 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47620 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47621 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
47622 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
47623 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47624 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
47625 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47626 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
47627 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
47628 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
47629 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47630 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47631 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47632 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47633 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
47634 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47635 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
47636 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
47637 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47638 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
47639 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47640 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
47641 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47642 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47643 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47644 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
47645 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
47646 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47647 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47648 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
47649 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
47650 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47651 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
47652 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47653 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
47654 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
47655 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47656 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
47657 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47658 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47659 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
47660 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
47661 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47662 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
47663 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47664 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47665 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47666 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47667 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47668 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47669 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47670 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
47671 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
47672 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47673 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47674 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47675 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47676 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47677 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47678 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
47679 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
47680 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47681 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
47682 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47683 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
47684 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47685 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47686 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
47687 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
47688 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47689 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
47690 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47691 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
47692 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47693 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47694 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
47695 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
47696 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47697 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47698 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47699 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47700 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
47701 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
47702 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47703 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
47704 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47705 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
47706 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
47707 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47708 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
47709 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
47710 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
47711 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47712 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47713 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
47714 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
47715 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47716 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
47717 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47718 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47719 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
47720 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47721 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
47722 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
47723 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
47724 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47725 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
47726 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
47727 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47728 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47729 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47730 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47731 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
47732 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47733 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47734 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47735 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47736 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
47737 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47738 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
47739 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47740 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
47741 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47742 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
47743 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
47744 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47745 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47746 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
47747 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47748 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47749 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47750 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction
) _wrap_BookCtrlBase_ChangeSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47751 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47752 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47753 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47754 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
47755 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47756 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
47757 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47758 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
47759 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47760 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
47761 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
47762 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47763 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
47764 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47765 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
47766 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47767 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47768 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
47769 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47770 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction
) _wrap_Notebook_SendPageChangingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47771 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction
) _wrap_Notebook_SendPageChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47772 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
47773 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
47774 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47775 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
47776 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
47777 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47778 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
47779 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47780 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
47781 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
47782 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
47783 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47784 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
47785 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
47786 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47787 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
47788 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47789 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
47790 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
47791 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
47792 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47793 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
47794 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
47795 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47796 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
47797 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47798 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47799 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47800 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47801 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47802 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47803 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47804 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
47805 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
47806 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
47807 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47808 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
47809 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
47810 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47811 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
47812 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47813 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
47814 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
47815 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
47816 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
47817 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47818 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
47819 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
47820 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
47821 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
47822 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
47823 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
47824 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
47825 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
47826 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
47827 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
47828 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
47829 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
47830 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
47831 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
47832 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
47833 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
47834 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
47835 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
47836 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
47837 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47838 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
47839 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47840 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47841 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47842 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47843 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47844 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47845 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
47846 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47847 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
47848 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47849 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
47850 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47851 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47852 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47853 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47854 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47855 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47856 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47857 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
47858 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47859 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47860 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47861 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47862 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
47863 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
47864 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47865 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47866 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47867 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47868 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47869 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47870 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47871 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47872 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47873 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47874 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47875 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47876 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47877 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47878 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47879 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47880 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
47881 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
47882 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
47883 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
47884 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47885 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47886 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
47887 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
47888 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47889 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
47890 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
47891 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47892 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47893 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
47894 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
47895 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
47896 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47897 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
47898 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47899 { (char *)"ToolBar_SetToolNormalBitmap", (PyCFunction
) _wrap_ToolBar_SetToolNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47900 { (char *)"ToolBar_SetToolDisabledBitmap", (PyCFunction
) _wrap_ToolBar_SetToolDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47901 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47902 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
47903 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
47904 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47905 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
47906 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47907 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47908 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47909 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
47910 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
47911 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
47912 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
47913 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
47914 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
47915 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47916 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
47917 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
47918 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
47919 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
47920 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
47921 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
47922 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
47923 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47924 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47925 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47926 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47927 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47928 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47929 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47930 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47931 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47932 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47933 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47934 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47935 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47936 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
47937 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
47938 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
47939 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
47940 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
47941 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
47942 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
47943 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
47944 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
47945 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
47946 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
47947 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
47948 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
47949 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
47950 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
47951 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
47952 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
47953 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
47954 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
47955 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
47956 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
47957 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
47958 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
47959 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
47960 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
47961 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
47962 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
47963 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
47964 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
47965 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
47966 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
47967 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
47968 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
47969 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
47970 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
47971 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
47972 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47973 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
47974 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
47975 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
47976 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
47977 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
47978 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
47979 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
47980 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
47981 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
47982 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
47983 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
47984 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
47985 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
47986 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
47987 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
47988 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
47989 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
47990 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
47991 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
47992 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
47993 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
47994 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
47995 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
47996 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
47997 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47998 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
47999 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
48000 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48001 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
48002 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48003 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48004 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48005 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48006 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48007 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48008 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
48009 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
48010 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
48011 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48012 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48013 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48014 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48015 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48016 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48017 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48018 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48019 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48020 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48021 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48022 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48023 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48024 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48025 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
48026 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
48027 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
48028 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
48029 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
48030 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48031 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
48032 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48033 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48034 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48035 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48036 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48037 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
48038 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
48039 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48040 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48041 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48042 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48043 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
48044 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48045 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
48046 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
48047 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48048 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48049 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48050 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48051 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48052 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48053 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48054 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48055 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48056 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48057 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48058 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48059 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48060 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48061 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48062 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48063 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48064 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48065 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48066 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48067 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48068 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48069 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48070 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
48071 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48072 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
48073 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
48074 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48075 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
48076 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48077 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48078 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48079 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
48080 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48081 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
48082 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48083 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48084 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48085 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
48086 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
48087 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
48088 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
48089 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
48090 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48091 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48092 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
48093 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
48094 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
48095 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
48096 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48097 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
48098 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
48099 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48100 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
48101 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48102 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
48103 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
48104 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
48105 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
48106 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
48107 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48108 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
48109 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48110 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
48111 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48112 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
48113 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
48114 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48115 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
48116 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48117 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
48118 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48119 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48120 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
48121 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
48122 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
48123 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48124 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
48125 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48126 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48127 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
48128 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
48129 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48130 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
48131 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48132 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
48133 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
48134 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48135 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48136 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48137 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48138 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48139 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48140 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48141 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48142 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48143 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48144 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48145 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48146 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48147 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48148 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48149 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48150 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48151 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48152 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48153 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48154 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48155 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48156 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48157 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48158 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48159 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48160 { (char *)"TreeCtrl_IsEmpty", (PyCFunction
)_wrap_TreeCtrl_IsEmpty
, METH_O
, NULL
},
48161 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48162 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
48163 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
48164 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
48165 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48166 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48167 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48168 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48169 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48170 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48171 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
48172 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48173 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48174 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48175 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48176 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48177 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48178 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48179 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48180 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48181 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
48182 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48183 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48184 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
48185 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48186 { (char *)"TreeCtrl_CollapseAllChildren", (PyCFunction
) _wrap_TreeCtrl_CollapseAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48187 { (char *)"TreeCtrl_CollapseAll", (PyCFunction
)_wrap_TreeCtrl_CollapseAll
, METH_O
, NULL
},
48188 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48189 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48190 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
48191 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48192 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
48193 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48194 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48195 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48196 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48197 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48198 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
48199 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48200 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48201 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48202 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48203 { (char *)"TreeCtrl_SetState", (PyCFunction
) _wrap_TreeCtrl_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48204 { (char *)"TreeCtrl_GetState", (PyCFunction
) _wrap_TreeCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48205 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48206 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48207 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
48208 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
48209 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
48210 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48211 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
48212 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48213 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48214 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48215 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
48216 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48217 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
48218 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
48219 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48220 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48221 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
48222 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
48223 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48224 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
48225 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48226 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
48227 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
48228 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
48229 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48230 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
48231 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
48232 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
48233 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
48234 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48235 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
48236 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48237 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48238 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
48239 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
48240 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48241 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
48242 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48243 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48244 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48245 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48246 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48247 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48248 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
48249 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
48250 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
48251 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
48252 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
48253 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
48254 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
48255 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
48256 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
48257 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48258 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
48259 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48260 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
48261 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48262 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
48263 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48264 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
48265 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48266 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
48267 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
48268 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48269 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
48270 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48271 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
48272 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
48273 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
48274 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48275 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
48276 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
48277 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
48278 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48279 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
48280 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48281 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48282 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48283 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48284 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48285 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48286 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
48287 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
48288 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
48289 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
48290 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
48291 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48292 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48293 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48294 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48295 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48296 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
48297 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48298 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48299 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48300 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
48301 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48302 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
48303 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
48304 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48305 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48306 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48307 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48308 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
48309 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
48310 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48311 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
48312 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48313 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48314 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
48315 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48316 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
48317 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
48318 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
48319 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
48320 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48321 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
48322 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48323 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
48324 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48325 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
48326 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48327 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
48328 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48329 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
48330 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48331 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48332 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
48333 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
48334 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
48335 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48336 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
48337 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48338 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
48339 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
48340 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48341 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48342 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
48343 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48344 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
48345 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48346 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetPickerCtrlProportion
, METH_O
, NULL
},
48347 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
48348 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48349 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
48350 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48351 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
48352 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
48353 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
48354 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
48355 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48356 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
48357 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48358 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
48359 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48360 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
48361 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
48362 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48363 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
48364 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48365 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
48366 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
48367 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48368 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
48369 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48370 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
48371 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48372 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48373 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
48374 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
48375 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
48376 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48377 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
48378 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48379 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
48380 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48381 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48382 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
48383 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
48384 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
48385 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48386 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
48387 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48388 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
48389 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
48390 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48391 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
48392 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48393 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
48394 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48395 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48396 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
48397 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
48398 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
48399 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48400 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
48401 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48402 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
48403 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
48404 { (char *)"new_CollapsiblePane", (PyCFunction
) _wrap_new_CollapsiblePane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48405 { (char *)"new_PreCollapsiblePane", (PyCFunction
)_wrap_new_PreCollapsiblePane
, METH_NOARGS
, NULL
},
48406 { (char *)"CollapsiblePane_Create", (PyCFunction
) _wrap_CollapsiblePane_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48407 { (char *)"CollapsiblePane_Collapse", (PyCFunction
) _wrap_CollapsiblePane_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48408 { (char *)"CollapsiblePane_Expand", (PyCFunction
)_wrap_CollapsiblePane_Expand
, METH_O
, NULL
},
48409 { (char *)"CollapsiblePane_IsCollapsed", (PyCFunction
)_wrap_CollapsiblePane_IsCollapsed
, METH_O
, NULL
},
48410 { (char *)"CollapsiblePane_IsExpanded", (PyCFunction
)_wrap_CollapsiblePane_IsExpanded
, METH_O
, NULL
},
48411 { (char *)"CollapsiblePane_GetPane", (PyCFunction
)_wrap_CollapsiblePane_GetPane
, METH_O
, NULL
},
48412 { (char *)"CollapsiblePane_swigregister", CollapsiblePane_swigregister
, METH_VARARGS
, NULL
},
48413 { (char *)"CollapsiblePane_swiginit", CollapsiblePane_swiginit
, METH_VARARGS
, NULL
},
48414 { (char *)"new_CollapsiblePaneEvent", (PyCFunction
) _wrap_new_CollapsiblePaneEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48415 { (char *)"CollapsiblePaneEvent_GetCollapsed", (PyCFunction
)_wrap_CollapsiblePaneEvent_GetCollapsed
, METH_O
, NULL
},
48416 { (char *)"CollapsiblePaneEvent_SetCollapsed", (PyCFunction
) _wrap_CollapsiblePaneEvent_SetCollapsed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48417 { (char *)"CollapsiblePaneEvent_swigregister", CollapsiblePaneEvent_swigregister
, METH_VARARGS
, NULL
},
48418 { (char *)"CollapsiblePaneEvent_swiginit", CollapsiblePaneEvent_swiginit
, METH_VARARGS
, NULL
},
48419 { (char *)"new_SearchCtrl", (PyCFunction
) _wrap_new_SearchCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48420 { (char *)"new_PreSearchCtrl", (PyCFunction
)_wrap_new_PreSearchCtrl
, METH_NOARGS
, NULL
},
48421 { (char *)"SearchCtrl_Create", (PyCFunction
) _wrap_SearchCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48422 { (char *)"SearchCtrl_SetMenu", (PyCFunction
) _wrap_SearchCtrl_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48423 { (char *)"SearchCtrl_GetMenu", (PyCFunction
)_wrap_SearchCtrl_GetMenu
, METH_O
, NULL
},
48424 { (char *)"SearchCtrl_ShowSearchButton", (PyCFunction
) _wrap_SearchCtrl_ShowSearchButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48425 { (char *)"SearchCtrl_IsSearchButtonVisible", (PyCFunction
)_wrap_SearchCtrl_IsSearchButtonVisible
, METH_O
, NULL
},
48426 { (char *)"SearchCtrl_ShowCancelButton", (PyCFunction
) _wrap_SearchCtrl_ShowCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48427 { (char *)"SearchCtrl_IsCancelButtonVisible", (PyCFunction
)_wrap_SearchCtrl_IsCancelButtonVisible
, METH_O
, NULL
},
48428 { (char *)"SearchCtrl_SetDescriptiveText", (PyCFunction
) _wrap_SearchCtrl_SetDescriptiveText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48429 { (char *)"SearchCtrl_GetDescriptiveText", (PyCFunction
)_wrap_SearchCtrl_GetDescriptiveText
, METH_O
, NULL
},
48430 { (char *)"SearchCtrl_SetSearchBitmap", (PyCFunction
) _wrap_SearchCtrl_SetSearchBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48431 { (char *)"SearchCtrl_SetSearchMenuBitmap", (PyCFunction
) _wrap_SearchCtrl_SetSearchMenuBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48432 { (char *)"SearchCtrl_SetCancelBitmap", (PyCFunction
) _wrap_SearchCtrl_SetCancelBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48433 { (char *)"SearchCtrl_swigregister", SearchCtrl_swigregister
, METH_VARARGS
, NULL
},
48434 { (char *)"SearchCtrl_swiginit", SearchCtrl_swiginit
, METH_VARARGS
, NULL
},
48435 { NULL
, NULL
, 0, NULL
}
48439 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
48441 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
48442 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
48444 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
48445 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
48447 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
48448 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
48450 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
48451 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
48453 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
48454 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
48456 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
48457 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48459 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
48460 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48462 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
48463 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
48465 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
48466 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48468 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
48469 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48471 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
48472 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48474 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
48475 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
48477 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
48478 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
48480 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
48481 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48483 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
48484 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48486 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
48487 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
48489 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
48490 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
48492 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
48493 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
48495 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
48496 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48498 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
48499 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48501 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
48502 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48504 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
48505 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48507 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
48508 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48510 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
48511 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
48513 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
48514 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
48516 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
48517 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48519 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
48520 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
48522 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
48523 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
48525 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
48526 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
48528 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
48529 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
48531 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
48532 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
48534 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
48535 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
48537 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
48538 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
48540 static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x
) {
48541 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48543 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
48544 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
48546 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
48547 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
48549 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
48550 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48552 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
48553 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48555 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
48556 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
48558 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
48559 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
48561 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
48562 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
48564 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
48565 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
48567 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
48568 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48570 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
48571 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
48573 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
48574 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
48576 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
48577 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48579 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
48580 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
48582 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
48583 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
48585 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
48586 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48588 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
48589 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48591 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
48592 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
48594 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
48595 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
48597 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
48598 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
48600 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
48601 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48603 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
48604 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48606 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
48607 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48609 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
48610 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48612 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
48613 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48615 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
48616 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
48618 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
48619 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48621 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
48622 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
48624 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
48625 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
48627 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
48628 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
48630 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
48631 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48633 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
48634 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
48636 static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x
) {
48637 return (void *)((wxControl
*) ((wxCollapsiblePane
*) x
));
48639 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
48640 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
48642 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
48643 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
48645 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
48646 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
48648 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
48649 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
48651 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
48652 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
48654 static void *_p_wxSearchCtrlTo_p_wxControl(void *x
) {
48655 return (void *)((wxControl
*) (wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48657 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
48658 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
48660 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
48661 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
48663 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
48664 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48666 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
48667 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
48669 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
48670 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
48672 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
48673 return (void *)((wxControl
*) ((wxPyControl
*) x
));
48675 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
48676 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
48678 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
48679 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
48681 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
48682 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
48684 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
48685 return (void *)((wxControl
*) ((wxGauge
*) x
));
48687 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
48688 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
48690 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
48691 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48693 static void *_p_wxListbookTo_p_wxControl(void *x
) {
48694 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
48696 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
48697 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
48699 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
48700 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
48702 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
48703 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
48705 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
48706 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
48708 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
48709 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
48711 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
48712 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
48714 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
48715 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48717 static void *_p_wxListViewTo_p_wxControl(void *x
) {
48718 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
48720 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
48721 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
48723 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
48724 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
48726 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
48727 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
48729 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
48730 return (void *)((wxControl
*) ((wxStaticText
*) x
));
48732 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
48733 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
48735 static void *_p_wxSliderTo_p_wxControl(void *x
) {
48736 return (void *)((wxControl
*) ((wxSlider
*) x
));
48738 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
48739 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
48741 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
48742 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
48744 static void *_p_wxButtonTo_p_wxControl(void *x
) {
48745 return (void *)((wxControl
*) ((wxButton
*) x
));
48747 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
48748 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
48750 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
48751 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48753 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
48754 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
48756 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
48757 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48759 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
48760 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48762 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
48763 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48765 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
48766 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48768 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
48769 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
48771 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
48772 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
48774 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
48775 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
48777 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
48778 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48780 static void *_p_wxSearchCtrlTo_p_wxTextCtrl(void *x
) {
48781 return (void *)((wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48783 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
48784 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48786 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
48787 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48789 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
48790 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
48792 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
48793 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48795 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
48796 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48798 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
48799 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48801 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
48802 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48804 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
48805 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48807 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
48808 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48810 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
48811 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48813 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
48814 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
48816 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
48817 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
48819 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
48820 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
48822 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
48823 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
48825 static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x
) {
48826 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
48828 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x
) {
48829 return (void *)((wxEvtHandler
*) ((wxEventBlocker
*) x
));
48831 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
48832 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
48834 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
48835 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
48837 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
48838 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
48840 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
48841 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
48843 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
48844 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48846 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
48847 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
48849 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
48850 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
48852 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
48853 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
48855 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
48856 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
48858 static void *_p_wxSearchCtrlTo_p_wxEvtHandler(void *x
) {
48859 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48861 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
48862 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
48864 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
48865 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48867 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
48868 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
48870 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
48871 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
48873 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
48874 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
48876 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
48877 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
48879 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
48880 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48882 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
48883 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
48885 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
48886 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
48888 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
48889 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
48891 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
48892 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
48894 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
48895 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
48897 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
48898 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
48900 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
48901 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
48903 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
48904 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48906 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
48907 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48909 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
48910 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
48912 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
48913 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
48915 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
48916 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
48918 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
48919 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
48921 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
48922 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48924 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
48925 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48927 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
48928 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48930 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
48931 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48933 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
48934 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
48936 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
48937 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48939 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
48940 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
48942 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
48943 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
48945 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
48946 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
48948 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
48949 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
48951 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
48952 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48954 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
48955 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
48957 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
48958 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
48960 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
48961 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48963 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
48964 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48966 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
48967 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
48969 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
48970 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48972 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
48973 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48975 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
48976 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48978 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
48979 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48981 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
48982 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
48984 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
48985 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
48987 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
48988 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
48990 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
48991 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48993 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
48994 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48996 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
48997 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
48999 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
49000 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
49002 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
49003 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
49005 static void *_p_wxEventBlockerTo_p_wxObject(void *x
) {
49006 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxEventBlocker
*) x
));
49008 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
49009 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
49011 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
49012 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
49014 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
49015 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
49017 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
49018 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
49020 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
49021 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
49023 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
49024 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
49026 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
49027 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
49029 static void *_p_wxSizerTo_p_wxObject(void *x
) {
49030 return (void *)((wxObject
*) ((wxSizer
*) x
));
49032 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
49033 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
49035 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
49036 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
49038 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
49039 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
49041 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
49042 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
49044 static void *_p_wxEventTo_p_wxObject(void *x
) {
49045 return (void *)((wxObject
*) ((wxEvent
*) x
));
49047 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
49048 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
49050 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
49051 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
49053 static void *_p_wxSearchCtrlTo_p_wxObject(void *x
) {
49054 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
49056 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
49057 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
49059 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
49060 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
49062 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
49063 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
49065 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
49066 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
49068 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
49069 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
49071 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
49072 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
49074 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
49075 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
49077 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
49078 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
49080 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
49081 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
49083 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
49084 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
49086 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
49087 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
49089 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
49090 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
49092 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
49093 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
49095 static void *_p_wxControlTo_p_wxObject(void *x
) {
49096 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
49098 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
49099 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
49101 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
49102 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
49104 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
49105 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
49107 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
49108 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
49110 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
49111 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
49113 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
49114 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
49116 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
49117 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
49119 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
49120 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
49122 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
49123 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
49125 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
49126 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
49128 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
49129 return (void *)((wxObject
*) ((wxFSFile
*) x
));
49131 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
49132 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
49134 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
49135 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
49137 static void *_p_wxListViewTo_p_wxObject(void *x
) {
49138 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
49140 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
49141 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
49143 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
49144 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
49146 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
49147 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
49149 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
49150 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
49152 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
49153 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
49155 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
49156 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
49158 static void *_p_wxListbookTo_p_wxObject(void *x
) {
49159 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
49161 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
49162 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
49164 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
49165 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
49167 static void *_p_wxSliderTo_p_wxObject(void *x
) {
49168 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
49170 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
49171 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
49173 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
49174 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
49176 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
49177 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
49179 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
49180 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
49182 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
49183 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
49185 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
49186 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
49188 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
49189 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
49191 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
49192 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
49194 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
49195 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
49197 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
49198 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
49200 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
49201 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
49203 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
49204 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
49206 static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x
) {
49207 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
49209 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
49210 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
49212 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
49213 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
49215 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
49216 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
49218 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
49219 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
49221 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
49222 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
49224 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
49225 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
49227 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
49228 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
49230 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
49231 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
49233 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
49234 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
49236 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
49237 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
49239 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
49240 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
49242 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
49243 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
49245 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
49246 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
49248 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
49249 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
49251 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
49252 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
49254 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
49255 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
49257 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
49258 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
49260 static void *_p_wxListEventTo_p_wxObject(void *x
) {
49261 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
49263 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
49264 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
49266 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
49267 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
49269 static void *_p_wxButtonTo_p_wxObject(void *x
) {
49270 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
49272 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
49273 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
49275 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
49276 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
49278 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
49279 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
49281 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
49282 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
49284 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
49285 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
49287 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
49288 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
49290 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
49291 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
49293 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
49294 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
49296 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
49297 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
49299 static void *_p_wxListItemTo_p_wxObject(void *x
) {
49300 return (void *)((wxObject
*) ((wxListItem
*) x
));
49302 static void *_p_wxImageTo_p_wxObject(void *x
) {
49303 return (void *)((wxObject
*) ((wxImage
*) x
));
49305 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
49306 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
49308 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
49309 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
49311 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
49312 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
49314 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
49315 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
49317 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
49318 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
49320 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
49321 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
49323 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
49324 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
49326 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
49327 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
49329 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
49330 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
49332 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
49333 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
49335 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
49336 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
49338 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
49339 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
49341 static void *_p_wxWindowTo_p_wxObject(void *x
) {
49342 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
49344 static void *_p_wxMenuTo_p_wxObject(void *x
) {
49345 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
49347 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
49348 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
49350 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
49351 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
49353 static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x
) {
49354 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
49356 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
49357 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
49359 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
49360 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
49362 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
49363 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
49365 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
49366 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
49368 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
49369 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
49371 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
49372 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
49374 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
49375 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
49377 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
49378 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
49380 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
49381 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
49383 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
49384 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
49386 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
49387 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
49389 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
49390 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
49392 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
49393 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
49395 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
49396 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
49398 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
49399 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
49401 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
49402 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
49404 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
49405 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
49407 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
49408 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
49410 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
49411 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
49413 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
49414 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
49416 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
49417 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
49419 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
49420 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
49422 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
49423 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
49425 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
49426 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
49428 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
49429 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
49431 static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x
) {
49432 return (void *)((wxWindow
*) (wxControl
*) ((wxCollapsiblePane
*) x
));
49434 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
49435 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
49437 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
49438 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
49440 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
49441 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
49443 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
49444 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
49446 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
49447 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
49449 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
49450 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
49452 static void *_p_wxSearchCtrlTo_p_wxWindow(void *x
) {
49453 return (void *)((wxWindow
*) (wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
49455 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
49456 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
49458 static void *_p_wxControlTo_p_wxWindow(void *x
) {
49459 return (void *)((wxWindow
*) ((wxControl
*) x
));
49461 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
49462 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
49464 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
49465 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
49467 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
49468 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
49470 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
49471 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
49473 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
49474 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
49476 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
49477 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
49479 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
49480 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
49482 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
49483 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
49485 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
49486 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
49488 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
49489 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
49491 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
49492 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
49494 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
49495 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
49497 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
49498 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
49500 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
49501 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
49503 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
49504 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
49506 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
49507 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
49509 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
49510 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
49512 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
49513 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
49515 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
49516 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
49518 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
49519 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
49521 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
49522 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
49524 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
49525 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
49527 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
49528 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
49530 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
49531 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
49533 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
49534 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
49536 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
49537 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
49539 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
49540 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
49542 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
49543 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
49545 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
49546 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
49548 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
49549 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
49551 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
49552 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
49554 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
49555 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
49557 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
49558 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
49560 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
49561 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
49563 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
49564 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
49566 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
49567 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
49569 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
49570 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
49572 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49573 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
49575 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49576 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
49578 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49579 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
49581 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49582 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
49584 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49585 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
49587 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
49588 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
49590 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
49591 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
49593 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
49594 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
49596 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
49597 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
49599 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
49600 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
49602 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
49603 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
49605 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
49606 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
49608 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
49609 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
49611 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
49612 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
49614 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
49615 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
49617 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
49618 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
49620 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
49621 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
49623 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
49624 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
49626 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
49627 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
49629 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
49630 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
49632 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
49633 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
49635 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
49636 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
49638 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
49639 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
49641 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
49642 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
49644 static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x
) {
49645 return (void *)((wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
49647 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
49648 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
49650 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
49651 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
49653 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
49654 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
49656 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
49657 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
49659 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
49660 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
49662 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
49663 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
49665 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
49666 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
49668 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
49669 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
49671 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
49672 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
49674 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
49675 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
49677 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
49678 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
49680 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
49681 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
49683 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
49684 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
49685 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};
49686 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
49687 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
49688 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
49689 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
49690 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
49691 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
49692 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
49693 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
49694 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
49695 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
49696 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
49697 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
49698 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
49699 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
49700 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
49701 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
49702 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
49703 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
49704 static swig_type_info _swigt__p_wxCollapsiblePane
= {"_p_wxCollapsiblePane", "wxCollapsiblePane *", 0, 0, (void*)0, 0};
49705 static swig_type_info _swigt__p_wxCollapsiblePaneEvent
= {"_p_wxCollapsiblePaneEvent", "wxCollapsiblePaneEvent *", 0, 0, (void*)0, 0};
49706 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
49707 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
49708 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
49709 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
49710 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
49711 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
49712 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
49713 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
49714 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
49715 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
49716 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
49717 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
49718 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
49719 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
49720 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
49721 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
49722 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
49723 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
49724 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
49725 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
49726 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
49727 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
49728 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
49729 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
49730 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
49731 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
49732 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
49733 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
49734 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
49735 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
49736 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
49737 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
49738 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
49739 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
49740 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
49741 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
49742 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
49743 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
49744 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
49745 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
49746 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
49747 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
49748 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
49749 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
49750 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
49751 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
49752 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
49753 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
49754 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
49755 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
49756 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
49757 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
49758 static swig_type_info _swigt__p_wxEventBlocker
= {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
49759 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
49760 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
49761 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
49762 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
49763 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
49764 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
49765 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
49766 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
49767 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
49768 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
49769 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
49770 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
49771 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
49772 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
49773 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
49774 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
49775 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
49776 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
49777 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
49778 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
49779 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
49780 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
49781 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
49782 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
49783 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
49784 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
49785 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
49786 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
49787 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
49788 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
49789 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
49790 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
49791 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
49792 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
49793 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
49794 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
49795 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
49796 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
49797 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
49798 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
49799 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
49800 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
49801 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
49802 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
49803 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
49804 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
49805 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
49806 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
49807 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
49808 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
49809 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
49810 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
49811 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
49812 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
49813 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
49814 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
49815 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
49816 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
49817 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
49818 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
49819 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
49820 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
49821 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
49822 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
49823 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
49824 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
49825 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
49826 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
49827 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
49828 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
49829 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
49830 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
49831 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
49832 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
49833 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
49834 static swig_type_info _swigt__p_wxSearchCtrl
= {"_p_wxSearchCtrl", "wxSearchCtrl *", 0, 0, (void*)0, 0};
49835 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
49836 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
49837 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
49838 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
49839 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
49840 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
49841 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
49842 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
49843 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
49844 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
49845 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
49846 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
49847 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
49848 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
49849 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
49850 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
49851 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
49852 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
49853 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
49854 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
49855 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
49856 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
49857 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
49858 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
49859 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
49860 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
49861 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
49862 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
49864 static swig_type_info
*swig_type_initial
[] = {
49867 &_swigt__p_form_ops_t
,
49870 &_swigt__p_unsigned_char
,
49871 &_swigt__p_unsigned_int
,
49872 &_swigt__p_unsigned_long
,
49874 &_swigt__p_wxANIHandler
,
49875 &_swigt__p_wxAcceleratorTable
,
49876 &_swigt__p_wxActivateEvent
,
49877 &_swigt__p_wxArrayInt
,
49878 &_swigt__p_wxArrayString
,
49879 &_swigt__p_wxBMPHandler
,
49880 &_swigt__p_wxBitmap
,
49881 &_swigt__p_wxBitmapButton
,
49882 &_swigt__p_wxBookCtrlBase
,
49883 &_swigt__p_wxBookCtrlBaseEvent
,
49884 &_swigt__p_wxBoxSizer
,
49885 &_swigt__p_wxButton
,
49886 &_swigt__p_wxCURHandler
,
49887 &_swigt__p_wxCheckBox
,
49888 &_swigt__p_wxCheckListBox
,
49889 &_swigt__p_wxChildFocusEvent
,
49890 &_swigt__p_wxChoice
,
49891 &_swigt__p_wxChoicebook
,
49892 &_swigt__p_wxChoicebookEvent
,
49893 &_swigt__p_wxClipboardTextEvent
,
49894 &_swigt__p_wxCloseEvent
,
49895 &_swigt__p_wxCollapsiblePane
,
49896 &_swigt__p_wxCollapsiblePaneEvent
,
49897 &_swigt__p_wxColour
,
49898 &_swigt__p_wxColourPickerCtrl
,
49899 &_swigt__p_wxColourPickerEvent
,
49900 &_swigt__p_wxComboBox
,
49901 &_swigt__p_wxCommandEvent
,
49902 &_swigt__p_wxContextHelp
,
49903 &_swigt__p_wxContextHelpButton
,
49904 &_swigt__p_wxContextMenuEvent
,
49905 &_swigt__p_wxControl
,
49906 &_swigt__p_wxControlWithItems
,
49907 &_swigt__p_wxCursor
,
49909 &_swigt__p_wxDateEvent
,
49910 &_swigt__p_wxDatePickerCtrl
,
49911 &_swigt__p_wxDateTime
,
49912 &_swigt__p_wxDirFilterListCtrl
,
49913 &_swigt__p_wxDirPickerCtrl
,
49914 &_swigt__p_wxDisplayChangedEvent
,
49915 &_swigt__p_wxDropFilesEvent
,
49916 &_swigt__p_wxDuplexMode
,
49917 &_swigt__p_wxEraseEvent
,
49918 &_swigt__p_wxEvent
,
49919 &_swigt__p_wxEventBlocker
,
49920 &_swigt__p_wxEvtHandler
,
49921 &_swigt__p_wxFSFile
,
49922 &_swigt__p_wxFileDirPickerEvent
,
49923 &_swigt__p_wxFilePickerCtrl
,
49924 &_swigt__p_wxFileSystem
,
49925 &_swigt__p_wxFlexGridSizer
,
49926 &_swigt__p_wxFocusEvent
,
49928 &_swigt__p_wxFontPickerCtrl
,
49929 &_swigt__p_wxFontPickerEvent
,
49930 &_swigt__p_wxGBSizerItem
,
49931 &_swigt__p_wxGIFHandler
,
49932 &_swigt__p_wxGauge
,
49933 &_swigt__p_wxGenericDirCtrl
,
49934 &_swigt__p_wxGenericDragImage
,
49935 &_swigt__p_wxGridBagSizer
,
49936 &_swigt__p_wxGridSizer
,
49937 &_swigt__p_wxHelpEvent
,
49938 &_swigt__p_wxHelpProvider
,
49939 &_swigt__p_wxHyperlinkCtrl
,
49940 &_swigt__p_wxHyperlinkEvent
,
49941 &_swigt__p_wxICOHandler
,
49943 &_swigt__p_wxIconizeEvent
,
49944 &_swigt__p_wxIdleEvent
,
49945 &_swigt__p_wxImage
,
49946 &_swigt__p_wxImageHandler
,
49947 &_swigt__p_wxImageList
,
49948 &_swigt__p_wxIndividualLayoutConstraint
,
49949 &_swigt__p_wxInitDialogEvent
,
49950 &_swigt__p_wxItemContainer
,
49951 &_swigt__p_wxJPEGHandler
,
49952 &_swigt__p_wxKeyEvent
,
49953 &_swigt__p_wxLayoutConstraints
,
49954 &_swigt__p_wxListBox
,
49955 &_swigt__p_wxListEvent
,
49956 &_swigt__p_wxListItem
,
49957 &_swigt__p_wxListItemAttr
,
49958 &_swigt__p_wxListView
,
49959 &_swigt__p_wxListbook
,
49960 &_swigt__p_wxListbookEvent
,
49961 &_swigt__p_wxMaximizeEvent
,
49962 &_swigt__p_wxMemoryDC
,
49964 &_swigt__p_wxMenuBar
,
49965 &_swigt__p_wxMenuEvent
,
49966 &_swigt__p_wxMenuItem
,
49967 &_swigt__p_wxMouseCaptureChangedEvent
,
49968 &_swigt__p_wxMouseCaptureLostEvent
,
49969 &_swigt__p_wxMouseEvent
,
49970 &_swigt__p_wxMoveEvent
,
49971 &_swigt__p_wxNavigationKeyEvent
,
49972 &_swigt__p_wxNcPaintEvent
,
49973 &_swigt__p_wxNotebook
,
49974 &_swigt__p_wxNotebookEvent
,
49975 &_swigt__p_wxNotifyEvent
,
49976 &_swigt__p_wxObject
,
49977 &_swigt__p_wxPCXHandler
,
49978 &_swigt__p_wxPNGHandler
,
49979 &_swigt__p_wxPNMHandler
,
49980 &_swigt__p_wxPaintEvent
,
49981 &_swigt__p_wxPaletteChangedEvent
,
49982 &_swigt__p_wxPaperSize
,
49983 &_swigt__p_wxPickerBase
,
49984 &_swigt__p_wxPoint
,
49985 &_swigt__p_wxPyApp
,
49986 &_swigt__p_wxPyCommandEvent
,
49987 &_swigt__p_wxPyControl
,
49988 &_swigt__p_wxPyEvent
,
49989 &_swigt__p_wxPyImageHandler
,
49990 &_swigt__p_wxPyListCtrl
,
49991 &_swigt__p_wxPySizer
,
49992 &_swigt__p_wxPyTreeCtrl
,
49993 &_swigt__p_wxPyTreeItemData
,
49994 &_swigt__p_wxPyValidator
,
49995 &_swigt__p_wxQueryNewPaletteEvent
,
49996 &_swigt__p_wxRadioBox
,
49997 &_swigt__p_wxRadioButton
,
49999 &_swigt__p_wxScrollBar
,
50000 &_swigt__p_wxScrollEvent
,
50001 &_swigt__p_wxScrollWinEvent
,
50002 &_swigt__p_wxSearchCtrl
,
50003 &_swigt__p_wxSetCursorEvent
,
50004 &_swigt__p_wxShowEvent
,
50005 &_swigt__p_wxSimpleHelpProvider
,
50007 &_swigt__p_wxSizeEvent
,
50008 &_swigt__p_wxSizer
,
50009 &_swigt__p_wxSizerItem
,
50010 &_swigt__p_wxSlider
,
50011 &_swigt__p_wxSpinButton
,
50012 &_swigt__p_wxSpinCtrl
,
50013 &_swigt__p_wxSpinEvent
,
50014 &_swigt__p_wxStaticBitmap
,
50015 &_swigt__p_wxStaticBox
,
50016 &_swigt__p_wxStaticBoxSizer
,
50017 &_swigt__p_wxStaticLine
,
50018 &_swigt__p_wxStaticText
,
50019 &_swigt__p_wxStdDialogButtonSizer
,
50020 &_swigt__p_wxString
,
50021 &_swigt__p_wxSysColourChangedEvent
,
50022 &_swigt__p_wxTGAHandler
,
50023 &_swigt__p_wxTIFFHandler
,
50024 &_swigt__p_wxTextAttr
,
50025 &_swigt__p_wxTextCtrl
,
50026 &_swigt__p_wxTextUrlEvent
,
50027 &_swigt__p_wxToggleButton
,
50028 &_swigt__p_wxToolBar
,
50029 &_swigt__p_wxToolBarBase
,
50030 &_swigt__p_wxToolBarToolBase
,
50031 &_swigt__p_wxToolbook
,
50032 &_swigt__p_wxToolbookEvent
,
50033 &_swigt__p_wxTreeEvent
,
50034 &_swigt__p_wxTreeItemId
,
50035 &_swigt__p_wxTreebook
,
50036 &_swigt__p_wxTreebookEvent
,
50037 &_swigt__p_wxUpdateUIEvent
,
50038 &_swigt__p_wxValidator
,
50039 &_swigt__p_wxVisualAttributes
,
50040 &_swigt__p_wxWindow
,
50041 &_swigt__p_wxWindowBase
,
50042 &_swigt__p_wxWindowCreateEvent
,
50043 &_swigt__p_wxWindowDestroyEvent
,
50044 &_swigt__p_wxXPMHandler
,
50047 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
50048 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
50049 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
50050 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
50051 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
50052 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
50053 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
50054 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
50055 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
50056 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
50057 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
50058 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
50059 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}};
50060 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}};
50061 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}};
50062 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}};
50063 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
50064 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
50065 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}};
50066 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
50067 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
50068 static swig_cast_info _swigc__p_wxCollapsiblePane
[] = { {&_swigt__p_wxCollapsiblePane
, 0, 0, 0},{0, 0, 0, 0}};
50069 static swig_cast_info _swigc__p_wxCollapsiblePaneEvent
[] = { {&_swigt__p_wxCollapsiblePaneEvent
, 0, 0, 0},{0, 0, 0, 0}};
50070 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
50071 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
50072 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
50073 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
50074 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
50075 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
50076 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
50077 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
50078 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
50079 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
50080 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
50081 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
50082 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
50083 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}};
50084 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
50085 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
50086 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}};
50087 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}};
50088 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
50089 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
50090 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
50091 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
50092 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
50093 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
50094 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
50095 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
50096 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
50097 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
50098 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
50099 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
50100 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
50101 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
50102 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
50103 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
50104 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
50105 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
50106 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
50107 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
50108 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
50109 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
50110 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
50111 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
50112 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
50113 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
50114 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
50115 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
50116 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
50117 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
50118 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
50119 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
50120 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}};
50121 static swig_cast_info _swigc__p_wxEventBlocker
[] = {{&_swigt__p_wxEventBlocker
, 0, 0, 0},{0, 0, 0, 0}};
50122 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
50123 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
50124 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
50125 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEventBlocker
, _p_wxEventBlockerTo_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_wxListBox
, _p_wxListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_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}};
50126 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
50127 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
50128 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
50129 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
50130 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
50131 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
50132 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
50133 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
50134 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
50135 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}};
50136 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
50137 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
50138 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
50139 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
50140 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}};
50141 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
50142 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}};
50143 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
50144 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
50145 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
50146 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
50147 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
50148 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
50149 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
50150 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
50151 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
50152 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
50153 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
50154 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}};
50155 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
50156 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
50157 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
50158 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
50159 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
50160 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
50161 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
50162 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
50163 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
50164 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
50165 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
50166 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
50167 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
50168 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
50169 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
50170 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
50171 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
50172 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
50173 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
50174 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
50175 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
50176 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
50177 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
50178 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
50179 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
50180 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
50181 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
50182 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
50183 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
50184 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
50185 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
50186 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_wxEventBlocker
, _p_wxEventBlockerTo_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_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_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_wxPyControl
, _p_wxPyControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_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_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_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}};
50187 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
50188 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}};
50189 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
50190 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
50191 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}};
50192 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
50193 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
50194 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
50195 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
50196 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
50197 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
50198 static swig_cast_info _swigc__p_wxSearchCtrl
[] = { {&_swigt__p_wxSearchCtrl
, 0, 0, 0},{0, 0, 0, 0}};
50199 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
50200 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
50201 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
50202 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
50203 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
50204 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
50205 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
50206 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
50207 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
50208 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
50209 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
50210 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
50211 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}};
50212 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
50213 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
50214 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
50215 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}};
50216 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
50217 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
50218 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
50219 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
50220 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
50221 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
50222 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
50223 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}};
50224 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
50225 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}};
50226 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
50228 static swig_cast_info
*swig_cast_initial
[] = {
50231 _swigc__p_form_ops_t
,
50234 _swigc__p_unsigned_char
,
50235 _swigc__p_unsigned_int
,
50236 _swigc__p_unsigned_long
,
50238 _swigc__p_wxANIHandler
,
50239 _swigc__p_wxAcceleratorTable
,
50240 _swigc__p_wxActivateEvent
,
50241 _swigc__p_wxArrayInt
,
50242 _swigc__p_wxArrayString
,
50243 _swigc__p_wxBMPHandler
,
50244 _swigc__p_wxBitmap
,
50245 _swigc__p_wxBitmapButton
,
50246 _swigc__p_wxBookCtrlBase
,
50247 _swigc__p_wxBookCtrlBaseEvent
,
50248 _swigc__p_wxBoxSizer
,
50249 _swigc__p_wxButton
,
50250 _swigc__p_wxCURHandler
,
50251 _swigc__p_wxCheckBox
,
50252 _swigc__p_wxCheckListBox
,
50253 _swigc__p_wxChildFocusEvent
,
50254 _swigc__p_wxChoice
,
50255 _swigc__p_wxChoicebook
,
50256 _swigc__p_wxChoicebookEvent
,
50257 _swigc__p_wxClipboardTextEvent
,
50258 _swigc__p_wxCloseEvent
,
50259 _swigc__p_wxCollapsiblePane
,
50260 _swigc__p_wxCollapsiblePaneEvent
,
50261 _swigc__p_wxColour
,
50262 _swigc__p_wxColourPickerCtrl
,
50263 _swigc__p_wxColourPickerEvent
,
50264 _swigc__p_wxComboBox
,
50265 _swigc__p_wxCommandEvent
,
50266 _swigc__p_wxContextHelp
,
50267 _swigc__p_wxContextHelpButton
,
50268 _swigc__p_wxContextMenuEvent
,
50269 _swigc__p_wxControl
,
50270 _swigc__p_wxControlWithItems
,
50271 _swigc__p_wxCursor
,
50273 _swigc__p_wxDateEvent
,
50274 _swigc__p_wxDatePickerCtrl
,
50275 _swigc__p_wxDateTime
,
50276 _swigc__p_wxDirFilterListCtrl
,
50277 _swigc__p_wxDirPickerCtrl
,
50278 _swigc__p_wxDisplayChangedEvent
,
50279 _swigc__p_wxDropFilesEvent
,
50280 _swigc__p_wxDuplexMode
,
50281 _swigc__p_wxEraseEvent
,
50283 _swigc__p_wxEventBlocker
,
50284 _swigc__p_wxEvtHandler
,
50285 _swigc__p_wxFSFile
,
50286 _swigc__p_wxFileDirPickerEvent
,
50287 _swigc__p_wxFilePickerCtrl
,
50288 _swigc__p_wxFileSystem
,
50289 _swigc__p_wxFlexGridSizer
,
50290 _swigc__p_wxFocusEvent
,
50292 _swigc__p_wxFontPickerCtrl
,
50293 _swigc__p_wxFontPickerEvent
,
50294 _swigc__p_wxGBSizerItem
,
50295 _swigc__p_wxGIFHandler
,
50297 _swigc__p_wxGenericDirCtrl
,
50298 _swigc__p_wxGenericDragImage
,
50299 _swigc__p_wxGridBagSizer
,
50300 _swigc__p_wxGridSizer
,
50301 _swigc__p_wxHelpEvent
,
50302 _swigc__p_wxHelpProvider
,
50303 _swigc__p_wxHyperlinkCtrl
,
50304 _swigc__p_wxHyperlinkEvent
,
50305 _swigc__p_wxICOHandler
,
50307 _swigc__p_wxIconizeEvent
,
50308 _swigc__p_wxIdleEvent
,
50310 _swigc__p_wxImageHandler
,
50311 _swigc__p_wxImageList
,
50312 _swigc__p_wxIndividualLayoutConstraint
,
50313 _swigc__p_wxInitDialogEvent
,
50314 _swigc__p_wxItemContainer
,
50315 _swigc__p_wxJPEGHandler
,
50316 _swigc__p_wxKeyEvent
,
50317 _swigc__p_wxLayoutConstraints
,
50318 _swigc__p_wxListBox
,
50319 _swigc__p_wxListEvent
,
50320 _swigc__p_wxListItem
,
50321 _swigc__p_wxListItemAttr
,
50322 _swigc__p_wxListView
,
50323 _swigc__p_wxListbook
,
50324 _swigc__p_wxListbookEvent
,
50325 _swigc__p_wxMaximizeEvent
,
50326 _swigc__p_wxMemoryDC
,
50328 _swigc__p_wxMenuBar
,
50329 _swigc__p_wxMenuEvent
,
50330 _swigc__p_wxMenuItem
,
50331 _swigc__p_wxMouseCaptureChangedEvent
,
50332 _swigc__p_wxMouseCaptureLostEvent
,
50333 _swigc__p_wxMouseEvent
,
50334 _swigc__p_wxMoveEvent
,
50335 _swigc__p_wxNavigationKeyEvent
,
50336 _swigc__p_wxNcPaintEvent
,
50337 _swigc__p_wxNotebook
,
50338 _swigc__p_wxNotebookEvent
,
50339 _swigc__p_wxNotifyEvent
,
50340 _swigc__p_wxObject
,
50341 _swigc__p_wxPCXHandler
,
50342 _swigc__p_wxPNGHandler
,
50343 _swigc__p_wxPNMHandler
,
50344 _swigc__p_wxPaintEvent
,
50345 _swigc__p_wxPaletteChangedEvent
,
50346 _swigc__p_wxPaperSize
,
50347 _swigc__p_wxPickerBase
,
50350 _swigc__p_wxPyCommandEvent
,
50351 _swigc__p_wxPyControl
,
50352 _swigc__p_wxPyEvent
,
50353 _swigc__p_wxPyImageHandler
,
50354 _swigc__p_wxPyListCtrl
,
50355 _swigc__p_wxPySizer
,
50356 _swigc__p_wxPyTreeCtrl
,
50357 _swigc__p_wxPyTreeItemData
,
50358 _swigc__p_wxPyValidator
,
50359 _swigc__p_wxQueryNewPaletteEvent
,
50360 _swigc__p_wxRadioBox
,
50361 _swigc__p_wxRadioButton
,
50363 _swigc__p_wxScrollBar
,
50364 _swigc__p_wxScrollEvent
,
50365 _swigc__p_wxScrollWinEvent
,
50366 _swigc__p_wxSearchCtrl
,
50367 _swigc__p_wxSetCursorEvent
,
50368 _swigc__p_wxShowEvent
,
50369 _swigc__p_wxSimpleHelpProvider
,
50371 _swigc__p_wxSizeEvent
,
50373 _swigc__p_wxSizerItem
,
50374 _swigc__p_wxSlider
,
50375 _swigc__p_wxSpinButton
,
50376 _swigc__p_wxSpinCtrl
,
50377 _swigc__p_wxSpinEvent
,
50378 _swigc__p_wxStaticBitmap
,
50379 _swigc__p_wxStaticBox
,
50380 _swigc__p_wxStaticBoxSizer
,
50381 _swigc__p_wxStaticLine
,
50382 _swigc__p_wxStaticText
,
50383 _swigc__p_wxStdDialogButtonSizer
,
50384 _swigc__p_wxString
,
50385 _swigc__p_wxSysColourChangedEvent
,
50386 _swigc__p_wxTGAHandler
,
50387 _swigc__p_wxTIFFHandler
,
50388 _swigc__p_wxTextAttr
,
50389 _swigc__p_wxTextCtrl
,
50390 _swigc__p_wxTextUrlEvent
,
50391 _swigc__p_wxToggleButton
,
50392 _swigc__p_wxToolBar
,
50393 _swigc__p_wxToolBarBase
,
50394 _swigc__p_wxToolBarToolBase
,
50395 _swigc__p_wxToolbook
,
50396 _swigc__p_wxToolbookEvent
,
50397 _swigc__p_wxTreeEvent
,
50398 _swigc__p_wxTreeItemId
,
50399 _swigc__p_wxTreebook
,
50400 _swigc__p_wxTreebookEvent
,
50401 _swigc__p_wxUpdateUIEvent
,
50402 _swigc__p_wxValidator
,
50403 _swigc__p_wxVisualAttributes
,
50404 _swigc__p_wxWindow
,
50405 _swigc__p_wxWindowBase
,
50406 _swigc__p_wxWindowCreateEvent
,
50407 _swigc__p_wxWindowDestroyEvent
,
50408 _swigc__p_wxXPMHandler
,
50412 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
50414 static swig_const_info swig_const_table
[] = {
50415 {0, 0, 0, 0.0, 0, 0}};
50420 /* -----------------------------------------------------------------------------
50421 * Type initialization:
50422 * This problem is tough by the requirement that no dynamic
50423 * memory is used. Also, since swig_type_info structures store pointers to
50424 * swig_cast_info structures and swig_cast_info structures store pointers back
50425 * to swig_type_info structures, we need some lookup code at initialization.
50426 * The idea is that swig generates all the structures that are needed.
50427 * The runtime then collects these partially filled structures.
50428 * The SWIG_InitializeModule function takes these initial arrays out of
50429 * swig_module, and does all the lookup, filling in the swig_module.types
50430 * array with the correct data and linking the correct swig_cast_info
50431 * structures together.
50433 * The generated swig_type_info structures are assigned staticly to an initial
50434 * array. We just loop though that array, and handle each type individually.
50435 * First we lookup if this type has been already loaded, and if so, use the
50436 * loaded structure instead of the generated one. Then we have to fill in the
50437 * cast linked list. The cast data is initially stored in something like a
50438 * two-dimensional array. Each row corresponds to a type (there are the same
50439 * number of rows as there are in the swig_type_initial array). Each entry in
50440 * a column is one of the swig_cast_info structures for that type.
50441 * The cast_initial array is actually an array of arrays, because each row has
50442 * a variable number of columns. So to actually build the cast linked list,
50443 * we find the array of casts associated with the type, and loop through it
50444 * adding the casts to the list. The one last trick we need to do is making
50445 * sure the type pointer in the swig_cast_info struct is correct.
50447 * First off, we lookup the cast->type name to see if it is already loaded.
50448 * There are three cases to handle:
50449 * 1) If the cast->type has already been loaded AND the type we are adding
50450 * casting info to has not been loaded (it is in this module), THEN we
50451 * replace the cast->type pointer with the type pointer that has already
50453 * 2) If BOTH types (the one we are adding casting info to, and the
50454 * cast->type) are loaded, THEN the cast info has already been loaded by
50455 * the previous module so we just ignore it.
50456 * 3) Finally, if cast->type has not already been loaded, then we add that
50457 * swig_cast_info to the linked list (because the cast->type) pointer will
50459 * ----------------------------------------------------------------------------- */
50469 #define SWIGRUNTIME_DEBUG
50473 SWIG_InitializeModule(void *clientdata
) {
50475 swig_module_info
*module_head
;
50476 static int init_run
= 0;
50478 clientdata
= clientdata
;
50480 if (init_run
) return;
50483 /* Initialize the swig_module */
50484 swig_module
.type_initial
= swig_type_initial
;
50485 swig_module
.cast_initial
= swig_cast_initial
;
50487 /* Try and load any already created modules */
50488 module_head
= SWIG_GetModule(clientdata
);
50490 swig_module
.next
= module_head
->next
;
50491 module_head
->next
= &swig_module
;
50493 /* This is the first module loaded */
50494 swig_module
.next
= &swig_module
;
50495 SWIG_SetModule(clientdata
, &swig_module
);
50498 /* Now work on filling in swig_module.types */
50499 #ifdef SWIGRUNTIME_DEBUG
50500 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
50502 for (i
= 0; i
< swig_module
.size
; ++i
) {
50503 swig_type_info
*type
= 0;
50504 swig_type_info
*ret
;
50505 swig_cast_info
*cast
;
50507 #ifdef SWIGRUNTIME_DEBUG
50508 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
50511 /* if there is another module already loaded */
50512 if (swig_module
.next
!= &swig_module
) {
50513 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
50516 /* Overwrite clientdata field */
50517 #ifdef SWIGRUNTIME_DEBUG
50518 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
50520 if (swig_module
.type_initial
[i
]->clientdata
) {
50521 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
50522 #ifdef SWIGRUNTIME_DEBUG
50523 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
50527 type
= swig_module
.type_initial
[i
];
50530 /* Insert casting types */
50531 cast
= swig_module
.cast_initial
[i
];
50532 while (cast
->type
) {
50533 /* Don't need to add information already in the list */
50535 #ifdef SWIGRUNTIME_DEBUG
50536 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
50538 if (swig_module
.next
!= &swig_module
) {
50539 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
50540 #ifdef SWIGRUNTIME_DEBUG
50541 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
50545 if (type
== swig_module
.type_initial
[i
]) {
50546 #ifdef SWIGRUNTIME_DEBUG
50547 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
50552 /* Check for casting already in the list */
50553 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
50554 #ifdef SWIGRUNTIME_DEBUG
50555 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
50557 if (!ocast
) ret
= 0;
50562 #ifdef SWIGRUNTIME_DEBUG
50563 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
50566 type
->cast
->prev
= cast
;
50567 cast
->next
= type
->cast
;
50573 /* Set entry in modules->types array equal to the type */
50574 swig_module
.types
[i
] = type
;
50576 swig_module
.types
[i
] = 0;
50578 #ifdef SWIGRUNTIME_DEBUG
50579 printf("**** SWIG_InitializeModule: Cast List ******\n");
50580 for (i
= 0; i
< swig_module
.size
; ++i
) {
50582 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
50583 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
50584 while (cast
->type
) {
50585 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
50589 printf("---- Total casts: %d\n",j
);
50591 printf("**** SWIG_InitializeModule: Cast List ******\n");
50595 /* This function will propagate the clientdata field of type to
50596 * any new swig_type_info structures that have been added into the list
50597 * of equivalent types. It is like calling
50598 * SWIG_TypeClientData(type, clientdata) a second time.
50601 SWIG_PropagateClientData(void) {
50603 swig_cast_info
*equiv
;
50604 static int init_run
= 0;
50606 if (init_run
) return;
50609 for (i
= 0; i
< swig_module
.size
; i
++) {
50610 if (swig_module
.types
[i
]->clientdata
) {
50611 equiv
= swig_module
.types
[i
]->cast
;
50613 if (!equiv
->converter
) {
50614 if (equiv
->type
&& !equiv
->type
->clientdata
)
50615 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
50617 equiv
= equiv
->next
;
50637 /* Python-specific SWIG API */
50638 #define SWIG_newvarlink() SWIG_Python_newvarlink()
50639 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
50640 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
50642 /* -----------------------------------------------------------------------------
50643 * global variable support code.
50644 * ----------------------------------------------------------------------------- */
50646 typedef struct swig_globalvar
{
50647 char *name
; /* Name of global variable */
50648 PyObject
*(*get_attr
)(void); /* Return the current value */
50649 int (*set_attr
)(PyObject
*); /* Set the value */
50650 struct swig_globalvar
*next
;
50653 typedef struct swig_varlinkobject
{
50655 swig_globalvar
*vars
;
50656 } swig_varlinkobject
;
50658 SWIGINTERN PyObject
*
50659 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
50660 return PyString_FromString("<Swig global variables>");
50663 SWIGINTERN PyObject
*
50664 swig_varlink_str(swig_varlinkobject
*v
) {
50665 PyObject
*str
= PyString_FromString("(");
50666 swig_globalvar
*var
;
50667 for (var
= v
->vars
; var
; var
=var
->next
) {
50668 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
50669 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
50671 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
50676 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
50677 PyObject
*str
= swig_varlink_str(v
);
50678 fprintf(fp
,"Swig global variables ");
50679 fprintf(fp
,"%s\n", PyString_AsString(str
));
50685 swig_varlink_dealloc(swig_varlinkobject
*v
) {
50686 swig_globalvar
*var
= v
->vars
;
50688 swig_globalvar
*n
= var
->next
;
50695 SWIGINTERN PyObject
*
50696 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
50697 PyObject
*res
= NULL
;
50698 swig_globalvar
*var
= v
->vars
;
50700 if (strcmp(var
->name
,n
) == 0) {
50701 res
= (*var
->get_attr
)();
50706 if (res
== NULL
&& !PyErr_Occurred()) {
50707 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
50713 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
50715 swig_globalvar
*var
= v
->vars
;
50717 if (strcmp(var
->name
,n
) == 0) {
50718 res
= (*var
->set_attr
)(p
);
50723 if (res
== 1 && !PyErr_Occurred()) {
50724 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
50729 SWIGINTERN PyTypeObject
*
50730 swig_varlink_type(void) {
50731 static char varlink__doc__
[] = "Swig var link object";
50732 static PyTypeObject varlink_type
;
50733 static int type_init
= 0;
50735 const PyTypeObject tmp
50737 PyObject_HEAD_INIT(NULL
)
50738 0, /* Number of items in variable part (ob_size) */
50739 (char *)"swigvarlink", /* Type name (tp_name) */
50740 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
50741 0, /* Itemsize (tp_itemsize) */
50742 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
50743 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
50744 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
50745 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
50746 0, /* tp_compare */
50747 (reprfunc
) swig_varlink_repr
, /* tp_repr */
50748 0, /* tp_as_number */
50749 0, /* tp_as_sequence */
50750 0, /* tp_as_mapping */
50753 (reprfunc
)swig_varlink_str
, /* tp_str */
50754 0, /* tp_getattro */
50755 0, /* tp_setattro */
50756 0, /* tp_as_buffer */
50758 varlink__doc__
, /* tp_doc */
50759 0, /* tp_traverse */
50761 0, /* tp_richcompare */
50762 0, /* tp_weaklistoffset */
50763 #if PY_VERSION_HEX >= 0x02020000
50764 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
50766 #if PY_VERSION_HEX >= 0x02030000
50769 #ifdef COUNT_ALLOCS
50770 0,0,0,0 /* tp_alloc -> tp_next */
50773 varlink_type
= tmp
;
50774 varlink_type
.ob_type
= &PyType_Type
;
50777 return &varlink_type
;
50780 /* Create a variable linking object for use later */
50781 SWIGINTERN PyObject
*
50782 SWIG_Python_newvarlink(void) {
50783 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
50787 return ((PyObject
*) result
);
50791 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
50792 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
50793 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
50795 size_t size
= strlen(name
)+1;
50796 gv
->name
= (char *)malloc(size
);
50798 strncpy(gv
->name
,name
,size
);
50799 gv
->get_attr
= get_attr
;
50800 gv
->set_attr
= set_attr
;
50801 gv
->next
= v
->vars
;
50807 SWIGINTERN PyObject
*
50809 static PyObject
*_SWIG_globals
= 0;
50810 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
50811 return _SWIG_globals
;
50814 /* -----------------------------------------------------------------------------
50815 * constants/methods manipulation
50816 * ----------------------------------------------------------------------------- */
50818 /* Install Constants */
50820 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
50823 for (i
= 0; constants
[i
].type
; ++i
) {
50824 switch(constants
[i
].type
) {
50825 case SWIG_PY_POINTER
:
50826 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
50828 case SWIG_PY_BINARY
:
50829 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
50836 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
50842 /* -----------------------------------------------------------------------------*/
50843 /* Fix SwigMethods to carry the callback ptrs when needed */
50844 /* -----------------------------------------------------------------------------*/
50847 SWIG_Python_FixMethods(PyMethodDef
*methods
,
50848 swig_const_info
*const_table
,
50849 swig_type_info
**types
,
50850 swig_type_info
**types_initial
) {
50852 for (i
= 0; methods
[i
].ml_name
; ++i
) {
50853 const char *c
= methods
[i
].ml_doc
;
50854 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
50856 swig_const_info
*ci
= 0;
50857 const char *name
= c
+ 10;
50858 for (j
= 0; const_table
[j
].type
; ++j
) {
50859 if (strncmp(const_table
[j
].name
, name
,
50860 strlen(const_table
[j
].name
)) == 0) {
50861 ci
= &(const_table
[j
]);
50866 size_t shift
= (ci
->ptype
) - types
;
50867 swig_type_info
*ty
= types_initial
[shift
];
50868 size_t ldoc
= (c
- methods
[i
].ml_doc
);
50869 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
50870 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
50873 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
50875 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
50877 strncpy(buff
, "swig_ptr: ", 10);
50879 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
50880 methods
[i
].ml_doc
= ndoc
;
50892 /* -----------------------------------------------------------------------------*
50893 * Partial Init method
50894 * -----------------------------------------------------------------------------*/
50899 SWIGEXPORT
void SWIG_init(void) {
50902 /* Fix SwigMethods to carry the callback ptrs when needed */
50903 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
50905 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
50906 d
= PyModule_GetDict(m
);
50908 SWIG_InitializeModule(0);
50909 SWIG_InstallConstants(d
,swig_const_table
);
50912 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
50913 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
50914 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
50915 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
50916 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
50917 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
50918 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
50919 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
50920 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
50921 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
50922 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
50923 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
50924 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
50925 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
50926 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
50927 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
50928 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
50929 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
50930 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
50931 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
50932 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
50933 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
50934 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
50935 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
50936 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
50937 SWIG_addvarlink(SWIG_globals(),(char*)"StaticLineNameStr",StaticLineNameStr_get
, StaticLineNameStr_set
);
50938 SWIG_Python_SetConstant(d
, "ST_NO_AUTORESIZE",SWIG_From_int(static_cast< int >(wxST_NO_AUTORESIZE
)));
50939 SWIG_Python_SetConstant(d
, "ST_MARKUP",SWIG_From_int(static_cast< int >(wxST_MARKUP
)));
50940 SWIG_Python_SetConstant(d
, "ST_ELLIPSIZE_START",SWIG_From_int(static_cast< int >(wxST_ELLIPSIZE_START
)));
50941 SWIG_Python_SetConstant(d
, "ST_ELLIPSIZE_MIDDLE",SWIG_From_int(static_cast< int >(wxST_ELLIPSIZE_MIDDLE
)));
50942 SWIG_Python_SetConstant(d
, "ST_ELLIPSIZE_END",SWIG_From_int(static_cast< int >(wxST_ELLIPSIZE_END
)));
50943 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
50944 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
50945 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
50946 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
50947 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
50948 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
50949 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
50950 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
50951 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
50952 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
50953 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
50954 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
50955 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
50956 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
50957 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
50958 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
50959 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
50960 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
50961 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
50962 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
50963 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
50964 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
50965 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
50966 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
50967 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
50968 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
50969 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
50970 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
50971 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
50972 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
50973 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
50974 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
50975 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
50976 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
50977 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
50978 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
50979 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
50980 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
50981 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
50982 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
50983 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
50984 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
50985 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
50986 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
50987 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
50988 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
50989 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
50990 SWIG_Python_SetConstant(d
, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY
)));
50991 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
50992 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
50993 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
50994 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
50995 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
50996 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
50997 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
50998 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
50999 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
51000 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
51001 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
51002 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
51003 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
51004 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
51005 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
51006 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
51007 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
51008 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
51009 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
51010 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
51011 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
51012 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
51013 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
51014 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
51015 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
51016 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
51017 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
51018 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
51019 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
51020 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
51021 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
51022 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
51023 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
51024 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
51025 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
51026 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
51027 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
51028 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
51029 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
51030 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
51031 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
51032 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
51033 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
51034 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
51035 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
51036 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
51037 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
51038 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
51039 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
51040 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
51041 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
51042 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
51043 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
51044 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
51045 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
51046 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
51047 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
51048 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
51049 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
51050 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
51051 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
51052 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
51053 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
51054 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
51055 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
51056 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
51057 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
51058 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
51059 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
51060 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
51061 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
51062 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
51063 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
51064 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
51065 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
51066 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
51067 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
51068 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
51069 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
51070 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
51071 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
51072 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
51073 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
51074 SWIG_Python_SetConstant(d
, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP
)));
51075 SWIG_Python_SetConstant(d
, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT
)));
51076 SWIG_Python_SetConstant(d
, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM
)));
51077 SWIG_Python_SetConstant(d
, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT
)));
51078 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
51079 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
51080 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
51081 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
51082 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
51083 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
51084 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
51085 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
51086 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
51087 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
51088 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
51089 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
51090 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
51091 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
51092 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
51093 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
51094 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
51095 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
51096 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
51097 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
51098 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
51099 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
51100 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
51101 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
51102 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
51103 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
51104 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
51105 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
51106 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
51107 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
51108 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
51109 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
51110 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
51111 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
51112 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
51113 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
51114 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
51115 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
51116 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
51117 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
51118 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
51119 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
51120 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
51121 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
51122 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
51123 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
51124 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
51125 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
51126 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
51127 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
51128 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
51129 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
51130 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
51131 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
51132 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
51133 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
51134 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
51135 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
51136 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
51137 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
51138 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
51139 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
51140 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
51141 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
51142 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
51143 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
51144 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
51145 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
51146 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
51147 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
51148 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
51149 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
51150 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
51151 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
51152 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
51153 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
51154 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
51155 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
51156 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
51157 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
51158 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
51159 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
51160 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
51161 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
51162 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
51163 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
51164 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
51165 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
51166 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
51167 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
51168 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
51169 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
51170 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
51171 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
51172 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
51173 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
51174 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
51175 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
51176 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
51177 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
51179 // Map renamed classes back to their common name for OOR
51180 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
51182 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
51183 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
51184 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
51185 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
51186 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
51187 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
51188 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
51189 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
51190 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
51191 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
51192 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
51193 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
51194 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
51195 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
51196 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
51197 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
51198 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
51199 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
51200 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
51201 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
51202 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
51203 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
51204 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
51205 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
51206 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
51207 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
51208 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
51209 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
51210 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
51211 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
51212 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
51213 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
51214 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
51215 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
51216 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
51217 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
51218 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
51219 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
51220 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
51221 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
51222 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
51223 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
51224 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
51225 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
51226 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
51227 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
51228 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
51229 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
51230 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
51231 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
51232 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
51233 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
51234 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
51235 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
51236 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
51237 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
51239 // Map renamed classes back to their common name for OOR
51240 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
51241 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
51243 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
51244 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
51245 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
51246 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
51247 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
51248 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
51249 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
51250 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
51251 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
51252 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
51253 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
51255 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
51257 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
51258 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
51259 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
51260 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
51261 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
51262 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
51263 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
51264 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
51265 SWIG_Python_SetConstant(d
, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT
)));
51266 SWIG_Python_SetConstant(d
, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT
)));
51267 SWIG_Python_SetConstant(d
, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE
)));
51268 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
51269 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
51270 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
51271 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
51272 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
51273 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
51274 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
51275 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
51276 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
51277 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
51278 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
51279 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
51280 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
51281 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
51282 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
51283 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
51284 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
51285 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
51286 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
51287 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
51288 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
51289 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
51290 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
51291 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
51292 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
51293 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
51294 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
51295 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
51296 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
51297 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
51298 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
51299 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));
51300 SWIG_addvarlink(SWIG_globals(),(char*)"CollapsiblePaneNameStr",CollapsiblePaneNameStr_get
, CollapsiblePaneNameStr_set
);
51301 SWIG_Python_SetConstant(d
, "CP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCP_DEFAULT_STYLE
)));
51302 SWIG_Python_SetConstant(d
, "CP_NO_TLW_RESIZE",SWIG_From_int(static_cast< int >(wxCP_NO_TLW_RESIZE
)));
51303 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLLPANE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLLPANE_CHANGED
));
51304 SWIG_addvarlink(SWIG_globals(),(char*)"SearchCtrlNameStr",SearchCtrlNameStr_get
, SearchCtrlNameStr_set
);
51305 PyDict_SetItemString(d
, "wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN
));
51306 PyDict_SetItemString(d
, "wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN
));