1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_long swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2479 #define SWIGTYPE_p_wxArrayString swig_types[13]
2480 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481 #define SWIGTYPE_p_wxBitmap swig_types[15]
2482 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2483 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2484 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2486 #define SWIGTYPE_p_wxButton swig_types[20]
2487 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2488 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2489 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxChoice swig_types[25]
2492 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2493 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2494 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2495 #define SWIGTYPE_p_wxCloseEvent swig_types[29]
2496 #define SWIGTYPE_p_wxCollapsiblePane swig_types[30]
2497 #define SWIGTYPE_p_wxCollapsiblePaneEvent swig_types[31]
2498 #define SWIGTYPE_p_wxColour swig_types[32]
2499 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[33]
2500 #define SWIGTYPE_p_wxColourPickerEvent swig_types[34]
2501 #define SWIGTYPE_p_wxComboBox swig_types[35]
2502 #define SWIGTYPE_p_wxCommandEvent swig_types[36]
2503 #define SWIGTYPE_p_wxContextHelp swig_types[37]
2504 #define SWIGTYPE_p_wxContextHelpButton swig_types[38]
2505 #define SWIGTYPE_p_wxContextMenuEvent swig_types[39]
2506 #define SWIGTYPE_p_wxControl swig_types[40]
2507 #define SWIGTYPE_p_wxControlWithItems swig_types[41]
2508 #define SWIGTYPE_p_wxCursor swig_types[42]
2509 #define SWIGTYPE_p_wxDC swig_types[43]
2510 #define SWIGTYPE_p_wxDateEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[45]
2512 #define SWIGTYPE_p_wxDateTime swig_types[46]
2513 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[47]
2514 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[48]
2515 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[49]
2516 #define SWIGTYPE_p_wxDropFilesEvent swig_types[50]
2517 #define SWIGTYPE_p_wxDuplexMode swig_types[51]
2518 #define SWIGTYPE_p_wxEraseEvent swig_types[52]
2519 #define SWIGTYPE_p_wxEvent swig_types[53]
2520 #define SWIGTYPE_p_wxEvtHandler swig_types[54]
2521 #define SWIGTYPE_p_wxFSFile swig_types[55]
2522 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[56]
2523 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[57]
2524 #define SWIGTYPE_p_wxFileSystem swig_types[58]
2525 #define SWIGTYPE_p_wxFlexGridSizer swig_types[59]
2526 #define SWIGTYPE_p_wxFocusEvent swig_types[60]
2527 #define SWIGTYPE_p_wxFont swig_types[61]
2528 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[62]
2529 #define SWIGTYPE_p_wxFontPickerEvent swig_types[63]
2530 #define SWIGTYPE_p_wxGBSizerItem swig_types[64]
2531 #define SWIGTYPE_p_wxGIFHandler swig_types[65]
2532 #define SWIGTYPE_p_wxGauge swig_types[66]
2533 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[67]
2534 #define SWIGTYPE_p_wxGenericDragImage swig_types[68]
2535 #define SWIGTYPE_p_wxGridBagSizer swig_types[69]
2536 #define SWIGTYPE_p_wxGridSizer swig_types[70]
2537 #define SWIGTYPE_p_wxHelpEvent swig_types[71]
2538 #define SWIGTYPE_p_wxHelpProvider swig_types[72]
2539 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[73]
2540 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[74]
2541 #define SWIGTYPE_p_wxICOHandler swig_types[75]
2542 #define SWIGTYPE_p_wxIcon swig_types[76]
2543 #define SWIGTYPE_p_wxIconizeEvent swig_types[77]
2544 #define SWIGTYPE_p_wxIdleEvent swig_types[78]
2545 #define SWIGTYPE_p_wxImage swig_types[79]
2546 #define SWIGTYPE_p_wxImageHandler swig_types[80]
2547 #define SWIGTYPE_p_wxImageList swig_types[81]
2548 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[82]
2549 #define SWIGTYPE_p_wxInitDialogEvent swig_types[83]
2550 #define SWIGTYPE_p_wxItemContainer swig_types[84]
2551 #define SWIGTYPE_p_wxJPEGHandler swig_types[85]
2552 #define SWIGTYPE_p_wxKeyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxLayoutConstraints swig_types[87]
2554 #define SWIGTYPE_p_wxListBox swig_types[88]
2555 #define SWIGTYPE_p_wxListEvent swig_types[89]
2556 #define SWIGTYPE_p_wxListItem swig_types[90]
2557 #define SWIGTYPE_p_wxListItemAttr swig_types[91]
2558 #define SWIGTYPE_p_wxListView swig_types[92]
2559 #define SWIGTYPE_p_wxListbook swig_types[93]
2560 #define SWIGTYPE_p_wxListbookEvent swig_types[94]
2561 #define SWIGTYPE_p_wxMaximizeEvent swig_types[95]
2562 #define SWIGTYPE_p_wxMemoryDC swig_types[96]
2563 #define SWIGTYPE_p_wxMenu swig_types[97]
2564 #define SWIGTYPE_p_wxMenuBar swig_types[98]
2565 #define SWIGTYPE_p_wxMenuEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMenuItem swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[105]
2572 #define SWIGTYPE_p_wxNcPaintEvent swig_types[106]
2573 #define SWIGTYPE_p_wxNotebook swig_types[107]
2574 #define SWIGTYPE_p_wxNotebookEvent swig_types[108]
2575 #define SWIGTYPE_p_wxNotifyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxObject swig_types[110]
2577 #define SWIGTYPE_p_wxPCXHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPNGHandler swig_types[112]
2579 #define SWIGTYPE_p_wxPNMHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPaintEvent swig_types[114]
2581 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[115]
2582 #define SWIGTYPE_p_wxPaperSize swig_types[116]
2583 #define SWIGTYPE_p_wxPickerBase swig_types[117]
2584 #define SWIGTYPE_p_wxPoint swig_types[118]
2585 #define SWIGTYPE_p_wxPyApp swig_types[119]
2586 #define SWIGTYPE_p_wxPyCommandEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPyControl swig_types[121]
2588 #define SWIGTYPE_p_wxPyEvent swig_types[122]
2589 #define SWIGTYPE_p_wxPyImageHandler swig_types[123]
2590 #define SWIGTYPE_p_wxPyListCtrl swig_types[124]
2591 #define SWIGTYPE_p_wxPySizer swig_types[125]
2592 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[126]
2593 #define SWIGTYPE_p_wxPyTreeItemData swig_types[127]
2594 #define SWIGTYPE_p_wxPyValidator swig_types[128]
2595 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[129]
2596 #define SWIGTYPE_p_wxRadioBox swig_types[130]
2597 #define SWIGTYPE_p_wxRadioButton swig_types[131]
2598 #define SWIGTYPE_p_wxRect swig_types[132]
2599 #define SWIGTYPE_p_wxScrollBar swig_types[133]
2600 #define SWIGTYPE_p_wxScrollEvent swig_types[134]
2601 #define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSearchCtrl swig_types[136]
2603 #define SWIGTYPE_p_wxSetCursorEvent swig_types[137]
2604 #define SWIGTYPE_p_wxShowEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[139]
2606 #define SWIGTYPE_p_wxSize swig_types[140]
2607 #define SWIGTYPE_p_wxSizeEvent swig_types[141]
2608 #define SWIGTYPE_p_wxSizer swig_types[142]
2609 #define SWIGTYPE_p_wxSizerItem swig_types[143]
2610 #define SWIGTYPE_p_wxSlider swig_types[144]
2611 #define SWIGTYPE_p_wxSpinButton swig_types[145]
2612 #define SWIGTYPE_p_wxSpinCtrl swig_types[146]
2613 #define SWIGTYPE_p_wxSpinEvent swig_types[147]
2614 #define SWIGTYPE_p_wxStaticBitmap swig_types[148]
2615 #define SWIGTYPE_p_wxStaticBox swig_types[149]
2616 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[150]
2617 #define SWIGTYPE_p_wxStaticLine swig_types[151]
2618 #define SWIGTYPE_p_wxStaticText swig_types[152]
2619 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[153]
2620 #define SWIGTYPE_p_wxString swig_types[154]
2621 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[155]
2622 #define SWIGTYPE_p_wxTGAHandler swig_types[156]
2623 #define SWIGTYPE_p_wxTIFFHandler swig_types[157]
2624 #define SWIGTYPE_p_wxTextAttr swig_types[158]
2625 #define SWIGTYPE_p_wxTextCtrl swig_types[159]
2626 #define SWIGTYPE_p_wxTextUrlEvent swig_types[160]
2627 #define SWIGTYPE_p_wxToggleButton swig_types[161]
2628 #define SWIGTYPE_p_wxToolBar swig_types[162]
2629 #define SWIGTYPE_p_wxToolBarBase swig_types[163]
2630 #define SWIGTYPE_p_wxToolBarToolBase swig_types[164]
2631 #define SWIGTYPE_p_wxToolbook swig_types[165]
2632 #define SWIGTYPE_p_wxToolbookEvent swig_types[166]
2633 #define SWIGTYPE_p_wxTreeEvent swig_types[167]
2634 #define SWIGTYPE_p_wxTreeItemId swig_types[168]
2635 #define SWIGTYPE_p_wxTreebook swig_types[169]
2636 #define SWIGTYPE_p_wxTreebookEvent swig_types[170]
2637 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[171]
2638 #define SWIGTYPE_p_wxValidator swig_types[172]
2639 #define SWIGTYPE_p_wxVisualAttributes swig_types[173]
2640 #define SWIGTYPE_p_wxWindow swig_types[174]
2641 #define SWIGTYPE_p_wxWindowBase swig_types[175]
2642 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[176]
2643 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[177]
2644 #define SWIGTYPE_p_wxXPMHandler swig_types[178]
2645 static swig_type_info
*swig_types
[180];
2646 static swig_module_info swig_module
= {swig_types
, 179, 0, 0, 0, 0};
2647 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2648 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2650 /* -------- TYPES TABLE (END) -------- */
2652 #if (PY_VERSION_HEX <= 0x02000000)
2653 # if !defined(SWIG_PYTHON_CLASSIC)
2654 # error "This python version requires to use swig with the '-classic' option"
2657 #if (PY_VERSION_HEX <= 0x02020000)
2658 # error "This python version requires to use swig with the '-nomodern' option"
2660 #if (PY_VERSION_HEX <= 0x02020000)
2661 # error "This python version requires to use swig with the '-nomodernargs' option"
2664 # error "This python version requires to use swig with the '-nofastunpack' option"
2667 /*-----------------------------------------------
2668 @(target):= _controls_.so
2669 ------------------------------------------------*/
2670 #define SWIG_init init_controls_
2672 #define SWIG_name "_controls_"
2674 #define SWIGVERSION 0x010329
2677 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2678 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2681 #include <stdexcept>
2685 class PyObject_ptr
{
2690 PyObject_ptr() :_obj(0)
2694 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2699 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2701 if (initial_ref
) Py_XINCREF(_obj
);
2704 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2706 Py_XINCREF(item
._obj
);
2717 operator PyObject
*() const
2722 PyObject
*operator->() const
2731 struct PyObject_var
: PyObject_ptr
{
2732 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2734 PyObject_var
& operator = (PyObject
* obj
)
2744 #include "wx/wxPython/wxPython.h"
2745 #include "wx/wxPython/pyclasses.h"
2747 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2748 static const wxString
wxPyEmptyString(wxEmptyString
);
2749 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2751 const wxArrayString wxPyEmptyStringArray
;
2753 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2755 #define SWIG_From_long PyInt_FromLong
2758 SWIGINTERNINLINE PyObject
*
2759 SWIG_From_int (int value
)
2761 return SWIG_From_long (value
);
2767 # define LLONG_MIN LONG_LONG_MIN
2770 # define LLONG_MAX LONG_LONG_MAX
2773 # define ULLONG_MAX ULONG_LONG_MAX
2778 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2780 if (PyNumber_Check(obj
)) {
2781 if (val
) *val
= PyInt_AsLong(obj
);
2784 return SWIG_TypeError
;
2789 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2792 int res
= SWIG_AsVal_long (obj
, &v
);
2793 if (SWIG_IsOK(res
)) {
2794 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2795 return SWIG_OverflowError
;
2797 if (val
) *val
= static_cast< int >(v
);
2803 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2806 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2808 if (obj
== Py_True
) {
2809 if (val
) *val
= true;
2811 } else if (obj
== Py_False
) {
2812 if (val
) *val
= false;
2816 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2817 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2822 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2823 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2824 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2825 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2826 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2827 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2828 static const wxString
wxPyStaticLineNameStr(wxStaticLineNameStr
);
2830 #include <wx/checklst.h>
2832 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2833 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2836 wxPyClientData
* data
= new wxPyClientData(clientData
);
2837 self
->Insert(item
, pos
, data
);
2840 self
->Insert(item
, pos
);
2844 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2847 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2848 return SWIG_TypeError
;
2851 *val
= (unsigned long)v
;
2857 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2860 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2861 if (SWIG_IsOK(res
)) {
2862 if ((v
> UINT_MAX
)) {
2863 return SWIG_OverflowError
;
2865 if (val
) *val
= static_cast< unsigned int >(v
);
2871 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2872 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2874 self
->GetSelections(lst
);
2875 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2876 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2878 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2880 wxPyEndBlockThreads(blocked
);
2883 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2885 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2886 self
->GetItem(item
)->SetTextColour(c
);
2889 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2891 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2892 self
->GetItem(item
)->SetBackgroundColour(c
);
2895 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2897 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2898 self
->GetItem(item
)->SetFont(f
);
2901 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2902 SWIGINTERN
void wxTextCtrl_MacCheckSpelling(wxTextCtrl
*self
,bool check
){}
2903 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2904 self
->AppendText(text
);
2906 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2907 return self
->GetValue().Mid(from
, to
- from
);
2909 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2910 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2911 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2912 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2913 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2915 SWIGINTERNINLINE PyObject
*
2916 SWIG_From_unsigned_SS_long (unsigned long value
)
2918 return (value
> LONG_MAX
) ?
2919 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2923 SWIGINTERNINLINE PyObject
*
2924 SWIG_From_size_t (size_t value
)
2926 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2930 SWIGINTERNINLINE PyObject
*
2931 SWIG_From_unsigned_SS_int (unsigned int value
)
2933 return SWIG_From_unsigned_SS_long (value
);
2937 #include <wx/slider.h>
2940 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2941 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2943 #if !wxUSE_TOGGLEBTN
2944 // implement dummy items for platforms that don't have this class
2946 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2948 class wxToggleButton
: public wxControl
2951 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2952 const wxPoint
&, const wxSize
&, long,
2953 const wxValidator
&, const wxString
&)
2954 { wxPyRaiseNotImplemented(); }
2957 { wxPyRaiseNotImplemented(); }
2961 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2963 SWIGINTERNINLINE
int
2964 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2967 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2968 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2972 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2973 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2974 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2976 Py_INCREF(udata
->m_obj
);
2977 return udata
->m_obj
;
2983 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2984 self
->SetClientData(new wxPyUserData(clientData
));
2986 SWIGINTERN wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2987 wxPyUserData
* udata
= NULL
;
2988 if (clientData
&& clientData
!= Py_None
)
2989 udata
= new wxPyUserData(clientData
);
2990 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2991 shortHelp
, longHelp
, udata
);
2993 SWIGINTERN wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2994 wxPyUserData
* udata
= NULL
;
2995 if (clientData
&& clientData
!= Py_None
)
2996 udata
= new wxPyUserData(clientData
);
2997 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2998 shortHelp
, longHelp
, udata
);
3000 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
3001 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
3003 Py_INCREF(udata
->m_obj
);
3004 return udata
->m_obj
;
3010 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3011 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3014 #include <wx/listctrl.h>
3016 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3017 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3018 // Python aware sorting function for wxPyListCtrl
3019 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3021 PyObject
* func
= (PyObject
*)funcPtr
;
3022 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3024 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3025 PyObject
* result
= PyEval_CallObject(func
, args
);
3028 retval
= PyInt_AsLong(result
);
3032 wxPyEndBlockThreads(blocked
);
3036 // C++ Version of a Python aware class
3037 class wxPyListCtrl
: public wxListCtrl
{
3038 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3040 wxPyListCtrl() : wxListCtrl() {}
3041 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3045 const wxValidator
& validator
,
3046 const wxString
& name
) :
3047 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3049 bool Create(wxWindow
* parent
, wxWindowID id
,
3053 const wxValidator
& validator
,
3054 const wxString
& name
) {
3055 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3058 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3059 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3061 // use the virtual version to avoid a confusing assert in the base class
3062 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3063 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3068 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3070 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3071 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3072 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3073 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3076 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3078 item
.SetMask( wxLIST_MASK_STATE
|
3086 if (self
->GetColumn(col
, item
))
3087 return new wxListItem(item
);
3091 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3092 wxListItem
* info
= new wxListItem
;
3093 info
->m_itemId
= itemId
;
3095 info
->m_mask
= 0xFFFF;
3096 self
->GetItem(*info
);
3099 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3101 self
->GetItemPosition(item
, pos
);
3104 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3106 self
->GetItemRect(item
, rect
, code
);
3109 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3110 if (!PyCallable_Check(func
))
3112 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3114 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3118 return (wxWindow
*)self
->m_mainWin
;
3122 #include <wx/treectrl.h>
3123 #include "wx/wxPython/pytree.h"
3125 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3126 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3127 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3128 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3130 static wxTreeItemId wxNullTreeItemId
;
3132 // C++ version of Python aware wxTreeCtrl
3133 class wxPyTreeCtrl
: public wxTreeCtrl
{
3134 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3136 wxPyTreeCtrl() : wxTreeCtrl() {}
3137 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3141 const wxValidator
& validator
,
3142 const wxString
& name
) :
3143 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3145 bool Create(wxWindow
*parent
, wxWindowID id
,
3149 const wxValidator
& validator
,
3150 const wxString
& name
) {
3151 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3155 int OnCompareItems(const wxTreeItemId
& item1
,
3156 const wxTreeItemId
& item2
) {
3159 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3160 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3161 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3162 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3163 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3167 wxPyEndBlockThreads(blocked
);
3169 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3175 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3178 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3179 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3181 data
= new wxPyTreeItemData();
3182 data
->SetId(item
); // set the id
3183 self
->SetItemData(item
, data
);
3187 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3188 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3190 data
= new wxPyTreeItemData();
3191 data
->SetId(item
); // set the id
3192 self
->SetItemData(item
, data
);
3194 return data
->GetData();
3196 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3197 data
->SetId(item
); // set the id
3198 self
->SetItemData(item
, data
);
3200 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3201 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3203 data
= new wxPyTreeItemData(obj
);
3204 data
->SetId(item
); // set the id
3205 self
->SetItemData(item
, data
);
3209 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3210 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3211 PyObject
* rval
= PyList_New(0);
3212 wxArrayTreeItemIds array
;
3214 num
= self
->GetSelections(array
);
3215 for (x
=0; x
< num
; x
++) {
3216 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3217 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3218 PyList_Append(rval
, item
);
3221 wxPyEndBlockThreads(blocked
);
3224 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3226 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3227 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3228 PyObject
* tup
= PyTuple_New(2);
3229 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3230 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3231 wxPyEndBlockThreads(blocked
);
3234 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3235 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3236 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3237 PyObject
* tup
= PyTuple_New(2);
3238 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3239 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3240 wxPyEndBlockThreads(blocked
);
3243 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3245 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3246 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3247 wxRect
* r
= new wxRect(rect
);
3248 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3249 wxPyEndBlockThreads(blocked
);
3255 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3257 SWIGINTERNINLINE PyObject
*
3258 SWIG_From_bool (bool value
)
3260 return PyBool_FromLong(value
? 1 : 0);
3263 // C++ version of Python aware wxControl
3264 class wxPyControl
: public wxControl
3266 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3268 wxPyControl() : wxControl() {}
3269 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3270 const wxPoint
& pos
= wxDefaultPosition
,
3271 const wxSize
& size
= wxDefaultSize
,
3273 const wxValidator
& validator
=wxDefaultValidator
,
3274 const wxString
& name
= wxPyControlNameStr
)
3275 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3278 bool DoEraseBackground(wxDC
* dc
) {
3280 return wxWindow::DoEraseBackground(dc
->GetHDC());
3282 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3288 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3289 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3290 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3291 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3297 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3298 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3300 DEC_PYCALLBACK__(InitDialog
);
3301 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3302 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3303 DEC_PYCALLBACK_BOOL_(Validate
);
3305 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3306 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3307 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3309 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3310 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3312 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3313 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3315 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3317 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3322 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3324 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3325 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3326 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3327 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3333 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3334 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3336 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3337 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3338 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3339 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3341 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3342 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3343 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3348 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3349 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3351 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3353 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3357 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3359 #include <wx/generic/dragimgg.h>
3361 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3362 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3364 self
->GetRange(&rv
, NULL
);
3367 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3369 self
->GetRange(NULL
, &rv
);
3372 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3373 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3374 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3375 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3376 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3377 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3378 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3379 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3380 static const wxString
wxPyCollapsiblePaneNameStr(wxCollapsiblePaneNameStr
);
3381 static const wxString
wxPySearchCtrlNameStr(wxSearchCtrlNameStr
);
3385 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3386 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3391 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3392 PyObject
*pyobj
= 0;
3396 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3398 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3405 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3406 PyObject
*resultobj
= 0;
3407 wxWindow
*arg1
= (wxWindow
*) 0 ;
3408 int arg2
= (int) -1 ;
3409 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3410 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3411 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3412 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3413 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3414 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3415 long arg6
= (long) 0 ;
3416 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3417 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3418 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3419 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3420 wxButton
*result
= 0 ;
3425 bool temp3
= false ;
3432 bool temp8
= false ;
3433 PyObject
* obj0
= 0 ;
3434 PyObject
* obj1
= 0 ;
3435 PyObject
* obj2
= 0 ;
3436 PyObject
* obj3
= 0 ;
3437 PyObject
* obj4
= 0 ;
3438 PyObject
* obj5
= 0 ;
3439 PyObject
* obj6
= 0 ;
3440 PyObject
* obj7
= 0 ;
3441 char * kwnames
[] = {
3442 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3447 if (!SWIG_IsOK(res1
)) {
3448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3450 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3452 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3453 if (!SWIG_IsOK(ecode2
)) {
3454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3456 arg2
= static_cast< int >(val2
);
3460 arg3
= wxString_in_helper(obj2
);
3461 if (arg3
== NULL
) SWIG_fail
;
3468 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3474 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3478 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3479 if (!SWIG_IsOK(ecode6
)) {
3480 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3482 arg6
= static_cast< long >(val6
);
3485 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3486 if (!SWIG_IsOK(res7
)) {
3487 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3490 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3492 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3496 arg8
= wxString_in_helper(obj7
);
3497 if (arg8
== NULL
) SWIG_fail
;
3502 if (!wxPyCheckForApp()) SWIG_fail
;
3503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3504 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3505 wxPyEndAllowThreads(__tstate
);
3506 if (PyErr_Occurred()) SWIG_fail
;
3508 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3531 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3532 PyObject
*resultobj
= 0;
3533 wxButton
*result
= 0 ;
3535 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3537 if (!wxPyCheckForApp()) SWIG_fail
;
3538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3539 result
= (wxButton
*)new wxButton();
3540 wxPyEndAllowThreads(__tstate
);
3541 if (PyErr_Occurred()) SWIG_fail
;
3543 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3550 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3551 PyObject
*resultobj
= 0;
3552 wxButton
*arg1
= (wxButton
*) 0 ;
3553 wxWindow
*arg2
= (wxWindow
*) 0 ;
3554 int arg3
= (int) -1 ;
3555 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3556 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3557 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3558 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3559 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3560 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3561 long arg7
= (long) 0 ;
3562 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3563 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3564 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3565 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3573 bool temp4
= false ;
3580 bool temp9
= false ;
3581 PyObject
* obj0
= 0 ;
3582 PyObject
* obj1
= 0 ;
3583 PyObject
* obj2
= 0 ;
3584 PyObject
* obj3
= 0 ;
3585 PyObject
* obj4
= 0 ;
3586 PyObject
* obj5
= 0 ;
3587 PyObject
* obj6
= 0 ;
3588 PyObject
* obj7
= 0 ;
3589 PyObject
* obj8
= 0 ;
3590 char * kwnames
[] = {
3591 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3596 if (!SWIG_IsOK(res1
)) {
3597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3599 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3600 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3601 if (!SWIG_IsOK(res2
)) {
3602 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3604 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3606 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3607 if (!SWIG_IsOK(ecode3
)) {
3608 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3610 arg3
= static_cast< int >(val3
);
3614 arg4
= wxString_in_helper(obj3
);
3615 if (arg4
== NULL
) SWIG_fail
;
3622 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3628 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3632 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3633 if (!SWIG_IsOK(ecode7
)) {
3634 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3636 arg7
= static_cast< long >(val7
);
3639 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3640 if (!SWIG_IsOK(res8
)) {
3641 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3644 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3646 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3650 arg9
= wxString_in_helper(obj8
);
3651 if (arg9
== NULL
) SWIG_fail
;
3656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3657 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3658 wxPyEndAllowThreads(__tstate
);
3659 if (PyErr_Occurred()) SWIG_fail
;
3662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3686 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3687 PyObject
*resultobj
= 0;
3688 wxButton
*arg1
= (wxButton
*) 0 ;
3691 PyObject
*swig_obj
[1] ;
3693 if (!args
) SWIG_fail
;
3695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3696 if (!SWIG_IsOK(res1
)) {
3697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3699 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3702 (arg1
)->SetDefault();
3703 wxPyEndAllowThreads(__tstate
);
3704 if (PyErr_Occurred()) SWIG_fail
;
3706 resultobj
= SWIG_Py_Void();
3713 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3714 PyObject
*resultobj
= 0;
3717 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3720 result
= wxButton::GetDefaultSize();
3721 wxPyEndAllowThreads(__tstate
);
3722 if (PyErr_Occurred()) SWIG_fail
;
3724 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3731 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3732 PyObject
*resultobj
= 0;
3733 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3734 SwigValueWrapper
<wxVisualAttributes
> result
;
3737 PyObject
* obj0
= 0 ;
3738 char * kwnames
[] = {
3739 (char *) "variant", NULL
3742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3744 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3745 if (!SWIG_IsOK(ecode1
)) {
3746 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3748 arg1
= static_cast< wxWindowVariant
>(val1
);
3751 if (!wxPyCheckForApp()) SWIG_fail
;
3752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3753 result
= wxButton::GetClassDefaultAttributes(arg1
);
3754 wxPyEndAllowThreads(__tstate
);
3755 if (PyErr_Occurred()) SWIG_fail
;
3757 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3764 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3766 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3767 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3768 return SWIG_Py_Void();
3771 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3772 return SWIG_Python_InitShadowInstance(args
);
3775 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3776 PyObject
*resultobj
= 0;
3777 wxWindow
*arg1
= (wxWindow
*) 0 ;
3778 int arg2
= (int) -1 ;
3779 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3780 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3781 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3782 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3783 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3784 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3785 long arg6
= (long) wxBU_AUTODRAW
;
3786 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3787 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3788 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3789 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3790 wxBitmapButton
*result
= 0 ;
3803 bool temp8
= false ;
3804 PyObject
* obj0
= 0 ;
3805 PyObject
* obj1
= 0 ;
3806 PyObject
* obj2
= 0 ;
3807 PyObject
* obj3
= 0 ;
3808 PyObject
* obj4
= 0 ;
3809 PyObject
* obj5
= 0 ;
3810 PyObject
* obj6
= 0 ;
3811 PyObject
* obj7
= 0 ;
3812 char * kwnames
[] = {
3813 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3818 if (!SWIG_IsOK(res1
)) {
3819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3821 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3823 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3824 if (!SWIG_IsOK(ecode2
)) {
3825 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3827 arg2
= static_cast< int >(val2
);
3830 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3831 if (!SWIG_IsOK(res3
)) {
3832 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3835 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3837 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3842 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3848 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3852 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3853 if (!SWIG_IsOK(ecode6
)) {
3854 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3856 arg6
= static_cast< long >(val6
);
3859 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3860 if (!SWIG_IsOK(res7
)) {
3861 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3864 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3866 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3870 arg8
= wxString_in_helper(obj7
);
3871 if (arg8
== NULL
) SWIG_fail
;
3876 if (!wxPyCheckForApp()) SWIG_fail
;
3877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3878 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3879 wxPyEndAllowThreads(__tstate
);
3880 if (PyErr_Occurred()) SWIG_fail
;
3882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3897 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3898 PyObject
*resultobj
= 0;
3899 wxBitmapButton
*result
= 0 ;
3901 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3903 if (!wxPyCheckForApp()) SWIG_fail
;
3904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3905 result
= (wxBitmapButton
*)new wxBitmapButton();
3906 wxPyEndAllowThreads(__tstate
);
3907 if (PyErr_Occurred()) SWIG_fail
;
3909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3916 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3917 PyObject
*resultobj
= 0;
3918 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3919 wxWindow
*arg2
= (wxWindow
*) 0 ;
3920 int arg3
= (int) -1 ;
3921 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3922 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3923 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3924 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3925 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3926 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3927 long arg7
= (long) wxBU_AUTODRAW
;
3928 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3929 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3930 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3931 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3947 bool temp9
= false ;
3948 PyObject
* obj0
= 0 ;
3949 PyObject
* obj1
= 0 ;
3950 PyObject
* obj2
= 0 ;
3951 PyObject
* obj3
= 0 ;
3952 PyObject
* obj4
= 0 ;
3953 PyObject
* obj5
= 0 ;
3954 PyObject
* obj6
= 0 ;
3955 PyObject
* obj7
= 0 ;
3956 PyObject
* obj8
= 0 ;
3957 char * kwnames
[] = {
3958 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3963 if (!SWIG_IsOK(res1
)) {
3964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3966 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3967 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3968 if (!SWIG_IsOK(res2
)) {
3969 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3971 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3973 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3974 if (!SWIG_IsOK(ecode3
)) {
3975 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3977 arg3
= static_cast< int >(val3
);
3980 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3981 if (!SWIG_IsOK(res4
)) {
3982 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3985 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3987 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3992 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3998 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4002 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4003 if (!SWIG_IsOK(ecode7
)) {
4004 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
4006 arg7
= static_cast< long >(val7
);
4009 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4010 if (!SWIG_IsOK(res8
)) {
4011 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4014 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4016 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4020 arg9
= wxString_in_helper(obj8
);
4021 if (arg9
== NULL
) SWIG_fail
;
4026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4027 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4028 wxPyEndAllowThreads(__tstate
);
4029 if (PyErr_Occurred()) SWIG_fail
;
4032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4048 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4049 PyObject
*resultobj
= 0;
4050 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4054 PyObject
*swig_obj
[1] ;
4056 if (!args
) SWIG_fail
;
4058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4059 if (!SWIG_IsOK(res1
)) {
4060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4062 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4065 result
= (arg1
)->GetBitmapLabel();
4066 wxPyEndAllowThreads(__tstate
);
4067 if (PyErr_Occurred()) SWIG_fail
;
4069 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4076 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4077 PyObject
*resultobj
= 0;
4078 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4082 PyObject
*swig_obj
[1] ;
4084 if (!args
) SWIG_fail
;
4086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4087 if (!SWIG_IsOK(res1
)) {
4088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4090 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4093 result
= (arg1
)->GetBitmapDisabled();
4094 wxPyEndAllowThreads(__tstate
);
4095 if (PyErr_Occurred()) SWIG_fail
;
4097 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4104 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4105 PyObject
*resultobj
= 0;
4106 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4110 PyObject
*swig_obj
[1] ;
4112 if (!args
) SWIG_fail
;
4114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4115 if (!SWIG_IsOK(res1
)) {
4116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4118 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4121 result
= (arg1
)->GetBitmapFocus();
4122 wxPyEndAllowThreads(__tstate
);
4123 if (PyErr_Occurred()) SWIG_fail
;
4125 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4132 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4133 PyObject
*resultobj
= 0;
4134 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4138 PyObject
*swig_obj
[1] ;
4140 if (!args
) SWIG_fail
;
4142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4143 if (!SWIG_IsOK(res1
)) {
4144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4146 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4149 result
= (arg1
)->GetBitmapSelected();
4150 wxPyEndAllowThreads(__tstate
);
4151 if (PyErr_Occurred()) SWIG_fail
;
4153 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4160 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4161 PyObject
*resultobj
= 0;
4162 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4166 PyObject
*swig_obj
[1] ;
4168 if (!args
) SWIG_fail
;
4170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4171 if (!SWIG_IsOK(res1
)) {
4172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4174 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4177 result
= (arg1
)->GetBitmapHover();
4178 wxPyEndAllowThreads(__tstate
);
4179 if (PyErr_Occurred()) SWIG_fail
;
4181 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4188 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4189 PyObject
*resultobj
= 0;
4190 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4191 wxBitmap
*arg2
= 0 ;
4196 PyObject
* obj0
= 0 ;
4197 PyObject
* obj1
= 0 ;
4198 char * kwnames
[] = {
4199 (char *) "self",(char *) "bitmap", NULL
4202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4204 if (!SWIG_IsOK(res1
)) {
4205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4207 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4208 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4209 if (!SWIG_IsOK(res2
)) {
4210 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4213 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4215 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4218 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4219 wxPyEndAllowThreads(__tstate
);
4220 if (PyErr_Occurred()) SWIG_fail
;
4222 resultobj
= SWIG_Py_Void();
4229 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4230 PyObject
*resultobj
= 0;
4231 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4232 wxBitmap
*arg2
= 0 ;
4237 PyObject
* obj0
= 0 ;
4238 PyObject
* obj1
= 0 ;
4239 char * kwnames
[] = {
4240 (char *) "self",(char *) "bitmap", NULL
4243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4245 if (!SWIG_IsOK(res1
)) {
4246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4248 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4249 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4250 if (!SWIG_IsOK(res2
)) {
4251 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4254 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4256 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4259 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4260 wxPyEndAllowThreads(__tstate
);
4261 if (PyErr_Occurred()) SWIG_fail
;
4263 resultobj
= SWIG_Py_Void();
4270 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4271 PyObject
*resultobj
= 0;
4272 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4273 wxBitmap
*arg2
= 0 ;
4278 PyObject
* obj0
= 0 ;
4279 PyObject
* obj1
= 0 ;
4280 char * kwnames
[] = {
4281 (char *) "self",(char *) "bitmap", NULL
4284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4286 if (!SWIG_IsOK(res1
)) {
4287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4289 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4290 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4291 if (!SWIG_IsOK(res2
)) {
4292 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4295 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4297 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4300 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4301 wxPyEndAllowThreads(__tstate
);
4302 if (PyErr_Occurred()) SWIG_fail
;
4304 resultobj
= SWIG_Py_Void();
4311 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4312 PyObject
*resultobj
= 0;
4313 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4314 wxBitmap
*arg2
= 0 ;
4319 PyObject
* obj0
= 0 ;
4320 PyObject
* obj1
= 0 ;
4321 char * kwnames
[] = {
4322 (char *) "self",(char *) "bitmap", NULL
4325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4327 if (!SWIG_IsOK(res1
)) {
4328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4330 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4331 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4332 if (!SWIG_IsOK(res2
)) {
4333 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4336 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4338 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4341 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4342 wxPyEndAllowThreads(__tstate
);
4343 if (PyErr_Occurred()) SWIG_fail
;
4345 resultobj
= SWIG_Py_Void();
4352 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4353 PyObject
*resultobj
= 0;
4354 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4355 wxBitmap
*arg2
= 0 ;
4360 PyObject
* obj0
= 0 ;
4361 PyObject
* obj1
= 0 ;
4362 char * kwnames
[] = {
4363 (char *) "self",(char *) "hover", NULL
4366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4368 if (!SWIG_IsOK(res1
)) {
4369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4371 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4372 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4373 if (!SWIG_IsOK(res2
)) {
4374 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4377 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4379 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4382 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4383 wxPyEndAllowThreads(__tstate
);
4384 if (PyErr_Occurred()) SWIG_fail
;
4386 resultobj
= SWIG_Py_Void();
4393 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4394 PyObject
*resultobj
= 0;
4395 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4404 PyObject
* obj0
= 0 ;
4405 PyObject
* obj1
= 0 ;
4406 PyObject
* obj2
= 0 ;
4407 char * kwnames
[] = {
4408 (char *) "self",(char *) "x",(char *) "y", NULL
4411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4413 if (!SWIG_IsOK(res1
)) {
4414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4416 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4417 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4418 if (!SWIG_IsOK(ecode2
)) {
4419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4421 arg2
= static_cast< int >(val2
);
4422 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4423 if (!SWIG_IsOK(ecode3
)) {
4424 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4426 arg3
= static_cast< int >(val3
);
4428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4429 (arg1
)->SetMargins(arg2
,arg3
);
4430 wxPyEndAllowThreads(__tstate
);
4431 if (PyErr_Occurred()) SWIG_fail
;
4433 resultobj
= SWIG_Py_Void();
4440 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4441 PyObject
*resultobj
= 0;
4442 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4446 PyObject
*swig_obj
[1] ;
4448 if (!args
) SWIG_fail
;
4450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4451 if (!SWIG_IsOK(res1
)) {
4452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4454 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4457 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4458 wxPyEndAllowThreads(__tstate
);
4459 if (PyErr_Occurred()) SWIG_fail
;
4461 resultobj
= SWIG_From_int(static_cast< int >(result
));
4468 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4469 PyObject
*resultobj
= 0;
4470 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4474 PyObject
*swig_obj
[1] ;
4476 if (!args
) SWIG_fail
;
4478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4479 if (!SWIG_IsOK(res1
)) {
4480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4482 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4485 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4486 wxPyEndAllowThreads(__tstate
);
4487 if (PyErr_Occurred()) SWIG_fail
;
4489 resultobj
= SWIG_From_int(static_cast< int >(result
));
4496 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4498 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4499 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4500 return SWIG_Py_Void();
4503 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4504 return SWIG_Python_InitShadowInstance(args
);
4507 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4508 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4513 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4514 PyObject
*pyobj
= 0;
4518 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4520 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4527 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4528 PyObject
*resultobj
= 0;
4529 wxWindow
*arg1
= (wxWindow
*) 0 ;
4530 int arg2
= (int) -1 ;
4531 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4532 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4533 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4534 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4535 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4536 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4537 long arg6
= (long) 0 ;
4538 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4539 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4540 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4541 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4542 wxCheckBox
*result
= 0 ;
4547 bool temp3
= false ;
4554 bool temp8
= false ;
4555 PyObject
* obj0
= 0 ;
4556 PyObject
* obj1
= 0 ;
4557 PyObject
* obj2
= 0 ;
4558 PyObject
* obj3
= 0 ;
4559 PyObject
* obj4
= 0 ;
4560 PyObject
* obj5
= 0 ;
4561 PyObject
* obj6
= 0 ;
4562 PyObject
* obj7
= 0 ;
4563 char * kwnames
[] = {
4564 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4569 if (!SWIG_IsOK(res1
)) {
4570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4572 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4574 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4575 if (!SWIG_IsOK(ecode2
)) {
4576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4578 arg2
= static_cast< int >(val2
);
4582 arg3
= wxString_in_helper(obj2
);
4583 if (arg3
== NULL
) SWIG_fail
;
4590 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4596 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4600 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4601 if (!SWIG_IsOK(ecode6
)) {
4602 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4604 arg6
= static_cast< long >(val6
);
4607 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4608 if (!SWIG_IsOK(res7
)) {
4609 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4612 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4614 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4618 arg8
= wxString_in_helper(obj7
);
4619 if (arg8
== NULL
) SWIG_fail
;
4624 if (!wxPyCheckForApp()) SWIG_fail
;
4625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4626 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4627 wxPyEndAllowThreads(__tstate
);
4628 if (PyErr_Occurred()) SWIG_fail
;
4630 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4653 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4654 PyObject
*resultobj
= 0;
4655 wxCheckBox
*result
= 0 ;
4657 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4659 if (!wxPyCheckForApp()) SWIG_fail
;
4660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4661 result
= (wxCheckBox
*)new wxCheckBox();
4662 wxPyEndAllowThreads(__tstate
);
4663 if (PyErr_Occurred()) SWIG_fail
;
4665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4672 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4673 PyObject
*resultobj
= 0;
4674 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4675 wxWindow
*arg2
= (wxWindow
*) 0 ;
4676 int arg3
= (int) -1 ;
4677 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4678 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4679 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4680 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4681 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4682 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4683 long arg7
= (long) 0 ;
4684 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4685 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4686 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4687 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4695 bool temp4
= false ;
4702 bool temp9
= false ;
4703 PyObject
* obj0
= 0 ;
4704 PyObject
* obj1
= 0 ;
4705 PyObject
* obj2
= 0 ;
4706 PyObject
* obj3
= 0 ;
4707 PyObject
* obj4
= 0 ;
4708 PyObject
* obj5
= 0 ;
4709 PyObject
* obj6
= 0 ;
4710 PyObject
* obj7
= 0 ;
4711 PyObject
* obj8
= 0 ;
4712 char * kwnames
[] = {
4713 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4718 if (!SWIG_IsOK(res1
)) {
4719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4721 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4722 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4723 if (!SWIG_IsOK(res2
)) {
4724 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4726 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4728 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4729 if (!SWIG_IsOK(ecode3
)) {
4730 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4732 arg3
= static_cast< int >(val3
);
4736 arg4
= wxString_in_helper(obj3
);
4737 if (arg4
== NULL
) SWIG_fail
;
4744 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4750 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4754 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4755 if (!SWIG_IsOK(ecode7
)) {
4756 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4758 arg7
= static_cast< long >(val7
);
4761 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4762 if (!SWIG_IsOK(res8
)) {
4763 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4766 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4768 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4772 arg9
= wxString_in_helper(obj8
);
4773 if (arg9
== NULL
) SWIG_fail
;
4778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4779 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4780 wxPyEndAllowThreads(__tstate
);
4781 if (PyErr_Occurred()) SWIG_fail
;
4784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4808 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4809 PyObject
*resultobj
= 0;
4810 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4814 PyObject
*swig_obj
[1] ;
4816 if (!args
) SWIG_fail
;
4818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4819 if (!SWIG_IsOK(res1
)) {
4820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4822 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4825 result
= (bool)(arg1
)->GetValue();
4826 wxPyEndAllowThreads(__tstate
);
4827 if (PyErr_Occurred()) SWIG_fail
;
4830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4838 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4839 PyObject
*resultobj
= 0;
4840 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4844 PyObject
*swig_obj
[1] ;
4846 if (!args
) SWIG_fail
;
4848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4849 if (!SWIG_IsOK(res1
)) {
4850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4852 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4855 result
= (bool)(arg1
)->IsChecked();
4856 wxPyEndAllowThreads(__tstate
);
4857 if (PyErr_Occurred()) SWIG_fail
;
4860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4868 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4869 PyObject
*resultobj
= 0;
4870 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4876 PyObject
* obj0
= 0 ;
4877 PyObject
* obj1
= 0 ;
4878 char * kwnames
[] = {
4879 (char *) "self",(char *) "state", NULL
4882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4884 if (!SWIG_IsOK(res1
)) {
4885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4887 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4888 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4889 if (!SWIG_IsOK(ecode2
)) {
4890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4892 arg2
= static_cast< bool >(val2
);
4894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4895 (arg1
)->SetValue(arg2
);
4896 wxPyEndAllowThreads(__tstate
);
4897 if (PyErr_Occurred()) SWIG_fail
;
4899 resultobj
= SWIG_Py_Void();
4906 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4907 PyObject
*resultobj
= 0;
4908 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4909 wxCheckBoxState result
;
4912 PyObject
*swig_obj
[1] ;
4914 if (!args
) SWIG_fail
;
4916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4917 if (!SWIG_IsOK(res1
)) {
4918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4920 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4923 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4924 wxPyEndAllowThreads(__tstate
);
4925 if (PyErr_Occurred()) SWIG_fail
;
4927 resultobj
= SWIG_From_int(static_cast< int >(result
));
4934 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4935 PyObject
*resultobj
= 0;
4936 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4937 wxCheckBoxState arg2
;
4942 PyObject
* obj0
= 0 ;
4943 PyObject
* obj1
= 0 ;
4944 char * kwnames
[] = {
4945 (char *) "self",(char *) "state", NULL
4948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4950 if (!SWIG_IsOK(res1
)) {
4951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4953 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4955 if (!SWIG_IsOK(ecode2
)) {
4956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4958 arg2
= static_cast< wxCheckBoxState
>(val2
);
4960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4961 (arg1
)->Set3StateValue(arg2
);
4962 wxPyEndAllowThreads(__tstate
);
4963 if (PyErr_Occurred()) SWIG_fail
;
4965 resultobj
= SWIG_Py_Void();
4972 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4973 PyObject
*resultobj
= 0;
4974 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4978 PyObject
*swig_obj
[1] ;
4980 if (!args
) SWIG_fail
;
4982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4983 if (!SWIG_IsOK(res1
)) {
4984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4986 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4989 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4990 wxPyEndAllowThreads(__tstate
);
4991 if (PyErr_Occurred()) SWIG_fail
;
4994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5002 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5003 PyObject
*resultobj
= 0;
5004 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5008 PyObject
*swig_obj
[1] ;
5010 if (!args
) SWIG_fail
;
5012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5013 if (!SWIG_IsOK(res1
)) {
5014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5016 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5019 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5020 wxPyEndAllowThreads(__tstate
);
5021 if (PyErr_Occurred()) SWIG_fail
;
5024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5032 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5033 PyObject
*resultobj
= 0;
5034 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5035 SwigValueWrapper
<wxVisualAttributes
> result
;
5038 PyObject
* obj0
= 0 ;
5039 char * kwnames
[] = {
5040 (char *) "variant", NULL
5043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5045 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5046 if (!SWIG_IsOK(ecode1
)) {
5047 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5049 arg1
= static_cast< wxWindowVariant
>(val1
);
5052 if (!wxPyCheckForApp()) SWIG_fail
;
5053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5054 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5055 wxPyEndAllowThreads(__tstate
);
5056 if (PyErr_Occurred()) SWIG_fail
;
5058 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5065 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5067 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5068 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5069 return SWIG_Py_Void();
5072 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5073 return SWIG_Python_InitShadowInstance(args
);
5076 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5077 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5082 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5083 PyObject
*pyobj
= 0;
5087 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5089 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5096 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5097 PyObject
*resultobj
= 0;
5098 wxWindow
*arg1
= (wxWindow
*) 0 ;
5099 int arg2
= (int) -1 ;
5100 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5101 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5102 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5103 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5104 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5105 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5106 long arg6
= (long) 0 ;
5107 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5108 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5109 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5110 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5111 wxChoice
*result
= 0 ;
5118 bool temp5
= false ;
5123 bool temp8
= false ;
5124 PyObject
* obj0
= 0 ;
5125 PyObject
* obj1
= 0 ;
5126 PyObject
* obj2
= 0 ;
5127 PyObject
* obj3
= 0 ;
5128 PyObject
* obj4
= 0 ;
5129 PyObject
* obj5
= 0 ;
5130 PyObject
* obj6
= 0 ;
5131 PyObject
* obj7
= 0 ;
5132 char * kwnames
[] = {
5133 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5138 if (!SWIG_IsOK(res1
)) {
5139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5141 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5143 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5144 if (!SWIG_IsOK(ecode2
)) {
5145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5147 arg2
= static_cast< int >(val2
);
5152 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5158 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5163 if (! PySequence_Check(obj4
)) {
5164 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5167 arg5
= new wxArrayString
;
5169 int i
, len
=PySequence_Length(obj4
);
5170 for (i
=0; i
<len
; i
++) {
5171 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5172 wxString
* s
= wxString_in_helper(item
);
5173 if (PyErr_Occurred()) SWIG_fail
;
5181 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5182 if (!SWIG_IsOK(ecode6
)) {
5183 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5185 arg6
= static_cast< long >(val6
);
5188 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5189 if (!SWIG_IsOK(res7
)) {
5190 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5193 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5195 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5199 arg8
= wxString_in_helper(obj7
);
5200 if (arg8
== NULL
) SWIG_fail
;
5205 if (!wxPyCheckForApp()) SWIG_fail
;
5206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5207 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5208 wxPyEndAllowThreads(__tstate
);
5209 if (PyErr_Occurred()) SWIG_fail
;
5211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5213 if (temp5
) delete arg5
;
5222 if (temp5
) delete arg5
;
5232 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5233 PyObject
*resultobj
= 0;
5234 wxChoice
*result
= 0 ;
5236 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5238 if (!wxPyCheckForApp()) SWIG_fail
;
5239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5240 result
= (wxChoice
*)new wxChoice();
5241 wxPyEndAllowThreads(__tstate
);
5242 if (PyErr_Occurred()) SWIG_fail
;
5244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5251 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5252 PyObject
*resultobj
= 0;
5253 wxChoice
*arg1
= (wxChoice
*) 0 ;
5254 wxWindow
*arg2
= (wxWindow
*) 0 ;
5255 int arg3
= (int) -1 ;
5256 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5257 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5258 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5259 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5260 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5261 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5262 long arg7
= (long) 0 ;
5263 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5264 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5265 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5266 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5276 bool temp6
= false ;
5281 bool temp9
= false ;
5282 PyObject
* obj0
= 0 ;
5283 PyObject
* obj1
= 0 ;
5284 PyObject
* obj2
= 0 ;
5285 PyObject
* obj3
= 0 ;
5286 PyObject
* obj4
= 0 ;
5287 PyObject
* obj5
= 0 ;
5288 PyObject
* obj6
= 0 ;
5289 PyObject
* obj7
= 0 ;
5290 PyObject
* obj8
= 0 ;
5291 char * kwnames
[] = {
5292 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5297 if (!SWIG_IsOK(res1
)) {
5298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5300 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5301 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5302 if (!SWIG_IsOK(res2
)) {
5303 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5305 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5307 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5308 if (!SWIG_IsOK(ecode3
)) {
5309 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5311 arg3
= static_cast< int >(val3
);
5316 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5322 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5327 if (! PySequence_Check(obj5
)) {
5328 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5331 arg6
= new wxArrayString
;
5333 int i
, len
=PySequence_Length(obj5
);
5334 for (i
=0; i
<len
; i
++) {
5335 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5336 wxString
* s
= wxString_in_helper(item
);
5337 if (PyErr_Occurred()) SWIG_fail
;
5345 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5346 if (!SWIG_IsOK(ecode7
)) {
5347 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5349 arg7
= static_cast< long >(val7
);
5352 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5353 if (!SWIG_IsOK(res8
)) {
5354 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5357 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5359 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5363 arg9
= wxString_in_helper(obj8
);
5364 if (arg9
== NULL
) SWIG_fail
;
5369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5370 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5371 wxPyEndAllowThreads(__tstate
);
5372 if (PyErr_Occurred()) SWIG_fail
;
5375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5378 if (temp6
) delete arg6
;
5387 if (temp6
) delete arg6
;
5397 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5398 PyObject
*resultobj
= 0;
5399 wxChoice
*arg1
= (wxChoice
*) 0 ;
5403 PyObject
*swig_obj
[1] ;
5405 if (!args
) SWIG_fail
;
5407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5408 if (!SWIG_IsOK(res1
)) {
5409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5411 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5414 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5415 wxPyEndAllowThreads(__tstate
);
5416 if (PyErr_Occurred()) SWIG_fail
;
5418 resultobj
= SWIG_From_int(static_cast< int >(result
));
5425 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5426 PyObject
*resultobj
= 0;
5427 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5428 SwigValueWrapper
<wxVisualAttributes
> result
;
5431 PyObject
* obj0
= 0 ;
5432 char * kwnames
[] = {
5433 (char *) "variant", NULL
5436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5438 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5439 if (!SWIG_IsOK(ecode1
)) {
5440 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5442 arg1
= static_cast< wxWindowVariant
>(val1
);
5445 if (!wxPyCheckForApp()) SWIG_fail
;
5446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5447 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5448 wxPyEndAllowThreads(__tstate
);
5449 if (PyErr_Occurred()) SWIG_fail
;
5451 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5458 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5460 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5461 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5462 return SWIG_Py_Void();
5465 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5466 return SWIG_Python_InitShadowInstance(args
);
5469 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5470 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5475 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5476 PyObject
*pyobj
= 0;
5480 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5482 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5489 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5490 PyObject
*resultobj
= 0;
5491 wxWindow
*arg1
= (wxWindow
*) 0 ;
5492 int arg2
= (int) -1 ;
5493 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5494 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5495 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5496 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5497 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5498 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5499 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5500 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5501 long arg7
= (long) 0 ;
5502 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5503 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5504 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5505 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5506 wxComboBox
*result
= 0 ;
5511 bool temp3
= false ;
5514 bool temp6
= false ;
5519 bool temp9
= false ;
5520 PyObject
* obj0
= 0 ;
5521 PyObject
* obj1
= 0 ;
5522 PyObject
* obj2
= 0 ;
5523 PyObject
* obj3
= 0 ;
5524 PyObject
* obj4
= 0 ;
5525 PyObject
* obj5
= 0 ;
5526 PyObject
* obj6
= 0 ;
5527 PyObject
* obj7
= 0 ;
5528 PyObject
* obj8
= 0 ;
5529 char * kwnames
[] = {
5530 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5535 if (!SWIG_IsOK(res1
)) {
5536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5538 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5540 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5541 if (!SWIG_IsOK(ecode2
)) {
5542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5544 arg2
= static_cast< int >(val2
);
5548 arg3
= wxString_in_helper(obj2
);
5549 if (arg3
== NULL
) SWIG_fail
;
5556 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5562 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5567 if (! PySequence_Check(obj5
)) {
5568 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5571 arg6
= new wxArrayString
;
5573 int i
, len
=PySequence_Length(obj5
);
5574 for (i
=0; i
<len
; i
++) {
5575 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5576 wxString
* s
= wxString_in_helper(item
);
5577 if (PyErr_Occurred()) SWIG_fail
;
5585 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5586 if (!SWIG_IsOK(ecode7
)) {
5587 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5589 arg7
= static_cast< long >(val7
);
5592 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5593 if (!SWIG_IsOK(res8
)) {
5594 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5597 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5599 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5603 arg9
= wxString_in_helper(obj8
);
5604 if (arg9
== NULL
) SWIG_fail
;
5609 if (!wxPyCheckForApp()) SWIG_fail
;
5610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5611 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
);
5612 wxPyEndAllowThreads(__tstate
);
5613 if (PyErr_Occurred()) SWIG_fail
;
5615 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5621 if (temp6
) delete arg6
;
5634 if (temp6
) delete arg6
;
5644 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5645 PyObject
*resultobj
= 0;
5646 wxComboBox
*result
= 0 ;
5648 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5650 if (!wxPyCheckForApp()) SWIG_fail
;
5651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5652 result
= (wxComboBox
*)new wxComboBox();
5653 wxPyEndAllowThreads(__tstate
);
5654 if (PyErr_Occurred()) SWIG_fail
;
5656 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5663 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5664 PyObject
*resultobj
= 0;
5665 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5666 wxWindow
*arg2
= (wxWindow
*) 0 ;
5667 int arg3
= (int) -1 ;
5668 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5669 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5670 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5671 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5672 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5673 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5674 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5675 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5676 long arg8
= (long) 0 ;
5677 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5678 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5679 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5680 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5688 bool temp4
= false ;
5691 bool temp7
= false ;
5696 bool temp10
= false ;
5697 PyObject
* obj0
= 0 ;
5698 PyObject
* obj1
= 0 ;
5699 PyObject
* obj2
= 0 ;
5700 PyObject
* obj3
= 0 ;
5701 PyObject
* obj4
= 0 ;
5702 PyObject
* obj5
= 0 ;
5703 PyObject
* obj6
= 0 ;
5704 PyObject
* obj7
= 0 ;
5705 PyObject
* obj8
= 0 ;
5706 PyObject
* obj9
= 0 ;
5707 char * kwnames
[] = {
5708 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5713 if (!SWIG_IsOK(res1
)) {
5714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5716 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5717 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5718 if (!SWIG_IsOK(res2
)) {
5719 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5721 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5723 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5724 if (!SWIG_IsOK(ecode3
)) {
5725 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5727 arg3
= static_cast< int >(val3
);
5731 arg4
= wxString_in_helper(obj3
);
5732 if (arg4
== NULL
) SWIG_fail
;
5739 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5745 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5750 if (! PySequence_Check(obj6
)) {
5751 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5754 arg7
= new wxArrayString
;
5756 int i
, len
=PySequence_Length(obj6
);
5757 for (i
=0; i
<len
; i
++) {
5758 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5759 wxString
* s
= wxString_in_helper(item
);
5760 if (PyErr_Occurred()) SWIG_fail
;
5768 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5769 if (!SWIG_IsOK(ecode8
)) {
5770 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5772 arg8
= static_cast< long >(val8
);
5775 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5776 if (!SWIG_IsOK(res9
)) {
5777 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5780 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5782 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5786 arg10
= wxString_in_helper(obj9
);
5787 if (arg10
== NULL
) SWIG_fail
;
5792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5793 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
);
5794 wxPyEndAllowThreads(__tstate
);
5795 if (PyErr_Occurred()) SWIG_fail
;
5798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5805 if (temp7
) delete arg7
;
5818 if (temp7
) delete arg7
;
5828 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5829 PyObject
*resultobj
= 0;
5830 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5834 PyObject
*swig_obj
[1] ;
5836 if (!args
) SWIG_fail
;
5838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5839 if (!SWIG_IsOK(res1
)) {
5840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5842 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5845 result
= ((wxComboBox
const *)arg1
)->GetValue();
5846 wxPyEndAllowThreads(__tstate
);
5847 if (PyErr_Occurred()) SWIG_fail
;
5851 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5853 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5862 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5863 PyObject
*resultobj
= 0;
5864 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5865 wxString
*arg2
= 0 ;
5868 bool temp2
= false ;
5869 PyObject
* obj0
= 0 ;
5870 PyObject
* obj1
= 0 ;
5871 char * kwnames
[] = {
5872 (char *) "self",(char *) "value", NULL
5875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5877 if (!SWIG_IsOK(res1
)) {
5878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5880 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5882 arg2
= wxString_in_helper(obj1
);
5883 if (arg2
== NULL
) SWIG_fail
;
5887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5888 (arg1
)->SetValue((wxString
const &)*arg2
);
5889 wxPyEndAllowThreads(__tstate
);
5890 if (PyErr_Occurred()) SWIG_fail
;
5892 resultobj
= SWIG_Py_Void();
5907 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5908 PyObject
*resultobj
= 0;
5909 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5912 PyObject
*swig_obj
[1] ;
5914 if (!args
) SWIG_fail
;
5916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5917 if (!SWIG_IsOK(res1
)) {
5918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5920 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5924 wxPyEndAllowThreads(__tstate
);
5925 if (PyErr_Occurred()) SWIG_fail
;
5927 resultobj
= SWIG_Py_Void();
5934 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5935 PyObject
*resultobj
= 0;
5936 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5939 PyObject
*swig_obj
[1] ;
5941 if (!args
) SWIG_fail
;
5943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5944 if (!SWIG_IsOK(res1
)) {
5945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5947 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5951 wxPyEndAllowThreads(__tstate
);
5952 if (PyErr_Occurred()) SWIG_fail
;
5954 resultobj
= SWIG_Py_Void();
5961 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5962 PyObject
*resultobj
= 0;
5963 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5966 PyObject
*swig_obj
[1] ;
5968 if (!args
) SWIG_fail
;
5970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5971 if (!SWIG_IsOK(res1
)) {
5972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5974 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5978 wxPyEndAllowThreads(__tstate
);
5979 if (PyErr_Occurred()) SWIG_fail
;
5981 resultobj
= SWIG_Py_Void();
5988 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5989 PyObject
*resultobj
= 0;
5990 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5996 PyObject
* obj0
= 0 ;
5997 PyObject
* obj1
= 0 ;
5998 char * kwnames
[] = {
5999 (char *) "self",(char *) "pos", NULL
6002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6004 if (!SWIG_IsOK(res1
)) {
6005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6007 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6008 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6009 if (!SWIG_IsOK(ecode2
)) {
6010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6012 arg2
= static_cast< long >(val2
);
6014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6015 (arg1
)->SetInsertionPoint(arg2
);
6016 wxPyEndAllowThreads(__tstate
);
6017 if (PyErr_Occurred()) SWIG_fail
;
6019 resultobj
= SWIG_Py_Void();
6026 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6027 PyObject
*resultobj
= 0;
6028 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6032 PyObject
*swig_obj
[1] ;
6034 if (!args
) SWIG_fail
;
6036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6037 if (!SWIG_IsOK(res1
)) {
6038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6040 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6043 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6044 wxPyEndAllowThreads(__tstate
);
6045 if (PyErr_Occurred()) SWIG_fail
;
6047 resultobj
= SWIG_From_long(static_cast< long >(result
));
6054 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6055 PyObject
*resultobj
= 0;
6056 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6060 PyObject
*swig_obj
[1] ;
6062 if (!args
) SWIG_fail
;
6064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6065 if (!SWIG_IsOK(res1
)) {
6066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6068 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6071 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6072 wxPyEndAllowThreads(__tstate
);
6073 if (PyErr_Occurred()) SWIG_fail
;
6075 resultobj
= SWIG_From_long(static_cast< long >(result
));
6082 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6083 PyObject
*resultobj
= 0;
6084 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6087 wxString
*arg4
= 0 ;
6094 bool temp4
= false ;
6095 PyObject
* obj0
= 0 ;
6096 PyObject
* obj1
= 0 ;
6097 PyObject
* obj2
= 0 ;
6098 PyObject
* obj3
= 0 ;
6099 char * kwnames
[] = {
6100 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6105 if (!SWIG_IsOK(res1
)) {
6106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6108 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6109 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6110 if (!SWIG_IsOK(ecode2
)) {
6111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6113 arg2
= static_cast< long >(val2
);
6114 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6115 if (!SWIG_IsOK(ecode3
)) {
6116 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6118 arg3
= static_cast< long >(val3
);
6120 arg4
= wxString_in_helper(obj3
);
6121 if (arg4
== NULL
) SWIG_fail
;
6125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6126 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6127 wxPyEndAllowThreads(__tstate
);
6128 if (PyErr_Occurred()) SWIG_fail
;
6130 resultobj
= SWIG_Py_Void();
6145 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6146 PyObject
*resultobj
= 0;
6147 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6156 PyObject
* obj0
= 0 ;
6157 PyObject
* obj1
= 0 ;
6158 PyObject
* obj2
= 0 ;
6159 char * kwnames
[] = {
6160 (char *) "self",(char *) "from",(char *) "to", NULL
6163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6165 if (!SWIG_IsOK(res1
)) {
6166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6168 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6169 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6170 if (!SWIG_IsOK(ecode2
)) {
6171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6173 arg2
= static_cast< long >(val2
);
6174 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6175 if (!SWIG_IsOK(ecode3
)) {
6176 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6178 arg3
= static_cast< long >(val3
);
6180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6181 (arg1
)->SetSelection(arg2
,arg3
);
6182 wxPyEndAllowThreads(__tstate
);
6183 if (PyErr_Occurred()) SWIG_fail
;
6185 resultobj
= SWIG_Py_Void();
6192 SWIGINTERN PyObject
*_wrap_ComboBox_GetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6193 PyObject
*resultobj
= 0;
6194 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6195 long *arg2
= (long *) 0 ;
6196 long *arg3
= (long *) 0 ;
6200 int res2
= SWIG_TMPOBJ
;
6202 int res3
= SWIG_TMPOBJ
;
6203 PyObject
*swig_obj
[1] ;
6207 if (!args
) SWIG_fail
;
6209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6210 if (!SWIG_IsOK(res1
)) {
6211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6213 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6216 (arg1
)->GetSelection(arg2
,arg3
);
6217 wxPyEndAllowThreads(__tstate
);
6218 if (PyErr_Occurred()) SWIG_fail
;
6220 resultobj
= SWIG_Py_Void();
6221 if (SWIG_IsTmpObj(res2
)) {
6222 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6224 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6225 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6227 if (SWIG_IsTmpObj(res3
)) {
6228 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6230 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6231 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6239 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6240 PyObject
*resultobj
= 0;
6241 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6245 PyObject
*swig_obj
[1] ;
6247 if (!args
) SWIG_fail
;
6249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6250 if (!SWIG_IsOK(res1
)) {
6251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6253 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6256 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6257 wxPyEndAllowThreads(__tstate
);
6258 if (PyErr_Occurred()) SWIG_fail
;
6260 resultobj
= SWIG_From_int(static_cast< int >(result
));
6267 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6268 PyObject
*resultobj
= 0;
6269 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6270 wxString
*arg2
= 0 ;
6274 bool temp2
= false ;
6275 PyObject
* obj0
= 0 ;
6276 PyObject
* obj1
= 0 ;
6277 char * kwnames
[] = {
6278 (char *) "self",(char *) "string", NULL
6281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6283 if (!SWIG_IsOK(res1
)) {
6284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6286 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6288 arg2
= wxString_in_helper(obj1
);
6289 if (arg2
== NULL
) SWIG_fail
;
6293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6294 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6295 wxPyEndAllowThreads(__tstate
);
6296 if (PyErr_Occurred()) SWIG_fail
;
6299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6315 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
*resultobj
= 0;
6317 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6323 PyObject
* obj0
= 0 ;
6324 PyObject
* obj1
= 0 ;
6325 char * kwnames
[] = {
6326 (char *) "self",(char *) "editable", NULL
6329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6331 if (!SWIG_IsOK(res1
)) {
6332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6334 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6335 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6336 if (!SWIG_IsOK(ecode2
)) {
6337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6339 arg2
= static_cast< bool >(val2
);
6341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6342 (arg1
)->SetEditable(arg2
);
6343 wxPyEndAllowThreads(__tstate
);
6344 if (PyErr_Occurred()) SWIG_fail
;
6346 resultobj
= SWIG_Py_Void();
6353 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6354 PyObject
*resultobj
= 0;
6355 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6358 PyObject
*swig_obj
[1] ;
6360 if (!args
) SWIG_fail
;
6362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6363 if (!SWIG_IsOK(res1
)) {
6364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6366 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6369 (arg1
)->SetInsertionPointEnd();
6370 wxPyEndAllowThreads(__tstate
);
6371 if (PyErr_Occurred()) SWIG_fail
;
6373 resultobj
= SWIG_Py_Void();
6380 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6381 PyObject
*resultobj
= 0;
6382 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6391 PyObject
* obj0
= 0 ;
6392 PyObject
* obj1
= 0 ;
6393 PyObject
* obj2
= 0 ;
6394 char * kwnames
[] = {
6395 (char *) "self",(char *) "from",(char *) "to", NULL
6398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6400 if (!SWIG_IsOK(res1
)) {
6401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6403 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6404 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6405 if (!SWIG_IsOK(ecode2
)) {
6406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6408 arg2
= static_cast< long >(val2
);
6409 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6410 if (!SWIG_IsOK(ecode3
)) {
6411 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6413 arg3
= static_cast< long >(val3
);
6415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6416 (arg1
)->Remove(arg2
,arg3
);
6417 wxPyEndAllowThreads(__tstate
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6420 resultobj
= SWIG_Py_Void();
6427 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6428 PyObject
*resultobj
= 0;
6429 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6433 PyObject
*swig_obj
[1] ;
6435 if (!args
) SWIG_fail
;
6437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6438 if (!SWIG_IsOK(res1
)) {
6439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6441 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6444 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6445 wxPyEndAllowThreads(__tstate
);
6446 if (PyErr_Occurred()) SWIG_fail
;
6449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6457 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6458 PyObject
*resultobj
= 0;
6459 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6462 PyObject
*swig_obj
[1] ;
6464 if (!args
) SWIG_fail
;
6466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6467 if (!SWIG_IsOK(res1
)) {
6468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6470 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6474 wxPyEndAllowThreads(__tstate
);
6475 if (PyErr_Occurred()) SWIG_fail
;
6477 resultobj
= SWIG_Py_Void();
6484 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6485 PyObject
*resultobj
= 0;
6486 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6489 PyObject
*swig_obj
[1] ;
6491 if (!args
) SWIG_fail
;
6493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6494 if (!SWIG_IsOK(res1
)) {
6495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6497 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6501 wxPyEndAllowThreads(__tstate
);
6502 if (PyErr_Occurred()) SWIG_fail
;
6504 resultobj
= SWIG_Py_Void();
6511 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6512 PyObject
*resultobj
= 0;
6513 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6516 PyObject
*swig_obj
[1] ;
6518 if (!args
) SWIG_fail
;
6520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6521 if (!SWIG_IsOK(res1
)) {
6522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6524 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6527 (arg1
)->SelectAll();
6528 wxPyEndAllowThreads(__tstate
);
6529 if (PyErr_Occurred()) SWIG_fail
;
6531 resultobj
= SWIG_Py_Void();
6538 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6539 PyObject
*resultobj
= 0;
6540 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6544 PyObject
*swig_obj
[1] ;
6546 if (!args
) SWIG_fail
;
6548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6549 if (!SWIG_IsOK(res1
)) {
6550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6552 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6555 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6556 wxPyEndAllowThreads(__tstate
);
6557 if (PyErr_Occurred()) SWIG_fail
;
6560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6568 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6569 PyObject
*resultobj
= 0;
6570 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6574 PyObject
*swig_obj
[1] ;
6576 if (!args
) SWIG_fail
;
6578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6579 if (!SWIG_IsOK(res1
)) {
6580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6582 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6585 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6586 wxPyEndAllowThreads(__tstate
);
6587 if (PyErr_Occurred()) SWIG_fail
;
6590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6598 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6599 PyObject
*resultobj
= 0;
6600 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6604 PyObject
*swig_obj
[1] ;
6606 if (!args
) SWIG_fail
;
6608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6609 if (!SWIG_IsOK(res1
)) {
6610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6612 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6615 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6616 wxPyEndAllowThreads(__tstate
);
6617 if (PyErr_Occurred()) SWIG_fail
;
6620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6628 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6629 PyObject
*resultobj
= 0;
6630 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6634 PyObject
*swig_obj
[1] ;
6636 if (!args
) SWIG_fail
;
6638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6639 if (!SWIG_IsOK(res1
)) {
6640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6642 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6645 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6646 wxPyEndAllowThreads(__tstate
);
6647 if (PyErr_Occurred()) SWIG_fail
;
6650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6658 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6659 PyObject
*resultobj
= 0;
6660 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6664 PyObject
*swig_obj
[1] ;
6666 if (!args
) SWIG_fail
;
6668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6669 if (!SWIG_IsOK(res1
)) {
6670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6672 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6675 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6676 wxPyEndAllowThreads(__tstate
);
6677 if (PyErr_Occurred()) SWIG_fail
;
6680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6688 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6689 PyObject
*resultobj
= 0;
6690 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6691 SwigValueWrapper
<wxVisualAttributes
> result
;
6694 PyObject
* obj0
= 0 ;
6695 char * kwnames
[] = {
6696 (char *) "variant", NULL
6699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6701 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6702 if (!SWIG_IsOK(ecode1
)) {
6703 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6705 arg1
= static_cast< wxWindowVariant
>(val1
);
6708 if (!wxPyCheckForApp()) SWIG_fail
;
6709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6710 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6711 wxPyEndAllowThreads(__tstate
);
6712 if (PyErr_Occurred()) SWIG_fail
;
6714 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6721 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6723 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6724 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6725 return SWIG_Py_Void();
6728 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6729 return SWIG_Python_InitShadowInstance(args
);
6732 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6733 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6738 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6739 PyObject
*pyobj
= 0;
6743 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6745 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6752 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6753 PyObject
*resultobj
= 0;
6754 wxWindow
*arg1
= (wxWindow
*) 0 ;
6755 int arg2
= (int) -1 ;
6756 int arg3
= (int) 100 ;
6757 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6758 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6759 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6760 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6761 long arg6
= (long) wxGA_HORIZONTAL
;
6762 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6763 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6764 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6765 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6766 wxGauge
*result
= 0 ;
6779 bool temp8
= false ;
6780 PyObject
* obj0
= 0 ;
6781 PyObject
* obj1
= 0 ;
6782 PyObject
* obj2
= 0 ;
6783 PyObject
* obj3
= 0 ;
6784 PyObject
* obj4
= 0 ;
6785 PyObject
* obj5
= 0 ;
6786 PyObject
* obj6
= 0 ;
6787 PyObject
* obj7
= 0 ;
6788 char * kwnames
[] = {
6789 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6794 if (!SWIG_IsOK(res1
)) {
6795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6797 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6799 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6800 if (!SWIG_IsOK(ecode2
)) {
6801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6803 arg2
= static_cast< int >(val2
);
6806 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6807 if (!SWIG_IsOK(ecode3
)) {
6808 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6810 arg3
= static_cast< int >(val3
);
6815 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6821 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6825 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6826 if (!SWIG_IsOK(ecode6
)) {
6827 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6829 arg6
= static_cast< long >(val6
);
6832 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6833 if (!SWIG_IsOK(res7
)) {
6834 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6837 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6839 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6843 arg8
= wxString_in_helper(obj7
);
6844 if (arg8
== NULL
) SWIG_fail
;
6849 if (!wxPyCheckForApp()) SWIG_fail
;
6850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6851 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6852 wxPyEndAllowThreads(__tstate
);
6853 if (PyErr_Occurred()) SWIG_fail
;
6855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6870 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6871 PyObject
*resultobj
= 0;
6872 wxGauge
*result
= 0 ;
6874 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6876 if (!wxPyCheckForApp()) SWIG_fail
;
6877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6878 result
= (wxGauge
*)new wxGauge();
6879 wxPyEndAllowThreads(__tstate
);
6880 if (PyErr_Occurred()) SWIG_fail
;
6882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6889 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6890 PyObject
*resultobj
= 0;
6891 wxGauge
*arg1
= (wxGauge
*) 0 ;
6892 wxWindow
*arg2
= (wxWindow
*) 0 ;
6893 int arg3
= (int) -1 ;
6894 int arg4
= (int) 100 ;
6895 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6896 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6897 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6898 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6899 long arg7
= (long) wxGA_HORIZONTAL
;
6900 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6901 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6902 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6903 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6919 bool temp9
= false ;
6920 PyObject
* obj0
= 0 ;
6921 PyObject
* obj1
= 0 ;
6922 PyObject
* obj2
= 0 ;
6923 PyObject
* obj3
= 0 ;
6924 PyObject
* obj4
= 0 ;
6925 PyObject
* obj5
= 0 ;
6926 PyObject
* obj6
= 0 ;
6927 PyObject
* obj7
= 0 ;
6928 PyObject
* obj8
= 0 ;
6929 char * kwnames
[] = {
6930 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6935 if (!SWIG_IsOK(res1
)) {
6936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6938 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6939 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6940 if (!SWIG_IsOK(res2
)) {
6941 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6943 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6945 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6946 if (!SWIG_IsOK(ecode3
)) {
6947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6949 arg3
= static_cast< int >(val3
);
6952 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6953 if (!SWIG_IsOK(ecode4
)) {
6954 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6956 arg4
= static_cast< int >(val4
);
6961 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6967 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6971 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6972 if (!SWIG_IsOK(ecode7
)) {
6973 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6975 arg7
= static_cast< long >(val7
);
6978 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
6979 if (!SWIG_IsOK(res8
)) {
6980 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6983 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6985 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
6989 arg9
= wxString_in_helper(obj8
);
6990 if (arg9
== NULL
) SWIG_fail
;
6995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6996 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6997 wxPyEndAllowThreads(__tstate
);
6998 if (PyErr_Occurred()) SWIG_fail
;
7001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7017 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7018 PyObject
*resultobj
= 0;
7019 wxGauge
*arg1
= (wxGauge
*) 0 ;
7025 PyObject
* obj0
= 0 ;
7026 PyObject
* obj1
= 0 ;
7027 char * kwnames
[] = {
7028 (char *) "self",(char *) "range", NULL
7031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7033 if (!SWIG_IsOK(res1
)) {
7034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7036 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7037 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7038 if (!SWIG_IsOK(ecode2
)) {
7039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7041 arg2
= static_cast< int >(val2
);
7043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7044 (arg1
)->SetRange(arg2
);
7045 wxPyEndAllowThreads(__tstate
);
7046 if (PyErr_Occurred()) SWIG_fail
;
7048 resultobj
= SWIG_Py_Void();
7055 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7056 PyObject
*resultobj
= 0;
7057 wxGauge
*arg1
= (wxGauge
*) 0 ;
7061 PyObject
*swig_obj
[1] ;
7063 if (!args
) SWIG_fail
;
7065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7066 if (!SWIG_IsOK(res1
)) {
7067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7069 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7072 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7073 wxPyEndAllowThreads(__tstate
);
7074 if (PyErr_Occurred()) SWIG_fail
;
7076 resultobj
= SWIG_From_int(static_cast< int >(result
));
7083 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
*resultobj
= 0;
7085 wxGauge
*arg1
= (wxGauge
*) 0 ;
7091 PyObject
* obj0
= 0 ;
7092 PyObject
* obj1
= 0 ;
7093 char * kwnames
[] = {
7094 (char *) "self",(char *) "pos", NULL
7097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7099 if (!SWIG_IsOK(res1
)) {
7100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7102 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7103 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7104 if (!SWIG_IsOK(ecode2
)) {
7105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7107 arg2
= static_cast< int >(val2
);
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 (arg1
)->SetValue(arg2
);
7111 wxPyEndAllowThreads(__tstate
);
7112 if (PyErr_Occurred()) SWIG_fail
;
7114 resultobj
= SWIG_Py_Void();
7121 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7122 PyObject
*resultobj
= 0;
7123 wxGauge
*arg1
= (wxGauge
*) 0 ;
7127 PyObject
*swig_obj
[1] ;
7129 if (!args
) SWIG_fail
;
7131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7132 if (!SWIG_IsOK(res1
)) {
7133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7135 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7138 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7139 wxPyEndAllowThreads(__tstate
);
7140 if (PyErr_Occurred()) SWIG_fail
;
7142 resultobj
= SWIG_From_int(static_cast< int >(result
));
7149 SWIGINTERN PyObject
*_wrap_Gauge_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7150 PyObject
*resultobj
= 0;
7151 wxGauge
*arg1
= (wxGauge
*) 0 ;
7154 PyObject
*swig_obj
[1] ;
7156 if (!args
) SWIG_fail
;
7158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7159 if (!SWIG_IsOK(res1
)) {
7160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7162 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7166 wxPyEndAllowThreads(__tstate
);
7167 if (PyErr_Occurred()) SWIG_fail
;
7169 resultobj
= SWIG_Py_Void();
7176 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7177 PyObject
*resultobj
= 0;
7178 wxGauge
*arg1
= (wxGauge
*) 0 ;
7182 PyObject
*swig_obj
[1] ;
7184 if (!args
) SWIG_fail
;
7186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7187 if (!SWIG_IsOK(res1
)) {
7188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7190 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7193 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7194 wxPyEndAllowThreads(__tstate
);
7195 if (PyErr_Occurred()) SWIG_fail
;
7198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7206 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7207 PyObject
*resultobj
= 0;
7208 wxGauge
*arg1
= (wxGauge
*) 0 ;
7214 PyObject
* obj0
= 0 ;
7215 PyObject
* obj1
= 0 ;
7216 char * kwnames
[] = {
7217 (char *) "self",(char *) "w", NULL
7220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7222 if (!SWIG_IsOK(res1
)) {
7223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7225 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7227 if (!SWIG_IsOK(ecode2
)) {
7228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7230 arg2
= static_cast< int >(val2
);
7232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7233 (arg1
)->SetShadowWidth(arg2
);
7234 wxPyEndAllowThreads(__tstate
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7237 resultobj
= SWIG_Py_Void();
7244 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7245 PyObject
*resultobj
= 0;
7246 wxGauge
*arg1
= (wxGauge
*) 0 ;
7250 PyObject
*swig_obj
[1] ;
7252 if (!args
) SWIG_fail
;
7254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7255 if (!SWIG_IsOK(res1
)) {
7256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7258 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7262 wxPyEndAllowThreads(__tstate
);
7263 if (PyErr_Occurred()) SWIG_fail
;
7265 resultobj
= SWIG_From_int(static_cast< int >(result
));
7272 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7273 PyObject
*resultobj
= 0;
7274 wxGauge
*arg1
= (wxGauge
*) 0 ;
7280 PyObject
* obj0
= 0 ;
7281 PyObject
* obj1
= 0 ;
7282 char * kwnames
[] = {
7283 (char *) "self",(char *) "w", NULL
7286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7288 if (!SWIG_IsOK(res1
)) {
7289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7291 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7293 if (!SWIG_IsOK(ecode2
)) {
7294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7296 arg2
= static_cast< int >(val2
);
7298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7299 (arg1
)->SetBezelFace(arg2
);
7300 wxPyEndAllowThreads(__tstate
);
7301 if (PyErr_Occurred()) SWIG_fail
;
7303 resultobj
= SWIG_Py_Void();
7310 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7311 PyObject
*resultobj
= 0;
7312 wxGauge
*arg1
= (wxGauge
*) 0 ;
7316 PyObject
*swig_obj
[1] ;
7318 if (!args
) SWIG_fail
;
7320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7321 if (!SWIG_IsOK(res1
)) {
7322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7324 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7327 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7328 wxPyEndAllowThreads(__tstate
);
7329 if (PyErr_Occurred()) SWIG_fail
;
7331 resultobj
= SWIG_From_int(static_cast< int >(result
));
7338 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7339 PyObject
*resultobj
= 0;
7340 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7341 SwigValueWrapper
<wxVisualAttributes
> result
;
7344 PyObject
* obj0
= 0 ;
7345 char * kwnames
[] = {
7346 (char *) "variant", NULL
7349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7351 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7352 if (!SWIG_IsOK(ecode1
)) {
7353 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7355 arg1
= static_cast< wxWindowVariant
>(val1
);
7358 if (!wxPyCheckForApp()) SWIG_fail
;
7359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7360 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7361 wxPyEndAllowThreads(__tstate
);
7362 if (PyErr_Occurred()) SWIG_fail
;
7364 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7371 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7373 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7374 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7375 return SWIG_Py_Void();
7378 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7379 return SWIG_Python_InitShadowInstance(args
);
7382 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7383 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7388 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7389 PyObject
*pyobj
= 0;
7393 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7395 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7402 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7403 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7408 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7409 PyObject
*pyobj
= 0;
7413 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7415 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7422 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7423 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7428 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7429 PyObject
*pyobj
= 0;
7433 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7435 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7442 SWIGINTERN
int StaticLineNameStr_set(PyObject
*) {
7443 SWIG_Error(SWIG_AttributeError
,"Variable StaticLineNameStr is read-only.");
7448 SWIGINTERN PyObject
*StaticLineNameStr_get(void) {
7449 PyObject
*pyobj
= 0;
7453 pyobj
= PyUnicode_FromWideChar((&wxPyStaticLineNameStr
)->c_str(), (&wxPyStaticLineNameStr
)->Len());
7455 pyobj
= PyString_FromStringAndSize((&wxPyStaticLineNameStr
)->c_str(), (&wxPyStaticLineNameStr
)->Len());
7462 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7463 PyObject
*resultobj
= 0;
7464 wxWindow
*arg1
= (wxWindow
*) 0 ;
7465 int arg2
= (int) -1 ;
7466 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7467 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7468 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7469 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7470 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7471 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7472 long arg6
= (long) 0 ;
7473 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7474 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7475 wxStaticBox
*result
= 0 ;
7480 bool temp3
= false ;
7485 bool temp7
= false ;
7486 PyObject
* obj0
= 0 ;
7487 PyObject
* obj1
= 0 ;
7488 PyObject
* obj2
= 0 ;
7489 PyObject
* obj3
= 0 ;
7490 PyObject
* obj4
= 0 ;
7491 PyObject
* obj5
= 0 ;
7492 PyObject
* obj6
= 0 ;
7493 char * kwnames
[] = {
7494 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7499 if (!SWIG_IsOK(res1
)) {
7500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7502 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7505 if (!SWIG_IsOK(ecode2
)) {
7506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7508 arg2
= static_cast< int >(val2
);
7512 arg3
= wxString_in_helper(obj2
);
7513 if (arg3
== NULL
) SWIG_fail
;
7520 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7526 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7530 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7531 if (!SWIG_IsOK(ecode6
)) {
7532 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7534 arg6
= static_cast< long >(val6
);
7538 arg7
= wxString_in_helper(obj6
);
7539 if (arg7
== NULL
) SWIG_fail
;
7544 if (!wxPyCheckForApp()) SWIG_fail
;
7545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7546 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7547 wxPyEndAllowThreads(__tstate
);
7548 if (PyErr_Occurred()) SWIG_fail
;
7550 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7573 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7574 PyObject
*resultobj
= 0;
7575 wxStaticBox
*result
= 0 ;
7577 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7579 if (!wxPyCheckForApp()) SWIG_fail
;
7580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7581 result
= (wxStaticBox
*)new wxStaticBox();
7582 wxPyEndAllowThreads(__tstate
);
7583 if (PyErr_Occurred()) SWIG_fail
;
7585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7592 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7593 PyObject
*resultobj
= 0;
7594 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7595 wxWindow
*arg2
= (wxWindow
*) 0 ;
7596 int arg3
= (int) -1 ;
7597 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7598 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7599 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7600 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7601 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7602 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7603 long arg7
= (long) 0 ;
7604 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7605 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7613 bool temp4
= false ;
7618 bool temp8
= false ;
7619 PyObject
* obj0
= 0 ;
7620 PyObject
* obj1
= 0 ;
7621 PyObject
* obj2
= 0 ;
7622 PyObject
* obj3
= 0 ;
7623 PyObject
* obj4
= 0 ;
7624 PyObject
* obj5
= 0 ;
7625 PyObject
* obj6
= 0 ;
7626 PyObject
* obj7
= 0 ;
7627 char * kwnames
[] = {
7628 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7633 if (!SWIG_IsOK(res1
)) {
7634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7636 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7637 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7638 if (!SWIG_IsOK(res2
)) {
7639 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7641 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7643 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7644 if (!SWIG_IsOK(ecode3
)) {
7645 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7647 arg3
= static_cast< int >(val3
);
7651 arg4
= wxString_in_helper(obj3
);
7652 if (arg4
== NULL
) SWIG_fail
;
7659 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7665 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7669 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7670 if (!SWIG_IsOK(ecode7
)) {
7671 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7673 arg7
= static_cast< long >(val7
);
7677 arg8
= wxString_in_helper(obj7
);
7678 if (arg8
== NULL
) SWIG_fail
;
7683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7684 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7685 wxPyEndAllowThreads(__tstate
);
7686 if (PyErr_Occurred()) SWIG_fail
;
7689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7713 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7714 PyObject
*resultobj
= 0;
7715 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7716 SwigValueWrapper
<wxVisualAttributes
> result
;
7719 PyObject
* obj0
= 0 ;
7720 char * kwnames
[] = {
7721 (char *) "variant", NULL
7724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7726 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7727 if (!SWIG_IsOK(ecode1
)) {
7728 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7730 arg1
= static_cast< wxWindowVariant
>(val1
);
7733 if (!wxPyCheckForApp()) SWIG_fail
;
7734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7735 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7736 wxPyEndAllowThreads(__tstate
);
7737 if (PyErr_Occurred()) SWIG_fail
;
7739 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7746 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7748 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7749 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7750 return SWIG_Py_Void();
7753 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7754 return SWIG_Python_InitShadowInstance(args
);
7757 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7758 PyObject
*resultobj
= 0;
7759 wxWindow
*arg1
= (wxWindow
*) 0 ;
7760 int arg2
= (int) -1 ;
7761 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7762 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7763 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7764 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7765 long arg5
= (long) wxLI_HORIZONTAL
;
7766 wxString
const &arg6_defvalue
= wxPyStaticLineNameStr
;
7767 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7768 wxStaticLine
*result
= 0 ;
7777 bool temp6
= false ;
7778 PyObject
* obj0
= 0 ;
7779 PyObject
* obj1
= 0 ;
7780 PyObject
* obj2
= 0 ;
7781 PyObject
* obj3
= 0 ;
7782 PyObject
* obj4
= 0 ;
7783 PyObject
* obj5
= 0 ;
7784 char * kwnames
[] = {
7785 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7790 if (!SWIG_IsOK(res1
)) {
7791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7793 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7795 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7796 if (!SWIG_IsOK(ecode2
)) {
7797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7799 arg2
= static_cast< int >(val2
);
7804 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7810 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7814 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7815 if (!SWIG_IsOK(ecode5
)) {
7816 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7818 arg5
= static_cast< long >(val5
);
7822 arg6
= wxString_in_helper(obj5
);
7823 if (arg6
== NULL
) SWIG_fail
;
7828 if (!wxPyCheckForApp()) SWIG_fail
;
7829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7830 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7831 wxPyEndAllowThreads(__tstate
);
7832 if (PyErr_Occurred()) SWIG_fail
;
7834 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7849 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7850 PyObject
*resultobj
= 0;
7851 wxStaticLine
*result
= 0 ;
7853 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7855 if (!wxPyCheckForApp()) SWIG_fail
;
7856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7857 result
= (wxStaticLine
*)new wxStaticLine();
7858 wxPyEndAllowThreads(__tstate
);
7859 if (PyErr_Occurred()) SWIG_fail
;
7861 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7868 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7869 PyObject
*resultobj
= 0;
7870 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7871 wxWindow
*arg2
= (wxWindow
*) 0 ;
7872 int arg3
= (int) -1 ;
7873 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7874 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7875 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7876 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7877 long arg6
= (long) wxLI_HORIZONTAL
;
7878 wxString
const &arg7_defvalue
= wxPyStaticLineNameStr
;
7879 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7891 bool temp7
= false ;
7892 PyObject
* obj0
= 0 ;
7893 PyObject
* obj1
= 0 ;
7894 PyObject
* obj2
= 0 ;
7895 PyObject
* obj3
= 0 ;
7896 PyObject
* obj4
= 0 ;
7897 PyObject
* obj5
= 0 ;
7898 PyObject
* obj6
= 0 ;
7899 char * kwnames
[] = {
7900 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7905 if (!SWIG_IsOK(res1
)) {
7906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7908 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7909 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7910 if (!SWIG_IsOK(res2
)) {
7911 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7913 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7915 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7916 if (!SWIG_IsOK(ecode3
)) {
7917 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7919 arg3
= static_cast< int >(val3
);
7924 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7930 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7934 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7935 if (!SWIG_IsOK(ecode6
)) {
7936 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7938 arg6
= static_cast< long >(val6
);
7942 arg7
= wxString_in_helper(obj6
);
7943 if (arg7
== NULL
) SWIG_fail
;
7948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7949 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7950 wxPyEndAllowThreads(__tstate
);
7951 if (PyErr_Occurred()) SWIG_fail
;
7954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7970 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7971 PyObject
*resultobj
= 0;
7972 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7976 PyObject
*swig_obj
[1] ;
7978 if (!args
) SWIG_fail
;
7980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7981 if (!SWIG_IsOK(res1
)) {
7982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7984 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7987 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7988 wxPyEndAllowThreads(__tstate
);
7989 if (PyErr_Occurred()) SWIG_fail
;
7992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8000 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8001 PyObject
*resultobj
= 0;
8004 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
8006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8007 result
= (int)wxStaticLine::GetDefaultSize();
8008 wxPyEndAllowThreads(__tstate
);
8009 if (PyErr_Occurred()) SWIG_fail
;
8011 resultobj
= SWIG_From_int(static_cast< int >(result
));
8018 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8019 PyObject
*resultobj
= 0;
8020 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8021 SwigValueWrapper
<wxVisualAttributes
> result
;
8024 PyObject
* obj0
= 0 ;
8025 char * kwnames
[] = {
8026 (char *) "variant", NULL
8029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8031 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8032 if (!SWIG_IsOK(ecode1
)) {
8033 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8035 arg1
= static_cast< wxWindowVariant
>(val1
);
8038 if (!wxPyCheckForApp()) SWIG_fail
;
8039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8040 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8041 wxPyEndAllowThreads(__tstate
);
8042 if (PyErr_Occurred()) SWIG_fail
;
8044 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8051 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8053 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8054 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8055 return SWIG_Py_Void();
8058 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8059 return SWIG_Python_InitShadowInstance(args
);
8062 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8063 PyObject
*resultobj
= 0;
8064 wxWindow
*arg1
= (wxWindow
*) 0 ;
8065 int arg2
= (int) -1 ;
8066 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8067 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8068 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8069 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8070 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8071 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8072 long arg6
= (long) 0 ;
8073 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8074 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8075 wxStaticText
*result
= 0 ;
8080 bool temp3
= false ;
8085 bool temp7
= false ;
8086 PyObject
* obj0
= 0 ;
8087 PyObject
* obj1
= 0 ;
8088 PyObject
* obj2
= 0 ;
8089 PyObject
* obj3
= 0 ;
8090 PyObject
* obj4
= 0 ;
8091 PyObject
* obj5
= 0 ;
8092 PyObject
* obj6
= 0 ;
8093 char * kwnames
[] = {
8094 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8099 if (!SWIG_IsOK(res1
)) {
8100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8102 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8104 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8105 if (!SWIG_IsOK(ecode2
)) {
8106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8108 arg2
= static_cast< int >(val2
);
8112 arg3
= wxString_in_helper(obj2
);
8113 if (arg3
== NULL
) SWIG_fail
;
8120 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8126 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8130 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8131 if (!SWIG_IsOK(ecode6
)) {
8132 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8134 arg6
= static_cast< long >(val6
);
8138 arg7
= wxString_in_helper(obj6
);
8139 if (arg7
== NULL
) SWIG_fail
;
8144 if (!wxPyCheckForApp()) SWIG_fail
;
8145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8146 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8147 wxPyEndAllowThreads(__tstate
);
8148 if (PyErr_Occurred()) SWIG_fail
;
8150 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8173 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8174 PyObject
*resultobj
= 0;
8175 wxStaticText
*result
= 0 ;
8177 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8179 if (!wxPyCheckForApp()) SWIG_fail
;
8180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8181 result
= (wxStaticText
*)new wxStaticText();
8182 wxPyEndAllowThreads(__tstate
);
8183 if (PyErr_Occurred()) SWIG_fail
;
8185 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8192 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8193 PyObject
*resultobj
= 0;
8194 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8195 wxWindow
*arg2
= (wxWindow
*) 0 ;
8196 int arg3
= (int) -1 ;
8197 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8198 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8199 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8200 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8201 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8202 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8203 long arg7
= (long) 0 ;
8204 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8205 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8213 bool temp4
= false ;
8218 bool temp8
= false ;
8219 PyObject
* obj0
= 0 ;
8220 PyObject
* obj1
= 0 ;
8221 PyObject
* obj2
= 0 ;
8222 PyObject
* obj3
= 0 ;
8223 PyObject
* obj4
= 0 ;
8224 PyObject
* obj5
= 0 ;
8225 PyObject
* obj6
= 0 ;
8226 PyObject
* obj7
= 0 ;
8227 char * kwnames
[] = {
8228 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8233 if (!SWIG_IsOK(res1
)) {
8234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8236 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8237 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8238 if (!SWIG_IsOK(res2
)) {
8239 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8241 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8243 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8244 if (!SWIG_IsOK(ecode3
)) {
8245 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8247 arg3
= static_cast< int >(val3
);
8251 arg4
= wxString_in_helper(obj3
);
8252 if (arg4
== NULL
) SWIG_fail
;
8259 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8265 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8269 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8270 if (!SWIG_IsOK(ecode7
)) {
8271 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8273 arg7
= static_cast< long >(val7
);
8277 arg8
= wxString_in_helper(obj7
);
8278 if (arg8
== NULL
) SWIG_fail
;
8283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8284 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8285 wxPyEndAllowThreads(__tstate
);
8286 if (PyErr_Occurred()) SWIG_fail
;
8289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8313 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8314 PyObject
*resultobj
= 0;
8315 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8321 PyObject
* obj0
= 0 ;
8322 PyObject
* obj1
= 0 ;
8323 char * kwnames
[] = {
8324 (char *) "self",(char *) "width", NULL
8327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8329 if (!SWIG_IsOK(res1
)) {
8330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8332 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8333 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8334 if (!SWIG_IsOK(ecode2
)) {
8335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8337 arg2
= static_cast< int >(val2
);
8339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8341 wxPyEndAllowThreads(__tstate
);
8342 if (PyErr_Occurred()) SWIG_fail
;
8344 resultobj
= SWIG_Py_Void();
8351 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8352 PyObject
*resultobj
= 0;
8353 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8354 SwigValueWrapper
<wxVisualAttributes
> result
;
8357 PyObject
* obj0
= 0 ;
8358 char * kwnames
[] = {
8359 (char *) "variant", NULL
8362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8364 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8365 if (!SWIG_IsOK(ecode1
)) {
8366 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8368 arg1
= static_cast< wxWindowVariant
>(val1
);
8371 if (!wxPyCheckForApp()) SWIG_fail
;
8372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8373 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8374 wxPyEndAllowThreads(__tstate
);
8375 if (PyErr_Occurred()) SWIG_fail
;
8377 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8384 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8386 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8387 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8388 return SWIG_Py_Void();
8391 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8392 return SWIG_Python_InitShadowInstance(args
);
8395 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8396 PyObject
*resultobj
= 0;
8397 wxWindow
*arg1
= (wxWindow
*) 0 ;
8398 int arg2
= (int) -1 ;
8399 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8400 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8401 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8402 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8403 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8404 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8405 long arg6
= (long) 0 ;
8406 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8407 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8408 wxStaticBitmap
*result
= 0 ;
8419 bool temp7
= false ;
8420 PyObject
* obj0
= 0 ;
8421 PyObject
* obj1
= 0 ;
8422 PyObject
* obj2
= 0 ;
8423 PyObject
* obj3
= 0 ;
8424 PyObject
* obj4
= 0 ;
8425 PyObject
* obj5
= 0 ;
8426 PyObject
* obj6
= 0 ;
8427 char * kwnames
[] = {
8428 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8433 if (!SWIG_IsOK(res1
)) {
8434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8436 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8439 if (!SWIG_IsOK(ecode2
)) {
8440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8442 arg2
= static_cast< int >(val2
);
8445 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8446 if (!SWIG_IsOK(res3
)) {
8447 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8450 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8452 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8457 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8463 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8467 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8468 if (!SWIG_IsOK(ecode6
)) {
8469 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8471 arg6
= static_cast< long >(val6
);
8475 arg7
= wxString_in_helper(obj6
);
8476 if (arg7
== NULL
) SWIG_fail
;
8481 if (!wxPyCheckForApp()) SWIG_fail
;
8482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8483 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8484 wxPyEndAllowThreads(__tstate
);
8485 if (PyErr_Occurred()) SWIG_fail
;
8487 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8502 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8503 PyObject
*resultobj
= 0;
8504 wxStaticBitmap
*result
= 0 ;
8506 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8508 if (!wxPyCheckForApp()) SWIG_fail
;
8509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8510 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8511 wxPyEndAllowThreads(__tstate
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8514 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8521 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8522 PyObject
*resultobj
= 0;
8523 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8524 wxWindow
*arg2
= (wxWindow
*) 0 ;
8525 int arg3
= (int) -1 ;
8526 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8527 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8528 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8529 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8530 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8531 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8532 long arg7
= (long) 0 ;
8533 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8534 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8548 bool temp8
= false ;
8549 PyObject
* obj0
= 0 ;
8550 PyObject
* obj1
= 0 ;
8551 PyObject
* obj2
= 0 ;
8552 PyObject
* obj3
= 0 ;
8553 PyObject
* obj4
= 0 ;
8554 PyObject
* obj5
= 0 ;
8555 PyObject
* obj6
= 0 ;
8556 PyObject
* obj7
= 0 ;
8557 char * kwnames
[] = {
8558 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8563 if (!SWIG_IsOK(res1
)) {
8564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8566 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8567 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8568 if (!SWIG_IsOK(res2
)) {
8569 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8571 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8573 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8574 if (!SWIG_IsOK(ecode3
)) {
8575 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8577 arg3
= static_cast< int >(val3
);
8580 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8581 if (!SWIG_IsOK(res4
)) {
8582 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8585 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8587 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8592 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8598 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8602 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8603 if (!SWIG_IsOK(ecode7
)) {
8604 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8606 arg7
= static_cast< long >(val7
);
8610 arg8
= wxString_in_helper(obj7
);
8611 if (arg8
== NULL
) SWIG_fail
;
8616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8617 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8618 wxPyEndAllowThreads(__tstate
);
8619 if (PyErr_Occurred()) SWIG_fail
;
8622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8638 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8639 PyObject
*resultobj
= 0;
8640 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8644 PyObject
*swig_obj
[1] ;
8646 if (!args
) SWIG_fail
;
8648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8649 if (!SWIG_IsOK(res1
)) {
8650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8652 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8655 result
= (arg1
)->GetBitmap();
8656 wxPyEndAllowThreads(__tstate
);
8657 if (PyErr_Occurred()) SWIG_fail
;
8659 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8666 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8667 PyObject
*resultobj
= 0;
8668 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8669 wxBitmap
*arg2
= 0 ;
8674 PyObject
* obj0
= 0 ;
8675 PyObject
* obj1
= 0 ;
8676 char * kwnames
[] = {
8677 (char *) "self",(char *) "bitmap", NULL
8680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8682 if (!SWIG_IsOK(res1
)) {
8683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8685 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8686 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8687 if (!SWIG_IsOK(res2
)) {
8688 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8691 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8693 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8696 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8697 wxPyEndAllowThreads(__tstate
);
8698 if (PyErr_Occurred()) SWIG_fail
;
8700 resultobj
= SWIG_Py_Void();
8707 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8708 PyObject
*resultobj
= 0;
8709 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8715 PyObject
* obj0
= 0 ;
8716 PyObject
* obj1
= 0 ;
8717 char * kwnames
[] = {
8718 (char *) "self",(char *) "icon", NULL
8721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8723 if (!SWIG_IsOK(res1
)) {
8724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8726 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8727 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8728 if (!SWIG_IsOK(res2
)) {
8729 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8732 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8734 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8737 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8738 wxPyEndAllowThreads(__tstate
);
8739 if (PyErr_Occurred()) SWIG_fail
;
8741 resultobj
= SWIG_Py_Void();
8748 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8749 PyObject
*resultobj
= 0;
8750 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8751 SwigValueWrapper
<wxVisualAttributes
> result
;
8754 PyObject
* obj0
= 0 ;
8755 char * kwnames
[] = {
8756 (char *) "variant", NULL
8759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8761 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8762 if (!SWIG_IsOK(ecode1
)) {
8763 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8765 arg1
= static_cast< wxWindowVariant
>(val1
);
8768 if (!wxPyCheckForApp()) SWIG_fail
;
8769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8770 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8771 wxPyEndAllowThreads(__tstate
);
8772 if (PyErr_Occurred()) SWIG_fail
;
8774 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8781 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8783 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8784 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8785 return SWIG_Py_Void();
8788 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8789 return SWIG_Python_InitShadowInstance(args
);
8792 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8793 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8798 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8799 PyObject
*pyobj
= 0;
8803 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8805 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8812 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8813 PyObject
*resultobj
= 0;
8814 wxWindow
*arg1
= (wxWindow
*) 0 ;
8815 int arg2
= (int) -1 ;
8816 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8817 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8818 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8819 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8820 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8821 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8822 long arg6
= (long) 0 ;
8823 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8824 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8825 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8826 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8827 wxListBox
*result
= 0 ;
8834 bool temp5
= false ;
8839 bool temp8
= false ;
8840 PyObject
* obj0
= 0 ;
8841 PyObject
* obj1
= 0 ;
8842 PyObject
* obj2
= 0 ;
8843 PyObject
* obj3
= 0 ;
8844 PyObject
* obj4
= 0 ;
8845 PyObject
* obj5
= 0 ;
8846 PyObject
* obj6
= 0 ;
8847 PyObject
* obj7
= 0 ;
8848 char * kwnames
[] = {
8849 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8854 if (!SWIG_IsOK(res1
)) {
8855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8857 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8859 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8860 if (!SWIG_IsOK(ecode2
)) {
8861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8863 arg2
= static_cast< int >(val2
);
8868 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8874 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8879 if (! PySequence_Check(obj4
)) {
8880 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8883 arg5
= new wxArrayString
;
8885 int i
, len
=PySequence_Length(obj4
);
8886 for (i
=0; i
<len
; i
++) {
8887 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8888 wxString
* s
= wxString_in_helper(item
);
8889 if (PyErr_Occurred()) SWIG_fail
;
8897 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8898 if (!SWIG_IsOK(ecode6
)) {
8899 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8901 arg6
= static_cast< long >(val6
);
8904 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8905 if (!SWIG_IsOK(res7
)) {
8906 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8909 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8911 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8915 arg8
= wxString_in_helper(obj7
);
8916 if (arg8
== NULL
) SWIG_fail
;
8921 if (!wxPyCheckForApp()) SWIG_fail
;
8922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8923 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8924 wxPyEndAllowThreads(__tstate
);
8925 if (PyErr_Occurred()) SWIG_fail
;
8927 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8929 if (temp5
) delete arg5
;
8938 if (temp5
) delete arg5
;
8948 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8949 PyObject
*resultobj
= 0;
8950 wxListBox
*result
= 0 ;
8952 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8954 if (!wxPyCheckForApp()) SWIG_fail
;
8955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8956 result
= (wxListBox
*)new wxListBox();
8957 wxPyEndAllowThreads(__tstate
);
8958 if (PyErr_Occurred()) SWIG_fail
;
8960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8967 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8968 PyObject
*resultobj
= 0;
8969 wxListBox
*arg1
= (wxListBox
*) 0 ;
8970 wxWindow
*arg2
= (wxWindow
*) 0 ;
8971 int arg3
= (int) -1 ;
8972 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8973 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8974 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8975 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8976 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8977 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8978 long arg7
= (long) 0 ;
8979 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8980 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8981 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8982 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8992 bool temp6
= false ;
8997 bool temp9
= false ;
8998 PyObject
* obj0
= 0 ;
8999 PyObject
* obj1
= 0 ;
9000 PyObject
* obj2
= 0 ;
9001 PyObject
* obj3
= 0 ;
9002 PyObject
* obj4
= 0 ;
9003 PyObject
* obj5
= 0 ;
9004 PyObject
* obj6
= 0 ;
9005 PyObject
* obj7
= 0 ;
9006 PyObject
* obj8
= 0 ;
9007 char * kwnames
[] = {
9008 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
9012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9013 if (!SWIG_IsOK(res1
)) {
9014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9016 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9017 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9018 if (!SWIG_IsOK(res2
)) {
9019 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9021 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9023 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9024 if (!SWIG_IsOK(ecode3
)) {
9025 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9027 arg3
= static_cast< int >(val3
);
9032 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9038 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9043 if (! PySequence_Check(obj5
)) {
9044 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9047 arg6
= new wxArrayString
;
9049 int i
, len
=PySequence_Length(obj5
);
9050 for (i
=0; i
<len
; i
++) {
9051 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9052 wxString
* s
= wxString_in_helper(item
);
9053 if (PyErr_Occurred()) SWIG_fail
;
9061 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9062 if (!SWIG_IsOK(ecode7
)) {
9063 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9065 arg7
= static_cast< long >(val7
);
9068 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9069 if (!SWIG_IsOK(res8
)) {
9070 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9073 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9075 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9079 arg9
= wxString_in_helper(obj8
);
9080 if (arg9
== NULL
) SWIG_fail
;
9085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9086 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9087 wxPyEndAllowThreads(__tstate
);
9088 if (PyErr_Occurred()) SWIG_fail
;
9091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9094 if (temp6
) delete arg6
;
9103 if (temp6
) delete arg6
;
9113 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9114 PyObject
*resultobj
= 0;
9115 wxListBox
*arg1
= (wxListBox
*) 0 ;
9116 wxString
*arg2
= 0 ;
9118 PyObject
*arg4
= (PyObject
*) NULL
;
9121 bool temp2
= false ;
9124 PyObject
* obj0
= 0 ;
9125 PyObject
* obj1
= 0 ;
9126 PyObject
* obj2
= 0 ;
9127 PyObject
* obj3
= 0 ;
9128 char * kwnames
[] = {
9129 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9134 if (!SWIG_IsOK(res1
)) {
9135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9137 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9139 arg2
= wxString_in_helper(obj1
);
9140 if (arg2
== NULL
) SWIG_fail
;
9143 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9144 if (!SWIG_IsOK(ecode3
)) {
9145 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9147 arg3
= static_cast< int >(val3
);
9152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9153 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9154 wxPyEndAllowThreads(__tstate
);
9155 if (PyErr_Occurred()) SWIG_fail
;
9157 resultobj
= SWIG_Py_Void();
9172 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9173 PyObject
*resultobj
= 0;
9174 wxListBox
*arg1
= (wxListBox
*) 0 ;
9175 wxArrayString
*arg2
= 0 ;
9179 bool temp2
= false ;
9182 PyObject
* obj0
= 0 ;
9183 PyObject
* obj1
= 0 ;
9184 PyObject
* obj2
= 0 ;
9185 char * kwnames
[] = {
9186 (char *) "self",(char *) "items",(char *) "pos", NULL
9189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9191 if (!SWIG_IsOK(res1
)) {
9192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9194 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9196 if (! PySequence_Check(obj1
)) {
9197 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9200 arg2
= new wxArrayString
;
9202 int i
, len
=PySequence_Length(obj1
);
9203 for (i
=0; i
<len
; i
++) {
9204 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9205 wxString
* s
= wxString_in_helper(item
);
9206 if (PyErr_Occurred()) SWIG_fail
;
9212 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9213 if (!SWIG_IsOK(ecode3
)) {
9214 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9216 arg3
= static_cast< unsigned int >(val3
);
9218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9219 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9220 wxPyEndAllowThreads(__tstate
);
9221 if (PyErr_Occurred()) SWIG_fail
;
9223 resultobj
= SWIG_Py_Void();
9225 if (temp2
) delete arg2
;
9230 if (temp2
) delete arg2
;
9236 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9237 PyObject
*resultobj
= 0;
9238 wxListBox
*arg1
= (wxListBox
*) 0 ;
9239 wxArrayString
*arg2
= 0 ;
9242 bool temp2
= false ;
9243 PyObject
* obj0
= 0 ;
9244 PyObject
* obj1
= 0 ;
9245 char * kwnames
[] = {
9246 (char *) "self",(char *) "items", NULL
9249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9251 if (!SWIG_IsOK(res1
)) {
9252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9254 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9256 if (! PySequence_Check(obj1
)) {
9257 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9260 arg2
= new wxArrayString
;
9262 int i
, len
=PySequence_Length(obj1
);
9263 for (i
=0; i
<len
; i
++) {
9264 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9265 wxString
* s
= wxString_in_helper(item
);
9266 if (PyErr_Occurred()) SWIG_fail
;
9273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9274 (arg1
)->Set((wxArrayString
const &)*arg2
);
9275 wxPyEndAllowThreads(__tstate
);
9276 if (PyErr_Occurred()) SWIG_fail
;
9278 resultobj
= SWIG_Py_Void();
9280 if (temp2
) delete arg2
;
9285 if (temp2
) delete arg2
;
9291 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9292 PyObject
*resultobj
= 0;
9293 wxListBox
*arg1
= (wxListBox
*) 0 ;
9300 PyObject
* obj0
= 0 ;
9301 PyObject
* obj1
= 0 ;
9302 char * kwnames
[] = {
9303 (char *) "self",(char *) "n", NULL
9306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9308 if (!SWIG_IsOK(res1
)) {
9309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9311 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9312 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9313 if (!SWIG_IsOK(ecode2
)) {
9314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9316 arg2
= static_cast< int >(val2
);
9318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9319 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9320 wxPyEndAllowThreads(__tstate
);
9321 if (PyErr_Occurred()) SWIG_fail
;
9324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9332 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9333 PyObject
*resultobj
= 0;
9334 wxListBox
*arg1
= (wxListBox
*) 0 ;
9336 bool arg3
= (bool) true ;
9343 PyObject
* obj0
= 0 ;
9344 PyObject
* obj1
= 0 ;
9345 PyObject
* obj2
= 0 ;
9346 char * kwnames
[] = {
9347 (char *) "self",(char *) "n",(char *) "select", NULL
9350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9352 if (!SWIG_IsOK(res1
)) {
9353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9355 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9357 if (!SWIG_IsOK(ecode2
)) {
9358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9360 arg2
= static_cast< int >(val2
);
9362 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9363 if (!SWIG_IsOK(ecode3
)) {
9364 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9366 arg3
= static_cast< bool >(val3
);
9369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9370 (arg1
)->SetSelection(arg2
,arg3
);
9371 wxPyEndAllowThreads(__tstate
);
9372 if (PyErr_Occurred()) SWIG_fail
;
9374 resultobj
= SWIG_Py_Void();
9381 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9382 PyObject
*resultobj
= 0;
9383 wxListBox
*arg1
= (wxListBox
*) 0 ;
9389 PyObject
* obj0
= 0 ;
9390 PyObject
* obj1
= 0 ;
9391 char * kwnames
[] = {
9392 (char *) "self",(char *) "n", NULL
9395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9397 if (!SWIG_IsOK(res1
)) {
9398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9400 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9402 if (!SWIG_IsOK(ecode2
)) {
9403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9405 arg2
= static_cast< int >(val2
);
9407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9408 (arg1
)->Select(arg2
);
9409 wxPyEndAllowThreads(__tstate
);
9410 if (PyErr_Occurred()) SWIG_fail
;
9412 resultobj
= SWIG_Py_Void();
9419 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9420 PyObject
*resultobj
= 0;
9421 wxListBox
*arg1
= (wxListBox
*) 0 ;
9427 PyObject
* obj0
= 0 ;
9428 PyObject
* obj1
= 0 ;
9429 char * kwnames
[] = {
9430 (char *) "self",(char *) "n", NULL
9433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9435 if (!SWIG_IsOK(res1
)) {
9436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9438 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9440 if (!SWIG_IsOK(ecode2
)) {
9441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9443 arg2
= static_cast< int >(val2
);
9445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9446 (arg1
)->Deselect(arg2
);
9447 wxPyEndAllowThreads(__tstate
);
9448 if (PyErr_Occurred()) SWIG_fail
;
9450 resultobj
= SWIG_Py_Void();
9457 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9458 PyObject
*resultobj
= 0;
9459 wxListBox
*arg1
= (wxListBox
*) 0 ;
9460 int arg2
= (int) -1 ;
9465 PyObject
* obj0
= 0 ;
9466 PyObject
* obj1
= 0 ;
9467 char * kwnames
[] = {
9468 (char *) "self",(char *) "itemToLeaveSelected", NULL
9471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9473 if (!SWIG_IsOK(res1
)) {
9474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9476 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_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9482 arg2
= static_cast< int >(val2
);
9485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9486 (arg1
)->DeselectAll(arg2
);
9487 wxPyEndAllowThreads(__tstate
);
9488 if (PyErr_Occurred()) SWIG_fail
;
9490 resultobj
= SWIG_Py_Void();
9497 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9498 PyObject
*resultobj
= 0;
9499 wxListBox
*arg1
= (wxListBox
*) 0 ;
9500 wxString
*arg2
= 0 ;
9501 bool arg3
= (bool) true ;
9505 bool temp2
= false ;
9508 PyObject
* obj0
= 0 ;
9509 PyObject
* obj1
= 0 ;
9510 PyObject
* obj2
= 0 ;
9511 char * kwnames
[] = {
9512 (char *) "self",(char *) "s",(char *) "select", NULL
9515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9517 if (!SWIG_IsOK(res1
)) {
9518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9520 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9522 arg2
= wxString_in_helper(obj1
);
9523 if (arg2
== NULL
) SWIG_fail
;
9527 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9528 if (!SWIG_IsOK(ecode3
)) {
9529 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9531 arg3
= static_cast< bool >(val3
);
9534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9535 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9536 wxPyEndAllowThreads(__tstate
);
9537 if (PyErr_Occurred()) SWIG_fail
;
9540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9556 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9557 PyObject
*resultobj
= 0;
9558 wxListBox
*arg1
= (wxListBox
*) 0 ;
9559 PyObject
*result
= 0 ;
9562 PyObject
*swig_obj
[1] ;
9564 if (!args
) SWIG_fail
;
9566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9567 if (!SWIG_IsOK(res1
)) {
9568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9570 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9573 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9574 wxPyEndAllowThreads(__tstate
);
9575 if (PyErr_Occurred()) SWIG_fail
;
9584 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9585 PyObject
*resultobj
= 0;
9586 wxListBox
*arg1
= (wxListBox
*) 0 ;
9592 PyObject
* obj0
= 0 ;
9593 PyObject
* obj1
= 0 ;
9594 char * kwnames
[] = {
9595 (char *) "self",(char *) "n", NULL
9598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9600 if (!SWIG_IsOK(res1
)) {
9601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9603 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9604 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9605 if (!SWIG_IsOK(ecode2
)) {
9606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9608 arg2
= static_cast< int >(val2
);
9610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9611 (arg1
)->SetFirstItem(arg2
);
9612 wxPyEndAllowThreads(__tstate
);
9613 if (PyErr_Occurred()) SWIG_fail
;
9615 resultobj
= SWIG_Py_Void();
9622 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9623 PyObject
*resultobj
= 0;
9624 wxListBox
*arg1
= (wxListBox
*) 0 ;
9625 wxString
*arg2
= 0 ;
9628 bool temp2
= false ;
9629 PyObject
* obj0
= 0 ;
9630 PyObject
* obj1
= 0 ;
9631 char * kwnames
[] = {
9632 (char *) "self",(char *) "s", NULL
9635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9637 if (!SWIG_IsOK(res1
)) {
9638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9640 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9642 arg2
= wxString_in_helper(obj1
);
9643 if (arg2
== NULL
) SWIG_fail
;
9647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9648 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9649 wxPyEndAllowThreads(__tstate
);
9650 if (PyErr_Occurred()) SWIG_fail
;
9652 resultobj
= SWIG_Py_Void();
9667 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9668 PyObject
*resultobj
= 0;
9669 wxListBox
*arg1
= (wxListBox
*) 0 ;
9675 PyObject
* obj0
= 0 ;
9676 PyObject
* obj1
= 0 ;
9677 char * kwnames
[] = {
9678 (char *) "self",(char *) "n", NULL
9681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9683 if (!SWIG_IsOK(res1
)) {
9684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9686 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9687 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9688 if (!SWIG_IsOK(ecode2
)) {
9689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9691 arg2
= static_cast< int >(val2
);
9693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9694 (arg1
)->EnsureVisible(arg2
);
9695 wxPyEndAllowThreads(__tstate
);
9696 if (PyErr_Occurred()) SWIG_fail
;
9698 resultobj
= SWIG_Py_Void();
9705 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9706 PyObject
*resultobj
= 0;
9707 wxListBox
*arg1
= (wxListBox
*) 0 ;
9708 wxString
*arg2
= 0 ;
9711 bool temp2
= false ;
9712 PyObject
* obj0
= 0 ;
9713 PyObject
* obj1
= 0 ;
9714 char * kwnames
[] = {
9715 (char *) "self",(char *) "s", NULL
9718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9720 if (!SWIG_IsOK(res1
)) {
9721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9723 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9725 arg2
= wxString_in_helper(obj1
);
9726 if (arg2
== NULL
) SWIG_fail
;
9730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9731 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9732 wxPyEndAllowThreads(__tstate
);
9733 if (PyErr_Occurred()) SWIG_fail
;
9735 resultobj
= SWIG_Py_Void();
9750 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9751 PyObject
*resultobj
= 0;
9752 wxListBox
*arg1
= (wxListBox
*) 0 ;
9756 PyObject
*swig_obj
[1] ;
9758 if (!args
) SWIG_fail
;
9760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9761 if (!SWIG_IsOK(res1
)) {
9762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9764 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9767 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9768 wxPyEndAllowThreads(__tstate
);
9769 if (PyErr_Occurred()) SWIG_fail
;
9772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9780 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9781 PyObject
*resultobj
= 0;
9782 wxListBox
*arg1
= (wxListBox
*) 0 ;
9788 PyObject
* obj0
= 0 ;
9789 PyObject
* obj1
= 0 ;
9790 char * kwnames
[] = {
9791 (char *) "self",(char *) "pt", NULL
9794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9796 if (!SWIG_IsOK(res1
)) {
9797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9799 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9802 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9806 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9807 wxPyEndAllowThreads(__tstate
);
9808 if (PyErr_Occurred()) SWIG_fail
;
9810 resultobj
= SWIG_From_int(static_cast< int >(result
));
9817 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9818 PyObject
*resultobj
= 0;
9819 wxListBox
*arg1
= (wxListBox
*) 0 ;
9821 wxColour
*arg3
= 0 ;
9827 PyObject
* obj0
= 0 ;
9828 PyObject
* obj1
= 0 ;
9829 PyObject
* obj2
= 0 ;
9830 char * kwnames
[] = {
9831 (char *) "self",(char *) "item",(char *) "c", NULL
9834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9836 if (!SWIG_IsOK(res1
)) {
9837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9839 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9840 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9841 if (!SWIG_IsOK(ecode2
)) {
9842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9844 arg2
= static_cast< int >(val2
);
9847 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9851 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9852 wxPyEndAllowThreads(__tstate
);
9853 if (PyErr_Occurred()) SWIG_fail
;
9855 resultobj
= SWIG_Py_Void();
9862 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9863 PyObject
*resultobj
= 0;
9864 wxListBox
*arg1
= (wxListBox
*) 0 ;
9866 wxColour
*arg3
= 0 ;
9872 PyObject
* obj0
= 0 ;
9873 PyObject
* obj1
= 0 ;
9874 PyObject
* obj2
= 0 ;
9875 char * kwnames
[] = {
9876 (char *) "self",(char *) "item",(char *) "c", NULL
9879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9881 if (!SWIG_IsOK(res1
)) {
9882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9884 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9886 if (!SWIG_IsOK(ecode2
)) {
9887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9889 arg2
= static_cast< int >(val2
);
9892 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9896 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9897 wxPyEndAllowThreads(__tstate
);
9898 if (PyErr_Occurred()) SWIG_fail
;
9900 resultobj
= SWIG_Py_Void();
9907 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9908 PyObject
*resultobj
= 0;
9909 wxListBox
*arg1
= (wxListBox
*) 0 ;
9918 PyObject
* obj0
= 0 ;
9919 PyObject
* obj1
= 0 ;
9920 PyObject
* obj2
= 0 ;
9921 char * kwnames
[] = {
9922 (char *) "self",(char *) "item",(char *) "f", NULL
9925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9927 if (!SWIG_IsOK(res1
)) {
9928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9930 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9932 if (!SWIG_IsOK(ecode2
)) {
9933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9935 arg2
= static_cast< int >(val2
);
9936 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9937 if (!SWIG_IsOK(res3
)) {
9938 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9941 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9943 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9946 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9947 wxPyEndAllowThreads(__tstate
);
9948 if (PyErr_Occurred()) SWIG_fail
;
9950 resultobj
= SWIG_Py_Void();
9957 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9958 PyObject
*resultobj
= 0;
9959 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9960 SwigValueWrapper
<wxVisualAttributes
> result
;
9963 PyObject
* obj0
= 0 ;
9964 char * kwnames
[] = {
9965 (char *) "variant", NULL
9968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9970 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9971 if (!SWIG_IsOK(ecode1
)) {
9972 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9974 arg1
= static_cast< wxWindowVariant
>(val1
);
9977 if (!wxPyCheckForApp()) SWIG_fail
;
9978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9979 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9980 wxPyEndAllowThreads(__tstate
);
9981 if (PyErr_Occurred()) SWIG_fail
;
9983 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9990 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9992 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9993 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9994 return SWIG_Py_Void();
9997 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9998 return SWIG_Python_InitShadowInstance(args
);
10001 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10002 PyObject
*resultobj
= 0;
10003 wxWindow
*arg1
= (wxWindow
*) 0 ;
10004 int arg2
= (int) -1 ;
10005 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10006 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10007 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10008 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10009 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
10010 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
10011 long arg6
= (long) 0 ;
10012 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10013 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10014 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
10015 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10016 wxCheckListBox
*result
= 0 ;
10023 bool temp5
= false ;
10028 bool temp8
= false ;
10029 PyObject
* obj0
= 0 ;
10030 PyObject
* obj1
= 0 ;
10031 PyObject
* obj2
= 0 ;
10032 PyObject
* obj3
= 0 ;
10033 PyObject
* obj4
= 0 ;
10034 PyObject
* obj5
= 0 ;
10035 PyObject
* obj6
= 0 ;
10036 PyObject
* obj7
= 0 ;
10037 char * kwnames
[] = {
10038 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10043 if (!SWIG_IsOK(res1
)) {
10044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10046 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10048 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10049 if (!SWIG_IsOK(ecode2
)) {
10050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10052 arg2
= static_cast< int >(val2
);
10057 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10063 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10068 if (! PySequence_Check(obj4
)) {
10069 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10072 arg5
= new wxArrayString
;
10074 int i
, len
=PySequence_Length(obj4
);
10075 for (i
=0; i
<len
; i
++) {
10076 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10077 wxString
* s
= wxString_in_helper(item
);
10078 if (PyErr_Occurred()) SWIG_fail
;
10086 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10087 if (!SWIG_IsOK(ecode6
)) {
10088 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10090 arg6
= static_cast< long >(val6
);
10093 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10094 if (!SWIG_IsOK(res7
)) {
10095 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10098 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10100 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10104 arg8
= wxString_in_helper(obj7
);
10105 if (arg8
== NULL
) SWIG_fail
;
10110 if (!wxPyCheckForApp()) SWIG_fail
;
10111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10112 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10113 wxPyEndAllowThreads(__tstate
);
10114 if (PyErr_Occurred()) SWIG_fail
;
10116 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10118 if (temp5
) delete arg5
;
10127 if (temp5
) delete arg5
;
10137 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10138 PyObject
*resultobj
= 0;
10139 wxCheckListBox
*result
= 0 ;
10141 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10143 if (!wxPyCheckForApp()) SWIG_fail
;
10144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10145 result
= (wxCheckListBox
*)new wxCheckListBox();
10146 wxPyEndAllowThreads(__tstate
);
10147 if (PyErr_Occurred()) SWIG_fail
;
10149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10156 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10157 PyObject
*resultobj
= 0;
10158 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10159 wxWindow
*arg2
= (wxWindow
*) 0 ;
10160 int arg3
= (int) -1 ;
10161 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10162 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10163 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10164 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10165 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10166 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10167 long arg7
= (long) 0 ;
10168 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10169 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10170 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10171 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10181 bool temp6
= false ;
10186 bool temp9
= false ;
10187 PyObject
* obj0
= 0 ;
10188 PyObject
* obj1
= 0 ;
10189 PyObject
* obj2
= 0 ;
10190 PyObject
* obj3
= 0 ;
10191 PyObject
* obj4
= 0 ;
10192 PyObject
* obj5
= 0 ;
10193 PyObject
* obj6
= 0 ;
10194 PyObject
* obj7
= 0 ;
10195 PyObject
* obj8
= 0 ;
10196 char * kwnames
[] = {
10197 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10202 if (!SWIG_IsOK(res1
)) {
10203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10205 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10206 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10207 if (!SWIG_IsOK(res2
)) {
10208 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10210 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10212 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10213 if (!SWIG_IsOK(ecode3
)) {
10214 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10216 arg3
= static_cast< int >(val3
);
10221 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10227 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10232 if (! PySequence_Check(obj5
)) {
10233 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10236 arg6
= new wxArrayString
;
10238 int i
, len
=PySequence_Length(obj5
);
10239 for (i
=0; i
<len
; i
++) {
10240 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10241 wxString
* s
= wxString_in_helper(item
);
10242 if (PyErr_Occurred()) SWIG_fail
;
10250 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10251 if (!SWIG_IsOK(ecode7
)) {
10252 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10254 arg7
= static_cast< long >(val7
);
10257 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10258 if (!SWIG_IsOK(res8
)) {
10259 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10262 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10264 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10268 arg9
= wxString_in_helper(obj8
);
10269 if (arg9
== NULL
) SWIG_fail
;
10274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10275 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10276 wxPyEndAllowThreads(__tstate
);
10277 if (PyErr_Occurred()) SWIG_fail
;
10280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10283 if (temp6
) delete arg6
;
10292 if (temp6
) delete arg6
;
10302 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10303 PyObject
*resultobj
= 0;
10304 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10305 unsigned int arg2
;
10309 unsigned int val2
;
10311 PyObject
* obj0
= 0 ;
10312 PyObject
* obj1
= 0 ;
10313 char * kwnames
[] = {
10314 (char *) "self",(char *) "index", NULL
10317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10319 if (!SWIG_IsOK(res1
)) {
10320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10322 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10323 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10324 if (!SWIG_IsOK(ecode2
)) {
10325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10327 arg2
= static_cast< unsigned int >(val2
);
10329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10330 result
= (bool)(arg1
)->IsChecked(arg2
);
10331 wxPyEndAllowThreads(__tstate
);
10332 if (PyErr_Occurred()) SWIG_fail
;
10335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10343 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10344 PyObject
*resultobj
= 0;
10345 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10346 unsigned int arg2
;
10347 int arg3
= (int) true ;
10350 unsigned int val2
;
10354 PyObject
* obj0
= 0 ;
10355 PyObject
* obj1
= 0 ;
10356 PyObject
* obj2
= 0 ;
10357 char * kwnames
[] = {
10358 (char *) "self",(char *) "index",(char *) "check", NULL
10361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10363 if (!SWIG_IsOK(res1
)) {
10364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10366 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10367 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10368 if (!SWIG_IsOK(ecode2
)) {
10369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10371 arg2
= static_cast< unsigned int >(val2
);
10373 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10374 if (!SWIG_IsOK(ecode3
)) {
10375 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10377 arg3
= static_cast< int >(val3
);
10380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10381 (arg1
)->Check(arg2
,arg3
);
10382 wxPyEndAllowThreads(__tstate
);
10383 if (PyErr_Occurred()) SWIG_fail
;
10385 resultobj
= SWIG_Py_Void();
10392 SWIGINTERN PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10393 PyObject
*resultobj
= 0;
10394 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10398 PyObject
*swig_obj
[1] ;
10400 if (!args
) SWIG_fail
;
10401 swig_obj
[0] = args
;
10402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10403 if (!SWIG_IsOK(res1
)) {
10404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10406 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10409 result
= (int)(arg1
)->GetItemHeight();
10410 wxPyEndAllowThreads(__tstate
);
10411 if (PyErr_Occurred()) SWIG_fail
;
10413 resultobj
= SWIG_From_int(static_cast< int >(result
));
10420 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10422 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10423 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10424 return SWIG_Py_Void();
10427 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10428 return SWIG_Python_InitShadowInstance(args
);
10431 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10432 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10437 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10438 PyObject
*pyobj
= 0;
10442 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10444 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10451 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10452 PyObject
*resultobj
= 0;
10453 wxColour
const &arg1_defvalue
= wxNullColour
;
10454 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10455 wxColour
const &arg2_defvalue
= wxNullColour
;
10456 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10457 wxFont
const &arg3_defvalue
= wxNullFont
;
10458 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10459 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10460 wxTextAttr
*result
= 0 ;
10467 PyObject
* obj0
= 0 ;
10468 PyObject
* obj1
= 0 ;
10469 PyObject
* obj2
= 0 ;
10470 PyObject
* obj3
= 0 ;
10471 char * kwnames
[] = {
10472 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10479 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10485 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10489 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10490 if (!SWIG_IsOK(res3
)) {
10491 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10494 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10496 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10499 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10500 if (!SWIG_IsOK(ecode4
)) {
10501 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10503 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10507 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10508 wxPyEndAllowThreads(__tstate
);
10509 if (PyErr_Occurred()) SWIG_fail
;
10511 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10518 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10519 PyObject
*resultobj
= 0;
10520 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10523 PyObject
*swig_obj
[1] ;
10525 if (!args
) SWIG_fail
;
10526 swig_obj
[0] = args
;
10527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10528 if (!SWIG_IsOK(res1
)) {
10529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10531 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10536 wxPyEndAllowThreads(__tstate
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10539 resultobj
= SWIG_Py_Void();
10546 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10547 PyObject
*resultobj
= 0;
10548 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10551 PyObject
*swig_obj
[1] ;
10553 if (!args
) SWIG_fail
;
10554 swig_obj
[0] = args
;
10555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10556 if (!SWIG_IsOK(res1
)) {
10557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10559 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10563 wxPyEndAllowThreads(__tstate
);
10564 if (PyErr_Occurred()) SWIG_fail
;
10566 resultobj
= SWIG_Py_Void();
10573 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10574 PyObject
*resultobj
= 0;
10575 wxTextAttr
*arg1
= 0 ;
10576 wxTextAttr
*arg2
= 0 ;
10582 PyObject
* obj0
= 0 ;
10583 PyObject
* obj1
= 0 ;
10584 char * kwnames
[] = {
10585 (char *) "base",(char *) "overlay", NULL
10588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10589 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10590 if (!SWIG_IsOK(res1
)) {
10591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10594 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10596 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10597 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10598 if (!SWIG_IsOK(res2
)) {
10599 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10602 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10604 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10607 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10608 wxPyEndAllowThreads(__tstate
);
10609 if (PyErr_Occurred()) SWIG_fail
;
10611 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10618 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10619 PyObject
*resultobj
= 0;
10620 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10621 wxColour
*arg2
= 0 ;
10625 PyObject
* obj0
= 0 ;
10626 PyObject
* obj1
= 0 ;
10627 char * kwnames
[] = {
10628 (char *) "self",(char *) "colText", NULL
10631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10633 if (!SWIG_IsOK(res1
)) {
10634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10636 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10639 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10643 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10644 wxPyEndAllowThreads(__tstate
);
10645 if (PyErr_Occurred()) SWIG_fail
;
10647 resultobj
= SWIG_Py_Void();
10654 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10655 PyObject
*resultobj
= 0;
10656 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10657 wxColour
*arg2
= 0 ;
10661 PyObject
* obj0
= 0 ;
10662 PyObject
* obj1
= 0 ;
10663 char * kwnames
[] = {
10664 (char *) "self",(char *) "colBack", NULL
10667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10669 if (!SWIG_IsOK(res1
)) {
10670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10672 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10675 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10679 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10680 wxPyEndAllowThreads(__tstate
);
10681 if (PyErr_Occurred()) SWIG_fail
;
10683 resultobj
= SWIG_Py_Void();
10690 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10691 PyObject
*resultobj
= 0;
10692 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10694 long arg3
= (long) wxTEXT_ATTR_FONT
;
10701 PyObject
* obj0
= 0 ;
10702 PyObject
* obj1
= 0 ;
10703 PyObject
* obj2
= 0 ;
10704 char * kwnames
[] = {
10705 (char *) "self",(char *) "font",(char *) "flags", NULL
10708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10710 if (!SWIG_IsOK(res1
)) {
10711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10713 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10714 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10715 if (!SWIG_IsOK(res2
)) {
10716 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10719 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10721 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10723 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10724 if (!SWIG_IsOK(ecode3
)) {
10725 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10727 arg3
= static_cast< long >(val3
);
10730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10731 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10732 wxPyEndAllowThreads(__tstate
);
10733 if (PyErr_Occurred()) SWIG_fail
;
10735 resultobj
= SWIG_Py_Void();
10742 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10743 PyObject
*resultobj
= 0;
10744 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10745 wxTextAttrAlignment arg2
;
10750 PyObject
* obj0
= 0 ;
10751 PyObject
* obj1
= 0 ;
10752 char * kwnames
[] = {
10753 (char *) "self",(char *) "alignment", NULL
10756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10758 if (!SWIG_IsOK(res1
)) {
10759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10761 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10762 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10763 if (!SWIG_IsOK(ecode2
)) {
10764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10766 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10769 (arg1
)->SetAlignment(arg2
);
10770 wxPyEndAllowThreads(__tstate
);
10771 if (PyErr_Occurred()) SWIG_fail
;
10773 resultobj
= SWIG_Py_Void();
10780 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10781 PyObject
*resultobj
= 0;
10782 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10783 wxArrayInt
*arg2
= 0 ;
10786 bool temp2
= false ;
10787 PyObject
* obj0
= 0 ;
10788 PyObject
* obj1
= 0 ;
10789 char * kwnames
[] = {
10790 (char *) "self",(char *) "tabs", NULL
10793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10795 if (!SWIG_IsOK(res1
)) {
10796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10798 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10800 if (! PySequence_Check(obj1
)) {
10801 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10804 arg2
= new wxArrayInt
;
10806 int i
, len
=PySequence_Length(obj1
);
10807 for (i
=0; i
<len
; i
++) {
10808 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10809 PyObject
* number
= PyNumber_Int(item
);
10811 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10814 arg2
->Add(PyInt_AS_LONG(number
));
10820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10821 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10822 wxPyEndAllowThreads(__tstate
);
10823 if (PyErr_Occurred()) SWIG_fail
;
10825 resultobj
= SWIG_Py_Void();
10827 if (temp2
) delete arg2
;
10832 if (temp2
) delete arg2
;
10838 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10839 PyObject
*resultobj
= 0;
10840 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10842 int arg3
= (int) 0 ;
10849 PyObject
* obj0
= 0 ;
10850 PyObject
* obj1
= 0 ;
10851 PyObject
* obj2
= 0 ;
10852 char * kwnames
[] = {
10853 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10858 if (!SWIG_IsOK(res1
)) {
10859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10861 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10863 if (!SWIG_IsOK(ecode2
)) {
10864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10866 arg2
= static_cast< int >(val2
);
10868 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10869 if (!SWIG_IsOK(ecode3
)) {
10870 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10872 arg3
= static_cast< int >(val3
);
10875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10876 (arg1
)->SetLeftIndent(arg2
,arg3
);
10877 wxPyEndAllowThreads(__tstate
);
10878 if (PyErr_Occurred()) SWIG_fail
;
10880 resultobj
= SWIG_Py_Void();
10887 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10888 PyObject
*resultobj
= 0;
10889 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10895 PyObject
* obj0
= 0 ;
10896 PyObject
* obj1
= 0 ;
10897 char * kwnames
[] = {
10898 (char *) "self",(char *) "indent", NULL
10901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10903 if (!SWIG_IsOK(res1
)) {
10904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10906 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10908 if (!SWIG_IsOK(ecode2
)) {
10909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10911 arg2
= static_cast< int >(val2
);
10913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10914 (arg1
)->SetRightIndent(arg2
);
10915 wxPyEndAllowThreads(__tstate
);
10916 if (PyErr_Occurred()) SWIG_fail
;
10918 resultobj
= SWIG_Py_Void();
10925 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10926 PyObject
*resultobj
= 0;
10927 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10933 PyObject
* obj0
= 0 ;
10934 PyObject
* obj1
= 0 ;
10935 char * kwnames
[] = {
10936 (char *) "self",(char *) "flags", NULL
10939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10941 if (!SWIG_IsOK(res1
)) {
10942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10944 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10945 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10946 if (!SWIG_IsOK(ecode2
)) {
10947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10949 arg2
= static_cast< long >(val2
);
10951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10952 (arg1
)->SetFlags(arg2
);
10953 wxPyEndAllowThreads(__tstate
);
10954 if (PyErr_Occurred()) SWIG_fail
;
10956 resultobj
= SWIG_Py_Void();
10963 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10964 PyObject
*resultobj
= 0;
10965 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10969 PyObject
*swig_obj
[1] ;
10971 if (!args
) SWIG_fail
;
10972 swig_obj
[0] = args
;
10973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10974 if (!SWIG_IsOK(res1
)) {
10975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10977 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10980 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10981 wxPyEndAllowThreads(__tstate
);
10982 if (PyErr_Occurred()) SWIG_fail
;
10985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10993 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10994 PyObject
*resultobj
= 0;
10995 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10999 PyObject
*swig_obj
[1] ;
11001 if (!args
) SWIG_fail
;
11002 swig_obj
[0] = args
;
11003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11004 if (!SWIG_IsOK(res1
)) {
11005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11007 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11010 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
11011 wxPyEndAllowThreads(__tstate
);
11012 if (PyErr_Occurred()) SWIG_fail
;
11015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11023 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11024 PyObject
*resultobj
= 0;
11025 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11029 PyObject
*swig_obj
[1] ;
11031 if (!args
) SWIG_fail
;
11032 swig_obj
[0] = args
;
11033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11034 if (!SWIG_IsOK(res1
)) {
11035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11037 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11040 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11041 wxPyEndAllowThreads(__tstate
);
11042 if (PyErr_Occurred()) SWIG_fail
;
11045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11053 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11054 PyObject
*resultobj
= 0;
11055 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11059 PyObject
*swig_obj
[1] ;
11061 if (!args
) SWIG_fail
;
11062 swig_obj
[0] = args
;
11063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11064 if (!SWIG_IsOK(res1
)) {
11065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11067 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11070 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11071 wxPyEndAllowThreads(__tstate
);
11072 if (PyErr_Occurred()) SWIG_fail
;
11075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11083 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11084 PyObject
*resultobj
= 0;
11085 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11089 PyObject
*swig_obj
[1] ;
11091 if (!args
) SWIG_fail
;
11092 swig_obj
[0] = args
;
11093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11094 if (!SWIG_IsOK(res1
)) {
11095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11097 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11100 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11101 wxPyEndAllowThreads(__tstate
);
11102 if (PyErr_Occurred()) SWIG_fail
;
11105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11113 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11114 PyObject
*resultobj
= 0;
11115 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11119 PyObject
*swig_obj
[1] ;
11121 if (!args
) SWIG_fail
;
11122 swig_obj
[0] = args
;
11123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11124 if (!SWIG_IsOK(res1
)) {
11125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11127 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11130 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11131 wxPyEndAllowThreads(__tstate
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11143 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11144 PyObject
*resultobj
= 0;
11145 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11149 PyObject
*swig_obj
[1] ;
11151 if (!args
) SWIG_fail
;
11152 swig_obj
[0] = args
;
11153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11154 if (!SWIG_IsOK(res1
)) {
11155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11157 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11160 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11161 wxPyEndAllowThreads(__tstate
);
11162 if (PyErr_Occurred()) SWIG_fail
;
11165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11173 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11174 PyObject
*resultobj
= 0;
11175 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11182 PyObject
* obj0
= 0 ;
11183 PyObject
* obj1
= 0 ;
11184 char * kwnames
[] = {
11185 (char *) "self",(char *) "flag", NULL
11188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11190 if (!SWIG_IsOK(res1
)) {
11191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11193 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11194 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11195 if (!SWIG_IsOK(ecode2
)) {
11196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11198 arg2
= static_cast< long >(val2
);
11200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11201 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11202 wxPyEndAllowThreads(__tstate
);
11203 if (PyErr_Occurred()) SWIG_fail
;
11206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11214 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11215 PyObject
*resultobj
= 0;
11216 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11217 wxColour
*result
= 0 ;
11220 PyObject
*swig_obj
[1] ;
11222 if (!args
) SWIG_fail
;
11223 swig_obj
[0] = args
;
11224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11225 if (!SWIG_IsOK(res1
)) {
11226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11228 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11232 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11233 result
= (wxColour
*) &_result_ref
;
11235 wxPyEndAllowThreads(__tstate
);
11236 if (PyErr_Occurred()) SWIG_fail
;
11238 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11245 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11246 PyObject
*resultobj
= 0;
11247 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11248 wxColour
*result
= 0 ;
11251 PyObject
*swig_obj
[1] ;
11253 if (!args
) SWIG_fail
;
11254 swig_obj
[0] = args
;
11255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11256 if (!SWIG_IsOK(res1
)) {
11257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11259 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11263 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11264 result
= (wxColour
*) &_result_ref
;
11266 wxPyEndAllowThreads(__tstate
);
11267 if (PyErr_Occurred()) SWIG_fail
;
11269 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11276 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11277 PyObject
*resultobj
= 0;
11278 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11279 wxFont
*result
= 0 ;
11282 PyObject
*swig_obj
[1] ;
11284 if (!args
) SWIG_fail
;
11285 swig_obj
[0] = args
;
11286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11287 if (!SWIG_IsOK(res1
)) {
11288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11290 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11294 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11295 result
= (wxFont
*) &_result_ref
;
11297 wxPyEndAllowThreads(__tstate
);
11298 if (PyErr_Occurred()) SWIG_fail
;
11301 wxFont
* resultptr
= new wxFont(*result
);
11302 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11310 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11311 PyObject
*resultobj
= 0;
11312 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11313 wxTextAttrAlignment result
;
11316 PyObject
*swig_obj
[1] ;
11318 if (!args
) SWIG_fail
;
11319 swig_obj
[0] = args
;
11320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11321 if (!SWIG_IsOK(res1
)) {
11322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11324 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11327 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11328 wxPyEndAllowThreads(__tstate
);
11329 if (PyErr_Occurred()) SWIG_fail
;
11331 resultobj
= SWIG_From_int(static_cast< int >(result
));
11338 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11339 PyObject
*resultobj
= 0;
11340 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11341 wxArrayInt
*result
= 0 ;
11344 PyObject
*swig_obj
[1] ;
11346 if (!args
) SWIG_fail
;
11347 swig_obj
[0] = args
;
11348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11349 if (!SWIG_IsOK(res1
)) {
11350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11352 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11356 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11357 result
= (wxArrayInt
*) &_result_ref
;
11359 wxPyEndAllowThreads(__tstate
);
11360 if (PyErr_Occurred()) SWIG_fail
;
11363 resultobj
= wxArrayInt2PyList_helper(*result
);
11371 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11372 PyObject
*resultobj
= 0;
11373 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11377 PyObject
*swig_obj
[1] ;
11379 if (!args
) SWIG_fail
;
11380 swig_obj
[0] = args
;
11381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11382 if (!SWIG_IsOK(res1
)) {
11383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11385 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11388 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11389 wxPyEndAllowThreads(__tstate
);
11390 if (PyErr_Occurred()) SWIG_fail
;
11392 resultobj
= SWIG_From_long(static_cast< long >(result
));
11399 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11400 PyObject
*resultobj
= 0;
11401 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11405 PyObject
*swig_obj
[1] ;
11407 if (!args
) SWIG_fail
;
11408 swig_obj
[0] = args
;
11409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11410 if (!SWIG_IsOK(res1
)) {
11411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11413 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11416 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11417 wxPyEndAllowThreads(__tstate
);
11418 if (PyErr_Occurred()) SWIG_fail
;
11420 resultobj
= SWIG_From_long(static_cast< long >(result
));
11427 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11428 PyObject
*resultobj
= 0;
11429 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11433 PyObject
*swig_obj
[1] ;
11435 if (!args
) SWIG_fail
;
11436 swig_obj
[0] = args
;
11437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11438 if (!SWIG_IsOK(res1
)) {
11439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11441 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11444 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11445 wxPyEndAllowThreads(__tstate
);
11446 if (PyErr_Occurred()) SWIG_fail
;
11448 resultobj
= SWIG_From_long(static_cast< long >(result
));
11455 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11456 PyObject
*resultobj
= 0;
11457 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11461 PyObject
*swig_obj
[1] ;
11463 if (!args
) SWIG_fail
;
11464 swig_obj
[0] = args
;
11465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11466 if (!SWIG_IsOK(res1
)) {
11467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11469 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11472 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11473 wxPyEndAllowThreads(__tstate
);
11474 if (PyErr_Occurred()) SWIG_fail
;
11476 resultobj
= SWIG_From_long(static_cast< long >(result
));
11483 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11484 PyObject
*resultobj
= 0;
11485 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11489 PyObject
*swig_obj
[1] ;
11491 if (!args
) SWIG_fail
;
11492 swig_obj
[0] = args
;
11493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11494 if (!SWIG_IsOK(res1
)) {
11495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11497 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11500 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11501 wxPyEndAllowThreads(__tstate
);
11502 if (PyErr_Occurred()) SWIG_fail
;
11505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11513 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11514 PyObject
*resultobj
= 0;
11515 wxTextAttr
*arg1
= 0 ;
11516 wxTextAttr
*arg2
= 0 ;
11517 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11525 PyObject
* obj0
= 0 ;
11526 PyObject
* obj1
= 0 ;
11527 PyObject
* obj2
= 0 ;
11528 char * kwnames
[] = {
11529 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11533 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11534 if (!SWIG_IsOK(res1
)) {
11535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11538 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11540 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11541 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11542 if (!SWIG_IsOK(res2
)) {
11543 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11546 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11548 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11549 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11550 if (!SWIG_IsOK(res3
)) {
11551 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11553 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11556 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11557 wxPyEndAllowThreads(__tstate
);
11558 if (PyErr_Occurred()) SWIG_fail
;
11560 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11567 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11569 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11570 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11571 return SWIG_Py_Void();
11574 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11575 return SWIG_Python_InitShadowInstance(args
);
11578 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11579 PyObject
*resultobj
= 0;
11580 wxWindow
*arg1
= (wxWindow
*) 0 ;
11581 int arg2
= (int) -1 ;
11582 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11583 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11584 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11585 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11586 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11587 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11588 long arg6
= (long) 0 ;
11589 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11590 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11591 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11592 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11593 wxTextCtrl
*result
= 0 ;
11598 bool temp3
= false ;
11605 bool temp8
= false ;
11606 PyObject
* obj0
= 0 ;
11607 PyObject
* obj1
= 0 ;
11608 PyObject
* obj2
= 0 ;
11609 PyObject
* obj3
= 0 ;
11610 PyObject
* obj4
= 0 ;
11611 PyObject
* obj5
= 0 ;
11612 PyObject
* obj6
= 0 ;
11613 PyObject
* obj7
= 0 ;
11614 char * kwnames
[] = {
11615 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11620 if (!SWIG_IsOK(res1
)) {
11621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11623 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11625 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11626 if (!SWIG_IsOK(ecode2
)) {
11627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11629 arg2
= static_cast< int >(val2
);
11633 arg3
= wxString_in_helper(obj2
);
11634 if (arg3
== NULL
) SWIG_fail
;
11641 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11647 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11651 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11652 if (!SWIG_IsOK(ecode6
)) {
11653 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11655 arg6
= static_cast< long >(val6
);
11658 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11659 if (!SWIG_IsOK(res7
)) {
11660 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11663 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11665 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11669 arg8
= wxString_in_helper(obj7
);
11670 if (arg8
== NULL
) SWIG_fail
;
11675 if (!wxPyCheckForApp()) SWIG_fail
;
11676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11677 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11678 wxPyEndAllowThreads(__tstate
);
11679 if (PyErr_Occurred()) SWIG_fail
;
11681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11704 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11705 PyObject
*resultobj
= 0;
11706 wxTextCtrl
*result
= 0 ;
11708 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11710 if (!wxPyCheckForApp()) SWIG_fail
;
11711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11712 result
= (wxTextCtrl
*)new wxTextCtrl();
11713 wxPyEndAllowThreads(__tstate
);
11714 if (PyErr_Occurred()) SWIG_fail
;
11716 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11723 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11724 PyObject
*resultobj
= 0;
11725 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11726 wxWindow
*arg2
= (wxWindow
*) 0 ;
11727 int arg3
= (int) -1 ;
11728 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11729 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11730 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11731 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11732 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11733 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11734 long arg7
= (long) 0 ;
11735 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11736 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11737 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11738 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11746 bool temp4
= false ;
11753 bool temp9
= false ;
11754 PyObject
* obj0
= 0 ;
11755 PyObject
* obj1
= 0 ;
11756 PyObject
* obj2
= 0 ;
11757 PyObject
* obj3
= 0 ;
11758 PyObject
* obj4
= 0 ;
11759 PyObject
* obj5
= 0 ;
11760 PyObject
* obj6
= 0 ;
11761 PyObject
* obj7
= 0 ;
11762 PyObject
* obj8
= 0 ;
11763 char * kwnames
[] = {
11764 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11769 if (!SWIG_IsOK(res1
)) {
11770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11772 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11773 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11774 if (!SWIG_IsOK(res2
)) {
11775 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11777 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11779 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11780 if (!SWIG_IsOK(ecode3
)) {
11781 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11783 arg3
= static_cast< int >(val3
);
11787 arg4
= wxString_in_helper(obj3
);
11788 if (arg4
== NULL
) SWIG_fail
;
11795 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11801 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11805 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11806 if (!SWIG_IsOK(ecode7
)) {
11807 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11809 arg7
= static_cast< long >(val7
);
11812 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11813 if (!SWIG_IsOK(res8
)) {
11814 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11817 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11819 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11823 arg9
= wxString_in_helper(obj8
);
11824 if (arg9
== NULL
) SWIG_fail
;
11829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11830 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11831 wxPyEndAllowThreads(__tstate
);
11832 if (PyErr_Occurred()) SWIG_fail
;
11835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11859 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11860 PyObject
*resultobj
= 0;
11861 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11865 PyObject
*swig_obj
[1] ;
11867 if (!args
) SWIG_fail
;
11868 swig_obj
[0] = args
;
11869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11870 if (!SWIG_IsOK(res1
)) {
11871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11873 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11876 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11877 wxPyEndAllowThreads(__tstate
);
11878 if (PyErr_Occurred()) SWIG_fail
;
11882 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11884 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11893 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11894 PyObject
*resultobj
= 0;
11895 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11896 wxString
*arg2
= 0 ;
11899 bool temp2
= false ;
11900 PyObject
* obj0
= 0 ;
11901 PyObject
* obj1
= 0 ;
11902 char * kwnames
[] = {
11903 (char *) "self",(char *) "value", NULL
11906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11908 if (!SWIG_IsOK(res1
)) {
11909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11911 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11913 arg2
= wxString_in_helper(obj1
);
11914 if (arg2
== NULL
) SWIG_fail
;
11918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11919 (arg1
)->SetValue((wxString
const &)*arg2
);
11920 wxPyEndAllowThreads(__tstate
);
11921 if (PyErr_Occurred()) SWIG_fail
;
11923 resultobj
= SWIG_Py_Void();
11938 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11939 PyObject
*resultobj
= 0;
11940 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11944 PyObject
*swig_obj
[1] ;
11946 if (!args
) SWIG_fail
;
11947 swig_obj
[0] = args
;
11948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11949 if (!SWIG_IsOK(res1
)) {
11950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11952 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11955 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEmpty();
11956 wxPyEndAllowThreads(__tstate
);
11957 if (PyErr_Occurred()) SWIG_fail
;
11960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11968 SWIGINTERN PyObject
*_wrap_TextCtrl_ChangeValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11969 PyObject
*resultobj
= 0;
11970 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11971 wxString
*arg2
= 0 ;
11974 bool temp2
= false ;
11975 PyObject
* obj0
= 0 ;
11976 PyObject
* obj1
= 0 ;
11977 char * kwnames
[] = {
11978 (char *) "self",(char *) "value", NULL
11981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ChangeValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11983 if (!SWIG_IsOK(res1
)) {
11984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11986 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11988 arg2
= wxString_in_helper(obj1
);
11989 if (arg2
== NULL
) SWIG_fail
;
11993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11994 (arg1
)->ChangeValue((wxString
const &)*arg2
);
11995 wxPyEndAllowThreads(__tstate
);
11996 if (PyErr_Occurred()) SWIG_fail
;
11998 resultobj
= SWIG_Py_Void();
12013 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12014 PyObject
*resultobj
= 0;
12015 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12025 PyObject
* obj0
= 0 ;
12026 PyObject
* obj1
= 0 ;
12027 PyObject
* obj2
= 0 ;
12028 char * kwnames
[] = {
12029 (char *) "self",(char *) "from",(char *) "to", NULL
12032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12034 if (!SWIG_IsOK(res1
)) {
12035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12037 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12038 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12039 if (!SWIG_IsOK(ecode2
)) {
12040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
12042 arg2
= static_cast< long >(val2
);
12043 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12044 if (!SWIG_IsOK(ecode3
)) {
12045 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12047 arg3
= static_cast< long >(val3
);
12049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12050 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
12051 wxPyEndAllowThreads(__tstate
);
12052 if (PyErr_Occurred()) SWIG_fail
;
12056 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12058 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12067 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12068 PyObject
*resultobj
= 0;
12069 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12076 PyObject
* obj0
= 0 ;
12077 PyObject
* obj1
= 0 ;
12078 char * kwnames
[] = {
12079 (char *) "self",(char *) "lineNo", NULL
12082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12084 if (!SWIG_IsOK(res1
)) {
12085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12087 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12088 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12089 if (!SWIG_IsOK(ecode2
)) {
12090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12092 arg2
= static_cast< long >(val2
);
12094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12095 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12096 wxPyEndAllowThreads(__tstate
);
12097 if (PyErr_Occurred()) SWIG_fail
;
12099 resultobj
= SWIG_From_int(static_cast< int >(result
));
12106 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12107 PyObject
*resultobj
= 0;
12108 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12115 PyObject
* obj0
= 0 ;
12116 PyObject
* obj1
= 0 ;
12117 char * kwnames
[] = {
12118 (char *) "self",(char *) "lineNo", NULL
12121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12123 if (!SWIG_IsOK(res1
)) {
12124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12126 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12127 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12128 if (!SWIG_IsOK(ecode2
)) {
12129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12131 arg2
= static_cast< long >(val2
);
12133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12134 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12135 wxPyEndAllowThreads(__tstate
);
12136 if (PyErr_Occurred()) SWIG_fail
;
12140 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12142 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12151 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12152 PyObject
*resultobj
= 0;
12153 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12157 PyObject
*swig_obj
[1] ;
12159 if (!args
) SWIG_fail
;
12160 swig_obj
[0] = args
;
12161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12162 if (!SWIG_IsOK(res1
)) {
12163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12165 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12168 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12169 wxPyEndAllowThreads(__tstate
);
12170 if (PyErr_Occurred()) SWIG_fail
;
12172 resultobj
= SWIG_From_int(static_cast< int >(result
));
12179 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12180 PyObject
*resultobj
= 0;
12181 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12185 PyObject
*swig_obj
[1] ;
12187 if (!args
) SWIG_fail
;
12188 swig_obj
[0] = args
;
12189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12190 if (!SWIG_IsOK(res1
)) {
12191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12193 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12196 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12197 wxPyEndAllowThreads(__tstate
);
12198 if (PyErr_Occurred()) SWIG_fail
;
12201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12209 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12210 PyObject
*resultobj
= 0;
12211 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12215 PyObject
*swig_obj
[1] ;
12217 if (!args
) SWIG_fail
;
12218 swig_obj
[0] = args
;
12219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12220 if (!SWIG_IsOK(res1
)) {
12221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12223 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12226 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12227 wxPyEndAllowThreads(__tstate
);
12228 if (PyErr_Occurred()) SWIG_fail
;
12231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12239 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12240 PyObject
*resultobj
= 0;
12241 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12245 PyObject
*swig_obj
[1] ;
12247 if (!args
) SWIG_fail
;
12248 swig_obj
[0] = args
;
12249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12250 if (!SWIG_IsOK(res1
)) {
12251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12253 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12256 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12257 wxPyEndAllowThreads(__tstate
);
12258 if (PyErr_Occurred()) SWIG_fail
;
12261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12269 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12270 PyObject
*resultobj
= 0;
12271 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12275 PyObject
*swig_obj
[1] ;
12277 if (!args
) SWIG_fail
;
12278 swig_obj
[0] = args
;
12279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12280 if (!SWIG_IsOK(res1
)) {
12281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12283 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12286 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12287 wxPyEndAllowThreads(__tstate
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12299 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12300 PyObject
*resultobj
= 0;
12301 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12302 long *arg2
= (long *) 0 ;
12303 long *arg3
= (long *) 0 ;
12307 int res2
= SWIG_TMPOBJ
;
12309 int res3
= SWIG_TMPOBJ
;
12310 PyObject
*swig_obj
[1] ;
12314 if (!args
) SWIG_fail
;
12315 swig_obj
[0] = args
;
12316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12317 if (!SWIG_IsOK(res1
)) {
12318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12320 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12323 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12324 wxPyEndAllowThreads(__tstate
);
12325 if (PyErr_Occurred()) SWIG_fail
;
12327 resultobj
= SWIG_Py_Void();
12328 if (SWIG_IsTmpObj(res2
)) {
12329 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12331 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12332 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12334 if (SWIG_IsTmpObj(res3
)) {
12335 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12337 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12338 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12346 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12347 PyObject
*resultobj
= 0;
12348 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12352 PyObject
*swig_obj
[1] ;
12354 if (!args
) SWIG_fail
;
12355 swig_obj
[0] = args
;
12356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12357 if (!SWIG_IsOK(res1
)) {
12358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12360 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12363 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12364 wxPyEndAllowThreads(__tstate
);
12365 if (PyErr_Occurred()) SWIG_fail
;
12369 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12371 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12380 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12381 PyObject
*resultobj
= 0;
12382 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12385 PyObject
*swig_obj
[1] ;
12387 if (!args
) SWIG_fail
;
12388 swig_obj
[0] = args
;
12389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12390 if (!SWIG_IsOK(res1
)) {
12391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12393 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12397 wxPyEndAllowThreads(__tstate
);
12398 if (PyErr_Occurred()) SWIG_fail
;
12400 resultobj
= SWIG_Py_Void();
12407 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12408 PyObject
*resultobj
= 0;
12409 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12412 wxString
*arg4
= 0 ;
12419 bool temp4
= false ;
12420 PyObject
* obj0
= 0 ;
12421 PyObject
* obj1
= 0 ;
12422 PyObject
* obj2
= 0 ;
12423 PyObject
* obj3
= 0 ;
12424 char * kwnames
[] = {
12425 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12430 if (!SWIG_IsOK(res1
)) {
12431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12433 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12434 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12435 if (!SWIG_IsOK(ecode2
)) {
12436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12438 arg2
= static_cast< long >(val2
);
12439 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12440 if (!SWIG_IsOK(ecode3
)) {
12441 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12443 arg3
= static_cast< long >(val3
);
12445 arg4
= wxString_in_helper(obj3
);
12446 if (arg4
== NULL
) SWIG_fail
;
12450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12451 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12452 wxPyEndAllowThreads(__tstate
);
12453 if (PyErr_Occurred()) SWIG_fail
;
12455 resultobj
= SWIG_Py_Void();
12470 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12471 PyObject
*resultobj
= 0;
12472 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12481 PyObject
* obj0
= 0 ;
12482 PyObject
* obj1
= 0 ;
12483 PyObject
* obj2
= 0 ;
12484 char * kwnames
[] = {
12485 (char *) "self",(char *) "from",(char *) "to", NULL
12488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12490 if (!SWIG_IsOK(res1
)) {
12491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12493 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12494 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12495 if (!SWIG_IsOK(ecode2
)) {
12496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12498 arg2
= static_cast< long >(val2
);
12499 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12500 if (!SWIG_IsOK(ecode3
)) {
12501 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12503 arg3
= static_cast< long >(val3
);
12505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12506 (arg1
)->Remove(arg2
,arg3
);
12507 wxPyEndAllowThreads(__tstate
);
12508 if (PyErr_Occurred()) SWIG_fail
;
12510 resultobj
= SWIG_Py_Void();
12517 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12518 PyObject
*resultobj
= 0;
12519 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12520 wxString
*arg2
= 0 ;
12521 int arg3
= (int) wxTEXT_TYPE_ANY
;
12525 bool temp2
= false ;
12528 PyObject
* obj0
= 0 ;
12529 PyObject
* obj1
= 0 ;
12530 PyObject
* obj2
= 0 ;
12531 char * kwnames
[] = {
12532 (char *) "self",(char *) "file",(char *) "fileType", NULL
12535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12537 if (!SWIG_IsOK(res1
)) {
12538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12540 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12542 arg2
= wxString_in_helper(obj1
);
12543 if (arg2
== NULL
) SWIG_fail
;
12547 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12548 if (!SWIG_IsOK(ecode3
)) {
12549 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12551 arg3
= static_cast< int >(val3
);
12554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12555 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
12556 wxPyEndAllowThreads(__tstate
);
12557 if (PyErr_Occurred()) SWIG_fail
;
12560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12576 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12577 PyObject
*resultobj
= 0;
12578 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12579 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12580 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12581 int arg3
= (int) wxTEXT_TYPE_ANY
;
12585 bool temp2
= false ;
12588 PyObject
* obj0
= 0 ;
12589 PyObject
* obj1
= 0 ;
12590 PyObject
* obj2
= 0 ;
12591 char * kwnames
[] = {
12592 (char *) "self",(char *) "file",(char *) "fileType", NULL
12595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12597 if (!SWIG_IsOK(res1
)) {
12598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12600 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12603 arg2
= wxString_in_helper(obj1
);
12604 if (arg2
== NULL
) SWIG_fail
;
12609 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12610 if (!SWIG_IsOK(ecode3
)) {
12611 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12613 arg3
= static_cast< int >(val3
);
12616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12617 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12618 wxPyEndAllowThreads(__tstate
);
12619 if (PyErr_Occurred()) SWIG_fail
;
12622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12638 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12639 PyObject
*resultobj
= 0;
12640 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12643 PyObject
*swig_obj
[1] ;
12645 if (!args
) SWIG_fail
;
12646 swig_obj
[0] = args
;
12647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12648 if (!SWIG_IsOK(res1
)) {
12649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12651 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12654 (arg1
)->MarkDirty();
12655 wxPyEndAllowThreads(__tstate
);
12656 if (PyErr_Occurred()) SWIG_fail
;
12658 resultobj
= SWIG_Py_Void();
12665 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12666 PyObject
*resultobj
= 0;
12667 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12670 PyObject
*swig_obj
[1] ;
12672 if (!args
) SWIG_fail
;
12673 swig_obj
[0] = args
;
12674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12675 if (!SWIG_IsOK(res1
)) {
12676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12678 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12681 (arg1
)->DiscardEdits();
12682 wxPyEndAllowThreads(__tstate
);
12683 if (PyErr_Occurred()) SWIG_fail
;
12685 resultobj
= SWIG_Py_Void();
12692 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12693 PyObject
*resultobj
= 0;
12694 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12700 PyObject
* obj0
= 0 ;
12701 PyObject
* obj1
= 0 ;
12702 char * kwnames
[] = {
12703 (char *) "self",(char *) "modified", NULL
12706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12708 if (!SWIG_IsOK(res1
)) {
12709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12711 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12712 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12713 if (!SWIG_IsOK(ecode2
)) {
12714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12716 arg2
= static_cast< bool >(val2
);
12718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12719 (arg1
)->SetModified(arg2
);
12720 wxPyEndAllowThreads(__tstate
);
12721 if (PyErr_Occurred()) SWIG_fail
;
12723 resultobj
= SWIG_Py_Void();
12730 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12731 PyObject
*resultobj
= 0;
12732 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12733 unsigned long arg2
;
12736 unsigned long val2
;
12738 PyObject
* obj0
= 0 ;
12739 PyObject
* obj1
= 0 ;
12740 char * kwnames
[] = {
12741 (char *) "self",(char *) "len", NULL
12744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12746 if (!SWIG_IsOK(res1
)) {
12747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12749 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12750 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12751 if (!SWIG_IsOK(ecode2
)) {
12752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12754 arg2
= static_cast< unsigned long >(val2
);
12756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12757 (arg1
)->SetMaxLength(arg2
);
12758 wxPyEndAllowThreads(__tstate
);
12759 if (PyErr_Occurred()) SWIG_fail
;
12761 resultobj
= SWIG_Py_Void();
12768 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12769 PyObject
*resultobj
= 0;
12770 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12771 wxString
*arg2
= 0 ;
12774 bool temp2
= false ;
12775 PyObject
* obj0
= 0 ;
12776 PyObject
* obj1
= 0 ;
12777 char * kwnames
[] = {
12778 (char *) "self",(char *) "text", NULL
12781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12783 if (!SWIG_IsOK(res1
)) {
12784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12786 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12788 arg2
= wxString_in_helper(obj1
);
12789 if (arg2
== NULL
) SWIG_fail
;
12793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12794 (arg1
)->WriteText((wxString
const &)*arg2
);
12795 wxPyEndAllowThreads(__tstate
);
12796 if (PyErr_Occurred()) SWIG_fail
;
12798 resultobj
= SWIG_Py_Void();
12813 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12814 PyObject
*resultobj
= 0;
12815 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12816 wxString
*arg2
= 0 ;
12819 bool temp2
= false ;
12820 PyObject
* obj0
= 0 ;
12821 PyObject
* obj1
= 0 ;
12822 char * kwnames
[] = {
12823 (char *) "self",(char *) "text", NULL
12826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12828 if (!SWIG_IsOK(res1
)) {
12829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12831 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12833 arg2
= wxString_in_helper(obj1
);
12834 if (arg2
== NULL
) SWIG_fail
;
12838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12839 (arg1
)->AppendText((wxString
const &)*arg2
);
12840 wxPyEndAllowThreads(__tstate
);
12841 if (PyErr_Occurred()) SWIG_fail
;
12843 resultobj
= SWIG_Py_Void();
12858 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12859 PyObject
*resultobj
= 0;
12860 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12861 wxKeyEvent
*arg2
= 0 ;
12867 PyObject
* obj0
= 0 ;
12868 PyObject
* obj1
= 0 ;
12869 char * kwnames
[] = {
12870 (char *) "self",(char *) "event", NULL
12873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12875 if (!SWIG_IsOK(res1
)) {
12876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12878 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12879 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12880 if (!SWIG_IsOK(res2
)) {
12881 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12884 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12886 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12889 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12890 wxPyEndAllowThreads(__tstate
);
12891 if (PyErr_Occurred()) SWIG_fail
;
12894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12902 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12903 PyObject
*resultobj
= 0;
12904 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12907 wxTextAttr
*arg4
= 0 ;
12917 PyObject
* obj0
= 0 ;
12918 PyObject
* obj1
= 0 ;
12919 PyObject
* obj2
= 0 ;
12920 PyObject
* obj3
= 0 ;
12921 char * kwnames
[] = {
12922 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12927 if (!SWIG_IsOK(res1
)) {
12928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12930 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12931 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12932 if (!SWIG_IsOK(ecode2
)) {
12933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12935 arg2
= static_cast< long >(val2
);
12936 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12937 if (!SWIG_IsOK(ecode3
)) {
12938 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12940 arg3
= static_cast< long >(val3
);
12941 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12942 if (!SWIG_IsOK(res4
)) {
12943 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12946 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12948 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12951 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12952 wxPyEndAllowThreads(__tstate
);
12953 if (PyErr_Occurred()) SWIG_fail
;
12956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12964 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12965 PyObject
*resultobj
= 0;
12966 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12968 wxTextAttr
*arg3
= 0 ;
12976 PyObject
* obj0
= 0 ;
12977 PyObject
* obj1
= 0 ;
12978 PyObject
* obj2
= 0 ;
12979 char * kwnames
[] = {
12980 (char *) "self",(char *) "position",(char *) "style", NULL
12983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12985 if (!SWIG_IsOK(res1
)) {
12986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12988 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12989 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12990 if (!SWIG_IsOK(ecode2
)) {
12991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12993 arg2
= static_cast< long >(val2
);
12994 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12995 if (!SWIG_IsOK(res3
)) {
12996 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12999 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13001 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
13003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13004 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
13005 wxPyEndAllowThreads(__tstate
);
13006 if (PyErr_Occurred()) SWIG_fail
;
13009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13017 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13018 PyObject
*resultobj
= 0;
13019 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13020 wxTextAttr
*arg2
= 0 ;
13026 PyObject
* obj0
= 0 ;
13027 PyObject
* obj1
= 0 ;
13028 char * kwnames
[] = {
13029 (char *) "self",(char *) "style", NULL
13032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13034 if (!SWIG_IsOK(res1
)) {
13035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13037 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13038 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
13039 if (!SWIG_IsOK(res2
)) {
13040 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13043 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13045 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
13047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13048 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
13049 wxPyEndAllowThreads(__tstate
);
13050 if (PyErr_Occurred()) SWIG_fail
;
13053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13061 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13062 PyObject
*resultobj
= 0;
13063 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13064 wxTextAttr
*result
= 0 ;
13067 PyObject
*swig_obj
[1] ;
13069 if (!args
) SWIG_fail
;
13070 swig_obj
[0] = args
;
13071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13072 if (!SWIG_IsOK(res1
)) {
13073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13075 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13079 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
13080 result
= (wxTextAttr
*) &_result_ref
;
13082 wxPyEndAllowThreads(__tstate
);
13083 if (PyErr_Occurred()) SWIG_fail
;
13085 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
13092 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13093 PyObject
*resultobj
= 0;
13094 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13104 PyObject
* obj0
= 0 ;
13105 PyObject
* obj1
= 0 ;
13106 PyObject
* obj2
= 0 ;
13107 char * kwnames
[] = {
13108 (char *) "self",(char *) "x",(char *) "y", NULL
13111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13113 if (!SWIG_IsOK(res1
)) {
13114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13116 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13117 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13118 if (!SWIG_IsOK(ecode2
)) {
13119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13121 arg2
= static_cast< long >(val2
);
13122 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13123 if (!SWIG_IsOK(ecode3
)) {
13124 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13126 arg3
= static_cast< long >(val3
);
13128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13129 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
13130 wxPyEndAllowThreads(__tstate
);
13131 if (PyErr_Occurred()) SWIG_fail
;
13133 resultobj
= SWIG_From_long(static_cast< long >(result
));
13140 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13141 PyObject
*resultobj
= 0;
13142 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13144 long *arg3
= (long *) 0 ;
13145 long *arg4
= (long *) 0 ;
13151 int res3
= SWIG_TMPOBJ
;
13153 int res4
= SWIG_TMPOBJ
;
13154 PyObject
* obj0
= 0 ;
13155 PyObject
* obj1
= 0 ;
13156 char * kwnames
[] = {
13157 (char *) "self",(char *) "pos", NULL
13162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13164 if (!SWIG_IsOK(res1
)) {
13165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13167 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13168 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13169 if (!SWIG_IsOK(ecode2
)) {
13170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13172 arg2
= static_cast< long >(val2
);
13174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13175 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13176 wxPyEndAllowThreads(__tstate
);
13177 if (PyErr_Occurred()) SWIG_fail
;
13179 resultobj
= SWIG_Py_Void();
13180 if (SWIG_IsTmpObj(res3
)) {
13181 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13183 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13184 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13186 if (SWIG_IsTmpObj(res4
)) {
13187 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13189 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13190 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13198 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13199 PyObject
*resultobj
= 0;
13200 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13206 PyObject
* obj0
= 0 ;
13207 PyObject
* obj1
= 0 ;
13208 char * kwnames
[] = {
13209 (char *) "self",(char *) "pos", NULL
13212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13214 if (!SWIG_IsOK(res1
)) {
13215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13217 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13218 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13219 if (!SWIG_IsOK(ecode2
)) {
13220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13222 arg2
= static_cast< long >(val2
);
13224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13225 (arg1
)->ShowPosition(arg2
);
13226 wxPyEndAllowThreads(__tstate
);
13227 if (PyErr_Occurred()) SWIG_fail
;
13229 resultobj
= SWIG_Py_Void();
13236 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13237 PyObject
*resultobj
= 0;
13238 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13239 wxPoint
*arg2
= 0 ;
13240 long *arg3
= (long *) 0 ;
13241 long *arg4
= (long *) 0 ;
13242 wxTextCtrlHitTestResult result
;
13247 int res3
= SWIG_TMPOBJ
;
13249 int res4
= SWIG_TMPOBJ
;
13250 PyObject
* obj0
= 0 ;
13251 PyObject
* obj1
= 0 ;
13252 char * kwnames
[] = {
13253 (char *) "self",(char *) "pt", NULL
13258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13260 if (!SWIG_IsOK(res1
)) {
13261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13263 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13266 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13270 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13271 wxPyEndAllowThreads(__tstate
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13274 resultobj
= SWIG_From_int(static_cast< int >(result
));
13275 if (SWIG_IsTmpObj(res3
)) {
13276 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13278 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13279 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13281 if (SWIG_IsTmpObj(res4
)) {
13282 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13284 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13285 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13293 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13294 PyObject
*resultobj
= 0;
13295 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13296 wxPoint
*arg2
= 0 ;
13297 long *arg3
= (long *) 0 ;
13298 wxTextCtrlHitTestResult result
;
13303 int res3
= SWIG_TMPOBJ
;
13304 PyObject
* obj0
= 0 ;
13305 PyObject
* obj1
= 0 ;
13306 char * kwnames
[] = {
13307 (char *) "self",(char *) "pt", NULL
13311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13313 if (!SWIG_IsOK(res1
)) {
13314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13316 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13319 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13323 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13324 wxPyEndAllowThreads(__tstate
);
13325 if (PyErr_Occurred()) SWIG_fail
;
13327 resultobj
= SWIG_From_int(static_cast< int >(result
));
13328 if (SWIG_IsTmpObj(res3
)) {
13329 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13331 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13332 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13340 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13341 PyObject
*resultobj
= 0;
13342 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13345 PyObject
*swig_obj
[1] ;
13347 if (!args
) SWIG_fail
;
13348 swig_obj
[0] = args
;
13349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13350 if (!SWIG_IsOK(res1
)) {
13351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13353 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13357 wxPyEndAllowThreads(__tstate
);
13358 if (PyErr_Occurred()) SWIG_fail
;
13360 resultobj
= SWIG_Py_Void();
13367 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13368 PyObject
*resultobj
= 0;
13369 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13372 PyObject
*swig_obj
[1] ;
13374 if (!args
) SWIG_fail
;
13375 swig_obj
[0] = args
;
13376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13377 if (!SWIG_IsOK(res1
)) {
13378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13380 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13384 wxPyEndAllowThreads(__tstate
);
13385 if (PyErr_Occurred()) SWIG_fail
;
13387 resultobj
= SWIG_Py_Void();
13394 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13395 PyObject
*resultobj
= 0;
13396 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13399 PyObject
*swig_obj
[1] ;
13401 if (!args
) SWIG_fail
;
13402 swig_obj
[0] = args
;
13403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13404 if (!SWIG_IsOK(res1
)) {
13405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13407 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13411 wxPyEndAllowThreads(__tstate
);
13412 if (PyErr_Occurred()) SWIG_fail
;
13414 resultobj
= SWIG_Py_Void();
13421 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13422 PyObject
*resultobj
= 0;
13423 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13427 PyObject
*swig_obj
[1] ;
13429 if (!args
) SWIG_fail
;
13430 swig_obj
[0] = args
;
13431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13432 if (!SWIG_IsOK(res1
)) {
13433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13435 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13438 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13439 wxPyEndAllowThreads(__tstate
);
13440 if (PyErr_Occurred()) SWIG_fail
;
13443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13451 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13452 PyObject
*resultobj
= 0;
13453 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13457 PyObject
*swig_obj
[1] ;
13459 if (!args
) SWIG_fail
;
13460 swig_obj
[0] = args
;
13461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13462 if (!SWIG_IsOK(res1
)) {
13463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13465 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13468 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13469 wxPyEndAllowThreads(__tstate
);
13470 if (PyErr_Occurred()) SWIG_fail
;
13473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13481 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13482 PyObject
*resultobj
= 0;
13483 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13487 PyObject
*swig_obj
[1] ;
13489 if (!args
) SWIG_fail
;
13490 swig_obj
[0] = args
;
13491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13492 if (!SWIG_IsOK(res1
)) {
13493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13495 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13498 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13499 wxPyEndAllowThreads(__tstate
);
13500 if (PyErr_Occurred()) SWIG_fail
;
13503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13511 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13512 PyObject
*resultobj
= 0;
13513 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13516 PyObject
*swig_obj
[1] ;
13518 if (!args
) SWIG_fail
;
13519 swig_obj
[0] = args
;
13520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13521 if (!SWIG_IsOK(res1
)) {
13522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13524 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13528 wxPyEndAllowThreads(__tstate
);
13529 if (PyErr_Occurred()) SWIG_fail
;
13531 resultobj
= SWIG_Py_Void();
13538 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13539 PyObject
*resultobj
= 0;
13540 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13543 PyObject
*swig_obj
[1] ;
13545 if (!args
) SWIG_fail
;
13546 swig_obj
[0] = args
;
13547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13548 if (!SWIG_IsOK(res1
)) {
13549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13551 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13555 wxPyEndAllowThreads(__tstate
);
13556 if (PyErr_Occurred()) SWIG_fail
;
13558 resultobj
= SWIG_Py_Void();
13565 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13566 PyObject
*resultobj
= 0;
13567 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13571 PyObject
*swig_obj
[1] ;
13573 if (!args
) SWIG_fail
;
13574 swig_obj
[0] = args
;
13575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13576 if (!SWIG_IsOK(res1
)) {
13577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13579 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13582 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13583 wxPyEndAllowThreads(__tstate
);
13584 if (PyErr_Occurred()) SWIG_fail
;
13587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13595 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13596 PyObject
*resultobj
= 0;
13597 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13601 PyObject
*swig_obj
[1] ;
13603 if (!args
) SWIG_fail
;
13604 swig_obj
[0] = args
;
13605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13606 if (!SWIG_IsOK(res1
)) {
13607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13609 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13612 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13613 wxPyEndAllowThreads(__tstate
);
13614 if (PyErr_Occurred()) SWIG_fail
;
13617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13625 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13626 PyObject
*resultobj
= 0;
13627 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13633 PyObject
* obj0
= 0 ;
13634 PyObject
* obj1
= 0 ;
13635 char * kwnames
[] = {
13636 (char *) "self",(char *) "pos", NULL
13639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13641 if (!SWIG_IsOK(res1
)) {
13642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13644 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13645 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13646 if (!SWIG_IsOK(ecode2
)) {
13647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13649 arg2
= static_cast< long >(val2
);
13651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13652 (arg1
)->SetInsertionPoint(arg2
);
13653 wxPyEndAllowThreads(__tstate
);
13654 if (PyErr_Occurred()) SWIG_fail
;
13656 resultobj
= SWIG_Py_Void();
13663 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13664 PyObject
*resultobj
= 0;
13665 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13668 PyObject
*swig_obj
[1] ;
13670 if (!args
) SWIG_fail
;
13671 swig_obj
[0] = args
;
13672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13673 if (!SWIG_IsOK(res1
)) {
13674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13676 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13679 (arg1
)->SetInsertionPointEnd();
13680 wxPyEndAllowThreads(__tstate
);
13681 if (PyErr_Occurred()) SWIG_fail
;
13683 resultobj
= SWIG_Py_Void();
13690 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13691 PyObject
*resultobj
= 0;
13692 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13696 PyObject
*swig_obj
[1] ;
13698 if (!args
) SWIG_fail
;
13699 swig_obj
[0] = args
;
13700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13701 if (!SWIG_IsOK(res1
)) {
13702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13704 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13707 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13708 wxPyEndAllowThreads(__tstate
);
13709 if (PyErr_Occurred()) SWIG_fail
;
13711 resultobj
= SWIG_From_long(static_cast< long >(result
));
13718 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13719 PyObject
*resultobj
= 0;
13720 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13724 PyObject
*swig_obj
[1] ;
13726 if (!args
) SWIG_fail
;
13727 swig_obj
[0] = args
;
13728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13729 if (!SWIG_IsOK(res1
)) {
13730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13732 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13735 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13736 wxPyEndAllowThreads(__tstate
);
13737 if (PyErr_Occurred()) SWIG_fail
;
13739 resultobj
= SWIG_From_long(static_cast< long >(result
));
13746 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13747 PyObject
*resultobj
= 0;
13748 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13757 PyObject
* obj0
= 0 ;
13758 PyObject
* obj1
= 0 ;
13759 PyObject
* obj2
= 0 ;
13760 char * kwnames
[] = {
13761 (char *) "self",(char *) "from",(char *) "to", NULL
13764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13766 if (!SWIG_IsOK(res1
)) {
13767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13769 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13770 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13771 if (!SWIG_IsOK(ecode2
)) {
13772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13774 arg2
= static_cast< long >(val2
);
13775 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13776 if (!SWIG_IsOK(ecode3
)) {
13777 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13779 arg3
= static_cast< long >(val3
);
13781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13782 (arg1
)->SetSelection(arg2
,arg3
);
13783 wxPyEndAllowThreads(__tstate
);
13784 if (PyErr_Occurred()) SWIG_fail
;
13786 resultobj
= SWIG_Py_Void();
13793 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13794 PyObject
*resultobj
= 0;
13795 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13798 PyObject
*swig_obj
[1] ;
13800 if (!args
) SWIG_fail
;
13801 swig_obj
[0] = args
;
13802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13803 if (!SWIG_IsOK(res1
)) {
13804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13806 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13809 (arg1
)->SelectAll();
13810 wxPyEndAllowThreads(__tstate
);
13811 if (PyErr_Occurred()) SWIG_fail
;
13813 resultobj
= SWIG_Py_Void();
13820 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13821 PyObject
*resultobj
= 0;
13822 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13828 PyObject
* obj0
= 0 ;
13829 PyObject
* obj1
= 0 ;
13830 char * kwnames
[] = {
13831 (char *) "self",(char *) "editable", NULL
13834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13836 if (!SWIG_IsOK(res1
)) {
13837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13839 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13840 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13841 if (!SWIG_IsOK(ecode2
)) {
13842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13844 arg2
= static_cast< bool >(val2
);
13846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13847 (arg1
)->SetEditable(arg2
);
13848 wxPyEndAllowThreads(__tstate
);
13849 if (PyErr_Occurred()) SWIG_fail
;
13851 resultobj
= SWIG_Py_Void();
13858 SWIGINTERN PyObject
*_wrap_TextCtrl_MacCheckSpelling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13859 PyObject
*resultobj
= 0;
13860 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13866 PyObject
* obj0
= 0 ;
13867 PyObject
* obj1
= 0 ;
13868 char * kwnames
[] = {
13869 (char *) "self",(char *) "check", NULL
13872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_MacCheckSpelling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13874 if (!SWIG_IsOK(res1
)) {
13875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13877 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13878 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13879 if (!SWIG_IsOK(ecode2
)) {
13880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "2"" of type '" "bool""'");
13882 arg2
= static_cast< bool >(val2
);
13884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13885 wxTextCtrl_MacCheckSpelling(arg1
,arg2
);
13886 wxPyEndAllowThreads(__tstate
);
13887 if (PyErr_Occurred()) SWIG_fail
;
13889 resultobj
= SWIG_Py_Void();
13896 SWIGINTERN PyObject
*_wrap_TextCtrl_SendTextUpdatedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13897 PyObject
*resultobj
= 0;
13898 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13901 PyObject
*swig_obj
[1] ;
13903 if (!args
) SWIG_fail
;
13904 swig_obj
[0] = args
;
13905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13906 if (!SWIG_IsOK(res1
)) {
13907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13909 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13912 (arg1
)->SendTextUpdatedEvent();
13913 wxPyEndAllowThreads(__tstate
);
13914 if (PyErr_Occurred()) SWIG_fail
;
13916 resultobj
= SWIG_Py_Void();
13923 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13924 PyObject
*resultobj
= 0;
13925 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13926 wxString
*arg2
= 0 ;
13929 bool temp2
= false ;
13930 PyObject
* obj0
= 0 ;
13931 PyObject
* obj1
= 0 ;
13932 char * kwnames
[] = {
13933 (char *) "self",(char *) "text", NULL
13936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13938 if (!SWIG_IsOK(res1
)) {
13939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13941 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13943 arg2
= wxString_in_helper(obj1
);
13944 if (arg2
== NULL
) SWIG_fail
;
13948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13949 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13950 wxPyEndAllowThreads(__tstate
);
13951 if (PyErr_Occurred()) SWIG_fail
;
13953 resultobj
= SWIG_Py_Void();
13968 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13969 PyObject
*resultobj
= 0;
13970 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13980 PyObject
* obj0
= 0 ;
13981 PyObject
* obj1
= 0 ;
13982 PyObject
* obj2
= 0 ;
13983 char * kwnames
[] = {
13984 (char *) "self",(char *) "from",(char *) "to", NULL
13987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13989 if (!SWIG_IsOK(res1
)) {
13990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13992 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13993 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13994 if (!SWIG_IsOK(ecode2
)) {
13995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13997 arg2
= static_cast< long >(val2
);
13998 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13999 if (!SWIG_IsOK(ecode3
)) {
14000 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
14002 arg3
= static_cast< long >(val3
);
14004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14005 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
14006 wxPyEndAllowThreads(__tstate
);
14007 if (PyErr_Occurred()) SWIG_fail
;
14011 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14013 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14022 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14023 PyObject
*resultobj
= 0;
14024 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14025 SwigValueWrapper
<wxVisualAttributes
> result
;
14028 PyObject
* obj0
= 0 ;
14029 char * kwnames
[] = {
14030 (char *) "variant", NULL
14033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14035 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14036 if (!SWIG_IsOK(ecode1
)) {
14037 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14039 arg1
= static_cast< wxWindowVariant
>(val1
);
14042 if (!wxPyCheckForApp()) SWIG_fail
;
14043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14044 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
14045 wxPyEndAllowThreads(__tstate
);
14046 if (PyErr_Occurred()) SWIG_fail
;
14048 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14055 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14057 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14058 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
14059 return SWIG_Py_Void();
14062 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14063 return SWIG_Python_InitShadowInstance(args
);
14066 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14067 PyObject
*resultobj
= 0;
14069 wxMouseEvent
*arg2
= 0 ;
14072 wxTextUrlEvent
*result
= 0 ;
14081 PyObject
* obj0
= 0 ;
14082 PyObject
* obj1
= 0 ;
14083 PyObject
* obj2
= 0 ;
14084 PyObject
* obj3
= 0 ;
14085 char * kwnames
[] = {
14086 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14090 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14091 if (!SWIG_IsOK(ecode1
)) {
14092 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14094 arg1
= static_cast< int >(val1
);
14095 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
14096 if (!SWIG_IsOK(res2
)) {
14097 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14100 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14102 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
14103 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14104 if (!SWIG_IsOK(ecode3
)) {
14105 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14107 arg3
= static_cast< long >(val3
);
14108 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
14109 if (!SWIG_IsOK(ecode4
)) {
14110 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14112 arg4
= static_cast< long >(val4
);
14114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14115 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
14116 wxPyEndAllowThreads(__tstate
);
14117 if (PyErr_Occurred()) SWIG_fail
;
14119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
14126 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14127 PyObject
*resultobj
= 0;
14128 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14129 wxMouseEvent
*result
= 0 ;
14132 PyObject
*swig_obj
[1] ;
14134 if (!args
) SWIG_fail
;
14135 swig_obj
[0] = args
;
14136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14137 if (!SWIG_IsOK(res1
)) {
14138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14140 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14144 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
14145 result
= (wxMouseEvent
*) &_result_ref
;
14147 wxPyEndAllowThreads(__tstate
);
14148 if (PyErr_Occurred()) SWIG_fail
;
14150 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14157 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14158 PyObject
*resultobj
= 0;
14159 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14163 PyObject
*swig_obj
[1] ;
14165 if (!args
) SWIG_fail
;
14166 swig_obj
[0] = args
;
14167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14168 if (!SWIG_IsOK(res1
)) {
14169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14171 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14174 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14175 wxPyEndAllowThreads(__tstate
);
14176 if (PyErr_Occurred()) SWIG_fail
;
14178 resultobj
= SWIG_From_long(static_cast< long >(result
));
14185 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14186 PyObject
*resultobj
= 0;
14187 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14191 PyObject
*swig_obj
[1] ;
14193 if (!args
) SWIG_fail
;
14194 swig_obj
[0] = args
;
14195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14196 if (!SWIG_IsOK(res1
)) {
14197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14199 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14202 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14203 wxPyEndAllowThreads(__tstate
);
14204 if (PyErr_Occurred()) SWIG_fail
;
14206 resultobj
= SWIG_From_long(static_cast< long >(result
));
14213 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14215 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14216 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14217 return SWIG_Py_Void();
14220 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14221 return SWIG_Python_InitShadowInstance(args
);
14224 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14225 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14230 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14231 PyObject
*pyobj
= 0;
14235 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14237 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14244 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14245 PyObject
*resultobj
= 0;
14246 wxWindow
*arg1
= (wxWindow
*) 0 ;
14247 int arg2
= (int) -1 ;
14248 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14249 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14250 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14251 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14252 long arg5
= (long) wxSB_HORIZONTAL
;
14253 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14254 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14255 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14256 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14257 wxScrollBar
*result
= 0 ;
14268 bool temp7
= false ;
14269 PyObject
* obj0
= 0 ;
14270 PyObject
* obj1
= 0 ;
14271 PyObject
* obj2
= 0 ;
14272 PyObject
* obj3
= 0 ;
14273 PyObject
* obj4
= 0 ;
14274 PyObject
* obj5
= 0 ;
14275 PyObject
* obj6
= 0 ;
14276 char * kwnames
[] = {
14277 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14282 if (!SWIG_IsOK(res1
)) {
14283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14285 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14287 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14288 if (!SWIG_IsOK(ecode2
)) {
14289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14291 arg2
= static_cast< int >(val2
);
14296 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14302 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14306 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14307 if (!SWIG_IsOK(ecode5
)) {
14308 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14310 arg5
= static_cast< long >(val5
);
14313 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14314 if (!SWIG_IsOK(res6
)) {
14315 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14318 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14320 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14324 arg7
= wxString_in_helper(obj6
);
14325 if (arg7
== NULL
) SWIG_fail
;
14330 if (!wxPyCheckForApp()) SWIG_fail
;
14331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14332 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14333 wxPyEndAllowThreads(__tstate
);
14334 if (PyErr_Occurred()) SWIG_fail
;
14336 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14351 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14352 PyObject
*resultobj
= 0;
14353 wxScrollBar
*result
= 0 ;
14355 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14357 if (!wxPyCheckForApp()) SWIG_fail
;
14358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14359 result
= (wxScrollBar
*)new wxScrollBar();
14360 wxPyEndAllowThreads(__tstate
);
14361 if (PyErr_Occurred()) SWIG_fail
;
14363 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14370 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14371 PyObject
*resultobj
= 0;
14372 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14373 wxWindow
*arg2
= (wxWindow
*) 0 ;
14374 int arg3
= (int) -1 ;
14375 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14376 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14377 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14378 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14379 long arg6
= (long) wxSB_HORIZONTAL
;
14380 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14381 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14382 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14383 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14397 bool temp8
= false ;
14398 PyObject
* obj0
= 0 ;
14399 PyObject
* obj1
= 0 ;
14400 PyObject
* obj2
= 0 ;
14401 PyObject
* obj3
= 0 ;
14402 PyObject
* obj4
= 0 ;
14403 PyObject
* obj5
= 0 ;
14404 PyObject
* obj6
= 0 ;
14405 PyObject
* obj7
= 0 ;
14406 char * kwnames
[] = {
14407 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14412 if (!SWIG_IsOK(res1
)) {
14413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14415 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14416 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14417 if (!SWIG_IsOK(res2
)) {
14418 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14420 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14422 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14423 if (!SWIG_IsOK(ecode3
)) {
14424 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14426 arg3
= static_cast< int >(val3
);
14431 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14437 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14441 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14442 if (!SWIG_IsOK(ecode6
)) {
14443 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14445 arg6
= static_cast< long >(val6
);
14448 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14449 if (!SWIG_IsOK(res7
)) {
14450 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14453 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14455 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14459 arg8
= wxString_in_helper(obj7
);
14460 if (arg8
== NULL
) SWIG_fail
;
14465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14466 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14467 wxPyEndAllowThreads(__tstate
);
14468 if (PyErr_Occurred()) SWIG_fail
;
14471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14487 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14488 PyObject
*resultobj
= 0;
14489 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14493 PyObject
*swig_obj
[1] ;
14495 if (!args
) SWIG_fail
;
14496 swig_obj
[0] = args
;
14497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14498 if (!SWIG_IsOK(res1
)) {
14499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14501 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14504 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14505 wxPyEndAllowThreads(__tstate
);
14506 if (PyErr_Occurred()) SWIG_fail
;
14508 resultobj
= SWIG_From_int(static_cast< int >(result
));
14515 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14516 PyObject
*resultobj
= 0;
14517 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14521 PyObject
*swig_obj
[1] ;
14523 if (!args
) SWIG_fail
;
14524 swig_obj
[0] = args
;
14525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14526 if (!SWIG_IsOK(res1
)) {
14527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14529 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14532 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14533 wxPyEndAllowThreads(__tstate
);
14534 if (PyErr_Occurred()) SWIG_fail
;
14536 resultobj
= SWIG_From_int(static_cast< int >(result
));
14543 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14544 PyObject
*resultobj
= 0;
14545 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14549 PyObject
*swig_obj
[1] ;
14551 if (!args
) SWIG_fail
;
14552 swig_obj
[0] = args
;
14553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14554 if (!SWIG_IsOK(res1
)) {
14555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14557 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14560 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14561 wxPyEndAllowThreads(__tstate
);
14562 if (PyErr_Occurred()) SWIG_fail
;
14564 resultobj
= SWIG_From_int(static_cast< int >(result
));
14571 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14572 PyObject
*resultobj
= 0;
14573 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14577 PyObject
*swig_obj
[1] ;
14579 if (!args
) SWIG_fail
;
14580 swig_obj
[0] = args
;
14581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14582 if (!SWIG_IsOK(res1
)) {
14583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14585 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14588 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14589 wxPyEndAllowThreads(__tstate
);
14590 if (PyErr_Occurred()) SWIG_fail
;
14592 resultobj
= SWIG_From_int(static_cast< int >(result
));
14599 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14600 PyObject
*resultobj
= 0;
14601 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14605 PyObject
*swig_obj
[1] ;
14607 if (!args
) SWIG_fail
;
14608 swig_obj
[0] = args
;
14609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14610 if (!SWIG_IsOK(res1
)) {
14611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14613 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14616 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14617 wxPyEndAllowThreads(__tstate
);
14618 if (PyErr_Occurred()) SWIG_fail
;
14621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14629 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14630 PyObject
*resultobj
= 0;
14631 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14637 PyObject
* obj0
= 0 ;
14638 PyObject
* obj1
= 0 ;
14639 char * kwnames
[] = {
14640 (char *) "self",(char *) "viewStart", NULL
14643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14645 if (!SWIG_IsOK(res1
)) {
14646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14648 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14649 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14650 if (!SWIG_IsOK(ecode2
)) {
14651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14653 arg2
= static_cast< int >(val2
);
14655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14656 (arg1
)->SetThumbPosition(arg2
);
14657 wxPyEndAllowThreads(__tstate
);
14658 if (PyErr_Occurred()) SWIG_fail
;
14660 resultobj
= SWIG_Py_Void();
14667 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14668 PyObject
*resultobj
= 0;
14669 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14670 SwigValueWrapper
<wxVisualAttributes
> result
;
14673 PyObject
* obj0
= 0 ;
14674 char * kwnames
[] = {
14675 (char *) "variant", NULL
14678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14680 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14681 if (!SWIG_IsOK(ecode1
)) {
14682 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14684 arg1
= static_cast< wxWindowVariant
>(val1
);
14687 if (!wxPyCheckForApp()) SWIG_fail
;
14688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14689 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14690 wxPyEndAllowThreads(__tstate
);
14691 if (PyErr_Occurred()) SWIG_fail
;
14693 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14700 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14702 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14703 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14704 return SWIG_Py_Void();
14707 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14708 return SWIG_Python_InitShadowInstance(args
);
14711 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14712 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14717 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14718 PyObject
*pyobj
= 0;
14722 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14724 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14731 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14732 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14737 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14738 PyObject
*pyobj
= 0;
14742 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14744 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14751 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14752 PyObject
*resultobj
= 0;
14753 wxWindow
*arg1
= (wxWindow
*) 0 ;
14754 int arg2
= (int) -1 ;
14755 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14756 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14757 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14758 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14759 long arg5
= (long) wxSP_HORIZONTAL
;
14760 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14761 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14762 wxSpinButton
*result
= 0 ;
14771 bool temp6
= false ;
14772 PyObject
* obj0
= 0 ;
14773 PyObject
* obj1
= 0 ;
14774 PyObject
* obj2
= 0 ;
14775 PyObject
* obj3
= 0 ;
14776 PyObject
* obj4
= 0 ;
14777 PyObject
* obj5
= 0 ;
14778 char * kwnames
[] = {
14779 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14784 if (!SWIG_IsOK(res1
)) {
14785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14787 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14790 if (!SWIG_IsOK(ecode2
)) {
14791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14793 arg2
= static_cast< int >(val2
);
14798 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14804 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14808 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14809 if (!SWIG_IsOK(ecode5
)) {
14810 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14812 arg5
= static_cast< long >(val5
);
14816 arg6
= wxString_in_helper(obj5
);
14817 if (arg6
== NULL
) SWIG_fail
;
14822 if (!wxPyCheckForApp()) SWIG_fail
;
14823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14824 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14825 wxPyEndAllowThreads(__tstate
);
14826 if (PyErr_Occurred()) SWIG_fail
;
14828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14843 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14844 PyObject
*resultobj
= 0;
14845 wxSpinButton
*result
= 0 ;
14847 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14849 if (!wxPyCheckForApp()) SWIG_fail
;
14850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14851 result
= (wxSpinButton
*)new wxSpinButton();
14852 wxPyEndAllowThreads(__tstate
);
14853 if (PyErr_Occurred()) SWIG_fail
;
14855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14862 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14863 PyObject
*resultobj
= 0;
14864 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14865 wxWindow
*arg2
= (wxWindow
*) 0 ;
14866 int arg3
= (int) -1 ;
14867 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14868 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14869 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14870 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14871 long arg6
= (long) wxSP_HORIZONTAL
;
14872 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14873 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14885 bool temp7
= false ;
14886 PyObject
* obj0
= 0 ;
14887 PyObject
* obj1
= 0 ;
14888 PyObject
* obj2
= 0 ;
14889 PyObject
* obj3
= 0 ;
14890 PyObject
* obj4
= 0 ;
14891 PyObject
* obj5
= 0 ;
14892 PyObject
* obj6
= 0 ;
14893 char * kwnames
[] = {
14894 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14899 if (!SWIG_IsOK(res1
)) {
14900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14902 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14903 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14904 if (!SWIG_IsOK(res2
)) {
14905 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14907 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14909 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14910 if (!SWIG_IsOK(ecode3
)) {
14911 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14913 arg3
= static_cast< int >(val3
);
14918 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14924 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14928 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14929 if (!SWIG_IsOK(ecode6
)) {
14930 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14932 arg6
= static_cast< long >(val6
);
14936 arg7
= wxString_in_helper(obj6
);
14937 if (arg7
== NULL
) SWIG_fail
;
14942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14943 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14944 wxPyEndAllowThreads(__tstate
);
14945 if (PyErr_Occurred()) SWIG_fail
;
14948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14964 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14965 PyObject
*resultobj
= 0;
14966 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14970 PyObject
*swig_obj
[1] ;
14972 if (!args
) SWIG_fail
;
14973 swig_obj
[0] = args
;
14974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14975 if (!SWIG_IsOK(res1
)) {
14976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14978 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14981 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14982 wxPyEndAllowThreads(__tstate
);
14983 if (PyErr_Occurred()) SWIG_fail
;
14985 resultobj
= SWIG_From_int(static_cast< int >(result
));
14992 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14993 PyObject
*resultobj
= 0;
14994 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14998 PyObject
*swig_obj
[1] ;
15000 if (!args
) SWIG_fail
;
15001 swig_obj
[0] = args
;
15002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15003 if (!SWIG_IsOK(res1
)) {
15004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15006 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15009 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
15010 wxPyEndAllowThreads(__tstate
);
15011 if (PyErr_Occurred()) SWIG_fail
;
15013 resultobj
= SWIG_From_int(static_cast< int >(result
));
15020 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15021 PyObject
*resultobj
= 0;
15022 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15026 PyObject
*swig_obj
[1] ;
15028 if (!args
) SWIG_fail
;
15029 swig_obj
[0] = args
;
15030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15031 if (!SWIG_IsOK(res1
)) {
15032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15034 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15037 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
15038 wxPyEndAllowThreads(__tstate
);
15039 if (PyErr_Occurred()) SWIG_fail
;
15041 resultobj
= SWIG_From_int(static_cast< int >(result
));
15048 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15049 PyObject
*resultobj
= 0;
15050 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15056 PyObject
* obj0
= 0 ;
15057 PyObject
* obj1
= 0 ;
15058 char * kwnames
[] = {
15059 (char *) "self",(char *) "val", NULL
15062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15064 if (!SWIG_IsOK(res1
)) {
15065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15067 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15068 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15069 if (!SWIG_IsOK(ecode2
)) {
15070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15072 arg2
= static_cast< int >(val2
);
15074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15075 (arg1
)->SetValue(arg2
);
15076 wxPyEndAllowThreads(__tstate
);
15077 if (PyErr_Occurred()) SWIG_fail
;
15079 resultobj
= SWIG_Py_Void();
15086 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15087 PyObject
*resultobj
= 0;
15088 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15094 PyObject
* obj0
= 0 ;
15095 PyObject
* obj1
= 0 ;
15096 char * kwnames
[] = {
15097 (char *) "self",(char *) "minVal", NULL
15100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15102 if (!SWIG_IsOK(res1
)) {
15103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15105 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15107 if (!SWIG_IsOK(ecode2
)) {
15108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15110 arg2
= static_cast< int >(val2
);
15112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15113 (arg1
)->SetMin(arg2
);
15114 wxPyEndAllowThreads(__tstate
);
15115 if (PyErr_Occurred()) SWIG_fail
;
15117 resultobj
= SWIG_Py_Void();
15124 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15125 PyObject
*resultobj
= 0;
15126 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15132 PyObject
* obj0
= 0 ;
15133 PyObject
* obj1
= 0 ;
15134 char * kwnames
[] = {
15135 (char *) "self",(char *) "maxVal", NULL
15138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15140 if (!SWIG_IsOK(res1
)) {
15141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15143 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15144 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15145 if (!SWIG_IsOK(ecode2
)) {
15146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15148 arg2
= static_cast< int >(val2
);
15150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15151 (arg1
)->SetMax(arg2
);
15152 wxPyEndAllowThreads(__tstate
);
15153 if (PyErr_Occurred()) SWIG_fail
;
15155 resultobj
= SWIG_Py_Void();
15162 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15163 PyObject
*resultobj
= 0;
15164 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15173 PyObject
* obj0
= 0 ;
15174 PyObject
* obj1
= 0 ;
15175 PyObject
* obj2
= 0 ;
15176 char * kwnames
[] = {
15177 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15182 if (!SWIG_IsOK(res1
)) {
15183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15185 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15186 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15187 if (!SWIG_IsOK(ecode2
)) {
15188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15190 arg2
= static_cast< int >(val2
);
15191 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15192 if (!SWIG_IsOK(ecode3
)) {
15193 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15195 arg3
= static_cast< int >(val3
);
15197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15198 (arg1
)->SetRange(arg2
,arg3
);
15199 wxPyEndAllowThreads(__tstate
);
15200 if (PyErr_Occurred()) SWIG_fail
;
15202 resultobj
= SWIG_Py_Void();
15209 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15210 PyObject
*resultobj
= 0;
15211 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15215 PyObject
*swig_obj
[1] ;
15217 if (!args
) SWIG_fail
;
15218 swig_obj
[0] = args
;
15219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15220 if (!SWIG_IsOK(res1
)) {
15221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15223 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15226 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15227 wxPyEndAllowThreads(__tstate
);
15228 if (PyErr_Occurred()) SWIG_fail
;
15231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15239 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15240 PyObject
*resultobj
= 0;
15241 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15242 SwigValueWrapper
<wxVisualAttributes
> result
;
15245 PyObject
* obj0
= 0 ;
15246 char * kwnames
[] = {
15247 (char *) "variant", NULL
15250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15252 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15253 if (!SWIG_IsOK(ecode1
)) {
15254 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15256 arg1
= static_cast< wxWindowVariant
>(val1
);
15259 if (!wxPyCheckForApp()) SWIG_fail
;
15260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15261 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15262 wxPyEndAllowThreads(__tstate
);
15263 if (PyErr_Occurred()) SWIG_fail
;
15265 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15272 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15274 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15275 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15276 return SWIG_Py_Void();
15279 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15280 return SWIG_Python_InitShadowInstance(args
);
15283 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15284 PyObject
*resultobj
= 0;
15285 wxWindow
*arg1
= (wxWindow
*) 0 ;
15286 int arg2
= (int) -1 ;
15287 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15288 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15289 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15290 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15291 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15292 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15293 long arg6
= (long) wxSP_ARROW_KEYS
;
15294 int arg7
= (int) 0 ;
15295 int arg8
= (int) 100 ;
15296 int arg9
= (int) 0 ;
15297 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15298 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15299 wxSpinCtrl
*result
= 0 ;
15304 bool temp3
= false ;
15315 bool temp10
= false ;
15316 PyObject
* obj0
= 0 ;
15317 PyObject
* obj1
= 0 ;
15318 PyObject
* obj2
= 0 ;
15319 PyObject
* obj3
= 0 ;
15320 PyObject
* obj4
= 0 ;
15321 PyObject
* obj5
= 0 ;
15322 PyObject
* obj6
= 0 ;
15323 PyObject
* obj7
= 0 ;
15324 PyObject
* obj8
= 0 ;
15325 PyObject
* obj9
= 0 ;
15326 char * kwnames
[] = {
15327 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15332 if (!SWIG_IsOK(res1
)) {
15333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15335 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15337 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15338 if (!SWIG_IsOK(ecode2
)) {
15339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15341 arg2
= static_cast< int >(val2
);
15345 arg3
= wxString_in_helper(obj2
);
15346 if (arg3
== NULL
) SWIG_fail
;
15353 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15359 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15363 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15364 if (!SWIG_IsOK(ecode6
)) {
15365 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15367 arg6
= static_cast< long >(val6
);
15370 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15371 if (!SWIG_IsOK(ecode7
)) {
15372 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15374 arg7
= static_cast< int >(val7
);
15377 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15378 if (!SWIG_IsOK(ecode8
)) {
15379 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15381 arg8
= static_cast< int >(val8
);
15384 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15385 if (!SWIG_IsOK(ecode9
)) {
15386 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15388 arg9
= static_cast< int >(val9
);
15392 arg10
= wxString_in_helper(obj9
);
15393 if (arg10
== NULL
) SWIG_fail
;
15398 if (!wxPyCheckForApp()) SWIG_fail
;
15399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15400 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15401 wxPyEndAllowThreads(__tstate
);
15402 if (PyErr_Occurred()) SWIG_fail
;
15404 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15427 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15428 PyObject
*resultobj
= 0;
15429 wxSpinCtrl
*result
= 0 ;
15431 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15433 if (!wxPyCheckForApp()) SWIG_fail
;
15434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15435 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15436 wxPyEndAllowThreads(__tstate
);
15437 if (PyErr_Occurred()) SWIG_fail
;
15439 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15446 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15447 PyObject
*resultobj
= 0;
15448 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15449 wxWindow
*arg2
= (wxWindow
*) 0 ;
15450 int arg3
= (int) -1 ;
15451 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15452 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15453 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15454 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15455 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15456 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15457 long arg7
= (long) wxSP_ARROW_KEYS
;
15458 int arg8
= (int) 0 ;
15459 int arg9
= (int) 100 ;
15460 int arg10
= (int) 0 ;
15461 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15462 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15470 bool temp4
= false ;
15481 bool temp11
= false ;
15482 PyObject
* obj0
= 0 ;
15483 PyObject
* obj1
= 0 ;
15484 PyObject
* obj2
= 0 ;
15485 PyObject
* obj3
= 0 ;
15486 PyObject
* obj4
= 0 ;
15487 PyObject
* obj5
= 0 ;
15488 PyObject
* obj6
= 0 ;
15489 PyObject
* obj7
= 0 ;
15490 PyObject
* obj8
= 0 ;
15491 PyObject
* obj9
= 0 ;
15492 PyObject
* obj10
= 0 ;
15493 char * kwnames
[] = {
15494 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15499 if (!SWIG_IsOK(res1
)) {
15500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15502 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15503 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15504 if (!SWIG_IsOK(res2
)) {
15505 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15507 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15509 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15510 if (!SWIG_IsOK(ecode3
)) {
15511 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15513 arg3
= static_cast< int >(val3
);
15517 arg4
= wxString_in_helper(obj3
);
15518 if (arg4
== NULL
) SWIG_fail
;
15525 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15531 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15535 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15536 if (!SWIG_IsOK(ecode7
)) {
15537 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15539 arg7
= static_cast< long >(val7
);
15542 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15543 if (!SWIG_IsOK(ecode8
)) {
15544 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15546 arg8
= static_cast< int >(val8
);
15549 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15550 if (!SWIG_IsOK(ecode9
)) {
15551 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15553 arg9
= static_cast< int >(val9
);
15556 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15557 if (!SWIG_IsOK(ecode10
)) {
15558 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15560 arg10
= static_cast< int >(val10
);
15564 arg11
= wxString_in_helper(obj10
);
15565 if (arg11
== NULL
) SWIG_fail
;
15570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15571 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15572 wxPyEndAllowThreads(__tstate
);
15573 if (PyErr_Occurred()) SWIG_fail
;
15576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15600 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15601 PyObject
*resultobj
= 0;
15602 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15606 PyObject
*swig_obj
[1] ;
15608 if (!args
) SWIG_fail
;
15609 swig_obj
[0] = args
;
15610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15611 if (!SWIG_IsOK(res1
)) {
15612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15614 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15617 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15618 wxPyEndAllowThreads(__tstate
);
15619 if (PyErr_Occurred()) SWIG_fail
;
15621 resultobj
= SWIG_From_int(static_cast< int >(result
));
15628 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15629 PyObject
*resultobj
= 0;
15630 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15636 PyObject
* obj0
= 0 ;
15637 PyObject
* obj1
= 0 ;
15638 char * kwnames
[] = {
15639 (char *) "self",(char *) "value", NULL
15642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15644 if (!SWIG_IsOK(res1
)) {
15645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15647 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15648 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15649 if (!SWIG_IsOK(ecode2
)) {
15650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15652 arg2
= static_cast< int >(val2
);
15654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15655 (arg1
)->SetValue(arg2
);
15656 wxPyEndAllowThreads(__tstate
);
15657 if (PyErr_Occurred()) SWIG_fail
;
15659 resultobj
= SWIG_Py_Void();
15666 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15667 PyObject
*resultobj
= 0;
15668 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15669 wxString
*arg2
= 0 ;
15672 bool temp2
= false ;
15673 PyObject
* obj0
= 0 ;
15674 PyObject
* obj1
= 0 ;
15675 char * kwnames
[] = {
15676 (char *) "self",(char *) "text", NULL
15679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15681 if (!SWIG_IsOK(res1
)) {
15682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15684 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15686 arg2
= wxString_in_helper(obj1
);
15687 if (arg2
== NULL
) SWIG_fail
;
15691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15692 (arg1
)->SetValue((wxString
const &)*arg2
);
15693 wxPyEndAllowThreads(__tstate
);
15694 if (PyErr_Occurred()) SWIG_fail
;
15696 resultobj
= SWIG_Py_Void();
15711 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15712 PyObject
*resultobj
= 0;
15713 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15722 PyObject
* obj0
= 0 ;
15723 PyObject
* obj1
= 0 ;
15724 PyObject
* obj2
= 0 ;
15725 char * kwnames
[] = {
15726 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15731 if (!SWIG_IsOK(res1
)) {
15732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15734 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15735 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15736 if (!SWIG_IsOK(ecode2
)) {
15737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15739 arg2
= static_cast< int >(val2
);
15740 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15741 if (!SWIG_IsOK(ecode3
)) {
15742 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15744 arg3
= static_cast< int >(val3
);
15746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15747 (arg1
)->SetRange(arg2
,arg3
);
15748 wxPyEndAllowThreads(__tstate
);
15749 if (PyErr_Occurred()) SWIG_fail
;
15751 resultobj
= SWIG_Py_Void();
15758 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15759 PyObject
*resultobj
= 0;
15760 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15764 PyObject
*swig_obj
[1] ;
15766 if (!args
) SWIG_fail
;
15767 swig_obj
[0] = args
;
15768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15769 if (!SWIG_IsOK(res1
)) {
15770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15772 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15775 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15776 wxPyEndAllowThreads(__tstate
);
15777 if (PyErr_Occurred()) SWIG_fail
;
15779 resultobj
= SWIG_From_int(static_cast< int >(result
));
15786 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15787 PyObject
*resultobj
= 0;
15788 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15792 PyObject
*swig_obj
[1] ;
15794 if (!args
) SWIG_fail
;
15795 swig_obj
[0] = args
;
15796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15797 if (!SWIG_IsOK(res1
)) {
15798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15800 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15803 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15804 wxPyEndAllowThreads(__tstate
);
15805 if (PyErr_Occurred()) SWIG_fail
;
15807 resultobj
= SWIG_From_int(static_cast< int >(result
));
15814 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15815 PyObject
*resultobj
= 0;
15816 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15825 PyObject
* obj0
= 0 ;
15826 PyObject
* obj1
= 0 ;
15827 PyObject
* obj2
= 0 ;
15828 char * kwnames
[] = {
15829 (char *) "self",(char *) "from",(char *) "to", NULL
15832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15834 if (!SWIG_IsOK(res1
)) {
15835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15837 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15838 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15839 if (!SWIG_IsOK(ecode2
)) {
15840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15842 arg2
= static_cast< long >(val2
);
15843 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15844 if (!SWIG_IsOK(ecode3
)) {
15845 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15847 arg3
= static_cast< long >(val3
);
15849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15850 (arg1
)->SetSelection(arg2
,arg3
);
15851 wxPyEndAllowThreads(__tstate
);
15852 if (PyErr_Occurred()) SWIG_fail
;
15854 resultobj
= SWIG_Py_Void();
15861 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15862 PyObject
*resultobj
= 0;
15863 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15864 SwigValueWrapper
<wxVisualAttributes
> result
;
15867 PyObject
* obj0
= 0 ;
15868 char * kwnames
[] = {
15869 (char *) "variant", NULL
15872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15874 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15875 if (!SWIG_IsOK(ecode1
)) {
15876 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15878 arg1
= static_cast< wxWindowVariant
>(val1
);
15881 if (!wxPyCheckForApp()) SWIG_fail
;
15882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15883 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15884 wxPyEndAllowThreads(__tstate
);
15885 if (PyErr_Occurred()) SWIG_fail
;
15887 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15894 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15896 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15897 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15898 return SWIG_Py_Void();
15901 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15902 return SWIG_Python_InitShadowInstance(args
);
15905 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15906 PyObject
*resultobj
= 0;
15907 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15908 int arg2
= (int) 0 ;
15909 wxSpinEvent
*result
= 0 ;
15914 PyObject
* obj0
= 0 ;
15915 PyObject
* obj1
= 0 ;
15916 char * kwnames
[] = {
15917 (char *) "commandType",(char *) "winid", NULL
15920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15922 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15923 if (!SWIG_IsOK(ecode1
)) {
15924 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15926 arg1
= static_cast< wxEventType
>(val1
);
15929 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15930 if (!SWIG_IsOK(ecode2
)) {
15931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15933 arg2
= static_cast< int >(val2
);
15936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15937 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15938 wxPyEndAllowThreads(__tstate
);
15939 if (PyErr_Occurred()) SWIG_fail
;
15941 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15948 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15949 PyObject
*resultobj
= 0;
15950 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15954 PyObject
*swig_obj
[1] ;
15956 if (!args
) SWIG_fail
;
15957 swig_obj
[0] = args
;
15958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15959 if (!SWIG_IsOK(res1
)) {
15960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15962 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15965 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15966 wxPyEndAllowThreads(__tstate
);
15967 if (PyErr_Occurred()) SWIG_fail
;
15969 resultobj
= SWIG_From_int(static_cast< int >(result
));
15976 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15977 PyObject
*resultobj
= 0;
15978 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15984 PyObject
* obj0
= 0 ;
15985 PyObject
* obj1
= 0 ;
15986 char * kwnames
[] = {
15987 (char *) "self",(char *) "pos", NULL
15990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15992 if (!SWIG_IsOK(res1
)) {
15993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15995 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15996 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15997 if (!SWIG_IsOK(ecode2
)) {
15998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
16000 arg2
= static_cast< int >(val2
);
16002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16003 (arg1
)->SetPosition(arg2
);
16004 wxPyEndAllowThreads(__tstate
);
16005 if (PyErr_Occurred()) SWIG_fail
;
16007 resultobj
= SWIG_Py_Void();
16014 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16016 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16017 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
16018 return SWIG_Py_Void();
16021 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16022 return SWIG_Python_InitShadowInstance(args
);
16025 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
16026 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
16031 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
16032 PyObject
*pyobj
= 0;
16036 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16038 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16045 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
16046 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
16051 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
16052 PyObject
*pyobj
= 0;
16056 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16058 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16065 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16066 PyObject
*resultobj
= 0;
16067 wxWindow
*arg1
= (wxWindow
*) 0 ;
16068 int arg2
= (int) -1 ;
16069 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16070 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16071 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16072 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16073 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16074 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16075 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
16076 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
16077 int arg7
= (int) 0 ;
16078 long arg8
= (long) wxRA_HORIZONTAL
;
16079 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
16080 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
16081 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
16082 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
16083 wxRadioBox
*result
= 0 ;
16088 bool temp3
= false ;
16091 bool temp6
= false ;
16098 bool temp10
= false ;
16099 PyObject
* obj0
= 0 ;
16100 PyObject
* obj1
= 0 ;
16101 PyObject
* obj2
= 0 ;
16102 PyObject
* obj3
= 0 ;
16103 PyObject
* obj4
= 0 ;
16104 PyObject
* obj5
= 0 ;
16105 PyObject
* obj6
= 0 ;
16106 PyObject
* obj7
= 0 ;
16107 PyObject
* obj8
= 0 ;
16108 PyObject
* obj9
= 0 ;
16109 char * kwnames
[] = {
16110 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
16114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16115 if (!SWIG_IsOK(res1
)) {
16116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16118 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16120 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16121 if (!SWIG_IsOK(ecode2
)) {
16122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16124 arg2
= static_cast< int >(val2
);
16128 arg3
= wxString_in_helper(obj2
);
16129 if (arg3
== NULL
) SWIG_fail
;
16136 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16142 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16147 if (! PySequence_Check(obj5
)) {
16148 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16151 arg6
= new wxArrayString
;
16153 int i
, len
=PySequence_Length(obj5
);
16154 for (i
=0; i
<len
; i
++) {
16155 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16156 wxString
* s
= wxString_in_helper(item
);
16157 if (PyErr_Occurred()) SWIG_fail
;
16165 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16166 if (!SWIG_IsOK(ecode7
)) {
16167 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16169 arg7
= static_cast< int >(val7
);
16172 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16173 if (!SWIG_IsOK(ecode8
)) {
16174 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16176 arg8
= static_cast< long >(val8
);
16179 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16180 if (!SWIG_IsOK(res9
)) {
16181 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16184 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16186 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16190 arg10
= wxString_in_helper(obj9
);
16191 if (arg10
== NULL
) SWIG_fail
;
16196 if (!wxPyCheckForApp()) SWIG_fail
;
16197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16198 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
);
16199 wxPyEndAllowThreads(__tstate
);
16200 if (PyErr_Occurred()) SWIG_fail
;
16202 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16208 if (temp6
) delete arg6
;
16221 if (temp6
) delete arg6
;
16231 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16232 PyObject
*resultobj
= 0;
16233 wxRadioBox
*result
= 0 ;
16235 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16237 if (!wxPyCheckForApp()) SWIG_fail
;
16238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16239 result
= (wxRadioBox
*)new wxRadioBox();
16240 wxPyEndAllowThreads(__tstate
);
16241 if (PyErr_Occurred()) SWIG_fail
;
16243 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16250 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16251 PyObject
*resultobj
= 0;
16252 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16253 wxWindow
*arg2
= (wxWindow
*) 0 ;
16254 int arg3
= (int) -1 ;
16255 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16256 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16257 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16258 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16259 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16260 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16261 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16262 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16263 int arg8
= (int) 0 ;
16264 long arg9
= (long) wxRA_HORIZONTAL
;
16265 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16266 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16267 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16268 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16276 bool temp4
= false ;
16279 bool temp7
= false ;
16286 bool temp11
= false ;
16287 PyObject
* obj0
= 0 ;
16288 PyObject
* obj1
= 0 ;
16289 PyObject
* obj2
= 0 ;
16290 PyObject
* obj3
= 0 ;
16291 PyObject
* obj4
= 0 ;
16292 PyObject
* obj5
= 0 ;
16293 PyObject
* obj6
= 0 ;
16294 PyObject
* obj7
= 0 ;
16295 PyObject
* obj8
= 0 ;
16296 PyObject
* obj9
= 0 ;
16297 PyObject
* obj10
= 0 ;
16298 char * kwnames
[] = {
16299 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16304 if (!SWIG_IsOK(res1
)) {
16305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16307 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16308 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16309 if (!SWIG_IsOK(res2
)) {
16310 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16312 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16314 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16315 if (!SWIG_IsOK(ecode3
)) {
16316 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16318 arg3
= static_cast< int >(val3
);
16322 arg4
= wxString_in_helper(obj3
);
16323 if (arg4
== NULL
) SWIG_fail
;
16330 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16336 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16341 if (! PySequence_Check(obj6
)) {
16342 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16345 arg7
= new wxArrayString
;
16347 int i
, len
=PySequence_Length(obj6
);
16348 for (i
=0; i
<len
; i
++) {
16349 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16350 wxString
* s
= wxString_in_helper(item
);
16351 if (PyErr_Occurred()) SWIG_fail
;
16359 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16360 if (!SWIG_IsOK(ecode8
)) {
16361 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16363 arg8
= static_cast< int >(val8
);
16366 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16367 if (!SWIG_IsOK(ecode9
)) {
16368 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16370 arg9
= static_cast< long >(val9
);
16373 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16374 if (!SWIG_IsOK(res10
)) {
16375 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16378 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16380 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16384 arg11
= wxString_in_helper(obj10
);
16385 if (arg11
== NULL
) SWIG_fail
;
16390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16391 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
);
16392 wxPyEndAllowThreads(__tstate
);
16393 if (PyErr_Occurred()) SWIG_fail
;
16396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16403 if (temp7
) delete arg7
;
16416 if (temp7
) delete arg7
;
16426 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16427 PyObject
*resultobj
= 0;
16428 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16434 PyObject
* obj0
= 0 ;
16435 PyObject
* obj1
= 0 ;
16436 char * kwnames
[] = {
16437 (char *) "self",(char *) "n", NULL
16440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16442 if (!SWIG_IsOK(res1
)) {
16443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16445 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16447 if (!SWIG_IsOK(ecode2
)) {
16448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16450 arg2
= static_cast< int >(val2
);
16452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16453 (arg1
)->SetSelection(arg2
);
16454 wxPyEndAllowThreads(__tstate
);
16455 if (PyErr_Occurred()) SWIG_fail
;
16457 resultobj
= SWIG_Py_Void();
16464 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16465 PyObject
*resultobj
= 0;
16466 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16470 PyObject
*swig_obj
[1] ;
16472 if (!args
) SWIG_fail
;
16473 swig_obj
[0] = args
;
16474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16475 if (!SWIG_IsOK(res1
)) {
16476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16478 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16481 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16482 wxPyEndAllowThreads(__tstate
);
16483 if (PyErr_Occurred()) SWIG_fail
;
16485 resultobj
= SWIG_From_int(static_cast< int >(result
));
16492 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16493 PyObject
*resultobj
= 0;
16494 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16498 PyObject
*swig_obj
[1] ;
16500 if (!args
) SWIG_fail
;
16501 swig_obj
[0] = args
;
16502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16503 if (!SWIG_IsOK(res1
)) {
16504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16506 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16509 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16510 wxPyEndAllowThreads(__tstate
);
16511 if (PyErr_Occurred()) SWIG_fail
;
16515 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16517 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16526 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16527 PyObject
*resultobj
= 0;
16528 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16529 wxString
*arg2
= 0 ;
16533 bool temp2
= false ;
16534 PyObject
* obj0
= 0 ;
16535 PyObject
* obj1
= 0 ;
16536 char * kwnames
[] = {
16537 (char *) "self",(char *) "s", NULL
16540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16542 if (!SWIG_IsOK(res1
)) {
16543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16545 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16547 arg2
= wxString_in_helper(obj1
);
16548 if (arg2
== NULL
) SWIG_fail
;
16552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16553 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16554 wxPyEndAllowThreads(__tstate
);
16555 if (PyErr_Occurred()) SWIG_fail
;
16558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16574 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16575 PyObject
*resultobj
= 0;
16576 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16580 PyObject
*swig_obj
[1] ;
16582 if (!args
) SWIG_fail
;
16583 swig_obj
[0] = args
;
16584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16585 if (!SWIG_IsOK(res1
)) {
16586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16588 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16591 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16592 wxPyEndAllowThreads(__tstate
);
16593 if (PyErr_Occurred()) SWIG_fail
;
16595 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16602 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16603 PyObject
*resultobj
= 0;
16604 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16605 wxString
*arg2
= 0 ;
16609 bool temp2
= false ;
16610 PyObject
* obj0
= 0 ;
16611 PyObject
* obj1
= 0 ;
16612 char * kwnames
[] = {
16613 (char *) "self",(char *) "s", NULL
16616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16618 if (!SWIG_IsOK(res1
)) {
16619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16621 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16623 arg2
= wxString_in_helper(obj1
);
16624 if (arg2
== NULL
) SWIG_fail
;
16628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16629 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16630 wxPyEndAllowThreads(__tstate
);
16631 if (PyErr_Occurred()) SWIG_fail
;
16633 resultobj
= SWIG_From_int(static_cast< int >(result
));
16648 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16649 PyObject
*resultobj
= 0;
16650 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16657 PyObject
* obj0
= 0 ;
16658 PyObject
* obj1
= 0 ;
16659 char * kwnames
[] = {
16660 (char *) "self",(char *) "n", NULL
16663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16665 if (!SWIG_IsOK(res1
)) {
16666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16668 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16669 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16670 if (!SWIG_IsOK(ecode2
)) {
16671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16673 arg2
= static_cast< int >(val2
);
16675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16676 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16677 wxPyEndAllowThreads(__tstate
);
16678 if (PyErr_Occurred()) SWIG_fail
;
16682 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16684 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16693 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16694 PyObject
*resultobj
= 0;
16695 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16697 wxString
*arg3
= 0 ;
16702 bool temp3
= false ;
16703 PyObject
* obj0
= 0 ;
16704 PyObject
* obj1
= 0 ;
16705 PyObject
* obj2
= 0 ;
16706 char * kwnames
[] = {
16707 (char *) "self",(char *) "n",(char *) "label", NULL
16710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16712 if (!SWIG_IsOK(res1
)) {
16713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16715 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16716 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16717 if (!SWIG_IsOK(ecode2
)) {
16718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16720 arg2
= static_cast< int >(val2
);
16722 arg3
= wxString_in_helper(obj2
);
16723 if (arg3
== NULL
) SWIG_fail
;
16727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16728 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16729 wxPyEndAllowThreads(__tstate
);
16730 if (PyErr_Occurred()) SWIG_fail
;
16732 resultobj
= SWIG_Py_Void();
16747 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16748 PyObject
*resultobj
= 0;
16749 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16750 unsigned int arg2
;
16751 bool arg3
= (bool) true ;
16754 unsigned int val2
;
16758 PyObject
* obj0
= 0 ;
16759 PyObject
* obj1
= 0 ;
16760 PyObject
* obj2
= 0 ;
16761 char * kwnames
[] = {
16762 (char *) "self",(char *) "n",(char *) "enable", NULL
16765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16767 if (!SWIG_IsOK(res1
)) {
16768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16770 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16771 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16772 if (!SWIG_IsOK(ecode2
)) {
16773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16775 arg2
= static_cast< unsigned int >(val2
);
16777 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16778 if (!SWIG_IsOK(ecode3
)) {
16779 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16781 arg3
= static_cast< bool >(val3
);
16784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16785 (arg1
)->Enable(arg2
,arg3
);
16786 wxPyEndAllowThreads(__tstate
);
16787 if (PyErr_Occurred()) SWIG_fail
;
16789 resultobj
= SWIG_Py_Void();
16796 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16797 PyObject
*resultobj
= 0;
16798 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16799 unsigned int arg2
;
16800 bool arg3
= (bool) true ;
16803 unsigned int val2
;
16807 PyObject
* obj0
= 0 ;
16808 PyObject
* obj1
= 0 ;
16809 PyObject
* obj2
= 0 ;
16810 char * kwnames
[] = {
16811 (char *) "self",(char *) "n",(char *) "show", NULL
16814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16816 if (!SWIG_IsOK(res1
)) {
16817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16819 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16820 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16821 if (!SWIG_IsOK(ecode2
)) {
16822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16824 arg2
= static_cast< unsigned int >(val2
);
16826 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16827 if (!SWIG_IsOK(ecode3
)) {
16828 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16830 arg3
= static_cast< bool >(val3
);
16833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16834 (arg1
)->Show(arg2
,arg3
);
16835 wxPyEndAllowThreads(__tstate
);
16836 if (PyErr_Occurred()) SWIG_fail
;
16838 resultobj
= SWIG_Py_Void();
16845 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16846 PyObject
*resultobj
= 0;
16847 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16848 unsigned int arg2
;
16852 unsigned int val2
;
16854 PyObject
* obj0
= 0 ;
16855 PyObject
* obj1
= 0 ;
16856 char * kwnames
[] = {
16857 (char *) "self",(char *) "n", NULL
16860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16862 if (!SWIG_IsOK(res1
)) {
16863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16865 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16866 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16867 if (!SWIG_IsOK(ecode2
)) {
16868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16870 arg2
= static_cast< unsigned int >(val2
);
16872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16873 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16874 wxPyEndAllowThreads(__tstate
);
16875 if (PyErr_Occurred()) SWIG_fail
;
16878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16886 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16887 PyObject
*resultobj
= 0;
16888 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16889 unsigned int arg2
;
16893 unsigned int val2
;
16895 PyObject
* obj0
= 0 ;
16896 PyObject
* obj1
= 0 ;
16897 char * kwnames
[] = {
16898 (char *) "self",(char *) "n", NULL
16901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16903 if (!SWIG_IsOK(res1
)) {
16904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16906 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16907 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16908 if (!SWIG_IsOK(ecode2
)) {
16909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16911 arg2
= static_cast< unsigned int >(val2
);
16913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16914 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16915 wxPyEndAllowThreads(__tstate
);
16916 if (PyErr_Occurred()) SWIG_fail
;
16919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16927 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16928 PyObject
*resultobj
= 0;
16929 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16930 unsigned int result
;
16933 PyObject
*swig_obj
[1] ;
16935 if (!args
) SWIG_fail
;
16936 swig_obj
[0] = args
;
16937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16938 if (!SWIG_IsOK(res1
)) {
16939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16941 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16944 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16945 wxPyEndAllowThreads(__tstate
);
16946 if (PyErr_Occurred()) SWIG_fail
;
16948 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16955 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16956 PyObject
*resultobj
= 0;
16957 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16958 unsigned int result
;
16961 PyObject
*swig_obj
[1] ;
16963 if (!args
) SWIG_fail
;
16964 swig_obj
[0] = args
;
16965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16966 if (!SWIG_IsOK(res1
)) {
16967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16969 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16972 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16973 wxPyEndAllowThreads(__tstate
);
16974 if (PyErr_Occurred()) SWIG_fail
;
16976 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16983 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16984 PyObject
*resultobj
= 0;
16985 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16998 PyObject
* obj0
= 0 ;
16999 PyObject
* obj1
= 0 ;
17000 PyObject
* obj2
= 0 ;
17001 PyObject
* obj3
= 0 ;
17002 char * kwnames
[] = {
17003 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
17006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17008 if (!SWIG_IsOK(res1
)) {
17009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17011 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17012 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17013 if (!SWIG_IsOK(ecode2
)) {
17014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
17016 arg2
= static_cast< int >(val2
);
17017 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17018 if (!SWIG_IsOK(ecode3
)) {
17019 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
17021 arg3
= static_cast< wxDirection
>(val3
);
17022 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
17023 if (!SWIG_IsOK(ecode4
)) {
17024 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
17026 arg4
= static_cast< long >(val4
);
17028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17029 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
17030 wxPyEndAllowThreads(__tstate
);
17031 if (PyErr_Occurred()) SWIG_fail
;
17033 resultobj
= SWIG_From_int(static_cast< int >(result
));
17040 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17041 PyObject
*resultobj
= 0;
17042 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17043 unsigned int arg2
;
17044 wxString
*arg3
= 0 ;
17047 unsigned int val2
;
17049 bool temp3
= false ;
17050 PyObject
* obj0
= 0 ;
17051 PyObject
* obj1
= 0 ;
17052 PyObject
* obj2
= 0 ;
17053 char * kwnames
[] = {
17054 (char *) "self",(char *) "item",(char *) "text", NULL
17057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17059 if (!SWIG_IsOK(res1
)) {
17060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17062 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17063 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17064 if (!SWIG_IsOK(ecode2
)) {
17065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17067 arg2
= static_cast< unsigned int >(val2
);
17069 arg3
= wxString_in_helper(obj2
);
17070 if (arg3
== NULL
) SWIG_fail
;
17074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17075 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
17076 wxPyEndAllowThreads(__tstate
);
17077 if (PyErr_Occurred()) SWIG_fail
;
17079 resultobj
= SWIG_Py_Void();
17094 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17095 PyObject
*resultobj
= 0;
17096 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17097 unsigned int arg2
;
17098 wxToolTip
*result
= 0 ;
17101 unsigned int val2
;
17103 PyObject
* obj0
= 0 ;
17104 PyObject
* obj1
= 0 ;
17105 char * kwnames
[] = {
17106 (char *) "self",(char *) "item", NULL
17109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17111 if (!SWIG_IsOK(res1
)) {
17112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17114 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17115 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17116 if (!SWIG_IsOK(ecode2
)) {
17117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17119 arg2
= static_cast< unsigned int >(val2
);
17121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17122 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
17123 wxPyEndAllowThreads(__tstate
);
17124 if (PyErr_Occurred()) SWIG_fail
;
17127 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17135 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17136 PyObject
*resultobj
= 0;
17137 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17138 unsigned int arg2
;
17139 wxString
*arg3
= 0 ;
17142 unsigned int val2
;
17144 bool temp3
= false ;
17145 PyObject
* obj0
= 0 ;
17146 PyObject
* obj1
= 0 ;
17147 PyObject
* obj2
= 0 ;
17148 char * kwnames
[] = {
17149 (char *) "self",(char *) "n",(char *) "helpText", NULL
17152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17154 if (!SWIG_IsOK(res1
)) {
17155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17157 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17158 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17159 if (!SWIG_IsOK(ecode2
)) {
17160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17162 arg2
= static_cast< unsigned int >(val2
);
17164 arg3
= wxString_in_helper(obj2
);
17165 if (arg3
== NULL
) SWIG_fail
;
17169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17170 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
17171 wxPyEndAllowThreads(__tstate
);
17172 if (PyErr_Occurred()) SWIG_fail
;
17174 resultobj
= SWIG_Py_Void();
17189 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17190 PyObject
*resultobj
= 0;
17191 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17192 unsigned int arg2
;
17196 unsigned int val2
;
17198 PyObject
* obj0
= 0 ;
17199 PyObject
* obj1
= 0 ;
17200 char * kwnames
[] = {
17201 (char *) "self",(char *) "n", NULL
17204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17206 if (!SWIG_IsOK(res1
)) {
17207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17209 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17210 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17211 if (!SWIG_IsOK(ecode2
)) {
17212 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17214 arg2
= static_cast< unsigned int >(val2
);
17216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17217 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17218 wxPyEndAllowThreads(__tstate
);
17219 if (PyErr_Occurred()) SWIG_fail
;
17223 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17225 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17234 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17235 PyObject
*resultobj
= 0;
17236 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17237 SwigValueWrapper
<wxVisualAttributes
> result
;
17240 PyObject
* obj0
= 0 ;
17241 char * kwnames
[] = {
17242 (char *) "variant", NULL
17245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17247 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17248 if (!SWIG_IsOK(ecode1
)) {
17249 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17251 arg1
= static_cast< wxWindowVariant
>(val1
);
17254 if (!wxPyCheckForApp()) SWIG_fail
;
17255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17256 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17257 wxPyEndAllowThreads(__tstate
);
17258 if (PyErr_Occurred()) SWIG_fail
;
17260 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17267 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17269 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17270 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17271 return SWIG_Py_Void();
17274 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17275 return SWIG_Python_InitShadowInstance(args
);
17278 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17279 PyObject
*resultobj
= 0;
17280 wxWindow
*arg1
= (wxWindow
*) 0 ;
17281 int arg2
= (int) -1 ;
17282 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17283 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17284 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17285 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17286 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17287 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17288 long arg6
= (long) 0 ;
17289 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17290 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17291 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17292 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17293 wxRadioButton
*result
= 0 ;
17298 bool temp3
= false ;
17305 bool temp8
= false ;
17306 PyObject
* obj0
= 0 ;
17307 PyObject
* obj1
= 0 ;
17308 PyObject
* obj2
= 0 ;
17309 PyObject
* obj3
= 0 ;
17310 PyObject
* obj4
= 0 ;
17311 PyObject
* obj5
= 0 ;
17312 PyObject
* obj6
= 0 ;
17313 PyObject
* obj7
= 0 ;
17314 char * kwnames
[] = {
17315 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17320 if (!SWIG_IsOK(res1
)) {
17321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17323 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17325 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17326 if (!SWIG_IsOK(ecode2
)) {
17327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17329 arg2
= static_cast< int >(val2
);
17333 arg3
= wxString_in_helper(obj2
);
17334 if (arg3
== NULL
) SWIG_fail
;
17341 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17347 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17351 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17352 if (!SWIG_IsOK(ecode6
)) {
17353 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17355 arg6
= static_cast< long >(val6
);
17358 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17359 if (!SWIG_IsOK(res7
)) {
17360 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17363 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17365 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17369 arg8
= wxString_in_helper(obj7
);
17370 if (arg8
== NULL
) SWIG_fail
;
17375 if (!wxPyCheckForApp()) SWIG_fail
;
17376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17377 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17378 wxPyEndAllowThreads(__tstate
);
17379 if (PyErr_Occurred()) SWIG_fail
;
17381 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17404 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17405 PyObject
*resultobj
= 0;
17406 wxRadioButton
*result
= 0 ;
17408 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17410 if (!wxPyCheckForApp()) SWIG_fail
;
17411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17412 result
= (wxRadioButton
*)new wxRadioButton();
17413 wxPyEndAllowThreads(__tstate
);
17414 if (PyErr_Occurred()) SWIG_fail
;
17416 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17423 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17424 PyObject
*resultobj
= 0;
17425 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17426 wxWindow
*arg2
= (wxWindow
*) 0 ;
17427 int arg3
= (int) -1 ;
17428 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17429 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17430 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17431 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17432 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17433 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17434 long arg7
= (long) 0 ;
17435 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17436 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17437 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17438 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17446 bool temp4
= false ;
17453 bool temp9
= false ;
17454 PyObject
* obj0
= 0 ;
17455 PyObject
* obj1
= 0 ;
17456 PyObject
* obj2
= 0 ;
17457 PyObject
* obj3
= 0 ;
17458 PyObject
* obj4
= 0 ;
17459 PyObject
* obj5
= 0 ;
17460 PyObject
* obj6
= 0 ;
17461 PyObject
* obj7
= 0 ;
17462 PyObject
* obj8
= 0 ;
17463 char * kwnames
[] = {
17464 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17469 if (!SWIG_IsOK(res1
)) {
17470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17472 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17473 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17474 if (!SWIG_IsOK(res2
)) {
17475 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17477 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17479 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17480 if (!SWIG_IsOK(ecode3
)) {
17481 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17483 arg3
= static_cast< int >(val3
);
17487 arg4
= wxString_in_helper(obj3
);
17488 if (arg4
== NULL
) SWIG_fail
;
17495 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17501 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17505 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17506 if (!SWIG_IsOK(ecode7
)) {
17507 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17509 arg7
= static_cast< long >(val7
);
17512 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17513 if (!SWIG_IsOK(res8
)) {
17514 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17517 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17519 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17523 arg9
= wxString_in_helper(obj8
);
17524 if (arg9
== NULL
) SWIG_fail
;
17529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17530 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17531 wxPyEndAllowThreads(__tstate
);
17532 if (PyErr_Occurred()) SWIG_fail
;
17535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17559 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17560 PyObject
*resultobj
= 0;
17561 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17565 PyObject
*swig_obj
[1] ;
17567 if (!args
) SWIG_fail
;
17568 swig_obj
[0] = args
;
17569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17570 if (!SWIG_IsOK(res1
)) {
17571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17573 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17576 result
= (bool)(arg1
)->GetValue();
17577 wxPyEndAllowThreads(__tstate
);
17578 if (PyErr_Occurred()) SWIG_fail
;
17581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17589 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17590 PyObject
*resultobj
= 0;
17591 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17597 PyObject
* obj0
= 0 ;
17598 PyObject
* obj1
= 0 ;
17599 char * kwnames
[] = {
17600 (char *) "self",(char *) "value", NULL
17603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17605 if (!SWIG_IsOK(res1
)) {
17606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17608 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17609 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17610 if (!SWIG_IsOK(ecode2
)) {
17611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17613 arg2
= static_cast< bool >(val2
);
17615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17616 (arg1
)->SetValue(arg2
);
17617 wxPyEndAllowThreads(__tstate
);
17618 if (PyErr_Occurred()) SWIG_fail
;
17620 resultobj
= SWIG_Py_Void();
17627 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17628 PyObject
*resultobj
= 0;
17629 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17630 SwigValueWrapper
<wxVisualAttributes
> result
;
17633 PyObject
* obj0
= 0 ;
17634 char * kwnames
[] = {
17635 (char *) "variant", NULL
17638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17640 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17641 if (!SWIG_IsOK(ecode1
)) {
17642 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17644 arg1
= static_cast< wxWindowVariant
>(val1
);
17647 if (!wxPyCheckForApp()) SWIG_fail
;
17648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17649 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17650 wxPyEndAllowThreads(__tstate
);
17651 if (PyErr_Occurred()) SWIG_fail
;
17653 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17660 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17662 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17663 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17664 return SWIG_Py_Void();
17667 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17668 return SWIG_Python_InitShadowInstance(args
);
17671 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17672 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17677 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17678 PyObject
*pyobj
= 0;
17682 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17684 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17691 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17692 PyObject
*resultobj
= 0;
17693 wxWindow
*arg1
= (wxWindow
*) 0 ;
17694 int arg2
= (int) -1 ;
17695 int arg3
= (int) 0 ;
17696 int arg4
= (int) 0 ;
17697 int arg5
= (int) 100 ;
17698 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17699 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17700 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17701 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17702 long arg8
= (long) wxSL_HORIZONTAL
;
17703 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17704 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17705 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17706 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17707 wxSlider
*result
= 0 ;
17724 bool temp10
= false ;
17725 PyObject
* obj0
= 0 ;
17726 PyObject
* obj1
= 0 ;
17727 PyObject
* obj2
= 0 ;
17728 PyObject
* obj3
= 0 ;
17729 PyObject
* obj4
= 0 ;
17730 PyObject
* obj5
= 0 ;
17731 PyObject
* obj6
= 0 ;
17732 PyObject
* obj7
= 0 ;
17733 PyObject
* obj8
= 0 ;
17734 PyObject
* obj9
= 0 ;
17735 char * kwnames
[] = {
17736 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17741 if (!SWIG_IsOK(res1
)) {
17742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17744 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17746 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17747 if (!SWIG_IsOK(ecode2
)) {
17748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17750 arg2
= static_cast< int >(val2
);
17753 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17754 if (!SWIG_IsOK(ecode3
)) {
17755 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17757 arg3
= static_cast< int >(val3
);
17760 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17761 if (!SWIG_IsOK(ecode4
)) {
17762 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17764 arg4
= static_cast< int >(val4
);
17767 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17768 if (!SWIG_IsOK(ecode5
)) {
17769 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17771 arg5
= static_cast< int >(val5
);
17776 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17782 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17786 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17787 if (!SWIG_IsOK(ecode8
)) {
17788 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17790 arg8
= static_cast< long >(val8
);
17793 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17794 if (!SWIG_IsOK(res9
)) {
17795 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17798 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17800 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17804 arg10
= wxString_in_helper(obj9
);
17805 if (arg10
== NULL
) SWIG_fail
;
17810 if (!wxPyCheckForApp()) SWIG_fail
;
17811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17812 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17813 wxPyEndAllowThreads(__tstate
);
17814 if (PyErr_Occurred()) SWIG_fail
;
17816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17831 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17832 PyObject
*resultobj
= 0;
17833 wxSlider
*result
= 0 ;
17835 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17837 if (!wxPyCheckForApp()) SWIG_fail
;
17838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17839 result
= (wxSlider
*)new wxSlider();
17840 wxPyEndAllowThreads(__tstate
);
17841 if (PyErr_Occurred()) SWIG_fail
;
17843 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17850 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17851 PyObject
*resultobj
= 0;
17852 wxSlider
*arg1
= (wxSlider
*) 0 ;
17853 wxWindow
*arg2
= (wxWindow
*) 0 ;
17854 int arg3
= (int) -1 ;
17855 int arg4
= (int) 0 ;
17856 int arg5
= (int) 0 ;
17857 int arg6
= (int) 100 ;
17858 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17859 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17860 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17861 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17862 long arg9
= (long) wxSL_HORIZONTAL
;
17863 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17864 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17865 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17866 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17886 bool temp11
= false ;
17887 PyObject
* obj0
= 0 ;
17888 PyObject
* obj1
= 0 ;
17889 PyObject
* obj2
= 0 ;
17890 PyObject
* obj3
= 0 ;
17891 PyObject
* obj4
= 0 ;
17892 PyObject
* obj5
= 0 ;
17893 PyObject
* obj6
= 0 ;
17894 PyObject
* obj7
= 0 ;
17895 PyObject
* obj8
= 0 ;
17896 PyObject
* obj9
= 0 ;
17897 PyObject
* obj10
= 0 ;
17898 char * kwnames
[] = {
17899 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17904 if (!SWIG_IsOK(res1
)) {
17905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17907 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17908 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17909 if (!SWIG_IsOK(res2
)) {
17910 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17912 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17914 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17915 if (!SWIG_IsOK(ecode3
)) {
17916 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17918 arg3
= static_cast< int >(val3
);
17921 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17922 if (!SWIG_IsOK(ecode4
)) {
17923 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17925 arg4
= static_cast< int >(val4
);
17928 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17929 if (!SWIG_IsOK(ecode5
)) {
17930 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17932 arg5
= static_cast< int >(val5
);
17935 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17936 if (!SWIG_IsOK(ecode6
)) {
17937 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17939 arg6
= static_cast< int >(val6
);
17944 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17950 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17954 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17955 if (!SWIG_IsOK(ecode9
)) {
17956 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17958 arg9
= static_cast< long >(val9
);
17961 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17962 if (!SWIG_IsOK(res10
)) {
17963 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17966 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17968 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17972 arg11
= wxString_in_helper(obj10
);
17973 if (arg11
== NULL
) SWIG_fail
;
17978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17979 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17980 wxPyEndAllowThreads(__tstate
);
17981 if (PyErr_Occurred()) SWIG_fail
;
17984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18000 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18001 PyObject
*resultobj
= 0;
18002 wxSlider
*arg1
= (wxSlider
*) 0 ;
18006 PyObject
*swig_obj
[1] ;
18008 if (!args
) SWIG_fail
;
18009 swig_obj
[0] = args
;
18010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18011 if (!SWIG_IsOK(res1
)) {
18012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
18014 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18017 result
= (int)((wxSlider
const *)arg1
)->GetValue();
18018 wxPyEndAllowThreads(__tstate
);
18019 if (PyErr_Occurred()) SWIG_fail
;
18021 resultobj
= SWIG_From_int(static_cast< int >(result
));
18028 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18029 PyObject
*resultobj
= 0;
18030 wxSlider
*arg1
= (wxSlider
*) 0 ;
18036 PyObject
* obj0
= 0 ;
18037 PyObject
* obj1
= 0 ;
18038 char * kwnames
[] = {
18039 (char *) "self",(char *) "value", NULL
18042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18044 if (!SWIG_IsOK(res1
)) {
18045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
18047 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18048 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18049 if (!SWIG_IsOK(ecode2
)) {
18050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
18052 arg2
= static_cast< int >(val2
);
18054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18055 (arg1
)->SetValue(arg2
);
18056 wxPyEndAllowThreads(__tstate
);
18057 if (PyErr_Occurred()) SWIG_fail
;
18059 resultobj
= SWIG_Py_Void();
18066 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18067 PyObject
*resultobj
= 0;
18068 wxSlider
*arg1
= (wxSlider
*) 0 ;
18077 PyObject
* obj0
= 0 ;
18078 PyObject
* obj1
= 0 ;
18079 PyObject
* obj2
= 0 ;
18080 char * kwnames
[] = {
18081 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18086 if (!SWIG_IsOK(res1
)) {
18087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18089 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18091 if (!SWIG_IsOK(ecode2
)) {
18092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18094 arg2
= static_cast< int >(val2
);
18095 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18096 if (!SWIG_IsOK(ecode3
)) {
18097 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18099 arg3
= static_cast< int >(val3
);
18101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18102 (arg1
)->SetRange(arg2
,arg3
);
18103 wxPyEndAllowThreads(__tstate
);
18104 if (PyErr_Occurred()) SWIG_fail
;
18106 resultobj
= SWIG_Py_Void();
18113 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18114 PyObject
*resultobj
= 0;
18115 wxSlider
*arg1
= (wxSlider
*) 0 ;
18119 PyObject
*swig_obj
[1] ;
18121 if (!args
) SWIG_fail
;
18122 swig_obj
[0] = args
;
18123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18124 if (!SWIG_IsOK(res1
)) {
18125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18127 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18130 result
= (int)((wxSlider
const *)arg1
)->GetMin();
18131 wxPyEndAllowThreads(__tstate
);
18132 if (PyErr_Occurred()) SWIG_fail
;
18134 resultobj
= SWIG_From_int(static_cast< int >(result
));
18141 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18142 PyObject
*resultobj
= 0;
18143 wxSlider
*arg1
= (wxSlider
*) 0 ;
18147 PyObject
*swig_obj
[1] ;
18149 if (!args
) SWIG_fail
;
18150 swig_obj
[0] = args
;
18151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18152 if (!SWIG_IsOK(res1
)) {
18153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18155 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18158 result
= (int)((wxSlider
const *)arg1
)->GetMax();
18159 wxPyEndAllowThreads(__tstate
);
18160 if (PyErr_Occurred()) SWIG_fail
;
18162 resultobj
= SWIG_From_int(static_cast< int >(result
));
18169 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18170 PyObject
*resultobj
= 0;
18171 wxSlider
*arg1
= (wxSlider
*) 0 ;
18177 PyObject
* obj0
= 0 ;
18178 PyObject
* obj1
= 0 ;
18179 char * kwnames
[] = {
18180 (char *) "self",(char *) "minValue", NULL
18183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18185 if (!SWIG_IsOK(res1
)) {
18186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18188 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18189 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18190 if (!SWIG_IsOK(ecode2
)) {
18191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18193 arg2
= static_cast< int >(val2
);
18195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18196 (arg1
)->SetMin(arg2
);
18197 wxPyEndAllowThreads(__tstate
);
18198 if (PyErr_Occurred()) SWIG_fail
;
18200 resultobj
= SWIG_Py_Void();
18207 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18208 PyObject
*resultobj
= 0;
18209 wxSlider
*arg1
= (wxSlider
*) 0 ;
18215 PyObject
* obj0
= 0 ;
18216 PyObject
* obj1
= 0 ;
18217 char * kwnames
[] = {
18218 (char *) "self",(char *) "maxValue", NULL
18221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18223 if (!SWIG_IsOK(res1
)) {
18224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18226 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18227 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18228 if (!SWIG_IsOK(ecode2
)) {
18229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18231 arg2
= static_cast< int >(val2
);
18233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18234 (arg1
)->SetMax(arg2
);
18235 wxPyEndAllowThreads(__tstate
);
18236 if (PyErr_Occurred()) SWIG_fail
;
18238 resultobj
= SWIG_Py_Void();
18245 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18246 PyObject
*resultobj
= 0;
18247 wxSlider
*arg1
= (wxSlider
*) 0 ;
18253 PyObject
* obj0
= 0 ;
18254 PyObject
* obj1
= 0 ;
18255 char * kwnames
[] = {
18256 (char *) "self",(char *) "lineSize", NULL
18259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18261 if (!SWIG_IsOK(res1
)) {
18262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18264 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18265 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18266 if (!SWIG_IsOK(ecode2
)) {
18267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18269 arg2
= static_cast< int >(val2
);
18271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18272 (arg1
)->SetLineSize(arg2
);
18273 wxPyEndAllowThreads(__tstate
);
18274 if (PyErr_Occurred()) SWIG_fail
;
18276 resultobj
= SWIG_Py_Void();
18283 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18284 PyObject
*resultobj
= 0;
18285 wxSlider
*arg1
= (wxSlider
*) 0 ;
18291 PyObject
* obj0
= 0 ;
18292 PyObject
* obj1
= 0 ;
18293 char * kwnames
[] = {
18294 (char *) "self",(char *) "pageSize", NULL
18297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18299 if (!SWIG_IsOK(res1
)) {
18300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18302 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18303 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18304 if (!SWIG_IsOK(ecode2
)) {
18305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18307 arg2
= static_cast< int >(val2
);
18309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18310 (arg1
)->SetPageSize(arg2
);
18311 wxPyEndAllowThreads(__tstate
);
18312 if (PyErr_Occurred()) SWIG_fail
;
18314 resultobj
= SWIG_Py_Void();
18321 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18322 PyObject
*resultobj
= 0;
18323 wxSlider
*arg1
= (wxSlider
*) 0 ;
18327 PyObject
*swig_obj
[1] ;
18329 if (!args
) SWIG_fail
;
18330 swig_obj
[0] = args
;
18331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18332 if (!SWIG_IsOK(res1
)) {
18333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18335 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18338 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18339 wxPyEndAllowThreads(__tstate
);
18340 if (PyErr_Occurred()) SWIG_fail
;
18342 resultobj
= SWIG_From_int(static_cast< int >(result
));
18349 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18350 PyObject
*resultobj
= 0;
18351 wxSlider
*arg1
= (wxSlider
*) 0 ;
18355 PyObject
*swig_obj
[1] ;
18357 if (!args
) SWIG_fail
;
18358 swig_obj
[0] = args
;
18359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18360 if (!SWIG_IsOK(res1
)) {
18361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18363 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18366 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18367 wxPyEndAllowThreads(__tstate
);
18368 if (PyErr_Occurred()) SWIG_fail
;
18370 resultobj
= SWIG_From_int(static_cast< int >(result
));
18377 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18378 PyObject
*resultobj
= 0;
18379 wxSlider
*arg1
= (wxSlider
*) 0 ;
18385 PyObject
* obj0
= 0 ;
18386 PyObject
* obj1
= 0 ;
18387 char * kwnames
[] = {
18388 (char *) "self",(char *) "lenPixels", NULL
18391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18393 if (!SWIG_IsOK(res1
)) {
18394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18396 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18398 if (!SWIG_IsOK(ecode2
)) {
18399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18401 arg2
= static_cast< int >(val2
);
18403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18404 (arg1
)->SetThumbLength(arg2
);
18405 wxPyEndAllowThreads(__tstate
);
18406 if (PyErr_Occurred()) SWIG_fail
;
18408 resultobj
= SWIG_Py_Void();
18415 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18416 PyObject
*resultobj
= 0;
18417 wxSlider
*arg1
= (wxSlider
*) 0 ;
18421 PyObject
*swig_obj
[1] ;
18423 if (!args
) SWIG_fail
;
18424 swig_obj
[0] = args
;
18425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18426 if (!SWIG_IsOK(res1
)) {
18427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18429 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18432 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18433 wxPyEndAllowThreads(__tstate
);
18434 if (PyErr_Occurred()) SWIG_fail
;
18436 resultobj
= SWIG_From_int(static_cast< int >(result
));
18443 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18444 PyObject
*resultobj
= 0;
18445 wxSlider
*arg1
= (wxSlider
*) 0 ;
18447 int arg3
= (int) 1 ;
18454 PyObject
* obj0
= 0 ;
18455 PyObject
* obj1
= 0 ;
18456 PyObject
* obj2
= 0 ;
18457 char * kwnames
[] = {
18458 (char *) "self",(char *) "n",(char *) "pos", NULL
18461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18463 if (!SWIG_IsOK(res1
)) {
18464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18466 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18467 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18468 if (!SWIG_IsOK(ecode2
)) {
18469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18471 arg2
= static_cast< int >(val2
);
18473 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18474 if (!SWIG_IsOK(ecode3
)) {
18475 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18477 arg3
= static_cast< int >(val3
);
18480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18481 (arg1
)->SetTickFreq(arg2
,arg3
);
18482 wxPyEndAllowThreads(__tstate
);
18483 if (PyErr_Occurred()) SWIG_fail
;
18485 resultobj
= SWIG_Py_Void();
18492 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18493 PyObject
*resultobj
= 0;
18494 wxSlider
*arg1
= (wxSlider
*) 0 ;
18498 PyObject
*swig_obj
[1] ;
18500 if (!args
) SWIG_fail
;
18501 swig_obj
[0] = args
;
18502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18503 if (!SWIG_IsOK(res1
)) {
18504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18506 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18509 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18510 wxPyEndAllowThreads(__tstate
);
18511 if (PyErr_Occurred()) SWIG_fail
;
18513 resultobj
= SWIG_From_int(static_cast< int >(result
));
18520 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18521 PyObject
*resultobj
= 0;
18522 wxSlider
*arg1
= (wxSlider
*) 0 ;
18525 PyObject
*swig_obj
[1] ;
18527 if (!args
) SWIG_fail
;
18528 swig_obj
[0] = args
;
18529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18530 if (!SWIG_IsOK(res1
)) {
18531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18533 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18536 (arg1
)->ClearTicks();
18537 wxPyEndAllowThreads(__tstate
);
18538 if (PyErr_Occurred()) SWIG_fail
;
18540 resultobj
= SWIG_Py_Void();
18547 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18548 PyObject
*resultobj
= 0;
18549 wxSlider
*arg1
= (wxSlider
*) 0 ;
18555 PyObject
* obj0
= 0 ;
18556 PyObject
* obj1
= 0 ;
18557 char * kwnames
[] = {
18558 (char *) "self",(char *) "tickPos", NULL
18561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18563 if (!SWIG_IsOK(res1
)) {
18564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18566 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18568 if (!SWIG_IsOK(ecode2
)) {
18569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18571 arg2
= static_cast< int >(val2
);
18573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18574 (arg1
)->SetTick(arg2
);
18575 wxPyEndAllowThreads(__tstate
);
18576 if (PyErr_Occurred()) SWIG_fail
;
18578 resultobj
= SWIG_Py_Void();
18585 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18586 PyObject
*resultobj
= 0;
18587 wxSlider
*arg1
= (wxSlider
*) 0 ;
18590 PyObject
*swig_obj
[1] ;
18592 if (!args
) SWIG_fail
;
18593 swig_obj
[0] = args
;
18594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18595 if (!SWIG_IsOK(res1
)) {
18596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18598 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18601 (arg1
)->ClearSel();
18602 wxPyEndAllowThreads(__tstate
);
18603 if (PyErr_Occurred()) SWIG_fail
;
18605 resultobj
= SWIG_Py_Void();
18612 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18613 PyObject
*resultobj
= 0;
18614 wxSlider
*arg1
= (wxSlider
*) 0 ;
18618 PyObject
*swig_obj
[1] ;
18620 if (!args
) SWIG_fail
;
18621 swig_obj
[0] = args
;
18622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18623 if (!SWIG_IsOK(res1
)) {
18624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18626 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18629 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18630 wxPyEndAllowThreads(__tstate
);
18631 if (PyErr_Occurred()) SWIG_fail
;
18633 resultobj
= SWIG_From_int(static_cast< int >(result
));
18640 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18641 PyObject
*resultobj
= 0;
18642 wxSlider
*arg1
= (wxSlider
*) 0 ;
18646 PyObject
*swig_obj
[1] ;
18648 if (!args
) SWIG_fail
;
18649 swig_obj
[0] = args
;
18650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18651 if (!SWIG_IsOK(res1
)) {
18652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18654 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18657 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18658 wxPyEndAllowThreads(__tstate
);
18659 if (PyErr_Occurred()) SWIG_fail
;
18661 resultobj
= SWIG_From_int(static_cast< int >(result
));
18668 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18669 PyObject
*resultobj
= 0;
18670 wxSlider
*arg1
= (wxSlider
*) 0 ;
18679 PyObject
* obj0
= 0 ;
18680 PyObject
* obj1
= 0 ;
18681 PyObject
* obj2
= 0 ;
18682 char * kwnames
[] = {
18683 (char *) "self",(char *) "min",(char *) "max", NULL
18686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18688 if (!SWIG_IsOK(res1
)) {
18689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18691 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18692 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18693 if (!SWIG_IsOK(ecode2
)) {
18694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18696 arg2
= static_cast< int >(val2
);
18697 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18698 if (!SWIG_IsOK(ecode3
)) {
18699 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18701 arg3
= static_cast< int >(val3
);
18703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18704 (arg1
)->SetSelection(arg2
,arg3
);
18705 wxPyEndAllowThreads(__tstate
);
18706 if (PyErr_Occurred()) SWIG_fail
;
18708 resultobj
= SWIG_Py_Void();
18715 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18716 PyObject
*resultobj
= 0;
18717 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18718 SwigValueWrapper
<wxVisualAttributes
> result
;
18721 PyObject
* obj0
= 0 ;
18722 char * kwnames
[] = {
18723 (char *) "variant", NULL
18726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18728 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18729 if (!SWIG_IsOK(ecode1
)) {
18730 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18732 arg1
= static_cast< wxWindowVariant
>(val1
);
18735 if (!wxPyCheckForApp()) SWIG_fail
;
18736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18737 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18738 wxPyEndAllowThreads(__tstate
);
18739 if (PyErr_Occurred()) SWIG_fail
;
18741 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18748 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18750 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18751 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18752 return SWIG_Py_Void();
18755 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18756 return SWIG_Python_InitShadowInstance(args
);
18759 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18760 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18765 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18766 PyObject
*pyobj
= 0;
18770 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18772 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18779 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18780 PyObject
*resultobj
= 0;
18781 wxWindow
*arg1
= (wxWindow
*) 0 ;
18782 int arg2
= (int) -1 ;
18783 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18784 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18785 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18786 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18787 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18788 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18789 long arg6
= (long) 0 ;
18790 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18791 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18792 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18793 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18794 wxToggleButton
*result
= 0 ;
18799 bool temp3
= false ;
18806 bool temp8
= false ;
18807 PyObject
* obj0
= 0 ;
18808 PyObject
* obj1
= 0 ;
18809 PyObject
* obj2
= 0 ;
18810 PyObject
* obj3
= 0 ;
18811 PyObject
* obj4
= 0 ;
18812 PyObject
* obj5
= 0 ;
18813 PyObject
* obj6
= 0 ;
18814 PyObject
* obj7
= 0 ;
18815 char * kwnames
[] = {
18816 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18821 if (!SWIG_IsOK(res1
)) {
18822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18824 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18826 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18827 if (!SWIG_IsOK(ecode2
)) {
18828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18830 arg2
= static_cast< int >(val2
);
18834 arg3
= wxString_in_helper(obj2
);
18835 if (arg3
== NULL
) SWIG_fail
;
18842 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18848 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18852 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18853 if (!SWIG_IsOK(ecode6
)) {
18854 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18856 arg6
= static_cast< long >(val6
);
18859 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18860 if (!SWIG_IsOK(res7
)) {
18861 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18864 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18866 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18870 arg8
= wxString_in_helper(obj7
);
18871 if (arg8
== NULL
) SWIG_fail
;
18876 if (!wxPyCheckForApp()) SWIG_fail
;
18877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18878 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18879 wxPyEndAllowThreads(__tstate
);
18880 if (PyErr_Occurred()) SWIG_fail
;
18882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18905 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18906 PyObject
*resultobj
= 0;
18907 wxToggleButton
*result
= 0 ;
18909 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18911 if (!wxPyCheckForApp()) SWIG_fail
;
18912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18913 result
= (wxToggleButton
*)new wxToggleButton();
18914 wxPyEndAllowThreads(__tstate
);
18915 if (PyErr_Occurred()) SWIG_fail
;
18917 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18924 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18925 PyObject
*resultobj
= 0;
18926 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18927 wxWindow
*arg2
= (wxWindow
*) 0 ;
18928 int arg3
= (int) -1 ;
18929 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18930 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18931 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18932 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18933 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18934 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18935 long arg7
= (long) 0 ;
18936 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18937 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18938 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18939 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18947 bool temp4
= false ;
18954 bool temp9
= false ;
18955 PyObject
* obj0
= 0 ;
18956 PyObject
* obj1
= 0 ;
18957 PyObject
* obj2
= 0 ;
18958 PyObject
* obj3
= 0 ;
18959 PyObject
* obj4
= 0 ;
18960 PyObject
* obj5
= 0 ;
18961 PyObject
* obj6
= 0 ;
18962 PyObject
* obj7
= 0 ;
18963 PyObject
* obj8
= 0 ;
18964 char * kwnames
[] = {
18965 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18970 if (!SWIG_IsOK(res1
)) {
18971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18973 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18974 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18975 if (!SWIG_IsOK(res2
)) {
18976 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18978 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18980 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18981 if (!SWIG_IsOK(ecode3
)) {
18982 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18984 arg3
= static_cast< int >(val3
);
18988 arg4
= wxString_in_helper(obj3
);
18989 if (arg4
== NULL
) SWIG_fail
;
18996 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19002 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
19006 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
19007 if (!SWIG_IsOK(ecode7
)) {
19008 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
19010 arg7
= static_cast< long >(val7
);
19013 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
19014 if (!SWIG_IsOK(res8
)) {
19015 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19018 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19020 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
19024 arg9
= wxString_in_helper(obj8
);
19025 if (arg9
== NULL
) SWIG_fail
;
19030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19031 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
19032 wxPyEndAllowThreads(__tstate
);
19033 if (PyErr_Occurred()) SWIG_fail
;
19036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19060 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19061 PyObject
*resultobj
= 0;
19062 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19068 PyObject
* obj0
= 0 ;
19069 PyObject
* obj1
= 0 ;
19070 char * kwnames
[] = {
19071 (char *) "self",(char *) "value", NULL
19074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19076 if (!SWIG_IsOK(res1
)) {
19077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19079 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19080 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19081 if (!SWIG_IsOK(ecode2
)) {
19082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19084 arg2
= static_cast< bool >(val2
);
19086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19087 (arg1
)->SetValue(arg2
);
19088 wxPyEndAllowThreads(__tstate
);
19089 if (PyErr_Occurred()) SWIG_fail
;
19091 resultobj
= SWIG_Py_Void();
19098 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19099 PyObject
*resultobj
= 0;
19100 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19104 PyObject
*swig_obj
[1] ;
19106 if (!args
) SWIG_fail
;
19107 swig_obj
[0] = args
;
19108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19109 if (!SWIG_IsOK(res1
)) {
19110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19112 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19115 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
19116 wxPyEndAllowThreads(__tstate
);
19117 if (PyErr_Occurred()) SWIG_fail
;
19120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19128 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19129 PyObject
*resultobj
= 0;
19130 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19131 SwigValueWrapper
<wxVisualAttributes
> result
;
19134 PyObject
* obj0
= 0 ;
19135 char * kwnames
[] = {
19136 (char *) "variant", NULL
19139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19141 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19142 if (!SWIG_IsOK(ecode1
)) {
19143 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19145 arg1
= static_cast< wxWindowVariant
>(val1
);
19148 if (!wxPyCheckForApp()) SWIG_fail
;
19149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19150 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
19151 wxPyEndAllowThreads(__tstate
);
19152 if (PyErr_Occurred()) SWIG_fail
;
19154 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19161 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19163 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19164 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
19165 return SWIG_Py_Void();
19168 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19169 return SWIG_Python_InitShadowInstance(args
);
19172 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
19173 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
19178 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
19179 PyObject
*pyobj
= 0;
19183 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19185 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19192 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19193 PyObject
*resultobj
= 0;
19194 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19198 PyObject
*swig_obj
[1] ;
19200 if (!args
) SWIG_fail
;
19201 swig_obj
[0] = args
;
19202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19203 if (!SWIG_IsOK(res1
)) {
19204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19206 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19209 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19210 wxPyEndAllowThreads(__tstate
);
19211 if (PyErr_Occurred()) SWIG_fail
;
19213 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19220 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19221 PyObject
*resultobj
= 0;
19222 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19224 wxWindow
*result
= 0 ;
19229 PyObject
* obj0
= 0 ;
19230 PyObject
* obj1
= 0 ;
19231 char * kwnames
[] = {
19232 (char *) "self",(char *) "n", NULL
19235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19237 if (!SWIG_IsOK(res1
)) {
19238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19240 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19241 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19242 if (!SWIG_IsOK(ecode2
)) {
19243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19245 arg2
= static_cast< size_t >(val2
);
19247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19248 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19249 wxPyEndAllowThreads(__tstate
);
19250 if (PyErr_Occurred()) SWIG_fail
;
19253 resultobj
= wxPyMake_wxObject(result
, 0);
19261 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19262 PyObject
*resultobj
= 0;
19263 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19264 wxWindow
*result
= 0 ;
19267 PyObject
*swig_obj
[1] ;
19269 if (!args
) SWIG_fail
;
19270 swig_obj
[0] = args
;
19271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19272 if (!SWIG_IsOK(res1
)) {
19273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19275 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19278 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19279 wxPyEndAllowThreads(__tstate
);
19280 if (PyErr_Occurred()) SWIG_fail
;
19283 resultobj
= wxPyMake_wxObject(result
, 0);
19291 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19292 PyObject
*resultobj
= 0;
19293 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19297 PyObject
*swig_obj
[1] ;
19299 if (!args
) SWIG_fail
;
19300 swig_obj
[0] = args
;
19301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19302 if (!SWIG_IsOK(res1
)) {
19303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19305 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19308 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19309 wxPyEndAllowThreads(__tstate
);
19310 if (PyErr_Occurred()) SWIG_fail
;
19312 resultobj
= SWIG_From_int(static_cast< int >(result
));
19319 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19320 PyObject
*resultobj
= 0;
19321 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19323 wxString
*arg3
= 0 ;
19329 bool temp3
= false ;
19330 PyObject
* obj0
= 0 ;
19331 PyObject
* obj1
= 0 ;
19332 PyObject
* obj2
= 0 ;
19333 char * kwnames
[] = {
19334 (char *) "self",(char *) "n",(char *) "strText", NULL
19337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19339 if (!SWIG_IsOK(res1
)) {
19340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19342 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19343 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19344 if (!SWIG_IsOK(ecode2
)) {
19345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19347 arg2
= static_cast< size_t >(val2
);
19349 arg3
= wxString_in_helper(obj2
);
19350 if (arg3
== NULL
) SWIG_fail
;
19354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19355 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19356 wxPyEndAllowThreads(__tstate
);
19357 if (PyErr_Occurred()) SWIG_fail
;
19360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19376 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19377 PyObject
*resultobj
= 0;
19378 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19385 PyObject
* obj0
= 0 ;
19386 PyObject
* obj1
= 0 ;
19387 char * kwnames
[] = {
19388 (char *) "self",(char *) "n", NULL
19391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19393 if (!SWIG_IsOK(res1
)) {
19394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19396 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19397 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19398 if (!SWIG_IsOK(ecode2
)) {
19399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19401 arg2
= static_cast< size_t >(val2
);
19403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19404 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19405 wxPyEndAllowThreads(__tstate
);
19406 if (PyErr_Occurred()) SWIG_fail
;
19410 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19412 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19421 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19422 PyObject
*resultobj
= 0;
19423 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19424 wxImageList
*arg2
= (wxImageList
*) 0 ;
19429 PyObject
* obj0
= 0 ;
19430 PyObject
* obj1
= 0 ;
19431 char * kwnames
[] = {
19432 (char *) "self",(char *) "imageList", NULL
19435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19437 if (!SWIG_IsOK(res1
)) {
19438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19440 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19441 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19442 if (!SWIG_IsOK(res2
)) {
19443 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19445 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19448 (arg1
)->SetImageList(arg2
);
19449 wxPyEndAllowThreads(__tstate
);
19450 if (PyErr_Occurred()) SWIG_fail
;
19452 resultobj
= SWIG_Py_Void();
19459 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19460 PyObject
*resultobj
= 0;
19461 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19462 wxImageList
*arg2
= (wxImageList
*) 0 ;
19466 PyObject
* obj0
= 0 ;
19467 PyObject
* obj1
= 0 ;
19468 char * kwnames
[] = {
19469 (char *) "self",(char *) "imageList", NULL
19472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19474 if (!SWIG_IsOK(res1
)) {
19475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19477 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19478 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19479 if (!SWIG_IsOK(res2
)) {
19480 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19484 (arg1
)->AssignImageList(arg2
);
19485 wxPyEndAllowThreads(__tstate
);
19486 if (PyErr_Occurred()) SWIG_fail
;
19488 resultobj
= SWIG_Py_Void();
19495 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19496 PyObject
*resultobj
= 0;
19497 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19498 wxImageList
*result
= 0 ;
19501 PyObject
*swig_obj
[1] ;
19503 if (!args
) SWIG_fail
;
19504 swig_obj
[0] = args
;
19505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19506 if (!SWIG_IsOK(res1
)) {
19507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19509 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19512 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19513 wxPyEndAllowThreads(__tstate
);
19514 if (PyErr_Occurred()) SWIG_fail
;
19517 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19525 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19526 PyObject
*resultobj
= 0;
19527 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19534 PyObject
* obj0
= 0 ;
19535 PyObject
* obj1
= 0 ;
19536 char * kwnames
[] = {
19537 (char *) "self",(char *) "n", NULL
19540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19542 if (!SWIG_IsOK(res1
)) {
19543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19545 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19546 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19547 if (!SWIG_IsOK(ecode2
)) {
19548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19550 arg2
= static_cast< size_t >(val2
);
19552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19553 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19554 wxPyEndAllowThreads(__tstate
);
19555 if (PyErr_Occurred()) SWIG_fail
;
19557 resultobj
= SWIG_From_int(static_cast< int >(result
));
19564 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19565 PyObject
*resultobj
= 0;
19566 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19576 PyObject
* obj0
= 0 ;
19577 PyObject
* obj1
= 0 ;
19578 PyObject
* obj2
= 0 ;
19579 char * kwnames
[] = {
19580 (char *) "self",(char *) "n",(char *) "imageId", NULL
19583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19585 if (!SWIG_IsOK(res1
)) {
19586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19588 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19589 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19590 if (!SWIG_IsOK(ecode2
)) {
19591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19593 arg2
= static_cast< size_t >(val2
);
19594 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19595 if (!SWIG_IsOK(ecode3
)) {
19596 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19598 arg3
= static_cast< int >(val3
);
19600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19601 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19602 wxPyEndAllowThreads(__tstate
);
19603 if (PyErr_Occurred()) SWIG_fail
;
19606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19614 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19615 PyObject
*resultobj
= 0;
19616 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19621 PyObject
* obj0
= 0 ;
19622 PyObject
* obj1
= 0 ;
19623 char * kwnames
[] = {
19624 (char *) "self",(char *) "size", NULL
19627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19629 if (!SWIG_IsOK(res1
)) {
19630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19632 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19635 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19639 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19640 wxPyEndAllowThreads(__tstate
);
19641 if (PyErr_Occurred()) SWIG_fail
;
19643 resultobj
= SWIG_Py_Void();
19650 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19651 PyObject
*resultobj
= 0;
19652 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19658 PyObject
* obj0
= 0 ;
19659 PyObject
* obj1
= 0 ;
19660 char * kwnames
[] = {
19661 (char *) "self",(char *) "sizePage", NULL
19664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19666 if (!SWIG_IsOK(res1
)) {
19667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19669 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19672 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19676 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19677 wxPyEndAllowThreads(__tstate
);
19678 if (PyErr_Occurred()) SWIG_fail
;
19680 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19687 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19688 PyObject
*resultobj
= 0;
19689 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19690 unsigned int result
;
19693 PyObject
*swig_obj
[1] ;
19695 if (!args
) SWIG_fail
;
19696 swig_obj
[0] = args
;
19697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19698 if (!SWIG_IsOK(res1
)) {
19699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19701 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19704 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19705 wxPyEndAllowThreads(__tstate
);
19706 if (PyErr_Occurred()) SWIG_fail
;
19708 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19715 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19716 PyObject
*resultobj
= 0;
19717 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19718 unsigned int arg2
;
19721 unsigned int val2
;
19723 PyObject
* obj0
= 0 ;
19724 PyObject
* obj1
= 0 ;
19725 char * kwnames
[] = {
19726 (char *) "self",(char *) "internalBorder", NULL
19729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19731 if (!SWIG_IsOK(res1
)) {
19732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19734 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19735 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19736 if (!SWIG_IsOK(ecode2
)) {
19737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19739 arg2
= static_cast< unsigned int >(val2
);
19741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19742 (arg1
)->SetInternalBorder(arg2
);
19743 wxPyEndAllowThreads(__tstate
);
19744 if (PyErr_Occurred()) SWIG_fail
;
19746 resultobj
= SWIG_Py_Void();
19753 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19754 PyObject
*resultobj
= 0;
19755 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19759 PyObject
*swig_obj
[1] ;
19761 if (!args
) SWIG_fail
;
19762 swig_obj
[0] = args
;
19763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19764 if (!SWIG_IsOK(res1
)) {
19765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19767 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19770 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19771 wxPyEndAllowThreads(__tstate
);
19772 if (PyErr_Occurred()) SWIG_fail
;
19775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19783 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19784 PyObject
*resultobj
= 0;
19785 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19791 PyObject
* obj0
= 0 ;
19792 PyObject
* obj1
= 0 ;
19793 char * kwnames
[] = {
19794 (char *) "self",(char *) "margin", NULL
19797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19799 if (!SWIG_IsOK(res1
)) {
19800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19802 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19803 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19804 if (!SWIG_IsOK(ecode2
)) {
19805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19807 arg2
= static_cast< int >(val2
);
19809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19810 (arg1
)->SetControlMargin(arg2
);
19811 wxPyEndAllowThreads(__tstate
);
19812 if (PyErr_Occurred()) SWIG_fail
;
19814 resultobj
= SWIG_Py_Void();
19821 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19822 PyObject
*resultobj
= 0;
19823 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19827 PyObject
*swig_obj
[1] ;
19829 if (!args
) SWIG_fail
;
19830 swig_obj
[0] = args
;
19831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19832 if (!SWIG_IsOK(res1
)) {
19833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19835 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19838 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19839 wxPyEndAllowThreads(__tstate
);
19840 if (PyErr_Occurred()) SWIG_fail
;
19842 resultobj
= SWIG_From_int(static_cast< int >(result
));
19849 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19850 PyObject
*resultobj
= 0;
19851 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19857 PyObject
* obj0
= 0 ;
19858 PyObject
* obj1
= 0 ;
19859 char * kwnames
[] = {
19860 (char *) "self",(char *) "fit", NULL
19863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19865 if (!SWIG_IsOK(res1
)) {
19866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19868 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19869 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19870 if (!SWIG_IsOK(ecode2
)) {
19871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19873 arg2
= static_cast< bool >(val2
);
19875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19876 (arg1
)->SetFitToCurrentPage(arg2
);
19877 wxPyEndAllowThreads(__tstate
);
19878 if (PyErr_Occurred()) SWIG_fail
;
19880 resultobj
= SWIG_Py_Void();
19887 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19888 PyObject
*resultobj
= 0;
19889 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19893 PyObject
*swig_obj
[1] ;
19895 if (!args
) SWIG_fail
;
19896 swig_obj
[0] = args
;
19897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19898 if (!SWIG_IsOK(res1
)) {
19899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19901 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19904 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19905 wxPyEndAllowThreads(__tstate
);
19906 if (PyErr_Occurred()) SWIG_fail
;
19909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19917 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19918 PyObject
*resultobj
= 0;
19919 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19920 wxSizer
*result
= 0 ;
19923 PyObject
*swig_obj
[1] ;
19925 if (!args
) SWIG_fail
;
19926 swig_obj
[0] = args
;
19927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19928 if (!SWIG_IsOK(res1
)) {
19929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19931 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19934 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19935 wxPyEndAllowThreads(__tstate
);
19936 if (PyErr_Occurred()) SWIG_fail
;
19939 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19947 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19948 PyObject
*resultobj
= 0;
19949 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19956 PyObject
* obj0
= 0 ;
19957 PyObject
* obj1
= 0 ;
19958 char * kwnames
[] = {
19959 (char *) "self",(char *) "n", NULL
19962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19964 if (!SWIG_IsOK(res1
)) {
19965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19967 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19968 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19969 if (!SWIG_IsOK(ecode2
)) {
19970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19972 arg2
= static_cast< size_t >(val2
);
19974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19975 result
= (bool)(arg1
)->DeletePage(arg2
);
19976 wxPyEndAllowThreads(__tstate
);
19977 if (PyErr_Occurred()) SWIG_fail
;
19980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19988 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19989 PyObject
*resultobj
= 0;
19990 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19997 PyObject
* obj0
= 0 ;
19998 PyObject
* obj1
= 0 ;
19999 char * kwnames
[] = {
20000 (char *) "self",(char *) "n", NULL
20003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20005 if (!SWIG_IsOK(res1
)) {
20006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20008 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20009 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20010 if (!SWIG_IsOK(ecode2
)) {
20011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
20013 arg2
= static_cast< size_t >(val2
);
20015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20016 result
= (bool)(arg1
)->RemovePage(arg2
);
20017 wxPyEndAllowThreads(__tstate
);
20018 if (PyErr_Occurred()) SWIG_fail
;
20021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20029 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20030 PyObject
*resultobj
= 0;
20031 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20035 PyObject
*swig_obj
[1] ;
20037 if (!args
) SWIG_fail
;
20038 swig_obj
[0] = args
;
20039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20040 if (!SWIG_IsOK(res1
)) {
20041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20043 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20046 result
= (bool)(arg1
)->DeleteAllPages();
20047 wxPyEndAllowThreads(__tstate
);
20048 if (PyErr_Occurred()) SWIG_fail
;
20051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20059 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20060 PyObject
*resultobj
= 0;
20061 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20062 wxWindow
*arg2
= (wxWindow
*) 0 ;
20063 wxString
*arg3
= 0 ;
20064 bool arg4
= (bool) false ;
20065 int arg5
= (int) -1 ;
20071 bool temp3
= false ;
20076 PyObject
* obj0
= 0 ;
20077 PyObject
* obj1
= 0 ;
20078 PyObject
* obj2
= 0 ;
20079 PyObject
* obj3
= 0 ;
20080 PyObject
* obj4
= 0 ;
20081 char * kwnames
[] = {
20082 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20087 if (!SWIG_IsOK(res1
)) {
20088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20090 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20091 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20092 if (!SWIG_IsOK(res2
)) {
20093 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20095 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20097 arg3
= wxString_in_helper(obj2
);
20098 if (arg3
== NULL
) SWIG_fail
;
20102 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20103 if (!SWIG_IsOK(ecode4
)) {
20104 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20106 arg4
= static_cast< bool >(val4
);
20109 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20110 if (!SWIG_IsOK(ecode5
)) {
20111 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20113 arg5
= static_cast< int >(val5
);
20116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20117 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
20118 wxPyEndAllowThreads(__tstate
);
20119 if (PyErr_Occurred()) SWIG_fail
;
20122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20138 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20139 PyObject
*resultobj
= 0;
20140 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20142 wxWindow
*arg3
= (wxWindow
*) 0 ;
20143 wxString
*arg4
= 0 ;
20144 bool arg5
= (bool) false ;
20145 int arg6
= (int) -1 ;
20153 bool temp4
= false ;
20158 PyObject
* obj0
= 0 ;
20159 PyObject
* obj1
= 0 ;
20160 PyObject
* obj2
= 0 ;
20161 PyObject
* obj3
= 0 ;
20162 PyObject
* obj4
= 0 ;
20163 PyObject
* obj5
= 0 ;
20164 char * kwnames
[] = {
20165 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20170 if (!SWIG_IsOK(res1
)) {
20171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20173 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20174 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20175 if (!SWIG_IsOK(ecode2
)) {
20176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20178 arg2
= static_cast< size_t >(val2
);
20179 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20180 if (!SWIG_IsOK(res3
)) {
20181 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20183 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
20185 arg4
= wxString_in_helper(obj3
);
20186 if (arg4
== NULL
) SWIG_fail
;
20190 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20191 if (!SWIG_IsOK(ecode5
)) {
20192 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20194 arg5
= static_cast< bool >(val5
);
20197 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20198 if (!SWIG_IsOK(ecode6
)) {
20199 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20201 arg6
= static_cast< int >(val6
);
20204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20205 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20206 wxPyEndAllowThreads(__tstate
);
20207 if (PyErr_Occurred()) SWIG_fail
;
20210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20226 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20227 PyObject
*resultobj
= 0;
20228 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20235 PyObject
* obj0
= 0 ;
20236 PyObject
* obj1
= 0 ;
20237 char * kwnames
[] = {
20238 (char *) "self",(char *) "n", NULL
20241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20243 if (!SWIG_IsOK(res1
)) {
20244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20246 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20247 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20248 if (!SWIG_IsOK(ecode2
)) {
20249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20251 arg2
= static_cast< size_t >(val2
);
20253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20254 result
= (int)(arg1
)->SetSelection(arg2
);
20255 wxPyEndAllowThreads(__tstate
);
20256 if (PyErr_Occurred()) SWIG_fail
;
20258 resultobj
= SWIG_From_int(static_cast< int >(result
));
20265 SWIGINTERN PyObject
*_wrap_BookCtrlBase_ChangeSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20266 PyObject
*resultobj
= 0;
20267 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20274 PyObject
* obj0
= 0 ;
20275 PyObject
* obj1
= 0 ;
20276 char * kwnames
[] = {
20277 (char *) "self",(char *) "n", NULL
20280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20282 if (!SWIG_IsOK(res1
)) {
20283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20285 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20286 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20287 if (!SWIG_IsOK(ecode2
)) {
20288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20290 arg2
= static_cast< size_t >(val2
);
20292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20293 result
= (int)(arg1
)->ChangeSelection(arg2
);
20294 wxPyEndAllowThreads(__tstate
);
20295 if (PyErr_Occurred()) SWIG_fail
;
20297 resultobj
= SWIG_From_int(static_cast< int >(result
));
20304 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20305 PyObject
*resultobj
= 0;
20306 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20307 bool arg2
= (bool) true ;
20312 PyObject
* obj0
= 0 ;
20313 PyObject
* obj1
= 0 ;
20314 char * kwnames
[] = {
20315 (char *) "self",(char *) "forward", NULL
20318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20320 if (!SWIG_IsOK(res1
)) {
20321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20323 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20325 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20326 if (!SWIG_IsOK(ecode2
)) {
20327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20329 arg2
= static_cast< bool >(val2
);
20332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20333 (arg1
)->AdvanceSelection(arg2
);
20334 wxPyEndAllowThreads(__tstate
);
20335 if (PyErr_Occurred()) SWIG_fail
;
20337 resultobj
= SWIG_Py_Void();
20344 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20345 PyObject
*resultobj
= 0;
20346 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20347 wxPoint
*arg2
= 0 ;
20348 long *arg3
= (long *) 0 ;
20354 int res3
= SWIG_TMPOBJ
;
20355 PyObject
* obj0
= 0 ;
20356 PyObject
* obj1
= 0 ;
20357 char * kwnames
[] = {
20358 (char *) "self",(char *) "pt", NULL
20362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20364 if (!SWIG_IsOK(res1
)) {
20365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20367 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20370 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20374 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20375 wxPyEndAllowThreads(__tstate
);
20376 if (PyErr_Occurred()) SWIG_fail
;
20378 resultobj
= SWIG_From_int(static_cast< int >(result
));
20379 if (SWIG_IsTmpObj(res3
)) {
20380 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20382 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20383 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20391 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20392 PyObject
*resultobj
= 0;
20393 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20394 SwigValueWrapper
<wxVisualAttributes
> result
;
20397 PyObject
* obj0
= 0 ;
20398 char * kwnames
[] = {
20399 (char *) "variant", NULL
20402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20404 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20405 if (!SWIG_IsOK(ecode1
)) {
20406 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20408 arg1
= static_cast< wxWindowVariant
>(val1
);
20411 if (!wxPyCheckForApp()) SWIG_fail
;
20412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20413 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20414 wxPyEndAllowThreads(__tstate
);
20415 if (PyErr_Occurred()) SWIG_fail
;
20417 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20424 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20426 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20427 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20428 return SWIG_Py_Void();
20431 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20432 PyObject
*resultobj
= 0;
20433 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20434 int arg2
= (int) 0 ;
20435 int arg3
= (int) -1 ;
20436 int arg4
= (int) -1 ;
20437 wxBookCtrlBaseEvent
*result
= 0 ;
20446 PyObject
* obj0
= 0 ;
20447 PyObject
* obj1
= 0 ;
20448 PyObject
* obj2
= 0 ;
20449 PyObject
* obj3
= 0 ;
20450 char * kwnames
[] = {
20451 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20456 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20457 if (!SWIG_IsOK(ecode1
)) {
20458 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20460 arg1
= static_cast< wxEventType
>(val1
);
20463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20464 if (!SWIG_IsOK(ecode2
)) {
20465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20467 arg2
= static_cast< int >(val2
);
20470 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20471 if (!SWIG_IsOK(ecode3
)) {
20472 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20474 arg3
= static_cast< int >(val3
);
20477 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20478 if (!SWIG_IsOK(ecode4
)) {
20479 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20481 arg4
= static_cast< int >(val4
);
20484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20485 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20486 wxPyEndAllowThreads(__tstate
);
20487 if (PyErr_Occurred()) SWIG_fail
;
20489 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20496 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20497 PyObject
*resultobj
= 0;
20498 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20502 PyObject
*swig_obj
[1] ;
20504 if (!args
) SWIG_fail
;
20505 swig_obj
[0] = args
;
20506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20507 if (!SWIG_IsOK(res1
)) {
20508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20510 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20513 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20514 wxPyEndAllowThreads(__tstate
);
20515 if (PyErr_Occurred()) SWIG_fail
;
20517 resultobj
= SWIG_From_int(static_cast< int >(result
));
20524 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20525 PyObject
*resultobj
= 0;
20526 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20532 PyObject
* obj0
= 0 ;
20533 PyObject
* obj1
= 0 ;
20534 char * kwnames
[] = {
20535 (char *) "self",(char *) "nSel", NULL
20538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20540 if (!SWIG_IsOK(res1
)) {
20541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20543 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20544 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20545 if (!SWIG_IsOK(ecode2
)) {
20546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20548 arg2
= static_cast< int >(val2
);
20550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20551 (arg1
)->SetSelection(arg2
);
20552 wxPyEndAllowThreads(__tstate
);
20553 if (PyErr_Occurred()) SWIG_fail
;
20555 resultobj
= SWIG_Py_Void();
20562 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20563 PyObject
*resultobj
= 0;
20564 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20568 PyObject
*swig_obj
[1] ;
20570 if (!args
) SWIG_fail
;
20571 swig_obj
[0] = args
;
20572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20573 if (!SWIG_IsOK(res1
)) {
20574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20576 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20579 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20580 wxPyEndAllowThreads(__tstate
);
20581 if (PyErr_Occurred()) SWIG_fail
;
20583 resultobj
= SWIG_From_int(static_cast< int >(result
));
20590 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20591 PyObject
*resultobj
= 0;
20592 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20598 PyObject
* obj0
= 0 ;
20599 PyObject
* obj1
= 0 ;
20600 char * kwnames
[] = {
20601 (char *) "self",(char *) "nOldSel", NULL
20604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20606 if (!SWIG_IsOK(res1
)) {
20607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20609 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20610 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20611 if (!SWIG_IsOK(ecode2
)) {
20612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20614 arg2
= static_cast< int >(val2
);
20616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20617 (arg1
)->SetOldSelection(arg2
);
20618 wxPyEndAllowThreads(__tstate
);
20619 if (PyErr_Occurred()) SWIG_fail
;
20621 resultobj
= SWIG_Py_Void();
20628 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20630 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20631 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20632 return SWIG_Py_Void();
20635 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20636 return SWIG_Python_InitShadowInstance(args
);
20639 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20640 PyObject
*resultobj
= 0;
20641 wxWindow
*arg1
= (wxWindow
*) 0 ;
20642 int arg2
= (int) -1 ;
20643 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20644 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20645 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20646 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20647 long arg5
= (long) 0 ;
20648 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20649 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20650 wxNotebook
*result
= 0 ;
20659 bool temp6
= false ;
20660 PyObject
* obj0
= 0 ;
20661 PyObject
* obj1
= 0 ;
20662 PyObject
* obj2
= 0 ;
20663 PyObject
* obj3
= 0 ;
20664 PyObject
* obj4
= 0 ;
20665 PyObject
* obj5
= 0 ;
20666 char * kwnames
[] = {
20667 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20672 if (!SWIG_IsOK(res1
)) {
20673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20675 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20677 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20678 if (!SWIG_IsOK(ecode2
)) {
20679 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20681 arg2
= static_cast< int >(val2
);
20686 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20692 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20696 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20697 if (!SWIG_IsOK(ecode5
)) {
20698 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20700 arg5
= static_cast< long >(val5
);
20704 arg6
= wxString_in_helper(obj5
);
20705 if (arg6
== NULL
) SWIG_fail
;
20710 if (!wxPyCheckForApp()) SWIG_fail
;
20711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20712 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20713 wxPyEndAllowThreads(__tstate
);
20714 if (PyErr_Occurred()) SWIG_fail
;
20716 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20731 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20732 PyObject
*resultobj
= 0;
20733 wxNotebook
*result
= 0 ;
20735 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20737 if (!wxPyCheckForApp()) SWIG_fail
;
20738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20739 result
= (wxNotebook
*)new wxNotebook();
20740 wxPyEndAllowThreads(__tstate
);
20741 if (PyErr_Occurred()) SWIG_fail
;
20743 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20750 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20751 PyObject
*resultobj
= 0;
20752 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20753 wxWindow
*arg2
= (wxWindow
*) 0 ;
20754 int arg3
= (int) -1 ;
20755 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20756 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20757 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20758 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20759 long arg6
= (long) 0 ;
20760 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20761 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20773 bool temp7
= false ;
20774 PyObject
* obj0
= 0 ;
20775 PyObject
* obj1
= 0 ;
20776 PyObject
* obj2
= 0 ;
20777 PyObject
* obj3
= 0 ;
20778 PyObject
* obj4
= 0 ;
20779 PyObject
* obj5
= 0 ;
20780 PyObject
* obj6
= 0 ;
20781 char * kwnames
[] = {
20782 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20787 if (!SWIG_IsOK(res1
)) {
20788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20790 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20791 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20792 if (!SWIG_IsOK(res2
)) {
20793 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20795 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20797 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20798 if (!SWIG_IsOK(ecode3
)) {
20799 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20801 arg3
= static_cast< int >(val3
);
20806 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20812 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20816 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20817 if (!SWIG_IsOK(ecode6
)) {
20818 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20820 arg6
= static_cast< long >(val6
);
20824 arg7
= wxString_in_helper(obj6
);
20825 if (arg7
== NULL
) SWIG_fail
;
20830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20831 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20832 wxPyEndAllowThreads(__tstate
);
20833 if (PyErr_Occurred()) SWIG_fail
;
20836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20852 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20853 PyObject
*resultobj
= 0;
20854 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20858 PyObject
*swig_obj
[1] ;
20860 if (!args
) SWIG_fail
;
20861 swig_obj
[0] = args
;
20862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20863 if (!SWIG_IsOK(res1
)) {
20864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20866 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20869 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20870 wxPyEndAllowThreads(__tstate
);
20871 if (PyErr_Occurred()) SWIG_fail
;
20873 resultobj
= SWIG_From_int(static_cast< int >(result
));
20880 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20881 PyObject
*resultobj
= 0;
20882 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20887 PyObject
* obj0
= 0 ;
20888 PyObject
* obj1
= 0 ;
20889 char * kwnames
[] = {
20890 (char *) "self",(char *) "padding", NULL
20893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20895 if (!SWIG_IsOK(res1
)) {
20896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20898 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20901 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20905 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20906 wxPyEndAllowThreads(__tstate
);
20907 if (PyErr_Occurred()) SWIG_fail
;
20909 resultobj
= SWIG_Py_Void();
20916 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20917 PyObject
*resultobj
= 0;
20918 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20923 PyObject
* obj0
= 0 ;
20924 PyObject
* obj1
= 0 ;
20925 char * kwnames
[] = {
20926 (char *) "self",(char *) "sz", NULL
20929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20931 if (!SWIG_IsOK(res1
)) {
20932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20934 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20937 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20941 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20942 wxPyEndAllowThreads(__tstate
);
20943 if (PyErr_Occurred()) SWIG_fail
;
20945 resultobj
= SWIG_Py_Void();
20952 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20953 PyObject
*resultobj
= 0;
20954 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20958 PyObject
*swig_obj
[1] ;
20960 if (!args
) SWIG_fail
;
20961 swig_obj
[0] = args
;
20962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20963 if (!SWIG_IsOK(res1
)) {
20964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20966 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20969 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20970 wxPyEndAllowThreads(__tstate
);
20971 if (PyErr_Occurred()) SWIG_fail
;
20973 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20980 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20981 PyObject
*resultobj
= 0;
20982 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20983 SwigValueWrapper
<wxVisualAttributes
> result
;
20986 PyObject
* obj0
= 0 ;
20987 char * kwnames
[] = {
20988 (char *) "variant", NULL
20991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20993 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20994 if (!SWIG_IsOK(ecode1
)) {
20995 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20997 arg1
= static_cast< wxWindowVariant
>(val1
);
21000 if (!wxPyCheckForApp()) SWIG_fail
;
21001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21002 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
21003 wxPyEndAllowThreads(__tstate
);
21004 if (PyErr_Occurred()) SWIG_fail
;
21006 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21013 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21014 PyObject
*resultobj
= 0;
21015 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21022 PyObject
* obj0
= 0 ;
21023 PyObject
* obj1
= 0 ;
21024 char * kwnames
[] = {
21025 (char *) "self",(char *) "nPage", NULL
21028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SendPageChangingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21030 if (!SWIG_IsOK(res1
)) {
21031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21033 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21034 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21035 if (!SWIG_IsOK(ecode2
)) {
21036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
21038 arg2
= static_cast< int >(val2
);
21040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21041 result
= (bool)(arg1
)->SendPageChangingEvent(arg2
);
21042 wxPyEndAllowThreads(__tstate
);
21043 if (PyErr_Occurred()) SWIG_fail
;
21046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21054 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21055 PyObject
*resultobj
= 0;
21056 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21058 int arg3
= (int) -1 ;
21065 PyObject
* obj0
= 0 ;
21066 PyObject
* obj1
= 0 ;
21067 PyObject
* obj2
= 0 ;
21068 char * kwnames
[] = {
21069 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
21072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21074 if (!SWIG_IsOK(res1
)) {
21075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21077 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21078 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21079 if (!SWIG_IsOK(ecode2
)) {
21080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21082 arg2
= static_cast< int >(val2
);
21084 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21085 if (!SWIG_IsOK(ecode3
)) {
21086 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21088 arg3
= static_cast< int >(val3
);
21091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21092 (arg1
)->SendPageChangedEvent(arg2
,arg3
);
21093 wxPyEndAllowThreads(__tstate
);
21094 if (PyErr_Occurred()) SWIG_fail
;
21096 resultobj
= SWIG_Py_Void();
21103 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21105 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21106 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
21107 return SWIG_Py_Void();
21110 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21111 return SWIG_Python_InitShadowInstance(args
);
21114 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21115 PyObject
*resultobj
= 0;
21116 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21117 int arg2
= (int) 0 ;
21118 int arg3
= (int) -1 ;
21119 int arg4
= (int) -1 ;
21120 wxNotebookEvent
*result
= 0 ;
21129 PyObject
* obj0
= 0 ;
21130 PyObject
* obj1
= 0 ;
21131 PyObject
* obj2
= 0 ;
21132 PyObject
* obj3
= 0 ;
21133 char * kwnames
[] = {
21134 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21139 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21140 if (!SWIG_IsOK(ecode1
)) {
21141 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21143 arg1
= static_cast< wxEventType
>(val1
);
21146 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21147 if (!SWIG_IsOK(ecode2
)) {
21148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21150 arg2
= static_cast< int >(val2
);
21153 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21154 if (!SWIG_IsOK(ecode3
)) {
21155 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21157 arg3
= static_cast< int >(val3
);
21160 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21161 if (!SWIG_IsOK(ecode4
)) {
21162 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21164 arg4
= static_cast< int >(val4
);
21167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21168 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
21169 wxPyEndAllowThreads(__tstate
);
21170 if (PyErr_Occurred()) SWIG_fail
;
21172 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
21179 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21182 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
21183 return SWIG_Py_Void();
21186 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21187 return SWIG_Python_InitShadowInstance(args
);
21190 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21191 PyObject
*resultobj
= 0;
21192 wxWindow
*arg1
= (wxWindow
*) 0 ;
21193 int arg2
= (int) -1 ;
21194 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21195 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21196 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21197 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21198 long arg5
= (long) 0 ;
21199 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21200 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21201 wxListbook
*result
= 0 ;
21210 bool temp6
= false ;
21211 PyObject
* obj0
= 0 ;
21212 PyObject
* obj1
= 0 ;
21213 PyObject
* obj2
= 0 ;
21214 PyObject
* obj3
= 0 ;
21215 PyObject
* obj4
= 0 ;
21216 PyObject
* obj5
= 0 ;
21217 char * kwnames
[] = {
21218 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21223 if (!SWIG_IsOK(res1
)) {
21224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21226 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21228 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21229 if (!SWIG_IsOK(ecode2
)) {
21230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21232 arg2
= static_cast< int >(val2
);
21237 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21243 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21247 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21248 if (!SWIG_IsOK(ecode5
)) {
21249 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21251 arg5
= static_cast< long >(val5
);
21255 arg6
= wxString_in_helper(obj5
);
21256 if (arg6
== NULL
) SWIG_fail
;
21261 if (!wxPyCheckForApp()) SWIG_fail
;
21262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21263 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21264 wxPyEndAllowThreads(__tstate
);
21265 if (PyErr_Occurred()) SWIG_fail
;
21267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
21282 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21283 PyObject
*resultobj
= 0;
21284 wxListbook
*result
= 0 ;
21286 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
21288 if (!wxPyCheckForApp()) SWIG_fail
;
21289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21290 result
= (wxListbook
*)new wxListbook();
21291 wxPyEndAllowThreads(__tstate
);
21292 if (PyErr_Occurred()) SWIG_fail
;
21294 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
21301 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21302 PyObject
*resultobj
= 0;
21303 wxListbook
*arg1
= (wxListbook
*) 0 ;
21304 wxWindow
*arg2
= (wxWindow
*) 0 ;
21305 int arg3
= (int) -1 ;
21306 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21307 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21308 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21309 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21310 long arg6
= (long) 0 ;
21311 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21312 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21324 bool temp7
= false ;
21325 PyObject
* obj0
= 0 ;
21326 PyObject
* obj1
= 0 ;
21327 PyObject
* obj2
= 0 ;
21328 PyObject
* obj3
= 0 ;
21329 PyObject
* obj4
= 0 ;
21330 PyObject
* obj5
= 0 ;
21331 PyObject
* obj6
= 0 ;
21332 char * kwnames
[] = {
21333 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21338 if (!SWIG_IsOK(res1
)) {
21339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21341 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21342 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21343 if (!SWIG_IsOK(res2
)) {
21344 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21346 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21348 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21349 if (!SWIG_IsOK(ecode3
)) {
21350 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21352 arg3
= static_cast< int >(val3
);
21357 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21363 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21367 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21368 if (!SWIG_IsOK(ecode6
)) {
21369 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21371 arg6
= static_cast< long >(val6
);
21375 arg7
= wxString_in_helper(obj6
);
21376 if (arg7
== NULL
) SWIG_fail
;
21381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21382 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21383 wxPyEndAllowThreads(__tstate
);
21384 if (PyErr_Occurred()) SWIG_fail
;
21387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21403 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21404 PyObject
*resultobj
= 0;
21405 wxListbook
*arg1
= (wxListbook
*) 0 ;
21406 wxListView
*result
= 0 ;
21409 PyObject
*swig_obj
[1] ;
21411 if (!args
) SWIG_fail
;
21412 swig_obj
[0] = args
;
21413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21414 if (!SWIG_IsOK(res1
)) {
21415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21417 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21420 result
= (wxListView
*)(arg1
)->GetListView();
21421 wxPyEndAllowThreads(__tstate
);
21422 if (PyErr_Occurred()) SWIG_fail
;
21424 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21431 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21433 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21434 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21435 return SWIG_Py_Void();
21438 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21439 return SWIG_Python_InitShadowInstance(args
);
21442 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21443 PyObject
*resultobj
= 0;
21444 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21445 int arg2
= (int) 0 ;
21446 int arg3
= (int) -1 ;
21447 int arg4
= (int) -1 ;
21448 wxListbookEvent
*result
= 0 ;
21457 PyObject
* obj0
= 0 ;
21458 PyObject
* obj1
= 0 ;
21459 PyObject
* obj2
= 0 ;
21460 PyObject
* obj3
= 0 ;
21461 char * kwnames
[] = {
21462 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21467 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21468 if (!SWIG_IsOK(ecode1
)) {
21469 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21471 arg1
= static_cast< wxEventType
>(val1
);
21474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21475 if (!SWIG_IsOK(ecode2
)) {
21476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21478 arg2
= static_cast< int >(val2
);
21481 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21482 if (!SWIG_IsOK(ecode3
)) {
21483 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21485 arg3
= static_cast< int >(val3
);
21488 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21489 if (!SWIG_IsOK(ecode4
)) {
21490 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21492 arg4
= static_cast< int >(val4
);
21495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21496 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21497 wxPyEndAllowThreads(__tstate
);
21498 if (PyErr_Occurred()) SWIG_fail
;
21500 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21507 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21509 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21510 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21511 return SWIG_Py_Void();
21514 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21515 return SWIG_Python_InitShadowInstance(args
);
21518 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21519 PyObject
*resultobj
= 0;
21520 wxWindow
*arg1
= (wxWindow
*) 0 ;
21522 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21523 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21524 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21525 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21526 long arg5
= (long) 0 ;
21527 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21528 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21529 wxChoicebook
*result
= 0 ;
21538 bool temp6
= false ;
21539 PyObject
* obj0
= 0 ;
21540 PyObject
* obj1
= 0 ;
21541 PyObject
* obj2
= 0 ;
21542 PyObject
* obj3
= 0 ;
21543 PyObject
* obj4
= 0 ;
21544 PyObject
* obj5
= 0 ;
21545 char * kwnames
[] = {
21546 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21551 if (!SWIG_IsOK(res1
)) {
21552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21554 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21555 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21556 if (!SWIG_IsOK(ecode2
)) {
21557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21559 arg2
= static_cast< int >(val2
);
21563 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21569 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21573 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21574 if (!SWIG_IsOK(ecode5
)) {
21575 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21577 arg5
= static_cast< long >(val5
);
21581 arg6
= wxString_in_helper(obj5
);
21582 if (arg6
== NULL
) SWIG_fail
;
21587 if (!wxPyCheckForApp()) SWIG_fail
;
21588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21589 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21590 wxPyEndAllowThreads(__tstate
);
21591 if (PyErr_Occurred()) SWIG_fail
;
21593 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21608 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21609 PyObject
*resultobj
= 0;
21610 wxChoicebook
*result
= 0 ;
21612 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21614 if (!wxPyCheckForApp()) SWIG_fail
;
21615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21616 result
= (wxChoicebook
*)new wxChoicebook();
21617 wxPyEndAllowThreads(__tstate
);
21618 if (PyErr_Occurred()) SWIG_fail
;
21620 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21627 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21628 PyObject
*resultobj
= 0;
21629 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21630 wxWindow
*arg2
= (wxWindow
*) 0 ;
21632 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21633 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21634 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21635 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21636 long arg6
= (long) 0 ;
21637 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21638 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21650 bool temp7
= false ;
21651 PyObject
* obj0
= 0 ;
21652 PyObject
* obj1
= 0 ;
21653 PyObject
* obj2
= 0 ;
21654 PyObject
* obj3
= 0 ;
21655 PyObject
* obj4
= 0 ;
21656 PyObject
* obj5
= 0 ;
21657 PyObject
* obj6
= 0 ;
21658 char * kwnames
[] = {
21659 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21664 if (!SWIG_IsOK(res1
)) {
21665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21667 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21668 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21669 if (!SWIG_IsOK(res2
)) {
21670 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21672 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21673 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21674 if (!SWIG_IsOK(ecode3
)) {
21675 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21677 arg3
= static_cast< int >(val3
);
21681 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21687 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21691 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21692 if (!SWIG_IsOK(ecode6
)) {
21693 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21695 arg6
= static_cast< long >(val6
);
21699 arg7
= wxString_in_helper(obj6
);
21700 if (arg7
== NULL
) SWIG_fail
;
21705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21706 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21707 wxPyEndAllowThreads(__tstate
);
21708 if (PyErr_Occurred()) SWIG_fail
;
21711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21727 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21728 PyObject
*resultobj
= 0;
21729 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21730 wxChoice
*result
= 0 ;
21733 PyObject
*swig_obj
[1] ;
21735 if (!args
) SWIG_fail
;
21736 swig_obj
[0] = args
;
21737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21738 if (!SWIG_IsOK(res1
)) {
21739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21741 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21744 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21745 wxPyEndAllowThreads(__tstate
);
21746 if (PyErr_Occurred()) SWIG_fail
;
21748 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21755 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21757 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21758 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21759 return SWIG_Py_Void();
21762 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21763 return SWIG_Python_InitShadowInstance(args
);
21766 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21767 PyObject
*resultobj
= 0;
21768 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21769 int arg2
= (int) 0 ;
21770 int arg3
= (int) -1 ;
21771 int arg4
= (int) -1 ;
21772 wxChoicebookEvent
*result
= 0 ;
21781 PyObject
* obj0
= 0 ;
21782 PyObject
* obj1
= 0 ;
21783 PyObject
* obj2
= 0 ;
21784 PyObject
* obj3
= 0 ;
21785 char * kwnames
[] = {
21786 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21791 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21792 if (!SWIG_IsOK(ecode1
)) {
21793 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21795 arg1
= static_cast< wxEventType
>(val1
);
21798 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21799 if (!SWIG_IsOK(ecode2
)) {
21800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21802 arg2
= static_cast< int >(val2
);
21805 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21806 if (!SWIG_IsOK(ecode3
)) {
21807 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21809 arg3
= static_cast< int >(val3
);
21812 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21813 if (!SWIG_IsOK(ecode4
)) {
21814 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21816 arg4
= static_cast< int >(val4
);
21819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21820 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21821 wxPyEndAllowThreads(__tstate
);
21822 if (PyErr_Occurred()) SWIG_fail
;
21824 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21831 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21833 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21834 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21835 return SWIG_Py_Void();
21838 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21839 return SWIG_Python_InitShadowInstance(args
);
21842 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21843 PyObject
*resultobj
= 0;
21844 wxWindow
*arg1
= (wxWindow
*) 0 ;
21846 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21847 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21848 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21849 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21850 long arg5
= (long) wxBK_DEFAULT
;
21851 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21852 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21853 wxTreebook
*result
= 0 ;
21862 bool temp6
= false ;
21863 PyObject
* obj0
= 0 ;
21864 PyObject
* obj1
= 0 ;
21865 PyObject
* obj2
= 0 ;
21866 PyObject
* obj3
= 0 ;
21867 PyObject
* obj4
= 0 ;
21868 PyObject
* obj5
= 0 ;
21869 char * kwnames
[] = {
21870 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21875 if (!SWIG_IsOK(res1
)) {
21876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21878 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21879 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21880 if (!SWIG_IsOK(ecode2
)) {
21881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21883 arg2
= static_cast< int >(val2
);
21887 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21893 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21897 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21898 if (!SWIG_IsOK(ecode5
)) {
21899 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21901 arg5
= static_cast< long >(val5
);
21905 arg6
= wxString_in_helper(obj5
);
21906 if (arg6
== NULL
) SWIG_fail
;
21911 if (!wxPyCheckForApp()) SWIG_fail
;
21912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21913 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21914 wxPyEndAllowThreads(__tstate
);
21915 if (PyErr_Occurred()) SWIG_fail
;
21917 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21932 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21933 PyObject
*resultobj
= 0;
21934 wxTreebook
*result
= 0 ;
21936 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21938 if (!wxPyCheckForApp()) SWIG_fail
;
21939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21940 result
= (wxTreebook
*)new wxTreebook();
21941 wxPyEndAllowThreads(__tstate
);
21942 if (PyErr_Occurred()) SWIG_fail
;
21944 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21951 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21952 PyObject
*resultobj
= 0;
21953 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21954 wxWindow
*arg2
= (wxWindow
*) 0 ;
21956 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21957 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21958 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21959 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21960 long arg6
= (long) wxBK_DEFAULT
;
21961 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21962 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21974 bool temp7
= false ;
21975 PyObject
* obj0
= 0 ;
21976 PyObject
* obj1
= 0 ;
21977 PyObject
* obj2
= 0 ;
21978 PyObject
* obj3
= 0 ;
21979 PyObject
* obj4
= 0 ;
21980 PyObject
* obj5
= 0 ;
21981 PyObject
* obj6
= 0 ;
21982 char * kwnames
[] = {
21983 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21988 if (!SWIG_IsOK(res1
)) {
21989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21991 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21992 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21993 if (!SWIG_IsOK(res2
)) {
21994 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21996 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21997 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21998 if (!SWIG_IsOK(ecode3
)) {
21999 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
22001 arg3
= static_cast< int >(val3
);
22005 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22011 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22015 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22016 if (!SWIG_IsOK(ecode6
)) {
22017 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
22019 arg6
= static_cast< long >(val6
);
22023 arg7
= wxString_in_helper(obj6
);
22024 if (arg7
== NULL
) SWIG_fail
;
22029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22030 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22031 wxPyEndAllowThreads(__tstate
);
22032 if (PyErr_Occurred()) SWIG_fail
;
22035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22051 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22052 PyObject
*resultobj
= 0;
22053 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22055 wxWindow
*arg3
= (wxWindow
*) 0 ;
22056 wxString
*arg4
= 0 ;
22057 bool arg5
= (bool) false ;
22058 int arg6
= (int) wxNOT_FOUND
;
22066 bool temp4
= false ;
22071 PyObject
* obj0
= 0 ;
22072 PyObject
* obj1
= 0 ;
22073 PyObject
* obj2
= 0 ;
22074 PyObject
* obj3
= 0 ;
22075 PyObject
* obj4
= 0 ;
22076 PyObject
* obj5
= 0 ;
22077 char * kwnames
[] = {
22078 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22083 if (!SWIG_IsOK(res1
)) {
22084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22086 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22087 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22088 if (!SWIG_IsOK(ecode2
)) {
22089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22091 arg2
= static_cast< size_t >(val2
);
22092 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22093 if (!SWIG_IsOK(res3
)) {
22094 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22096 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
22098 arg4
= wxString_in_helper(obj3
);
22099 if (arg4
== NULL
) SWIG_fail
;
22103 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
22104 if (!SWIG_IsOK(ecode5
)) {
22105 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22107 arg5
= static_cast< bool >(val5
);
22110 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22111 if (!SWIG_IsOK(ecode6
)) {
22112 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22114 arg6
= static_cast< int >(val6
);
22117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22118 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
22119 wxPyEndAllowThreads(__tstate
);
22120 if (PyErr_Occurred()) SWIG_fail
;
22123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22139 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22140 PyObject
*resultobj
= 0;
22141 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22142 wxWindow
*arg2
= (wxWindow
*) 0 ;
22143 wxString
*arg3
= 0 ;
22144 bool arg4
= (bool) false ;
22145 int arg5
= (int) wxNOT_FOUND
;
22151 bool temp3
= false ;
22156 PyObject
* obj0
= 0 ;
22157 PyObject
* obj1
= 0 ;
22158 PyObject
* obj2
= 0 ;
22159 PyObject
* obj3
= 0 ;
22160 PyObject
* obj4
= 0 ;
22161 char * kwnames
[] = {
22162 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22167 if (!SWIG_IsOK(res1
)) {
22168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22170 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22171 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22172 if (!SWIG_IsOK(res2
)) {
22173 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22175 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22177 arg3
= wxString_in_helper(obj2
);
22178 if (arg3
== NULL
) SWIG_fail
;
22182 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
22183 if (!SWIG_IsOK(ecode4
)) {
22184 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22186 arg4
= static_cast< bool >(val4
);
22189 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22190 if (!SWIG_IsOK(ecode5
)) {
22191 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22193 arg5
= static_cast< int >(val5
);
22196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22197 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22198 wxPyEndAllowThreads(__tstate
);
22199 if (PyErr_Occurred()) SWIG_fail
;
22202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22218 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22219 PyObject
*resultobj
= 0;
22220 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22227 PyObject
* obj0
= 0 ;
22228 PyObject
* obj1
= 0 ;
22229 char * kwnames
[] = {
22230 (char *) "self",(char *) "pos", NULL
22233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22235 if (!SWIG_IsOK(res1
)) {
22236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22238 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22239 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22240 if (!SWIG_IsOK(ecode2
)) {
22241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22243 arg2
= static_cast< size_t >(val2
);
22245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22246 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
22247 wxPyEndAllowThreads(__tstate
);
22248 if (PyErr_Occurred()) SWIG_fail
;
22251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22259 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22260 PyObject
*resultobj
= 0;
22261 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22263 bool arg3
= (bool) true ;
22271 PyObject
* obj0
= 0 ;
22272 PyObject
* obj1
= 0 ;
22273 PyObject
* obj2
= 0 ;
22274 char * kwnames
[] = {
22275 (char *) "self",(char *) "pos",(char *) "expand", NULL
22278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22280 if (!SWIG_IsOK(res1
)) {
22281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22283 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22284 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22285 if (!SWIG_IsOK(ecode2
)) {
22286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22288 arg2
= static_cast< size_t >(val2
);
22290 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22291 if (!SWIG_IsOK(ecode3
)) {
22292 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22294 arg3
= static_cast< bool >(val3
);
22297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22298 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
22299 wxPyEndAllowThreads(__tstate
);
22300 if (PyErr_Occurred()) SWIG_fail
;
22303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22311 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22312 PyObject
*resultobj
= 0;
22313 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22320 PyObject
* obj0
= 0 ;
22321 PyObject
* obj1
= 0 ;
22322 char * kwnames
[] = {
22323 (char *) "self",(char *) "pos", NULL
22326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22328 if (!SWIG_IsOK(res1
)) {
22329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22331 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22332 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22333 if (!SWIG_IsOK(ecode2
)) {
22334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22336 arg2
= static_cast< size_t >(val2
);
22338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22339 result
= (bool)(arg1
)->CollapseNode(arg2
);
22340 wxPyEndAllowThreads(__tstate
);
22341 if (PyErr_Occurred()) SWIG_fail
;
22344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22352 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22353 PyObject
*resultobj
= 0;
22354 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22361 PyObject
* obj0
= 0 ;
22362 PyObject
* obj1
= 0 ;
22363 char * kwnames
[] = {
22364 (char *) "self",(char *) "pos", NULL
22367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22369 if (!SWIG_IsOK(res1
)) {
22370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22372 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22373 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22374 if (!SWIG_IsOK(ecode2
)) {
22375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22377 arg2
= static_cast< size_t >(val2
);
22379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22380 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22381 wxPyEndAllowThreads(__tstate
);
22382 if (PyErr_Occurred()) SWIG_fail
;
22384 resultobj
= SWIG_From_int(static_cast< int >(result
));
22391 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22392 PyObject
*resultobj
= 0;
22393 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22394 wxPyTreeCtrl
*result
= 0 ;
22397 PyObject
*swig_obj
[1] ;
22399 if (!args
) SWIG_fail
;
22400 swig_obj
[0] = args
;
22401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22402 if (!SWIG_IsOK(res1
)) {
22403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22405 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22408 result
= (wxPyTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22409 wxPyEndAllowThreads(__tstate
);
22410 if (PyErr_Occurred()) SWIG_fail
;
22413 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22421 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22423 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22424 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22425 return SWIG_Py_Void();
22428 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22429 return SWIG_Python_InitShadowInstance(args
);
22432 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22433 PyObject
*resultobj
= 0;
22434 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22435 int arg2
= (int) 0 ;
22436 int arg3
= (int) wxNOT_FOUND
;
22437 int arg4
= (int) wxNOT_FOUND
;
22438 wxTreebookEvent
*result
= 0 ;
22447 PyObject
* obj0
= 0 ;
22448 PyObject
* obj1
= 0 ;
22449 PyObject
* obj2
= 0 ;
22450 PyObject
* obj3
= 0 ;
22451 char * kwnames
[] = {
22452 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22457 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22458 if (!SWIG_IsOK(ecode1
)) {
22459 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22461 arg1
= static_cast< wxEventType
>(val1
);
22464 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22465 if (!SWIG_IsOK(ecode2
)) {
22466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22468 arg2
= static_cast< int >(val2
);
22471 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22472 if (!SWIG_IsOK(ecode3
)) {
22473 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22475 arg3
= static_cast< int >(val3
);
22478 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22479 if (!SWIG_IsOK(ecode4
)) {
22480 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22482 arg4
= static_cast< int >(val4
);
22485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22486 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22487 wxPyEndAllowThreads(__tstate
);
22488 if (PyErr_Occurred()) SWIG_fail
;
22490 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22497 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22499 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22500 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22501 return SWIG_Py_Void();
22504 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22505 return SWIG_Python_InitShadowInstance(args
);
22508 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22509 PyObject
*resultobj
= 0;
22510 wxWindow
*arg1
= (wxWindow
*) 0 ;
22512 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22513 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22514 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22515 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22516 long arg5
= (long) wxBK_DEFAULT
;
22517 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22518 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22519 wxToolbook
*result
= 0 ;
22528 bool temp6
= false ;
22529 PyObject
* obj0
= 0 ;
22530 PyObject
* obj1
= 0 ;
22531 PyObject
* obj2
= 0 ;
22532 PyObject
* obj3
= 0 ;
22533 PyObject
* obj4
= 0 ;
22534 PyObject
* obj5
= 0 ;
22535 char * kwnames
[] = {
22536 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22541 if (!SWIG_IsOK(res1
)) {
22542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22544 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22545 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22546 if (!SWIG_IsOK(ecode2
)) {
22547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22549 arg2
= static_cast< int >(val2
);
22553 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22559 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22563 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22564 if (!SWIG_IsOK(ecode5
)) {
22565 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22567 arg5
= static_cast< long >(val5
);
22571 arg6
= wxString_in_helper(obj5
);
22572 if (arg6
== NULL
) SWIG_fail
;
22577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22578 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22579 wxPyEndAllowThreads(__tstate
);
22580 if (PyErr_Occurred()) SWIG_fail
;
22582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22597 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22598 PyObject
*resultobj
= 0;
22599 wxToolbook
*result
= 0 ;
22601 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22604 result
= (wxToolbook
*)new wxToolbook();
22605 wxPyEndAllowThreads(__tstate
);
22606 if (PyErr_Occurred()) SWIG_fail
;
22608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22615 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22616 PyObject
*resultobj
= 0;
22617 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22618 wxWindow
*arg2
= (wxWindow
*) 0 ;
22620 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22621 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22622 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22623 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22624 long arg6
= (long) 0 ;
22625 wxString
const &arg7_defvalue
= wxEmptyString
;
22626 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22638 bool temp7
= false ;
22639 PyObject
* obj0
= 0 ;
22640 PyObject
* obj1
= 0 ;
22641 PyObject
* obj2
= 0 ;
22642 PyObject
* obj3
= 0 ;
22643 PyObject
* obj4
= 0 ;
22644 PyObject
* obj5
= 0 ;
22645 PyObject
* obj6
= 0 ;
22646 char * kwnames
[] = {
22647 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22652 if (!SWIG_IsOK(res1
)) {
22653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22655 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22656 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22657 if (!SWIG_IsOK(res2
)) {
22658 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22660 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22661 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22662 if (!SWIG_IsOK(ecode3
)) {
22663 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22665 arg3
= static_cast< int >(val3
);
22669 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22675 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22679 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22680 if (!SWIG_IsOK(ecode6
)) {
22681 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22683 arg6
= static_cast< long >(val6
);
22687 arg7
= wxString_in_helper(obj6
);
22688 if (arg7
== NULL
) SWIG_fail
;
22693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22694 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22695 wxPyEndAllowThreads(__tstate
);
22696 if (PyErr_Occurred()) SWIG_fail
;
22699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22715 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22716 PyObject
*resultobj
= 0;
22717 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22718 wxToolBarBase
*result
= 0 ;
22721 PyObject
*swig_obj
[1] ;
22723 if (!args
) SWIG_fail
;
22724 swig_obj
[0] = args
;
22725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22726 if (!SWIG_IsOK(res1
)) {
22727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22729 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22732 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22733 wxPyEndAllowThreads(__tstate
);
22734 if (PyErr_Occurred()) SWIG_fail
;
22737 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22745 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22746 PyObject
*resultobj
= 0;
22747 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22750 PyObject
*swig_obj
[1] ;
22752 if (!args
) SWIG_fail
;
22753 swig_obj
[0] = args
;
22754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22755 if (!SWIG_IsOK(res1
)) {
22756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22758 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22762 wxPyEndAllowThreads(__tstate
);
22763 if (PyErr_Occurred()) SWIG_fail
;
22765 resultobj
= SWIG_Py_Void();
22772 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22774 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22775 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22776 return SWIG_Py_Void();
22779 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22780 return SWIG_Python_InitShadowInstance(args
);
22783 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22784 PyObject
*resultobj
= 0;
22785 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22786 int arg2
= (int) 0 ;
22787 int arg3
= (int) wxNOT_FOUND
;
22788 int arg4
= (int) wxNOT_FOUND
;
22789 wxToolbookEvent
*result
= 0 ;
22798 PyObject
* obj0
= 0 ;
22799 PyObject
* obj1
= 0 ;
22800 PyObject
* obj2
= 0 ;
22801 PyObject
* obj3
= 0 ;
22802 char * kwnames
[] = {
22803 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22808 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22809 if (!SWIG_IsOK(ecode1
)) {
22810 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22812 arg1
= static_cast< wxEventType
>(val1
);
22815 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22816 if (!SWIG_IsOK(ecode2
)) {
22817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22819 arg2
= static_cast< int >(val2
);
22822 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22823 if (!SWIG_IsOK(ecode3
)) {
22824 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22826 arg3
= static_cast< int >(val3
);
22829 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22830 if (!SWIG_IsOK(ecode4
)) {
22831 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22833 arg4
= static_cast< int >(val4
);
22836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22837 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22838 wxPyEndAllowThreads(__tstate
);
22839 if (PyErr_Occurred()) SWIG_fail
;
22841 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22848 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22850 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22851 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22852 return SWIG_Py_Void();
22855 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22856 return SWIG_Python_InitShadowInstance(args
);
22859 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22860 PyObject
*resultobj
= 0;
22861 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22865 PyObject
*swig_obj
[1] ;
22867 if (!args
) SWIG_fail
;
22868 swig_obj
[0] = args
;
22869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22870 if (!SWIG_IsOK(res1
)) {
22871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22873 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22876 result
= (int)(arg1
)->GetId();
22877 wxPyEndAllowThreads(__tstate
);
22878 if (PyErr_Occurred()) SWIG_fail
;
22880 resultobj
= SWIG_From_int(static_cast< int >(result
));
22887 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22888 PyObject
*resultobj
= 0;
22889 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22890 wxControl
*result
= 0 ;
22893 PyObject
*swig_obj
[1] ;
22895 if (!args
) SWIG_fail
;
22896 swig_obj
[0] = args
;
22897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22898 if (!SWIG_IsOK(res1
)) {
22899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22901 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22904 result
= (wxControl
*)(arg1
)->GetControl();
22905 wxPyEndAllowThreads(__tstate
);
22906 if (PyErr_Occurred()) SWIG_fail
;
22909 resultobj
= wxPyMake_wxObject(result
, 0);
22917 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22918 PyObject
*resultobj
= 0;
22919 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22920 wxToolBarBase
*result
= 0 ;
22923 PyObject
*swig_obj
[1] ;
22925 if (!args
) SWIG_fail
;
22926 swig_obj
[0] = args
;
22927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22928 if (!SWIG_IsOK(res1
)) {
22929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22931 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22934 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22935 wxPyEndAllowThreads(__tstate
);
22936 if (PyErr_Occurred()) SWIG_fail
;
22939 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22947 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22948 PyObject
*resultobj
= 0;
22949 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22953 PyObject
*swig_obj
[1] ;
22955 if (!args
) SWIG_fail
;
22956 swig_obj
[0] = args
;
22957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22958 if (!SWIG_IsOK(res1
)) {
22959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22961 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22964 result
= (int)(arg1
)->IsButton();
22965 wxPyEndAllowThreads(__tstate
);
22966 if (PyErr_Occurred()) SWIG_fail
;
22968 resultobj
= SWIG_From_int(static_cast< int >(result
));
22975 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22976 PyObject
*resultobj
= 0;
22977 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22981 PyObject
*swig_obj
[1] ;
22983 if (!args
) SWIG_fail
;
22984 swig_obj
[0] = args
;
22985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22986 if (!SWIG_IsOK(res1
)) {
22987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22989 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22992 result
= (int)(arg1
)->IsControl();
22993 wxPyEndAllowThreads(__tstate
);
22994 if (PyErr_Occurred()) SWIG_fail
;
22996 resultobj
= SWIG_From_int(static_cast< int >(result
));
23003 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23004 PyObject
*resultobj
= 0;
23005 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23009 PyObject
*swig_obj
[1] ;
23011 if (!args
) SWIG_fail
;
23012 swig_obj
[0] = args
;
23013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23014 if (!SWIG_IsOK(res1
)) {
23015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23017 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23020 result
= (int)(arg1
)->IsSeparator();
23021 wxPyEndAllowThreads(__tstate
);
23022 if (PyErr_Occurred()) SWIG_fail
;
23024 resultobj
= SWIG_From_int(static_cast< int >(result
));
23031 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23032 PyObject
*resultobj
= 0;
23033 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23037 PyObject
*swig_obj
[1] ;
23039 if (!args
) SWIG_fail
;
23040 swig_obj
[0] = args
;
23041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23042 if (!SWIG_IsOK(res1
)) {
23043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23045 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23048 result
= (int)(arg1
)->GetStyle();
23049 wxPyEndAllowThreads(__tstate
);
23050 if (PyErr_Occurred()) SWIG_fail
;
23052 resultobj
= SWIG_From_int(static_cast< int >(result
));
23059 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23060 PyObject
*resultobj
= 0;
23061 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23065 PyObject
*swig_obj
[1] ;
23067 if (!args
) SWIG_fail
;
23068 swig_obj
[0] = args
;
23069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23070 if (!SWIG_IsOK(res1
)) {
23071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23073 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23076 result
= (wxItemKind
)(arg1
)->GetKind();
23077 wxPyEndAllowThreads(__tstate
);
23078 if (PyErr_Occurred()) SWIG_fail
;
23080 resultobj
= SWIG_From_int(static_cast< int >(result
));
23087 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23088 PyObject
*resultobj
= 0;
23089 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23093 PyObject
*swig_obj
[1] ;
23095 if (!args
) SWIG_fail
;
23096 swig_obj
[0] = args
;
23097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23098 if (!SWIG_IsOK(res1
)) {
23099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23101 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23104 result
= (bool)(arg1
)->IsEnabled();
23105 wxPyEndAllowThreads(__tstate
);
23106 if (PyErr_Occurred()) SWIG_fail
;
23109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23117 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23118 PyObject
*resultobj
= 0;
23119 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23123 PyObject
*swig_obj
[1] ;
23125 if (!args
) SWIG_fail
;
23126 swig_obj
[0] = args
;
23127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23128 if (!SWIG_IsOK(res1
)) {
23129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23131 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23134 result
= (bool)(arg1
)->IsToggled();
23135 wxPyEndAllowThreads(__tstate
);
23136 if (PyErr_Occurred()) SWIG_fail
;
23139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23147 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23148 PyObject
*resultobj
= 0;
23149 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23153 PyObject
*swig_obj
[1] ;
23155 if (!args
) SWIG_fail
;
23156 swig_obj
[0] = args
;
23157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23158 if (!SWIG_IsOK(res1
)) {
23159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23161 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23164 result
= (bool)(arg1
)->CanBeToggled();
23165 wxPyEndAllowThreads(__tstate
);
23166 if (PyErr_Occurred()) SWIG_fail
;
23169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23177 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23178 PyObject
*resultobj
= 0;
23179 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23180 wxBitmap
*result
= 0 ;
23183 PyObject
*swig_obj
[1] ;
23185 if (!args
) SWIG_fail
;
23186 swig_obj
[0] = args
;
23187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23188 if (!SWIG_IsOK(res1
)) {
23189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23191 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23195 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
23196 result
= (wxBitmap
*) &_result_ref
;
23198 wxPyEndAllowThreads(__tstate
);
23199 if (PyErr_Occurred()) SWIG_fail
;
23202 wxBitmap
* resultptr
= new wxBitmap(*result
);
23203 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23211 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23212 PyObject
*resultobj
= 0;
23213 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23214 wxBitmap
*result
= 0 ;
23217 PyObject
*swig_obj
[1] ;
23219 if (!args
) SWIG_fail
;
23220 swig_obj
[0] = args
;
23221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23222 if (!SWIG_IsOK(res1
)) {
23223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23225 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23229 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
23230 result
= (wxBitmap
*) &_result_ref
;
23232 wxPyEndAllowThreads(__tstate
);
23233 if (PyErr_Occurred()) SWIG_fail
;
23236 wxBitmap
* resultptr
= new wxBitmap(*result
);
23237 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23245 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23246 PyObject
*resultobj
= 0;
23247 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23251 PyObject
*swig_obj
[1] ;
23253 if (!args
) SWIG_fail
;
23254 swig_obj
[0] = args
;
23255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23256 if (!SWIG_IsOK(res1
)) {
23257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23259 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23262 result
= (arg1
)->GetBitmap();
23263 wxPyEndAllowThreads(__tstate
);
23264 if (PyErr_Occurred()) SWIG_fail
;
23266 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
23273 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23274 PyObject
*resultobj
= 0;
23275 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23279 PyObject
*swig_obj
[1] ;
23281 if (!args
) SWIG_fail
;
23282 swig_obj
[0] = args
;
23283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23284 if (!SWIG_IsOK(res1
)) {
23285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23287 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23290 result
= (arg1
)->GetLabel();
23291 wxPyEndAllowThreads(__tstate
);
23292 if (PyErr_Occurred()) SWIG_fail
;
23296 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23298 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23307 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23308 PyObject
*resultobj
= 0;
23309 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23313 PyObject
*swig_obj
[1] ;
23315 if (!args
) SWIG_fail
;
23316 swig_obj
[0] = args
;
23317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23318 if (!SWIG_IsOK(res1
)) {
23319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23321 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23324 result
= (arg1
)->GetShortHelp();
23325 wxPyEndAllowThreads(__tstate
);
23326 if (PyErr_Occurred()) SWIG_fail
;
23330 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23332 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23341 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23342 PyObject
*resultobj
= 0;
23343 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23347 PyObject
*swig_obj
[1] ;
23349 if (!args
) SWIG_fail
;
23350 swig_obj
[0] = args
;
23351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23352 if (!SWIG_IsOK(res1
)) {
23353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23355 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23358 result
= (arg1
)->GetLongHelp();
23359 wxPyEndAllowThreads(__tstate
);
23360 if (PyErr_Occurred()) SWIG_fail
;
23364 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23366 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23375 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23376 PyObject
*resultobj
= 0;
23377 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23384 PyObject
* obj0
= 0 ;
23385 PyObject
* obj1
= 0 ;
23386 char * kwnames
[] = {
23387 (char *) "self",(char *) "enable", NULL
23390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23392 if (!SWIG_IsOK(res1
)) {
23393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23395 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23396 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23397 if (!SWIG_IsOK(ecode2
)) {
23398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23400 arg2
= static_cast< bool >(val2
);
23402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23403 result
= (bool)(arg1
)->Enable(arg2
);
23404 wxPyEndAllowThreads(__tstate
);
23405 if (PyErr_Occurred()) SWIG_fail
;
23408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23416 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23417 PyObject
*resultobj
= 0;
23418 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23421 PyObject
*swig_obj
[1] ;
23423 if (!args
) SWIG_fail
;
23424 swig_obj
[0] = args
;
23425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23426 if (!SWIG_IsOK(res1
)) {
23427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23429 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23433 wxPyEndAllowThreads(__tstate
);
23434 if (PyErr_Occurred()) SWIG_fail
;
23436 resultobj
= SWIG_Py_Void();
23443 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23444 PyObject
*resultobj
= 0;
23445 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23452 PyObject
* obj0
= 0 ;
23453 PyObject
* obj1
= 0 ;
23454 char * kwnames
[] = {
23455 (char *) "self",(char *) "toggle", NULL
23458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23460 if (!SWIG_IsOK(res1
)) {
23461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23463 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23464 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23465 if (!SWIG_IsOK(ecode2
)) {
23466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23468 arg2
= static_cast< bool >(val2
);
23470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23471 result
= (bool)(arg1
)->SetToggle(arg2
);
23472 wxPyEndAllowThreads(__tstate
);
23473 if (PyErr_Occurred()) SWIG_fail
;
23476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23484 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23485 PyObject
*resultobj
= 0;
23486 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23487 wxString
*arg2
= 0 ;
23491 bool temp2
= false ;
23492 PyObject
* obj0
= 0 ;
23493 PyObject
* obj1
= 0 ;
23494 char * kwnames
[] = {
23495 (char *) "self",(char *) "help", NULL
23498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23500 if (!SWIG_IsOK(res1
)) {
23501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23503 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23505 arg2
= wxString_in_helper(obj1
);
23506 if (arg2
== NULL
) SWIG_fail
;
23510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23511 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23512 wxPyEndAllowThreads(__tstate
);
23513 if (PyErr_Occurred()) SWIG_fail
;
23516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23532 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23533 PyObject
*resultobj
= 0;
23534 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23535 wxString
*arg2
= 0 ;
23539 bool temp2
= false ;
23540 PyObject
* obj0
= 0 ;
23541 PyObject
* obj1
= 0 ;
23542 char * kwnames
[] = {
23543 (char *) "self",(char *) "help", NULL
23546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23548 if (!SWIG_IsOK(res1
)) {
23549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23551 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23553 arg2
= wxString_in_helper(obj1
);
23554 if (arg2
== NULL
) SWIG_fail
;
23558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23559 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23560 wxPyEndAllowThreads(__tstate
);
23561 if (PyErr_Occurred()) SWIG_fail
;
23564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23580 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23581 PyObject
*resultobj
= 0;
23582 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23583 wxBitmap
*arg2
= 0 ;
23588 PyObject
* obj0
= 0 ;
23589 PyObject
* obj1
= 0 ;
23590 char * kwnames
[] = {
23591 (char *) "self",(char *) "bmp", NULL
23594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23596 if (!SWIG_IsOK(res1
)) {
23597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23599 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23600 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23601 if (!SWIG_IsOK(res2
)) {
23602 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23605 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23607 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23610 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23611 wxPyEndAllowThreads(__tstate
);
23612 if (PyErr_Occurred()) SWIG_fail
;
23614 resultobj
= SWIG_Py_Void();
23621 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23622 PyObject
*resultobj
= 0;
23623 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23624 wxBitmap
*arg2
= 0 ;
23629 PyObject
* obj0
= 0 ;
23630 PyObject
* obj1
= 0 ;
23631 char * kwnames
[] = {
23632 (char *) "self",(char *) "bmp", NULL
23635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23637 if (!SWIG_IsOK(res1
)) {
23638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23640 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23641 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23642 if (!SWIG_IsOK(res2
)) {
23643 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23646 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23648 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23651 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23652 wxPyEndAllowThreads(__tstate
);
23653 if (PyErr_Occurred()) SWIG_fail
;
23655 resultobj
= SWIG_Py_Void();
23662 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23663 PyObject
*resultobj
= 0;
23664 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23665 wxString
*arg2
= 0 ;
23668 bool temp2
= false ;
23669 PyObject
* obj0
= 0 ;
23670 PyObject
* obj1
= 0 ;
23671 char * kwnames
[] = {
23672 (char *) "self",(char *) "label", NULL
23675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23677 if (!SWIG_IsOK(res1
)) {
23678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23680 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23682 arg2
= wxString_in_helper(obj1
);
23683 if (arg2
== NULL
) SWIG_fail
;
23687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23688 (arg1
)->SetLabel((wxString
const &)*arg2
);
23689 wxPyEndAllowThreads(__tstate
);
23690 if (PyErr_Occurred()) SWIG_fail
;
23692 resultobj
= SWIG_Py_Void();
23707 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23708 PyObject
*resultobj
= 0;
23709 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23712 PyObject
*swig_obj
[1] ;
23714 if (!args
) SWIG_fail
;
23715 swig_obj
[0] = args
;
23716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23717 if (!SWIG_IsOK(res1
)) {
23718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23720 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23724 wxPyEndAllowThreads(__tstate
);
23725 if (PyErr_Occurred()) SWIG_fail
;
23727 resultobj
= SWIG_Py_Void();
23734 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23735 PyObject
*resultobj
= 0;
23736 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23737 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23742 PyObject
* obj0
= 0 ;
23743 PyObject
* obj1
= 0 ;
23744 char * kwnames
[] = {
23745 (char *) "self",(char *) "tbar", NULL
23748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23750 if (!SWIG_IsOK(res1
)) {
23751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23753 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23754 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23755 if (!SWIG_IsOK(res2
)) {
23756 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23758 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23761 (arg1
)->Attach(arg2
);
23762 wxPyEndAllowThreads(__tstate
);
23763 if (PyErr_Occurred()) SWIG_fail
;
23765 resultobj
= SWIG_Py_Void();
23772 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23773 PyObject
*resultobj
= 0;
23774 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23775 PyObject
*result
= 0 ;
23778 PyObject
*swig_obj
[1] ;
23780 if (!args
) SWIG_fail
;
23781 swig_obj
[0] = args
;
23782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23783 if (!SWIG_IsOK(res1
)) {
23784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23786 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23789 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23790 wxPyEndAllowThreads(__tstate
);
23791 if (PyErr_Occurred()) SWIG_fail
;
23793 resultobj
= result
;
23800 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23801 PyObject
*resultobj
= 0;
23802 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23803 PyObject
*arg2
= (PyObject
*) 0 ;
23806 PyObject
* obj0
= 0 ;
23807 PyObject
* obj1
= 0 ;
23808 char * kwnames
[] = {
23809 (char *) "self",(char *) "clientData", NULL
23812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23814 if (!SWIG_IsOK(res1
)) {
23815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23817 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23821 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23822 wxPyEndAllowThreads(__tstate
);
23823 if (PyErr_Occurred()) SWIG_fail
;
23825 resultobj
= SWIG_Py_Void();
23832 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23834 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23835 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23836 return SWIG_Py_Void();
23839 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23840 PyObject
*resultobj
= 0;
23841 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23843 wxString
*arg3
= 0 ;
23844 wxBitmap
*arg4
= 0 ;
23845 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23846 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23847 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23848 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23849 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23850 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23851 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23852 PyObject
*arg9
= (PyObject
*) NULL
;
23853 wxToolBarToolBase
*result
= 0 ;
23858 bool temp3
= false ;
23865 bool temp7
= false ;
23866 bool temp8
= false ;
23867 PyObject
* obj0
= 0 ;
23868 PyObject
* obj1
= 0 ;
23869 PyObject
* obj2
= 0 ;
23870 PyObject
* obj3
= 0 ;
23871 PyObject
* obj4
= 0 ;
23872 PyObject
* obj5
= 0 ;
23873 PyObject
* obj6
= 0 ;
23874 PyObject
* obj7
= 0 ;
23875 PyObject
* obj8
= 0 ;
23876 char * kwnames
[] = {
23877 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23882 if (!SWIG_IsOK(res1
)) {
23883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23885 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23887 if (!SWIG_IsOK(ecode2
)) {
23888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23890 arg2
= static_cast< int >(val2
);
23892 arg3
= wxString_in_helper(obj2
);
23893 if (arg3
== NULL
) SWIG_fail
;
23896 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23897 if (!SWIG_IsOK(res4
)) {
23898 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23901 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23903 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23905 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23906 if (!SWIG_IsOK(res5
)) {
23907 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23910 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23912 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23915 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23916 if (!SWIG_IsOK(ecode6
)) {
23917 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23919 arg6
= static_cast< wxItemKind
>(val6
);
23923 arg7
= wxString_in_helper(obj6
);
23924 if (arg7
== NULL
) SWIG_fail
;
23930 arg8
= wxString_in_helper(obj7
);
23931 if (arg8
== NULL
) SWIG_fail
;
23939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23940 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23941 wxPyEndAllowThreads(__tstate
);
23942 if (PyErr_Occurred()) SWIG_fail
;
23945 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23977 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23978 PyObject
*resultobj
= 0;
23979 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23982 wxString
*arg4
= 0 ;
23983 wxBitmap
*arg5
= 0 ;
23984 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23985 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23986 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23987 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23988 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23989 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23990 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23991 PyObject
*arg10
= (PyObject
*) NULL
;
23992 wxToolBarToolBase
*result
= 0 ;
23999 bool temp4
= false ;
24006 bool temp8
= false ;
24007 bool temp9
= false ;
24008 PyObject
* obj0
= 0 ;
24009 PyObject
* obj1
= 0 ;
24010 PyObject
* obj2
= 0 ;
24011 PyObject
* obj3
= 0 ;
24012 PyObject
* obj4
= 0 ;
24013 PyObject
* obj5
= 0 ;
24014 PyObject
* obj6
= 0 ;
24015 PyObject
* obj7
= 0 ;
24016 PyObject
* obj8
= 0 ;
24017 PyObject
* obj9
= 0 ;
24018 char * kwnames
[] = {
24019 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
24022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
24023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24024 if (!SWIG_IsOK(res1
)) {
24025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24027 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24028 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24029 if (!SWIG_IsOK(ecode2
)) {
24030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
24032 arg2
= static_cast< size_t >(val2
);
24033 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24034 if (!SWIG_IsOK(ecode3
)) {
24035 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
24037 arg3
= static_cast< int >(val3
);
24039 arg4
= wxString_in_helper(obj3
);
24040 if (arg4
== NULL
) SWIG_fail
;
24043 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24044 if (!SWIG_IsOK(res5
)) {
24045 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24048 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24050 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
24052 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24053 if (!SWIG_IsOK(res6
)) {
24054 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24057 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24059 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
24062 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24063 if (!SWIG_IsOK(ecode7
)) {
24064 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
24066 arg7
= static_cast< wxItemKind
>(val7
);
24070 arg8
= wxString_in_helper(obj7
);
24071 if (arg8
== NULL
) SWIG_fail
;
24077 arg9
= wxString_in_helper(obj8
);
24078 if (arg9
== NULL
) SWIG_fail
;
24086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24087 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
24088 wxPyEndAllowThreads(__tstate
);
24089 if (PyErr_Occurred()) SWIG_fail
;
24092 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24124 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24125 PyObject
*resultobj
= 0;
24126 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24127 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
24128 wxToolBarToolBase
*result
= 0 ;
24133 PyObject
* obj0
= 0 ;
24134 PyObject
* obj1
= 0 ;
24135 char * kwnames
[] = {
24136 (char *) "self",(char *) "tool", NULL
24139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24141 if (!SWIG_IsOK(res1
)) {
24142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24144 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24145 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24146 if (!SWIG_IsOK(res2
)) {
24147 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24149 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
24151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24152 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
24153 wxPyEndAllowThreads(__tstate
);
24154 if (PyErr_Occurred()) SWIG_fail
;
24157 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24165 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24166 PyObject
*resultobj
= 0;
24167 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24169 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
24170 wxToolBarToolBase
*result
= 0 ;
24177 PyObject
* obj0
= 0 ;
24178 PyObject
* obj1
= 0 ;
24179 PyObject
* obj2
= 0 ;
24180 char * kwnames
[] = {
24181 (char *) "self",(char *) "pos",(char *) "tool", NULL
24184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24186 if (!SWIG_IsOK(res1
)) {
24187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24189 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24190 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24191 if (!SWIG_IsOK(ecode2
)) {
24192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24194 arg2
= static_cast< size_t >(val2
);
24195 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24196 if (!SWIG_IsOK(res3
)) {
24197 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24199 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
24201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24202 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
24203 wxPyEndAllowThreads(__tstate
);
24204 if (PyErr_Occurred()) SWIG_fail
;
24207 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24215 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24216 PyObject
*resultobj
= 0;
24217 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24218 wxControl
*arg2
= (wxControl
*) 0 ;
24219 wxToolBarToolBase
*result
= 0 ;
24224 PyObject
* obj0
= 0 ;
24225 PyObject
* obj1
= 0 ;
24226 char * kwnames
[] = {
24227 (char *) "self",(char *) "control", NULL
24230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24232 if (!SWIG_IsOK(res1
)) {
24233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24235 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24236 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
24237 if (!SWIG_IsOK(res2
)) {
24238 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24240 arg2
= reinterpret_cast< wxControl
* >(argp2
);
24242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24243 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
24244 wxPyEndAllowThreads(__tstate
);
24245 if (PyErr_Occurred()) SWIG_fail
;
24248 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24256 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24257 PyObject
*resultobj
= 0;
24258 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24260 wxControl
*arg3
= (wxControl
*) 0 ;
24261 wxToolBarToolBase
*result
= 0 ;
24268 PyObject
* obj0
= 0 ;
24269 PyObject
* obj1
= 0 ;
24270 PyObject
* obj2
= 0 ;
24271 char * kwnames
[] = {
24272 (char *) "self",(char *) "pos",(char *) "control", NULL
24275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24277 if (!SWIG_IsOK(res1
)) {
24278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24280 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24281 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24282 if (!SWIG_IsOK(ecode2
)) {
24283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24285 arg2
= static_cast< size_t >(val2
);
24286 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
24287 if (!SWIG_IsOK(res3
)) {
24288 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24290 arg3
= reinterpret_cast< wxControl
* >(argp3
);
24292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24293 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
24294 wxPyEndAllowThreads(__tstate
);
24295 if (PyErr_Occurred()) SWIG_fail
;
24298 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24306 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24307 PyObject
*resultobj
= 0;
24308 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24310 wxControl
*result
= 0 ;
24315 PyObject
* obj0
= 0 ;
24316 PyObject
* obj1
= 0 ;
24317 char * kwnames
[] = {
24318 (char *) "self",(char *) "id", NULL
24321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24323 if (!SWIG_IsOK(res1
)) {
24324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24326 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24328 if (!SWIG_IsOK(ecode2
)) {
24329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24331 arg2
= static_cast< int >(val2
);
24333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24334 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24335 wxPyEndAllowThreads(__tstate
);
24336 if (PyErr_Occurred()) SWIG_fail
;
24339 resultobj
= wxPyMake_wxObject(result
, 0);
24347 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24348 PyObject
*resultobj
= 0;
24349 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24350 wxToolBarToolBase
*result
= 0 ;
24353 PyObject
*swig_obj
[1] ;
24355 if (!args
) SWIG_fail
;
24356 swig_obj
[0] = args
;
24357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24358 if (!SWIG_IsOK(res1
)) {
24359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24361 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24364 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24365 wxPyEndAllowThreads(__tstate
);
24366 if (PyErr_Occurred()) SWIG_fail
;
24369 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24377 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24378 PyObject
*resultobj
= 0;
24379 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24381 wxToolBarToolBase
*result
= 0 ;
24386 PyObject
* obj0
= 0 ;
24387 PyObject
* obj1
= 0 ;
24388 char * kwnames
[] = {
24389 (char *) "self",(char *) "pos", NULL
24392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24394 if (!SWIG_IsOK(res1
)) {
24395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24397 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24398 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24399 if (!SWIG_IsOK(ecode2
)) {
24400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24402 arg2
= static_cast< size_t >(val2
);
24404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24405 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24406 wxPyEndAllowThreads(__tstate
);
24407 if (PyErr_Occurred()) SWIG_fail
;
24410 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24418 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24419 PyObject
*resultobj
= 0;
24420 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24422 wxToolBarToolBase
*result
= 0 ;
24427 PyObject
* obj0
= 0 ;
24428 PyObject
* obj1
= 0 ;
24429 char * kwnames
[] = {
24430 (char *) "self",(char *) "id", NULL
24433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24435 if (!SWIG_IsOK(res1
)) {
24436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24438 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24440 if (!SWIG_IsOK(ecode2
)) {
24441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24443 arg2
= static_cast< int >(val2
);
24445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24446 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24447 wxPyEndAllowThreads(__tstate
);
24448 if (PyErr_Occurred()) SWIG_fail
;
24451 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24459 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24460 PyObject
*resultobj
= 0;
24461 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24468 PyObject
* obj0
= 0 ;
24469 PyObject
* obj1
= 0 ;
24470 char * kwnames
[] = {
24471 (char *) "self",(char *) "pos", NULL
24474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24476 if (!SWIG_IsOK(res1
)) {
24477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24479 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24480 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24481 if (!SWIG_IsOK(ecode2
)) {
24482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24484 arg2
= static_cast< size_t >(val2
);
24486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24487 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24488 wxPyEndAllowThreads(__tstate
);
24489 if (PyErr_Occurred()) SWIG_fail
;
24492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24500 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24501 PyObject
*resultobj
= 0;
24502 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24509 PyObject
* obj0
= 0 ;
24510 PyObject
* obj1
= 0 ;
24511 char * kwnames
[] = {
24512 (char *) "self",(char *) "id", NULL
24515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24517 if (!SWIG_IsOK(res1
)) {
24518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24520 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24522 if (!SWIG_IsOK(ecode2
)) {
24523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24525 arg2
= static_cast< int >(val2
);
24527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24528 result
= (bool)(arg1
)->DeleteTool(arg2
);
24529 wxPyEndAllowThreads(__tstate
);
24530 if (PyErr_Occurred()) SWIG_fail
;
24533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24541 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24542 PyObject
*resultobj
= 0;
24543 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24546 PyObject
*swig_obj
[1] ;
24548 if (!args
) SWIG_fail
;
24549 swig_obj
[0] = args
;
24550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24551 if (!SWIG_IsOK(res1
)) {
24552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24554 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24557 (arg1
)->ClearTools();
24558 wxPyEndAllowThreads(__tstate
);
24559 if (PyErr_Occurred()) SWIG_fail
;
24561 resultobj
= SWIG_Py_Void();
24568 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24569 PyObject
*resultobj
= 0;
24570 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24574 PyObject
*swig_obj
[1] ;
24576 if (!args
) SWIG_fail
;
24577 swig_obj
[0] = args
;
24578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24579 if (!SWIG_IsOK(res1
)) {
24580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24582 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24585 result
= (bool)(arg1
)->Realize();
24586 wxPyEndAllowThreads(__tstate
);
24587 if (PyErr_Occurred()) SWIG_fail
;
24590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24598 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24599 PyObject
*resultobj
= 0;
24600 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24609 PyObject
* obj0
= 0 ;
24610 PyObject
* obj1
= 0 ;
24611 PyObject
* obj2
= 0 ;
24612 char * kwnames
[] = {
24613 (char *) "self",(char *) "id",(char *) "enable", NULL
24616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24618 if (!SWIG_IsOK(res1
)) {
24619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24621 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24623 if (!SWIG_IsOK(ecode2
)) {
24624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24626 arg2
= static_cast< int >(val2
);
24627 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24628 if (!SWIG_IsOK(ecode3
)) {
24629 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24631 arg3
= static_cast< bool >(val3
);
24633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24634 (arg1
)->EnableTool(arg2
,arg3
);
24635 wxPyEndAllowThreads(__tstate
);
24636 if (PyErr_Occurred()) SWIG_fail
;
24638 resultobj
= SWIG_Py_Void();
24645 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24646 PyObject
*resultobj
= 0;
24647 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24656 PyObject
* obj0
= 0 ;
24657 PyObject
* obj1
= 0 ;
24658 PyObject
* obj2
= 0 ;
24659 char * kwnames
[] = {
24660 (char *) "self",(char *) "id",(char *) "toggle", NULL
24663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24665 if (!SWIG_IsOK(res1
)) {
24666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24668 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24669 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24670 if (!SWIG_IsOK(ecode2
)) {
24671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24673 arg2
= static_cast< int >(val2
);
24674 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24675 if (!SWIG_IsOK(ecode3
)) {
24676 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24678 arg3
= static_cast< bool >(val3
);
24680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24681 (arg1
)->ToggleTool(arg2
,arg3
);
24682 wxPyEndAllowThreads(__tstate
);
24683 if (PyErr_Occurred()) SWIG_fail
;
24685 resultobj
= SWIG_Py_Void();
24692 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24693 PyObject
*resultobj
= 0;
24694 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24703 PyObject
* obj0
= 0 ;
24704 PyObject
* obj1
= 0 ;
24705 PyObject
* obj2
= 0 ;
24706 char * kwnames
[] = {
24707 (char *) "self",(char *) "id",(char *) "toggle", NULL
24710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) 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_SetToggle" "', 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_SetToggle" "', expected argument " "2"" of type '" "int""'");
24720 arg2
= static_cast< int >(val2
);
24721 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24722 if (!SWIG_IsOK(ecode3
)) {
24723 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24725 arg3
= static_cast< bool >(val3
);
24727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24728 (arg1
)->SetToggle(arg2
,arg3
);
24729 wxPyEndAllowThreads(__tstate
);
24730 if (PyErr_Occurred()) SWIG_fail
;
24732 resultobj
= SWIG_Py_Void();
24739 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24740 PyObject
*resultobj
= 0;
24741 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24743 PyObject
*result
= 0 ;
24748 PyObject
* obj0
= 0 ;
24749 PyObject
* obj1
= 0 ;
24750 char * kwnames
[] = {
24751 (char *) "self",(char *) "id", NULL
24754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24756 if (!SWIG_IsOK(res1
)) {
24757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24759 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24760 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24761 if (!SWIG_IsOK(ecode2
)) {
24762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24764 arg2
= static_cast< int >(val2
);
24766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24767 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24768 wxPyEndAllowThreads(__tstate
);
24769 if (PyErr_Occurred()) SWIG_fail
;
24771 resultobj
= result
;
24778 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24779 PyObject
*resultobj
= 0;
24780 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24782 PyObject
*arg3
= (PyObject
*) 0 ;
24787 PyObject
* obj0
= 0 ;
24788 PyObject
* obj1
= 0 ;
24789 PyObject
* obj2
= 0 ;
24790 char * kwnames
[] = {
24791 (char *) "self",(char *) "id",(char *) "clientData", NULL
24794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24796 if (!SWIG_IsOK(res1
)) {
24797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24799 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24800 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24801 if (!SWIG_IsOK(ecode2
)) {
24802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24804 arg2
= static_cast< int >(val2
);
24807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24808 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24809 wxPyEndAllowThreads(__tstate
);
24810 if (PyErr_Occurred()) SWIG_fail
;
24812 resultobj
= SWIG_Py_Void();
24819 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24820 PyObject
*resultobj
= 0;
24821 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24828 PyObject
* obj0
= 0 ;
24829 PyObject
* obj1
= 0 ;
24830 char * kwnames
[] = {
24831 (char *) "self",(char *) "id", NULL
24834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24836 if (!SWIG_IsOK(res1
)) {
24837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24839 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24840 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24841 if (!SWIG_IsOK(ecode2
)) {
24842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24844 arg2
= static_cast< int >(val2
);
24846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24847 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24848 wxPyEndAllowThreads(__tstate
);
24849 if (PyErr_Occurred()) SWIG_fail
;
24851 resultobj
= SWIG_From_int(static_cast< int >(result
));
24858 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24859 PyObject
*resultobj
= 0;
24860 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24867 PyObject
* obj0
= 0 ;
24868 PyObject
* obj1
= 0 ;
24869 char * kwnames
[] = {
24870 (char *) "self",(char *) "id", NULL
24873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24875 if (!SWIG_IsOK(res1
)) {
24876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24878 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24879 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24880 if (!SWIG_IsOK(ecode2
)) {
24881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24883 arg2
= static_cast< int >(val2
);
24885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24886 result
= (bool)(arg1
)->GetToolState(arg2
);
24887 wxPyEndAllowThreads(__tstate
);
24888 if (PyErr_Occurred()) SWIG_fail
;
24891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24899 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24900 PyObject
*resultobj
= 0;
24901 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24908 PyObject
* obj0
= 0 ;
24909 PyObject
* obj1
= 0 ;
24910 char * kwnames
[] = {
24911 (char *) "self",(char *) "id", NULL
24914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24916 if (!SWIG_IsOK(res1
)) {
24917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24919 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24920 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24921 if (!SWIG_IsOK(ecode2
)) {
24922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24924 arg2
= static_cast< int >(val2
);
24926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24927 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24928 wxPyEndAllowThreads(__tstate
);
24929 if (PyErr_Occurred()) SWIG_fail
;
24932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24940 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24941 PyObject
*resultobj
= 0;
24942 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24944 wxString
*arg3
= 0 ;
24949 bool temp3
= false ;
24950 PyObject
* obj0
= 0 ;
24951 PyObject
* obj1
= 0 ;
24952 PyObject
* obj2
= 0 ;
24953 char * kwnames
[] = {
24954 (char *) "self",(char *) "id",(char *) "helpString", NULL
24957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24959 if (!SWIG_IsOK(res1
)) {
24960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24962 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24963 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24964 if (!SWIG_IsOK(ecode2
)) {
24965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24967 arg2
= static_cast< int >(val2
);
24969 arg3
= wxString_in_helper(obj2
);
24970 if (arg3
== NULL
) SWIG_fail
;
24974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24975 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24976 wxPyEndAllowThreads(__tstate
);
24977 if (PyErr_Occurred()) SWIG_fail
;
24979 resultobj
= SWIG_Py_Void();
24994 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24995 PyObject
*resultobj
= 0;
24996 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25003 PyObject
* obj0
= 0 ;
25004 PyObject
* obj1
= 0 ;
25005 char * kwnames
[] = {
25006 (char *) "self",(char *) "id", NULL
25009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25011 if (!SWIG_IsOK(res1
)) {
25012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25014 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25015 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25016 if (!SWIG_IsOK(ecode2
)) {
25017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25019 arg2
= static_cast< int >(val2
);
25021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25022 result
= (arg1
)->GetToolShortHelp(arg2
);
25023 wxPyEndAllowThreads(__tstate
);
25024 if (PyErr_Occurred()) SWIG_fail
;
25028 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25030 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25039 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25040 PyObject
*resultobj
= 0;
25041 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25043 wxString
*arg3
= 0 ;
25048 bool temp3
= false ;
25049 PyObject
* obj0
= 0 ;
25050 PyObject
* obj1
= 0 ;
25051 PyObject
* obj2
= 0 ;
25052 char * kwnames
[] = {
25053 (char *) "self",(char *) "id",(char *) "helpString", NULL
25056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25058 if (!SWIG_IsOK(res1
)) {
25059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25061 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25062 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25063 if (!SWIG_IsOK(ecode2
)) {
25064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25066 arg2
= static_cast< int >(val2
);
25068 arg3
= wxString_in_helper(obj2
);
25069 if (arg3
== NULL
) SWIG_fail
;
25073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25074 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
25075 wxPyEndAllowThreads(__tstate
);
25076 if (PyErr_Occurred()) SWIG_fail
;
25078 resultobj
= SWIG_Py_Void();
25093 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25094 PyObject
*resultobj
= 0;
25095 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25102 PyObject
* obj0
= 0 ;
25103 PyObject
* obj1
= 0 ;
25104 char * kwnames
[] = {
25105 (char *) "self",(char *) "id", NULL
25108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25110 if (!SWIG_IsOK(res1
)) {
25111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25113 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25114 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25115 if (!SWIG_IsOK(ecode2
)) {
25116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25118 arg2
= static_cast< int >(val2
);
25120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25121 result
= (arg1
)->GetToolLongHelp(arg2
);
25122 wxPyEndAllowThreads(__tstate
);
25123 if (PyErr_Occurred()) SWIG_fail
;
25127 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25129 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25138 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25139 PyObject
*resultobj
= 0;
25140 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25149 PyObject
* obj0
= 0 ;
25150 PyObject
* obj1
= 0 ;
25151 PyObject
* obj2
= 0 ;
25152 char * kwnames
[] = {
25153 (char *) "self",(char *) "x",(char *) "y", NULL
25156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25158 if (!SWIG_IsOK(res1
)) {
25159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25161 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25162 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25163 if (!SWIG_IsOK(ecode2
)) {
25164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25166 arg2
= static_cast< int >(val2
);
25167 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25168 if (!SWIG_IsOK(ecode3
)) {
25169 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25171 arg3
= static_cast< int >(val3
);
25173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25174 (arg1
)->SetMargins(arg2
,arg3
);
25175 wxPyEndAllowThreads(__tstate
);
25176 if (PyErr_Occurred()) SWIG_fail
;
25178 resultobj
= SWIG_Py_Void();
25185 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25186 PyObject
*resultobj
= 0;
25187 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25192 PyObject
* obj0
= 0 ;
25193 PyObject
* obj1
= 0 ;
25194 char * kwnames
[] = {
25195 (char *) "self",(char *) "size", NULL
25198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25200 if (!SWIG_IsOK(res1
)) {
25201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25203 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25206 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25210 (arg1
)->SetMargins((wxSize
const &)*arg2
);
25211 wxPyEndAllowThreads(__tstate
);
25212 if (PyErr_Occurred()) SWIG_fail
;
25214 resultobj
= SWIG_Py_Void();
25221 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25222 PyObject
*resultobj
= 0;
25223 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25229 PyObject
* obj0
= 0 ;
25230 PyObject
* obj1
= 0 ;
25231 char * kwnames
[] = {
25232 (char *) "self",(char *) "packing", NULL
25235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25237 if (!SWIG_IsOK(res1
)) {
25238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25240 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25241 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25242 if (!SWIG_IsOK(ecode2
)) {
25243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25245 arg2
= static_cast< int >(val2
);
25247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25248 (arg1
)->SetToolPacking(arg2
);
25249 wxPyEndAllowThreads(__tstate
);
25250 if (PyErr_Occurred()) SWIG_fail
;
25252 resultobj
= SWIG_Py_Void();
25259 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25260 PyObject
*resultobj
= 0;
25261 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25267 PyObject
* obj0
= 0 ;
25268 PyObject
* obj1
= 0 ;
25269 char * kwnames
[] = {
25270 (char *) "self",(char *) "separation", NULL
25273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25275 if (!SWIG_IsOK(res1
)) {
25276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25278 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25279 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25280 if (!SWIG_IsOK(ecode2
)) {
25281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25283 arg2
= static_cast< int >(val2
);
25285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25286 (arg1
)->SetToolSeparation(arg2
);
25287 wxPyEndAllowThreads(__tstate
);
25288 if (PyErr_Occurred()) SWIG_fail
;
25290 resultobj
= SWIG_Py_Void();
25297 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25298 PyObject
*resultobj
= 0;
25299 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25303 PyObject
*swig_obj
[1] ;
25305 if (!args
) SWIG_fail
;
25306 swig_obj
[0] = args
;
25307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25308 if (!SWIG_IsOK(res1
)) {
25309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25311 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25314 result
= (arg1
)->GetToolMargins();
25315 wxPyEndAllowThreads(__tstate
);
25316 if (PyErr_Occurred()) SWIG_fail
;
25318 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25325 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25326 PyObject
*resultobj
= 0;
25327 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25331 PyObject
*swig_obj
[1] ;
25333 if (!args
) SWIG_fail
;
25334 swig_obj
[0] = args
;
25335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25336 if (!SWIG_IsOK(res1
)) {
25337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25339 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25342 result
= (arg1
)->GetMargins();
25343 wxPyEndAllowThreads(__tstate
);
25344 if (PyErr_Occurred()) SWIG_fail
;
25346 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25353 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25354 PyObject
*resultobj
= 0;
25355 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25359 PyObject
*swig_obj
[1] ;
25361 if (!args
) SWIG_fail
;
25362 swig_obj
[0] = args
;
25363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25364 if (!SWIG_IsOK(res1
)) {
25365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25367 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25370 result
= (int)(arg1
)->GetToolPacking();
25371 wxPyEndAllowThreads(__tstate
);
25372 if (PyErr_Occurred()) SWIG_fail
;
25374 resultobj
= SWIG_From_int(static_cast< int >(result
));
25381 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25382 PyObject
*resultobj
= 0;
25383 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25387 PyObject
*swig_obj
[1] ;
25389 if (!args
) SWIG_fail
;
25390 swig_obj
[0] = args
;
25391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25392 if (!SWIG_IsOK(res1
)) {
25393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25395 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25398 result
= (int)(arg1
)->GetToolSeparation();
25399 wxPyEndAllowThreads(__tstate
);
25400 if (PyErr_Occurred()) SWIG_fail
;
25402 resultobj
= SWIG_From_int(static_cast< int >(result
));
25409 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25410 PyObject
*resultobj
= 0;
25411 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25417 PyObject
* obj0
= 0 ;
25418 PyObject
* obj1
= 0 ;
25419 char * kwnames
[] = {
25420 (char *) "self",(char *) "nRows", NULL
25423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25425 if (!SWIG_IsOK(res1
)) {
25426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25428 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25430 if (!SWIG_IsOK(ecode2
)) {
25431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25433 arg2
= static_cast< int >(val2
);
25435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25436 (arg1
)->SetRows(arg2
);
25437 wxPyEndAllowThreads(__tstate
);
25438 if (PyErr_Occurred()) SWIG_fail
;
25440 resultobj
= SWIG_Py_Void();
25447 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25448 PyObject
*resultobj
= 0;
25449 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25458 PyObject
* obj0
= 0 ;
25459 PyObject
* obj1
= 0 ;
25460 PyObject
* obj2
= 0 ;
25461 char * kwnames
[] = {
25462 (char *) "self",(char *) "rows",(char *) "cols", NULL
25465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25467 if (!SWIG_IsOK(res1
)) {
25468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25470 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25471 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25472 if (!SWIG_IsOK(ecode2
)) {
25473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25475 arg2
= static_cast< int >(val2
);
25476 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25477 if (!SWIG_IsOK(ecode3
)) {
25478 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25480 arg3
= static_cast< int >(val3
);
25482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25483 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25484 wxPyEndAllowThreads(__tstate
);
25485 if (PyErr_Occurred()) SWIG_fail
;
25487 resultobj
= SWIG_Py_Void();
25494 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25495 PyObject
*resultobj
= 0;
25496 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25500 PyObject
*swig_obj
[1] ;
25502 if (!args
) SWIG_fail
;
25503 swig_obj
[0] = args
;
25504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25505 if (!SWIG_IsOK(res1
)) {
25506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25508 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25511 result
= (int)(arg1
)->GetMaxRows();
25512 wxPyEndAllowThreads(__tstate
);
25513 if (PyErr_Occurred()) SWIG_fail
;
25515 resultobj
= SWIG_From_int(static_cast< int >(result
));
25522 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25523 PyObject
*resultobj
= 0;
25524 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25528 PyObject
*swig_obj
[1] ;
25530 if (!args
) SWIG_fail
;
25531 swig_obj
[0] = args
;
25532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25533 if (!SWIG_IsOK(res1
)) {
25534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25536 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25539 result
= (int)(arg1
)->GetMaxCols();
25540 wxPyEndAllowThreads(__tstate
);
25541 if (PyErr_Occurred()) SWIG_fail
;
25543 resultobj
= SWIG_From_int(static_cast< int >(result
));
25550 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25551 PyObject
*resultobj
= 0;
25552 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25557 PyObject
* obj0
= 0 ;
25558 PyObject
* obj1
= 0 ;
25559 char * kwnames
[] = {
25560 (char *) "self",(char *) "size", NULL
25563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25565 if (!SWIG_IsOK(res1
)) {
25566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25568 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25571 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25575 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25576 wxPyEndAllowThreads(__tstate
);
25577 if (PyErr_Occurred()) SWIG_fail
;
25579 resultobj
= SWIG_Py_Void();
25586 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25587 PyObject
*resultobj
= 0;
25588 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25592 PyObject
*swig_obj
[1] ;
25594 if (!args
) SWIG_fail
;
25595 swig_obj
[0] = args
;
25596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25597 if (!SWIG_IsOK(res1
)) {
25598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25600 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25603 result
= (arg1
)->GetToolBitmapSize();
25604 wxPyEndAllowThreads(__tstate
);
25605 if (PyErr_Occurred()) SWIG_fail
;
25607 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25614 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25615 PyObject
*resultobj
= 0;
25616 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25620 PyObject
*swig_obj
[1] ;
25622 if (!args
) SWIG_fail
;
25623 swig_obj
[0] = args
;
25624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25625 if (!SWIG_IsOK(res1
)) {
25626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25628 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25631 result
= (arg1
)->GetToolSize();
25632 wxPyEndAllowThreads(__tstate
);
25633 if (PyErr_Occurred()) SWIG_fail
;
25635 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25642 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25643 PyObject
*resultobj
= 0;
25644 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25647 wxToolBarToolBase
*result
= 0 ;
25654 PyObject
* obj0
= 0 ;
25655 PyObject
* obj1
= 0 ;
25656 PyObject
* obj2
= 0 ;
25657 char * kwnames
[] = {
25658 (char *) "self",(char *) "x",(char *) "y", NULL
25661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25663 if (!SWIG_IsOK(res1
)) {
25664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25666 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25667 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25668 if (!SWIG_IsOK(ecode2
)) {
25669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25671 arg2
= static_cast< int >(val2
);
25672 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25673 if (!SWIG_IsOK(ecode3
)) {
25674 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25676 arg3
= static_cast< int >(val3
);
25678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25679 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25680 wxPyEndAllowThreads(__tstate
);
25681 if (PyErr_Occurred()) SWIG_fail
;
25684 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25692 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25693 PyObject
*resultobj
= 0;
25694 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25696 wxToolBarToolBase
*result
= 0 ;
25701 PyObject
* obj0
= 0 ;
25702 PyObject
* obj1
= 0 ;
25703 char * kwnames
[] = {
25704 (char *) "self",(char *) "toolid", NULL
25707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25709 if (!SWIG_IsOK(res1
)) {
25710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25712 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25713 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25714 if (!SWIG_IsOK(ecode2
)) {
25715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25717 arg2
= static_cast< int >(val2
);
25719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25720 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25721 wxPyEndAllowThreads(__tstate
);
25722 if (PyErr_Occurred()) SWIG_fail
;
25725 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25733 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25734 PyObject
*resultobj
= 0;
25735 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25739 PyObject
*swig_obj
[1] ;
25741 if (!args
) SWIG_fail
;
25742 swig_obj
[0] = args
;
25743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25744 if (!SWIG_IsOK(res1
)) {
25745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25747 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25750 result
= (bool)(arg1
)->IsVertical();
25751 wxPyEndAllowThreads(__tstate
);
25752 if (PyErr_Occurred()) SWIG_fail
;
25755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25763 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25764 PyObject
*resultobj
= 0;
25765 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25769 PyObject
*swig_obj
[1] ;
25771 if (!args
) SWIG_fail
;
25772 swig_obj
[0] = args
;
25773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25774 if (!SWIG_IsOK(res1
)) {
25775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25777 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25780 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25781 wxPyEndAllowThreads(__tstate
);
25782 if (PyErr_Occurred()) SWIG_fail
;
25784 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25791 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25793 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25794 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25795 return SWIG_Py_Void();
25798 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25799 PyObject
*resultobj
= 0;
25800 wxWindow
*arg1
= (wxWindow
*) 0 ;
25801 int arg2
= (int) -1 ;
25802 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25803 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25804 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25805 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25806 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25807 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25808 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25809 wxToolBar
*result
= 0 ;
25818 bool temp6
= false ;
25819 PyObject
* obj0
= 0 ;
25820 PyObject
* obj1
= 0 ;
25821 PyObject
* obj2
= 0 ;
25822 PyObject
* obj3
= 0 ;
25823 PyObject
* obj4
= 0 ;
25824 PyObject
* obj5
= 0 ;
25825 char * kwnames
[] = {
25826 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25831 if (!SWIG_IsOK(res1
)) {
25832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25834 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25836 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25837 if (!SWIG_IsOK(ecode2
)) {
25838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25840 arg2
= static_cast< int >(val2
);
25845 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25851 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25855 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25856 if (!SWIG_IsOK(ecode5
)) {
25857 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25859 arg5
= static_cast< long >(val5
);
25863 arg6
= wxString_in_helper(obj5
);
25864 if (arg6
== NULL
) SWIG_fail
;
25869 if (!wxPyCheckForApp()) SWIG_fail
;
25870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25871 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25872 wxPyEndAllowThreads(__tstate
);
25873 if (PyErr_Occurred()) SWIG_fail
;
25875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25890 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25891 PyObject
*resultobj
= 0;
25892 wxToolBar
*result
= 0 ;
25894 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25896 if (!wxPyCheckForApp()) SWIG_fail
;
25897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25898 result
= (wxToolBar
*)new wxToolBar();
25899 wxPyEndAllowThreads(__tstate
);
25900 if (PyErr_Occurred()) SWIG_fail
;
25902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25909 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25910 PyObject
*resultobj
= 0;
25911 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25912 wxWindow
*arg2
= (wxWindow
*) 0 ;
25913 int arg3
= (int) -1 ;
25914 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25915 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25916 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25917 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25918 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25919 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25920 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25932 bool temp7
= false ;
25933 PyObject
* obj0
= 0 ;
25934 PyObject
* obj1
= 0 ;
25935 PyObject
* obj2
= 0 ;
25936 PyObject
* obj3
= 0 ;
25937 PyObject
* obj4
= 0 ;
25938 PyObject
* obj5
= 0 ;
25939 PyObject
* obj6
= 0 ;
25940 char * kwnames
[] = {
25941 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25946 if (!SWIG_IsOK(res1
)) {
25947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25949 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25950 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25951 if (!SWIG_IsOK(res2
)) {
25952 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25954 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25956 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25957 if (!SWIG_IsOK(ecode3
)) {
25958 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25960 arg3
= static_cast< int >(val3
);
25965 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25971 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25975 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25976 if (!SWIG_IsOK(ecode6
)) {
25977 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25979 arg6
= static_cast< long >(val6
);
25983 arg7
= wxString_in_helper(obj6
);
25984 if (arg7
== NULL
) SWIG_fail
;
25989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25990 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25991 wxPyEndAllowThreads(__tstate
);
25992 if (PyErr_Occurred()) SWIG_fail
;
25995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26011 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26012 PyObject
*resultobj
= 0;
26013 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26014 SwigValueWrapper
<wxVisualAttributes
> result
;
26017 PyObject
* obj0
= 0 ;
26018 char * kwnames
[] = {
26019 (char *) "variant", NULL
26022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
26024 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26025 if (!SWIG_IsOK(ecode1
)) {
26026 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
26028 arg1
= static_cast< wxWindowVariant
>(val1
);
26031 if (!wxPyCheckForApp()) SWIG_fail
;
26032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26033 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
26034 wxPyEndAllowThreads(__tstate
);
26035 if (PyErr_Occurred()) SWIG_fail
;
26037 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
26044 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26046 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26047 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
26048 return SWIG_Py_Void();
26051 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26052 return SWIG_Python_InitShadowInstance(args
);
26055 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
26056 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
26061 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
26062 PyObject
*pyobj
= 0;
26066 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26068 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26075 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26076 PyObject
*resultobj
= 0;
26077 wxColour
const &arg1_defvalue
= wxNullColour
;
26078 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
26079 wxColour
const &arg2_defvalue
= wxNullColour
;
26080 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
26081 wxFont
const &arg3_defvalue
= wxNullFont
;
26082 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
26083 wxListItemAttr
*result
= 0 ;
26088 PyObject
* obj0
= 0 ;
26089 PyObject
* obj1
= 0 ;
26090 PyObject
* obj2
= 0 ;
26091 char * kwnames
[] = {
26092 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26099 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
26105 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26109 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
26110 if (!SWIG_IsOK(res3
)) {
26111 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26114 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26116 arg3
= reinterpret_cast< wxFont
* >(argp3
);
26119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26120 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
26121 wxPyEndAllowThreads(__tstate
);
26122 if (PyErr_Occurred()) SWIG_fail
;
26124 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
26131 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26132 PyObject
*resultobj
= 0;
26133 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26136 PyObject
*swig_obj
[1] ;
26138 if (!args
) SWIG_fail
;
26139 swig_obj
[0] = args
;
26140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
26141 if (!SWIG_IsOK(res1
)) {
26142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26144 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26149 wxPyEndAllowThreads(__tstate
);
26150 if (PyErr_Occurred()) SWIG_fail
;
26152 resultobj
= SWIG_Py_Void();
26159 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26160 PyObject
*resultobj
= 0;
26161 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26162 wxColour
*arg2
= 0 ;
26166 PyObject
* obj0
= 0 ;
26167 PyObject
* obj1
= 0 ;
26168 char * kwnames
[] = {
26169 (char *) "self",(char *) "colText", NULL
26172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26174 if (!SWIG_IsOK(res1
)) {
26175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26177 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26180 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26184 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26185 wxPyEndAllowThreads(__tstate
);
26186 if (PyErr_Occurred()) SWIG_fail
;
26188 resultobj
= SWIG_Py_Void();
26195 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26196 PyObject
*resultobj
= 0;
26197 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26198 wxColour
*arg2
= 0 ;
26202 PyObject
* obj0
= 0 ;
26203 PyObject
* obj1
= 0 ;
26204 char * kwnames
[] = {
26205 (char *) "self",(char *) "colBack", NULL
26208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26210 if (!SWIG_IsOK(res1
)) {
26211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26213 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26216 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26220 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26221 wxPyEndAllowThreads(__tstate
);
26222 if (PyErr_Occurred()) SWIG_fail
;
26224 resultobj
= SWIG_Py_Void();
26231 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26232 PyObject
*resultobj
= 0;
26233 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26239 PyObject
* obj0
= 0 ;
26240 PyObject
* obj1
= 0 ;
26241 char * kwnames
[] = {
26242 (char *) "self",(char *) "font", NULL
26245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26247 if (!SWIG_IsOK(res1
)) {
26248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26250 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26251 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26252 if (!SWIG_IsOK(res2
)) {
26253 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26256 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26258 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26261 (arg1
)->SetFont((wxFont
const &)*arg2
);
26262 wxPyEndAllowThreads(__tstate
);
26263 if (PyErr_Occurred()) SWIG_fail
;
26265 resultobj
= SWIG_Py_Void();
26272 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26273 PyObject
*resultobj
= 0;
26274 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26278 PyObject
*swig_obj
[1] ;
26280 if (!args
) SWIG_fail
;
26281 swig_obj
[0] = args
;
26282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26283 if (!SWIG_IsOK(res1
)) {
26284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26286 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26289 result
= (bool)(arg1
)->HasTextColour();
26290 wxPyEndAllowThreads(__tstate
);
26291 if (PyErr_Occurred()) SWIG_fail
;
26294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26302 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26303 PyObject
*resultobj
= 0;
26304 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26308 PyObject
*swig_obj
[1] ;
26310 if (!args
) SWIG_fail
;
26311 swig_obj
[0] = args
;
26312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26313 if (!SWIG_IsOK(res1
)) {
26314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26316 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26319 result
= (bool)(arg1
)->HasBackgroundColour();
26320 wxPyEndAllowThreads(__tstate
);
26321 if (PyErr_Occurred()) SWIG_fail
;
26324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26332 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26333 PyObject
*resultobj
= 0;
26334 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26338 PyObject
*swig_obj
[1] ;
26340 if (!args
) SWIG_fail
;
26341 swig_obj
[0] = args
;
26342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26343 if (!SWIG_IsOK(res1
)) {
26344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26346 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26349 result
= (bool)(arg1
)->HasFont();
26350 wxPyEndAllowThreads(__tstate
);
26351 if (PyErr_Occurred()) SWIG_fail
;
26354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26362 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26363 PyObject
*resultobj
= 0;
26364 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26368 PyObject
*swig_obj
[1] ;
26370 if (!args
) SWIG_fail
;
26371 swig_obj
[0] = args
;
26372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26373 if (!SWIG_IsOK(res1
)) {
26374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26376 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26379 result
= (arg1
)->GetTextColour();
26380 wxPyEndAllowThreads(__tstate
);
26381 if (PyErr_Occurred()) SWIG_fail
;
26383 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26390 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26391 PyObject
*resultobj
= 0;
26392 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26396 PyObject
*swig_obj
[1] ;
26398 if (!args
) SWIG_fail
;
26399 swig_obj
[0] = args
;
26400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26401 if (!SWIG_IsOK(res1
)) {
26402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26404 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26407 result
= (arg1
)->GetBackgroundColour();
26408 wxPyEndAllowThreads(__tstate
);
26409 if (PyErr_Occurred()) SWIG_fail
;
26411 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26418 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26419 PyObject
*resultobj
= 0;
26420 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26424 PyObject
*swig_obj
[1] ;
26426 if (!args
) SWIG_fail
;
26427 swig_obj
[0] = args
;
26428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26429 if (!SWIG_IsOK(res1
)) {
26430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26432 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26435 result
= (arg1
)->GetFont();
26436 wxPyEndAllowThreads(__tstate
);
26437 if (PyErr_Occurred()) SWIG_fail
;
26439 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26446 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26447 PyObject
*resultobj
= 0;
26448 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26449 wxListItemAttr
*arg2
= 0 ;
26454 PyObject
* obj0
= 0 ;
26455 PyObject
* obj1
= 0 ;
26456 char * kwnames
[] = {
26457 (char *) "self",(char *) "source", NULL
26460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26462 if (!SWIG_IsOK(res1
)) {
26463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26465 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26466 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26467 if (!SWIG_IsOK(res2
)) {
26468 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26471 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26473 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26476 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26477 wxPyEndAllowThreads(__tstate
);
26478 if (PyErr_Occurred()) SWIG_fail
;
26480 resultobj
= SWIG_Py_Void();
26487 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26488 PyObject
*resultobj
= 0;
26489 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26492 PyObject
*swig_obj
[1] ;
26494 if (!args
) SWIG_fail
;
26495 swig_obj
[0] = args
;
26496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26497 if (!SWIG_IsOK(res1
)) {
26498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26500 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26503 wxListItemAttr_Destroy(arg1
);
26504 wxPyEndAllowThreads(__tstate
);
26505 if (PyErr_Occurred()) SWIG_fail
;
26507 resultobj
= SWIG_Py_Void();
26514 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26516 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26517 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26518 return SWIG_Py_Void();
26521 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26522 return SWIG_Python_InitShadowInstance(args
);
26525 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26526 PyObject
*resultobj
= 0;
26527 wxListItem
*result
= 0 ;
26529 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26532 result
= (wxListItem
*)new wxListItem();
26533 wxPyEndAllowThreads(__tstate
);
26534 if (PyErr_Occurred()) SWIG_fail
;
26536 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, SWIG_POINTER_NEW
| 0 );
26543 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26544 PyObject
*resultobj
= 0;
26545 wxListItem
*arg1
= (wxListItem
*) 0 ;
26548 PyObject
*swig_obj
[1] ;
26550 if (!args
) SWIG_fail
;
26551 swig_obj
[0] = args
;
26552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26553 if (!SWIG_IsOK(res1
)) {
26554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26556 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26561 wxPyEndAllowThreads(__tstate
);
26562 if (PyErr_Occurred()) SWIG_fail
;
26564 resultobj
= SWIG_Py_Void();
26571 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26572 PyObject
*resultobj
= 0;
26573 wxListItem
*arg1
= (wxListItem
*) 0 ;
26576 PyObject
*swig_obj
[1] ;
26578 if (!args
) SWIG_fail
;
26579 swig_obj
[0] = args
;
26580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26581 if (!SWIG_IsOK(res1
)) {
26582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26584 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26588 wxPyEndAllowThreads(__tstate
);
26589 if (PyErr_Occurred()) SWIG_fail
;
26591 resultobj
= SWIG_Py_Void();
26598 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26599 PyObject
*resultobj
= 0;
26600 wxListItem
*arg1
= (wxListItem
*) 0 ;
26603 PyObject
*swig_obj
[1] ;
26605 if (!args
) SWIG_fail
;
26606 swig_obj
[0] = args
;
26607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26608 if (!SWIG_IsOK(res1
)) {
26609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26611 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26614 (arg1
)->ClearAttributes();
26615 wxPyEndAllowThreads(__tstate
);
26616 if (PyErr_Occurred()) SWIG_fail
;
26618 resultobj
= SWIG_Py_Void();
26625 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26626 PyObject
*resultobj
= 0;
26627 wxListItem
*arg1
= (wxListItem
*) 0 ;
26633 PyObject
* obj0
= 0 ;
26634 PyObject
* obj1
= 0 ;
26635 char * kwnames
[] = {
26636 (char *) "self",(char *) "mask", NULL
26639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26641 if (!SWIG_IsOK(res1
)) {
26642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26644 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26645 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26646 if (!SWIG_IsOK(ecode2
)) {
26647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26649 arg2
= static_cast< long >(val2
);
26651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26652 (arg1
)->SetMask(arg2
);
26653 wxPyEndAllowThreads(__tstate
);
26654 if (PyErr_Occurred()) SWIG_fail
;
26656 resultobj
= SWIG_Py_Void();
26663 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26664 PyObject
*resultobj
= 0;
26665 wxListItem
*arg1
= (wxListItem
*) 0 ;
26671 PyObject
* obj0
= 0 ;
26672 PyObject
* obj1
= 0 ;
26673 char * kwnames
[] = {
26674 (char *) "self",(char *) "id", NULL
26677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26679 if (!SWIG_IsOK(res1
)) {
26680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26682 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26683 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26684 if (!SWIG_IsOK(ecode2
)) {
26685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26687 arg2
= static_cast< long >(val2
);
26689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26690 (arg1
)->SetId(arg2
);
26691 wxPyEndAllowThreads(__tstate
);
26692 if (PyErr_Occurred()) SWIG_fail
;
26694 resultobj
= SWIG_Py_Void();
26701 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26702 PyObject
*resultobj
= 0;
26703 wxListItem
*arg1
= (wxListItem
*) 0 ;
26709 PyObject
* obj0
= 0 ;
26710 PyObject
* obj1
= 0 ;
26711 char * kwnames
[] = {
26712 (char *) "self",(char *) "col", NULL
26715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26717 if (!SWIG_IsOK(res1
)) {
26718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26720 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26721 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26722 if (!SWIG_IsOK(ecode2
)) {
26723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26725 arg2
= static_cast< int >(val2
);
26727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26728 (arg1
)->SetColumn(arg2
);
26729 wxPyEndAllowThreads(__tstate
);
26730 if (PyErr_Occurred()) SWIG_fail
;
26732 resultobj
= SWIG_Py_Void();
26739 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26740 PyObject
*resultobj
= 0;
26741 wxListItem
*arg1
= (wxListItem
*) 0 ;
26747 PyObject
* obj0
= 0 ;
26748 PyObject
* obj1
= 0 ;
26749 char * kwnames
[] = {
26750 (char *) "self",(char *) "state", NULL
26753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26755 if (!SWIG_IsOK(res1
)) {
26756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26758 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26759 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26760 if (!SWIG_IsOK(ecode2
)) {
26761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26763 arg2
= static_cast< long >(val2
);
26765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26766 (arg1
)->SetState(arg2
);
26767 wxPyEndAllowThreads(__tstate
);
26768 if (PyErr_Occurred()) SWIG_fail
;
26770 resultobj
= SWIG_Py_Void();
26777 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26778 PyObject
*resultobj
= 0;
26779 wxListItem
*arg1
= (wxListItem
*) 0 ;
26785 PyObject
* obj0
= 0 ;
26786 PyObject
* obj1
= 0 ;
26787 char * kwnames
[] = {
26788 (char *) "self",(char *) "stateMask", NULL
26791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26793 if (!SWIG_IsOK(res1
)) {
26794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26796 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26797 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26798 if (!SWIG_IsOK(ecode2
)) {
26799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26801 arg2
= static_cast< long >(val2
);
26803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26804 (arg1
)->SetStateMask(arg2
);
26805 wxPyEndAllowThreads(__tstate
);
26806 if (PyErr_Occurred()) SWIG_fail
;
26808 resultobj
= SWIG_Py_Void();
26815 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26816 PyObject
*resultobj
= 0;
26817 wxListItem
*arg1
= (wxListItem
*) 0 ;
26818 wxString
*arg2
= 0 ;
26821 bool temp2
= false ;
26822 PyObject
* obj0
= 0 ;
26823 PyObject
* obj1
= 0 ;
26824 char * kwnames
[] = {
26825 (char *) "self",(char *) "text", NULL
26828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26830 if (!SWIG_IsOK(res1
)) {
26831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26833 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26835 arg2
= wxString_in_helper(obj1
);
26836 if (arg2
== NULL
) SWIG_fail
;
26840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26841 (arg1
)->SetText((wxString
const &)*arg2
);
26842 wxPyEndAllowThreads(__tstate
);
26843 if (PyErr_Occurred()) SWIG_fail
;
26845 resultobj
= SWIG_Py_Void();
26860 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26861 PyObject
*resultobj
= 0;
26862 wxListItem
*arg1
= (wxListItem
*) 0 ;
26868 PyObject
* obj0
= 0 ;
26869 PyObject
* obj1
= 0 ;
26870 char * kwnames
[] = {
26871 (char *) "self",(char *) "image", NULL
26874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26876 if (!SWIG_IsOK(res1
)) {
26877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26879 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26880 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26881 if (!SWIG_IsOK(ecode2
)) {
26882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26884 arg2
= static_cast< int >(val2
);
26886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26887 (arg1
)->SetImage(arg2
);
26888 wxPyEndAllowThreads(__tstate
);
26889 if (PyErr_Occurred()) SWIG_fail
;
26891 resultobj
= SWIG_Py_Void();
26898 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26899 PyObject
*resultobj
= 0;
26900 wxListItem
*arg1
= (wxListItem
*) 0 ;
26906 PyObject
* obj0
= 0 ;
26907 PyObject
* obj1
= 0 ;
26908 char * kwnames
[] = {
26909 (char *) "self",(char *) "data", NULL
26912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26914 if (!SWIG_IsOK(res1
)) {
26915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26917 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26918 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26919 if (!SWIG_IsOK(ecode2
)) {
26920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26922 arg2
= static_cast< long >(val2
);
26924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26925 (arg1
)->SetData(arg2
);
26926 wxPyEndAllowThreads(__tstate
);
26927 if (PyErr_Occurred()) SWIG_fail
;
26929 resultobj
= SWIG_Py_Void();
26936 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26937 PyObject
*resultobj
= 0;
26938 wxListItem
*arg1
= (wxListItem
*) 0 ;
26944 PyObject
* obj0
= 0 ;
26945 PyObject
* obj1
= 0 ;
26946 char * kwnames
[] = {
26947 (char *) "self",(char *) "width", NULL
26950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26952 if (!SWIG_IsOK(res1
)) {
26953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26955 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26956 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26957 if (!SWIG_IsOK(ecode2
)) {
26958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26960 arg2
= static_cast< int >(val2
);
26962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26963 (arg1
)->SetWidth(arg2
);
26964 wxPyEndAllowThreads(__tstate
);
26965 if (PyErr_Occurred()) SWIG_fail
;
26967 resultobj
= SWIG_Py_Void();
26974 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26975 PyObject
*resultobj
= 0;
26976 wxListItem
*arg1
= (wxListItem
*) 0 ;
26977 wxListColumnFormat arg2
;
26982 PyObject
* obj0
= 0 ;
26983 PyObject
* obj1
= 0 ;
26984 char * kwnames
[] = {
26985 (char *) "self",(char *) "align", NULL
26988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26990 if (!SWIG_IsOK(res1
)) {
26991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26993 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26994 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26995 if (!SWIG_IsOK(ecode2
)) {
26996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26998 arg2
= static_cast< wxListColumnFormat
>(val2
);
27000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27001 (arg1
)->SetAlign(arg2
);
27002 wxPyEndAllowThreads(__tstate
);
27003 if (PyErr_Occurred()) SWIG_fail
;
27005 resultobj
= SWIG_Py_Void();
27012 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27013 PyObject
*resultobj
= 0;
27014 wxListItem
*arg1
= (wxListItem
*) 0 ;
27015 wxColour
*arg2
= 0 ;
27019 PyObject
* obj0
= 0 ;
27020 PyObject
* obj1
= 0 ;
27021 char * kwnames
[] = {
27022 (char *) "self",(char *) "colText", NULL
27025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27027 if (!SWIG_IsOK(res1
)) {
27028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27030 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27033 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27037 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
27038 wxPyEndAllowThreads(__tstate
);
27039 if (PyErr_Occurred()) SWIG_fail
;
27041 resultobj
= SWIG_Py_Void();
27048 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27049 PyObject
*resultobj
= 0;
27050 wxListItem
*arg1
= (wxListItem
*) 0 ;
27051 wxColour
*arg2
= 0 ;
27055 PyObject
* obj0
= 0 ;
27056 PyObject
* obj1
= 0 ;
27057 char * kwnames
[] = {
27058 (char *) "self",(char *) "colBack", NULL
27061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27063 if (!SWIG_IsOK(res1
)) {
27064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27066 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27069 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27073 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
27074 wxPyEndAllowThreads(__tstate
);
27075 if (PyErr_Occurred()) SWIG_fail
;
27077 resultobj
= SWIG_Py_Void();
27084 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27085 PyObject
*resultobj
= 0;
27086 wxListItem
*arg1
= (wxListItem
*) 0 ;
27092 PyObject
* obj0
= 0 ;
27093 PyObject
* obj1
= 0 ;
27094 char * kwnames
[] = {
27095 (char *) "self",(char *) "font", NULL
27098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27100 if (!SWIG_IsOK(res1
)) {
27101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27103 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27104 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27105 if (!SWIG_IsOK(res2
)) {
27106 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27109 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27111 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27114 (arg1
)->SetFont((wxFont
const &)*arg2
);
27115 wxPyEndAllowThreads(__tstate
);
27116 if (PyErr_Occurred()) SWIG_fail
;
27118 resultobj
= SWIG_Py_Void();
27125 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27126 PyObject
*resultobj
= 0;
27127 wxListItem
*arg1
= (wxListItem
*) 0 ;
27131 PyObject
*swig_obj
[1] ;
27133 if (!args
) SWIG_fail
;
27134 swig_obj
[0] = args
;
27135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27136 if (!SWIG_IsOK(res1
)) {
27137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27139 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27142 result
= (long)(arg1
)->GetMask();
27143 wxPyEndAllowThreads(__tstate
);
27144 if (PyErr_Occurred()) SWIG_fail
;
27146 resultobj
= SWIG_From_long(static_cast< long >(result
));
27153 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27154 PyObject
*resultobj
= 0;
27155 wxListItem
*arg1
= (wxListItem
*) 0 ;
27159 PyObject
*swig_obj
[1] ;
27161 if (!args
) SWIG_fail
;
27162 swig_obj
[0] = args
;
27163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27164 if (!SWIG_IsOK(res1
)) {
27165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27167 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27170 result
= (long)(arg1
)->GetId();
27171 wxPyEndAllowThreads(__tstate
);
27172 if (PyErr_Occurred()) SWIG_fail
;
27174 resultobj
= SWIG_From_long(static_cast< long >(result
));
27181 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27182 PyObject
*resultobj
= 0;
27183 wxListItem
*arg1
= (wxListItem
*) 0 ;
27187 PyObject
*swig_obj
[1] ;
27189 if (!args
) SWIG_fail
;
27190 swig_obj
[0] = args
;
27191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27192 if (!SWIG_IsOK(res1
)) {
27193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27195 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27198 result
= (int)(arg1
)->GetColumn();
27199 wxPyEndAllowThreads(__tstate
);
27200 if (PyErr_Occurred()) SWIG_fail
;
27202 resultobj
= SWIG_From_int(static_cast< int >(result
));
27209 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27210 PyObject
*resultobj
= 0;
27211 wxListItem
*arg1
= (wxListItem
*) 0 ;
27215 PyObject
*swig_obj
[1] ;
27217 if (!args
) SWIG_fail
;
27218 swig_obj
[0] = args
;
27219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27220 if (!SWIG_IsOK(res1
)) {
27221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27223 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27226 result
= (long)(arg1
)->GetState();
27227 wxPyEndAllowThreads(__tstate
);
27228 if (PyErr_Occurred()) SWIG_fail
;
27230 resultobj
= SWIG_From_long(static_cast< long >(result
));
27237 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27238 PyObject
*resultobj
= 0;
27239 wxListItem
*arg1
= (wxListItem
*) 0 ;
27240 wxString
*result
= 0 ;
27243 PyObject
*swig_obj
[1] ;
27245 if (!args
) SWIG_fail
;
27246 swig_obj
[0] = args
;
27247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27248 if (!SWIG_IsOK(res1
)) {
27249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27251 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27255 wxString
const &_result_ref
= (arg1
)->GetText();
27256 result
= (wxString
*) &_result_ref
;
27258 wxPyEndAllowThreads(__tstate
);
27259 if (PyErr_Occurred()) SWIG_fail
;
27263 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27265 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27274 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27275 PyObject
*resultobj
= 0;
27276 wxListItem
*arg1
= (wxListItem
*) 0 ;
27280 PyObject
*swig_obj
[1] ;
27282 if (!args
) SWIG_fail
;
27283 swig_obj
[0] = args
;
27284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27285 if (!SWIG_IsOK(res1
)) {
27286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27288 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27291 result
= (int)(arg1
)->GetImage();
27292 wxPyEndAllowThreads(__tstate
);
27293 if (PyErr_Occurred()) SWIG_fail
;
27295 resultobj
= SWIG_From_int(static_cast< int >(result
));
27302 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27303 PyObject
*resultobj
= 0;
27304 wxListItem
*arg1
= (wxListItem
*) 0 ;
27308 PyObject
*swig_obj
[1] ;
27310 if (!args
) SWIG_fail
;
27311 swig_obj
[0] = args
;
27312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27313 if (!SWIG_IsOK(res1
)) {
27314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27316 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27319 result
= (long)(arg1
)->GetData();
27320 wxPyEndAllowThreads(__tstate
);
27321 if (PyErr_Occurred()) SWIG_fail
;
27323 resultobj
= SWIG_From_long(static_cast< long >(result
));
27330 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27331 PyObject
*resultobj
= 0;
27332 wxListItem
*arg1
= (wxListItem
*) 0 ;
27336 PyObject
*swig_obj
[1] ;
27338 if (!args
) SWIG_fail
;
27339 swig_obj
[0] = args
;
27340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27341 if (!SWIG_IsOK(res1
)) {
27342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27344 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27347 result
= (int)(arg1
)->GetWidth();
27348 wxPyEndAllowThreads(__tstate
);
27349 if (PyErr_Occurred()) SWIG_fail
;
27351 resultobj
= SWIG_From_int(static_cast< int >(result
));
27358 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27359 PyObject
*resultobj
= 0;
27360 wxListItem
*arg1
= (wxListItem
*) 0 ;
27361 wxListColumnFormat result
;
27364 PyObject
*swig_obj
[1] ;
27366 if (!args
) SWIG_fail
;
27367 swig_obj
[0] = args
;
27368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27369 if (!SWIG_IsOK(res1
)) {
27370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27372 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27375 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27376 wxPyEndAllowThreads(__tstate
);
27377 if (PyErr_Occurred()) SWIG_fail
;
27379 resultobj
= SWIG_From_int(static_cast< int >(result
));
27386 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27387 PyObject
*resultobj
= 0;
27388 wxListItem
*arg1
= (wxListItem
*) 0 ;
27389 wxListItemAttr
*result
= 0 ;
27392 PyObject
*swig_obj
[1] ;
27394 if (!args
) SWIG_fail
;
27395 swig_obj
[0] = args
;
27396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27397 if (!SWIG_IsOK(res1
)) {
27398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27400 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27403 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27404 wxPyEndAllowThreads(__tstate
);
27405 if (PyErr_Occurred()) SWIG_fail
;
27407 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27414 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27415 PyObject
*resultobj
= 0;
27416 wxListItem
*arg1
= (wxListItem
*) 0 ;
27420 PyObject
*swig_obj
[1] ;
27422 if (!args
) SWIG_fail
;
27423 swig_obj
[0] = args
;
27424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27425 if (!SWIG_IsOK(res1
)) {
27426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27428 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27431 result
= (bool)(arg1
)->HasAttributes();
27432 wxPyEndAllowThreads(__tstate
);
27433 if (PyErr_Occurred()) SWIG_fail
;
27436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27444 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27445 PyObject
*resultobj
= 0;
27446 wxListItem
*arg1
= (wxListItem
*) 0 ;
27450 PyObject
*swig_obj
[1] ;
27452 if (!args
) SWIG_fail
;
27453 swig_obj
[0] = args
;
27454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27455 if (!SWIG_IsOK(res1
)) {
27456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27458 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27461 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27462 wxPyEndAllowThreads(__tstate
);
27463 if (PyErr_Occurred()) SWIG_fail
;
27465 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27472 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27473 PyObject
*resultobj
= 0;
27474 wxListItem
*arg1
= (wxListItem
*) 0 ;
27478 PyObject
*swig_obj
[1] ;
27480 if (!args
) SWIG_fail
;
27481 swig_obj
[0] = args
;
27482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27483 if (!SWIG_IsOK(res1
)) {
27484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27486 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27489 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27490 wxPyEndAllowThreads(__tstate
);
27491 if (PyErr_Occurred()) SWIG_fail
;
27493 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27500 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27501 PyObject
*resultobj
= 0;
27502 wxListItem
*arg1
= (wxListItem
*) 0 ;
27506 PyObject
*swig_obj
[1] ;
27508 if (!args
) SWIG_fail
;
27509 swig_obj
[0] = args
;
27510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27511 if (!SWIG_IsOK(res1
)) {
27512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27514 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27517 result
= ((wxListItem
const *)arg1
)->GetFont();
27518 wxPyEndAllowThreads(__tstate
);
27519 if (PyErr_Occurred()) SWIG_fail
;
27521 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27528 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27529 PyObject
*resultobj
= 0;
27530 wxListItem
*arg1
= (wxListItem
*) 0 ;
27536 PyObject
*swig_obj
[2] ;
27538 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27540 if (!SWIG_IsOK(res1
)) {
27541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27543 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27544 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27545 if (!SWIG_IsOK(ecode2
)) {
27546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27548 arg2
= static_cast< long >(val2
);
27549 if (arg1
) (arg1
)->m_mask
= arg2
;
27551 resultobj
= SWIG_Py_Void();
27558 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(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_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27572 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27573 result
= (long) ((arg1
)->m_mask
);
27574 resultobj
= SWIG_From_long(static_cast< long >(result
));
27581 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27582 PyObject
*resultobj
= 0;
27583 wxListItem
*arg1
= (wxListItem
*) 0 ;
27589 PyObject
*swig_obj
[2] ;
27591 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27593 if (!SWIG_IsOK(res1
)) {
27594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27596 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27597 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27598 if (!SWIG_IsOK(ecode2
)) {
27599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27601 arg2
= static_cast< long >(val2
);
27602 if (arg1
) (arg1
)->m_itemId
= arg2
;
27604 resultobj
= SWIG_Py_Void();
27611 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27612 PyObject
*resultobj
= 0;
27613 wxListItem
*arg1
= (wxListItem
*) 0 ;
27617 PyObject
*swig_obj
[1] ;
27619 if (!args
) SWIG_fail
;
27620 swig_obj
[0] = args
;
27621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27622 if (!SWIG_IsOK(res1
)) {
27623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27625 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27626 result
= (long) ((arg1
)->m_itemId
);
27627 resultobj
= SWIG_From_long(static_cast< long >(result
));
27634 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27635 PyObject
*resultobj
= 0;
27636 wxListItem
*arg1
= (wxListItem
*) 0 ;
27642 PyObject
*swig_obj
[2] ;
27644 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27646 if (!SWIG_IsOK(res1
)) {
27647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27649 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27650 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27651 if (!SWIG_IsOK(ecode2
)) {
27652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27654 arg2
= static_cast< int >(val2
);
27655 if (arg1
) (arg1
)->m_col
= arg2
;
27657 resultobj
= SWIG_Py_Void();
27664 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27665 PyObject
*resultobj
= 0;
27666 wxListItem
*arg1
= (wxListItem
*) 0 ;
27670 PyObject
*swig_obj
[1] ;
27672 if (!args
) SWIG_fail
;
27673 swig_obj
[0] = args
;
27674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27675 if (!SWIG_IsOK(res1
)) {
27676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27678 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27679 result
= (int) ((arg1
)->m_col
);
27680 resultobj
= SWIG_From_int(static_cast< int >(result
));
27687 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27688 PyObject
*resultobj
= 0;
27689 wxListItem
*arg1
= (wxListItem
*) 0 ;
27695 PyObject
*swig_obj
[2] ;
27697 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27699 if (!SWIG_IsOK(res1
)) {
27700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27702 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27703 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27704 if (!SWIG_IsOK(ecode2
)) {
27705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27707 arg2
= static_cast< long >(val2
);
27708 if (arg1
) (arg1
)->m_state
= arg2
;
27710 resultobj
= SWIG_Py_Void();
27717 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27718 PyObject
*resultobj
= 0;
27719 wxListItem
*arg1
= (wxListItem
*) 0 ;
27723 PyObject
*swig_obj
[1] ;
27725 if (!args
) SWIG_fail
;
27726 swig_obj
[0] = args
;
27727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27728 if (!SWIG_IsOK(res1
)) {
27729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27731 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27732 result
= (long) ((arg1
)->m_state
);
27733 resultobj
= SWIG_From_long(static_cast< long >(result
));
27740 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27741 PyObject
*resultobj
= 0;
27742 wxListItem
*arg1
= (wxListItem
*) 0 ;
27748 PyObject
*swig_obj
[2] ;
27750 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27752 if (!SWIG_IsOK(res1
)) {
27753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27755 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27756 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27757 if (!SWIG_IsOK(ecode2
)) {
27758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27760 arg2
= static_cast< long >(val2
);
27761 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27763 resultobj
= SWIG_Py_Void();
27770 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27771 PyObject
*resultobj
= 0;
27772 wxListItem
*arg1
= (wxListItem
*) 0 ;
27776 PyObject
*swig_obj
[1] ;
27778 if (!args
) SWIG_fail
;
27779 swig_obj
[0] = args
;
27780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27781 if (!SWIG_IsOK(res1
)) {
27782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27784 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27785 result
= (long) ((arg1
)->m_stateMask
);
27786 resultobj
= SWIG_From_long(static_cast< long >(result
));
27793 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27794 PyObject
*resultobj
= 0;
27795 wxListItem
*arg1
= (wxListItem
*) 0 ;
27796 wxString
*arg2
= (wxString
*) 0 ;
27799 bool temp2
= false ;
27800 PyObject
*swig_obj
[2] ;
27802 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27804 if (!SWIG_IsOK(res1
)) {
27805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27807 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27809 arg2
= wxString_in_helper(swig_obj
[1]);
27810 if (arg2
== NULL
) SWIG_fail
;
27813 if (arg1
) (arg1
)->m_text
= *arg2
;
27815 resultobj
= SWIG_Py_Void();
27830 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27831 PyObject
*resultobj
= 0;
27832 wxListItem
*arg1
= (wxListItem
*) 0 ;
27833 wxString
*result
= 0 ;
27836 PyObject
*swig_obj
[1] ;
27838 if (!args
) SWIG_fail
;
27839 swig_obj
[0] = args
;
27840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27841 if (!SWIG_IsOK(res1
)) {
27842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27844 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27845 result
= (wxString
*)& ((arg1
)->m_text
);
27848 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27850 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27859 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27860 PyObject
*resultobj
= 0;
27861 wxListItem
*arg1
= (wxListItem
*) 0 ;
27867 PyObject
*swig_obj
[2] ;
27869 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27871 if (!SWIG_IsOK(res1
)) {
27872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27874 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27875 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27876 if (!SWIG_IsOK(ecode2
)) {
27877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27879 arg2
= static_cast< int >(val2
);
27880 if (arg1
) (arg1
)->m_image
= arg2
;
27882 resultobj
= SWIG_Py_Void();
27889 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27890 PyObject
*resultobj
= 0;
27891 wxListItem
*arg1
= (wxListItem
*) 0 ;
27895 PyObject
*swig_obj
[1] ;
27897 if (!args
) SWIG_fail
;
27898 swig_obj
[0] = args
;
27899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27900 if (!SWIG_IsOK(res1
)) {
27901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27903 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27904 result
= (int) ((arg1
)->m_image
);
27905 resultobj
= SWIG_From_int(static_cast< int >(result
));
27912 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27913 PyObject
*resultobj
= 0;
27914 wxListItem
*arg1
= (wxListItem
*) 0 ;
27920 PyObject
*swig_obj
[2] ;
27922 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27924 if (!SWIG_IsOK(res1
)) {
27925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27927 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27928 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27929 if (!SWIG_IsOK(ecode2
)) {
27930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27932 arg2
= static_cast< long >(val2
);
27933 if (arg1
) (arg1
)->m_data
= arg2
;
27935 resultobj
= SWIG_Py_Void();
27942 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27943 PyObject
*resultobj
= 0;
27944 wxListItem
*arg1
= (wxListItem
*) 0 ;
27948 PyObject
*swig_obj
[1] ;
27950 if (!args
) SWIG_fail
;
27951 swig_obj
[0] = args
;
27952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27953 if (!SWIG_IsOK(res1
)) {
27954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27956 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27957 result
= (long) ((arg1
)->m_data
);
27958 resultobj
= SWIG_From_long(static_cast< long >(result
));
27965 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27966 PyObject
*resultobj
= 0;
27967 wxListItem
*arg1
= (wxListItem
*) 0 ;
27973 PyObject
*swig_obj
[2] ;
27975 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27977 if (!SWIG_IsOK(res1
)) {
27978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27980 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27981 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27982 if (!SWIG_IsOK(ecode2
)) {
27983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27985 arg2
= static_cast< int >(val2
);
27986 if (arg1
) (arg1
)->m_format
= arg2
;
27988 resultobj
= SWIG_Py_Void();
27995 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27996 PyObject
*resultobj
= 0;
27997 wxListItem
*arg1
= (wxListItem
*) 0 ;
28001 PyObject
*swig_obj
[1] ;
28003 if (!args
) SWIG_fail
;
28004 swig_obj
[0] = args
;
28005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28006 if (!SWIG_IsOK(res1
)) {
28007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28009 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28010 result
= (int) ((arg1
)->m_format
);
28011 resultobj
= SWIG_From_int(static_cast< int >(result
));
28018 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28019 PyObject
*resultobj
= 0;
28020 wxListItem
*arg1
= (wxListItem
*) 0 ;
28026 PyObject
*swig_obj
[2] ;
28028 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
28029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28030 if (!SWIG_IsOK(res1
)) {
28031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28033 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28034 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28035 if (!SWIG_IsOK(ecode2
)) {
28036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
28038 arg2
= static_cast< int >(val2
);
28039 if (arg1
) (arg1
)->m_width
= arg2
;
28041 resultobj
= SWIG_Py_Void();
28048 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28049 PyObject
*resultobj
= 0;
28050 wxListItem
*arg1
= (wxListItem
*) 0 ;
28054 PyObject
*swig_obj
[1] ;
28056 if (!args
) SWIG_fail
;
28057 swig_obj
[0] = args
;
28058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28059 if (!SWIG_IsOK(res1
)) {
28060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28062 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28063 result
= (int) ((arg1
)->m_width
);
28064 resultobj
= SWIG_From_int(static_cast< int >(result
));
28071 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28073 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28074 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
28075 return SWIG_Py_Void();
28078 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28079 return SWIG_Python_InitShadowInstance(args
);
28082 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28083 PyObject
*resultobj
= 0;
28084 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28085 int arg2
= (int) 0 ;
28086 wxListEvent
*result
= 0 ;
28091 PyObject
* obj0
= 0 ;
28092 PyObject
* obj1
= 0 ;
28093 char * kwnames
[] = {
28094 (char *) "commandType",(char *) "id", NULL
28097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28099 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28100 if (!SWIG_IsOK(ecode1
)) {
28101 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28103 arg1
= static_cast< wxEventType
>(val1
);
28106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28107 if (!SWIG_IsOK(ecode2
)) {
28108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28110 arg2
= static_cast< int >(val2
);
28113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28114 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
28115 wxPyEndAllowThreads(__tstate
);
28116 if (PyErr_Occurred()) SWIG_fail
;
28118 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
28125 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28126 PyObject
*resultobj
= 0;
28127 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28133 PyObject
*swig_obj
[2] ;
28135 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
28136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28137 if (!SWIG_IsOK(res1
)) {
28138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28140 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28141 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28142 if (!SWIG_IsOK(ecode2
)) {
28143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28145 arg2
= static_cast< int >(val2
);
28146 if (arg1
) (arg1
)->m_code
= arg2
;
28148 resultobj
= SWIG_Py_Void();
28155 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28156 PyObject
*resultobj
= 0;
28157 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28161 PyObject
*swig_obj
[1] ;
28163 if (!args
) SWIG_fail
;
28164 swig_obj
[0] = args
;
28165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28166 if (!SWIG_IsOK(res1
)) {
28167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28169 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28170 result
= (int) ((arg1
)->m_code
);
28171 resultobj
= SWIG_From_int(static_cast< int >(result
));
28178 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28179 PyObject
*resultobj
= 0;
28180 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28186 PyObject
*swig_obj
[2] ;
28188 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28190 if (!SWIG_IsOK(res1
)) {
28191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28193 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28194 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28195 if (!SWIG_IsOK(ecode2
)) {
28196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28198 arg2
= static_cast< long >(val2
);
28199 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
28201 resultobj
= SWIG_Py_Void();
28208 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28209 PyObject
*resultobj
= 0;
28210 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28214 PyObject
*swig_obj
[1] ;
28216 if (!args
) SWIG_fail
;
28217 swig_obj
[0] = args
;
28218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28219 if (!SWIG_IsOK(res1
)) {
28220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28222 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28223 result
= (long) ((arg1
)->m_oldItemIndex
);
28224 resultobj
= SWIG_From_long(static_cast< long >(result
));
28231 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28232 PyObject
*resultobj
= 0;
28233 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28239 PyObject
*swig_obj
[2] ;
28241 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28243 if (!SWIG_IsOK(res1
)) {
28244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28246 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28247 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28248 if (!SWIG_IsOK(ecode2
)) {
28249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28251 arg2
= static_cast< long >(val2
);
28252 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
28254 resultobj
= SWIG_Py_Void();
28261 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28262 PyObject
*resultobj
= 0;
28263 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28267 PyObject
*swig_obj
[1] ;
28269 if (!args
) SWIG_fail
;
28270 swig_obj
[0] = args
;
28271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28272 if (!SWIG_IsOK(res1
)) {
28273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28275 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28276 result
= (long) ((arg1
)->m_itemIndex
);
28277 resultobj
= SWIG_From_long(static_cast< long >(result
));
28284 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28285 PyObject
*resultobj
= 0;
28286 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28292 PyObject
*swig_obj
[2] ;
28294 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28296 if (!SWIG_IsOK(res1
)) {
28297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28299 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28300 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28301 if (!SWIG_IsOK(ecode2
)) {
28302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28304 arg2
= static_cast< int >(val2
);
28305 if (arg1
) (arg1
)->m_col
= arg2
;
28307 resultobj
= SWIG_Py_Void();
28314 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28315 PyObject
*resultobj
= 0;
28316 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28320 PyObject
*swig_obj
[1] ;
28322 if (!args
) SWIG_fail
;
28323 swig_obj
[0] = args
;
28324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28325 if (!SWIG_IsOK(res1
)) {
28326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28328 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28329 result
= (int) ((arg1
)->m_col
);
28330 resultobj
= SWIG_From_int(static_cast< int >(result
));
28337 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28338 PyObject
*resultobj
= 0;
28339 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28340 wxPoint
*arg2
= (wxPoint
*) 0 ;
28345 PyObject
*swig_obj
[2] ;
28347 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28349 if (!SWIG_IsOK(res1
)) {
28350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28352 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28353 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28354 if (!SWIG_IsOK(res2
)) {
28355 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28357 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28358 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28360 resultobj
= SWIG_Py_Void();
28367 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28368 PyObject
*resultobj
= 0;
28369 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28370 wxPoint
*result
= 0 ;
28373 PyObject
*swig_obj
[1] ;
28375 if (!args
) SWIG_fail
;
28376 swig_obj
[0] = args
;
28377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28378 if (!SWIG_IsOK(res1
)) {
28379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28381 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28382 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28383 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28390 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28391 PyObject
*resultobj
= 0;
28392 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28393 wxListItem
*result
= 0 ;
28396 PyObject
*swig_obj
[1] ;
28398 if (!args
) SWIG_fail
;
28399 swig_obj
[0] = args
;
28400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28401 if (!SWIG_IsOK(res1
)) {
28402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28404 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28405 result
= (wxListItem
*)& ((arg1
)->m_item
);
28407 resultobj
= wxPyMake_wxObject(result
, 0);
28415 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28416 PyObject
*resultobj
= 0;
28417 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28421 PyObject
*swig_obj
[1] ;
28423 if (!args
) SWIG_fail
;
28424 swig_obj
[0] = args
;
28425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28426 if (!SWIG_IsOK(res1
)) {
28427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28429 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28432 result
= (int)(arg1
)->GetKeyCode();
28433 wxPyEndAllowThreads(__tstate
);
28434 if (PyErr_Occurred()) SWIG_fail
;
28436 resultobj
= SWIG_From_int(static_cast< int >(result
));
28443 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28444 PyObject
*resultobj
= 0;
28445 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28449 PyObject
*swig_obj
[1] ;
28451 if (!args
) SWIG_fail
;
28452 swig_obj
[0] = args
;
28453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28454 if (!SWIG_IsOK(res1
)) {
28455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28457 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28460 result
= (long)(arg1
)->GetIndex();
28461 wxPyEndAllowThreads(__tstate
);
28462 if (PyErr_Occurred()) SWIG_fail
;
28464 resultobj
= SWIG_From_long(static_cast< long >(result
));
28471 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28472 PyObject
*resultobj
= 0;
28473 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28477 PyObject
*swig_obj
[1] ;
28479 if (!args
) SWIG_fail
;
28480 swig_obj
[0] = args
;
28481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28482 if (!SWIG_IsOK(res1
)) {
28483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28485 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28488 result
= (int)(arg1
)->GetColumn();
28489 wxPyEndAllowThreads(__tstate
);
28490 if (PyErr_Occurred()) SWIG_fail
;
28492 resultobj
= SWIG_From_int(static_cast< int >(result
));
28499 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28500 PyObject
*resultobj
= 0;
28501 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28505 PyObject
*swig_obj
[1] ;
28507 if (!args
) SWIG_fail
;
28508 swig_obj
[0] = args
;
28509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28510 if (!SWIG_IsOK(res1
)) {
28511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28513 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28516 result
= (arg1
)->GetPoint();
28517 wxPyEndAllowThreads(__tstate
);
28518 if (PyErr_Occurred()) SWIG_fail
;
28520 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28527 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28528 PyObject
*resultobj
= 0;
28529 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28530 wxString
*result
= 0 ;
28533 PyObject
*swig_obj
[1] ;
28535 if (!args
) SWIG_fail
;
28536 swig_obj
[0] = args
;
28537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28538 if (!SWIG_IsOK(res1
)) {
28539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28541 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28545 wxString
const &_result_ref
= (arg1
)->GetLabel();
28546 result
= (wxString
*) &_result_ref
;
28548 wxPyEndAllowThreads(__tstate
);
28549 if (PyErr_Occurred()) SWIG_fail
;
28553 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28555 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28564 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28565 PyObject
*resultobj
= 0;
28566 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28567 wxString
*result
= 0 ;
28570 PyObject
*swig_obj
[1] ;
28572 if (!args
) SWIG_fail
;
28573 swig_obj
[0] = args
;
28574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28575 if (!SWIG_IsOK(res1
)) {
28576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28578 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28582 wxString
const &_result_ref
= (arg1
)->GetText();
28583 result
= (wxString
*) &_result_ref
;
28585 wxPyEndAllowThreads(__tstate
);
28586 if (PyErr_Occurred()) SWIG_fail
;
28590 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28592 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28601 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28602 PyObject
*resultobj
= 0;
28603 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28607 PyObject
*swig_obj
[1] ;
28609 if (!args
) SWIG_fail
;
28610 swig_obj
[0] = args
;
28611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28612 if (!SWIG_IsOK(res1
)) {
28613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28615 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28618 result
= (int)(arg1
)->GetImage();
28619 wxPyEndAllowThreads(__tstate
);
28620 if (PyErr_Occurred()) SWIG_fail
;
28622 resultobj
= SWIG_From_int(static_cast< int >(result
));
28629 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28630 PyObject
*resultobj
= 0;
28631 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28635 PyObject
*swig_obj
[1] ;
28637 if (!args
) SWIG_fail
;
28638 swig_obj
[0] = args
;
28639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28640 if (!SWIG_IsOK(res1
)) {
28641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28643 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28646 result
= (long)(arg1
)->GetData();
28647 wxPyEndAllowThreads(__tstate
);
28648 if (PyErr_Occurred()) SWIG_fail
;
28650 resultobj
= SWIG_From_long(static_cast< long >(result
));
28657 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28658 PyObject
*resultobj
= 0;
28659 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28663 PyObject
*swig_obj
[1] ;
28665 if (!args
) SWIG_fail
;
28666 swig_obj
[0] = args
;
28667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28668 if (!SWIG_IsOK(res1
)) {
28669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28671 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28674 result
= (long)(arg1
)->GetMask();
28675 wxPyEndAllowThreads(__tstate
);
28676 if (PyErr_Occurred()) SWIG_fail
;
28678 resultobj
= SWIG_From_long(static_cast< long >(result
));
28685 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28686 PyObject
*resultobj
= 0;
28687 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28688 wxListItem
*result
= 0 ;
28691 PyObject
*swig_obj
[1] ;
28693 if (!args
) SWIG_fail
;
28694 swig_obj
[0] = args
;
28695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28696 if (!SWIG_IsOK(res1
)) {
28697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28699 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28703 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28704 result
= (wxListItem
*) &_result_ref
;
28706 wxPyEndAllowThreads(__tstate
);
28707 if (PyErr_Occurred()) SWIG_fail
;
28709 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28716 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28717 PyObject
*resultobj
= 0;
28718 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28722 PyObject
*swig_obj
[1] ;
28724 if (!args
) SWIG_fail
;
28725 swig_obj
[0] = args
;
28726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28727 if (!SWIG_IsOK(res1
)) {
28728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28730 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28733 result
= (long)(arg1
)->GetCacheFrom();
28734 wxPyEndAllowThreads(__tstate
);
28735 if (PyErr_Occurred()) SWIG_fail
;
28737 resultobj
= SWIG_From_long(static_cast< long >(result
));
28744 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28745 PyObject
*resultobj
= 0;
28746 wxListEvent
*arg1
= (wxListEvent
*) 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_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28758 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28761 result
= (long)(arg1
)->GetCacheTo();
28762 wxPyEndAllowThreads(__tstate
);
28763 if (PyErr_Occurred()) SWIG_fail
;
28765 resultobj
= SWIG_From_long(static_cast< long >(result
));
28772 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28773 PyObject
*resultobj
= 0;
28774 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28778 PyObject
*swig_obj
[1] ;
28780 if (!args
) SWIG_fail
;
28781 swig_obj
[0] = args
;
28782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28783 if (!SWIG_IsOK(res1
)) {
28784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28786 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28789 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28790 wxPyEndAllowThreads(__tstate
);
28791 if (PyErr_Occurred()) SWIG_fail
;
28794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28802 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28803 PyObject
*resultobj
= 0;
28804 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28810 PyObject
* obj0
= 0 ;
28811 PyObject
* obj1
= 0 ;
28812 char * kwnames
[] = {
28813 (char *) "self",(char *) "editCancelled", NULL
28816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28818 if (!SWIG_IsOK(res1
)) {
28819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28821 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28822 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28823 if (!SWIG_IsOK(ecode2
)) {
28824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28826 arg2
= static_cast< bool >(val2
);
28828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28829 (arg1
)->SetEditCanceled(arg2
);
28830 wxPyEndAllowThreads(__tstate
);
28831 if (PyErr_Occurred()) SWIG_fail
;
28833 resultobj
= SWIG_Py_Void();
28840 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28842 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28843 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28844 return SWIG_Py_Void();
28847 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28848 return SWIG_Python_InitShadowInstance(args
);
28851 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28852 PyObject
*resultobj
= 0;
28853 wxWindow
*arg1
= (wxWindow
*) 0 ;
28854 int arg2
= (int) -1 ;
28855 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28856 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28857 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28858 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28859 long arg5
= (long) wxLC_ICON
;
28860 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28861 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28862 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28863 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28864 wxPyListCtrl
*result
= 0 ;
28875 bool temp7
= false ;
28876 PyObject
* obj0
= 0 ;
28877 PyObject
* obj1
= 0 ;
28878 PyObject
* obj2
= 0 ;
28879 PyObject
* obj3
= 0 ;
28880 PyObject
* obj4
= 0 ;
28881 PyObject
* obj5
= 0 ;
28882 PyObject
* obj6
= 0 ;
28883 char * kwnames
[] = {
28884 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28889 if (!SWIG_IsOK(res1
)) {
28890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28892 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28894 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28895 if (!SWIG_IsOK(ecode2
)) {
28896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28898 arg2
= static_cast< int >(val2
);
28903 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28909 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28913 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28914 if (!SWIG_IsOK(ecode5
)) {
28915 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28917 arg5
= static_cast< long >(val5
);
28920 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28921 if (!SWIG_IsOK(res6
)) {
28922 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28925 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28927 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28931 arg7
= wxString_in_helper(obj6
);
28932 if (arg7
== NULL
) SWIG_fail
;
28937 if (!wxPyCheckForApp()) SWIG_fail
;
28938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28939 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28940 wxPyEndAllowThreads(__tstate
);
28941 if (PyErr_Occurred()) SWIG_fail
;
28943 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28958 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28959 PyObject
*resultobj
= 0;
28960 wxPyListCtrl
*result
= 0 ;
28962 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28964 if (!wxPyCheckForApp()) SWIG_fail
;
28965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28966 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28967 wxPyEndAllowThreads(__tstate
);
28968 if (PyErr_Occurred()) SWIG_fail
;
28970 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28977 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28978 PyObject
*resultobj
= 0;
28979 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28980 wxWindow
*arg2
= (wxWindow
*) 0 ;
28981 int arg3
= (int) -1 ;
28982 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28983 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28984 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28985 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28986 long arg6
= (long) wxLC_ICON
;
28987 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28988 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28989 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28990 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
29004 bool temp8
= false ;
29005 PyObject
* obj0
= 0 ;
29006 PyObject
* obj1
= 0 ;
29007 PyObject
* obj2
= 0 ;
29008 PyObject
* obj3
= 0 ;
29009 PyObject
* obj4
= 0 ;
29010 PyObject
* obj5
= 0 ;
29011 PyObject
* obj6
= 0 ;
29012 PyObject
* obj7
= 0 ;
29013 char * kwnames
[] = {
29014 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
29018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29019 if (!SWIG_IsOK(res1
)) {
29020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29022 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29023 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29024 if (!SWIG_IsOK(res2
)) {
29025 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
29027 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29029 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29030 if (!SWIG_IsOK(ecode3
)) {
29031 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
29033 arg3
= static_cast< int >(val3
);
29038 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29044 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29048 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29049 if (!SWIG_IsOK(ecode6
)) {
29050 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
29052 arg6
= static_cast< long >(val6
);
29055 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
29056 if (!SWIG_IsOK(res7
)) {
29057 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29060 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29062 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
29066 arg8
= wxString_in_helper(obj7
);
29067 if (arg8
== NULL
) SWIG_fail
;
29072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29073 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
29074 wxPyEndAllowThreads(__tstate
);
29075 if (PyErr_Occurred()) SWIG_fail
;
29078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29094 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29095 PyObject
*resultobj
= 0;
29096 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29097 PyObject
*arg2
= (PyObject
*) 0 ;
29098 PyObject
*arg3
= (PyObject
*) 0 ;
29101 PyObject
* obj0
= 0 ;
29102 PyObject
* obj1
= 0 ;
29103 PyObject
* obj2
= 0 ;
29104 char * kwnames
[] = {
29105 (char *) "self",(char *) "self",(char *) "_class", NULL
29108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29110 if (!SWIG_IsOK(res1
)) {
29111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29113 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29118 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29119 wxPyEndAllowThreads(__tstate
);
29120 if (PyErr_Occurred()) SWIG_fail
;
29122 resultobj
= SWIG_Py_Void();
29129 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29130 PyObject
*resultobj
= 0;
29131 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29133 wxListItem
*result
= 0 ;
29138 PyObject
* obj0
= 0 ;
29139 PyObject
* obj1
= 0 ;
29140 char * kwnames
[] = {
29141 (char *) "self",(char *) "col", NULL
29144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29146 if (!SWIG_IsOK(res1
)) {
29147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29149 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29151 if (!SWIG_IsOK(ecode2
)) {
29152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29154 arg2
= static_cast< int >(val2
);
29156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29157 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
29158 wxPyEndAllowThreads(__tstate
);
29159 if (PyErr_Occurred()) SWIG_fail
;
29162 resultobj
= wxPyMake_wxObject(result
, 0);
29170 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29171 PyObject
*resultobj
= 0;
29172 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29174 wxListItem
*arg3
= 0 ;
29182 PyObject
* obj0
= 0 ;
29183 PyObject
* obj1
= 0 ;
29184 PyObject
* obj2
= 0 ;
29185 char * kwnames
[] = {
29186 (char *) "self",(char *) "col",(char *) "item", NULL
29189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29191 if (!SWIG_IsOK(res1
)) {
29192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29194 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29195 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29196 if (!SWIG_IsOK(ecode2
)) {
29197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29199 arg2
= static_cast< int >(val2
);
29200 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
29201 if (!SWIG_IsOK(res3
)) {
29202 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29205 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29207 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
29209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29210 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
29211 wxPyEndAllowThreads(__tstate
);
29212 if (PyErr_Occurred()) SWIG_fail
;
29215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29223 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29224 PyObject
*resultobj
= 0;
29225 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29232 PyObject
* obj0
= 0 ;
29233 PyObject
* obj1
= 0 ;
29234 char * kwnames
[] = {
29235 (char *) "self",(char *) "col", NULL
29238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29240 if (!SWIG_IsOK(res1
)) {
29241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29243 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29244 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29245 if (!SWIG_IsOK(ecode2
)) {
29246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29248 arg2
= static_cast< int >(val2
);
29250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29251 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
29252 wxPyEndAllowThreads(__tstate
);
29253 if (PyErr_Occurred()) SWIG_fail
;
29255 resultobj
= SWIG_From_int(static_cast< int >(result
));
29262 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29263 PyObject
*resultobj
= 0;
29264 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29274 PyObject
* obj0
= 0 ;
29275 PyObject
* obj1
= 0 ;
29276 PyObject
* obj2
= 0 ;
29277 char * kwnames
[] = {
29278 (char *) "self",(char *) "col",(char *) "width", NULL
29281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29283 if (!SWIG_IsOK(res1
)) {
29284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29286 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29287 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29288 if (!SWIG_IsOK(ecode2
)) {
29289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29291 arg2
= static_cast< int >(val2
);
29292 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29293 if (!SWIG_IsOK(ecode3
)) {
29294 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29296 arg3
= static_cast< int >(val3
);
29298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29299 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
29300 wxPyEndAllowThreads(__tstate
);
29301 if (PyErr_Occurred()) SWIG_fail
;
29304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29312 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29313 PyObject
*resultobj
= 0;
29314 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29318 PyObject
*swig_obj
[1] ;
29320 if (!args
) SWIG_fail
;
29321 swig_obj
[0] = args
;
29322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29323 if (!SWIG_IsOK(res1
)) {
29324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29326 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29329 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29330 wxPyEndAllowThreads(__tstate
);
29331 if (PyErr_Occurred()) SWIG_fail
;
29333 resultobj
= SWIG_From_int(static_cast< int >(result
));
29340 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29341 PyObject
*resultobj
= 0;
29342 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29346 PyObject
*swig_obj
[1] ;
29348 if (!args
) SWIG_fail
;
29349 swig_obj
[0] = args
;
29350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29351 if (!SWIG_IsOK(res1
)) {
29352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29354 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29357 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29358 wxPyEndAllowThreads(__tstate
);
29359 if (PyErr_Occurred()) SWIG_fail
;
29361 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29368 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29369 PyObject
*resultobj
= 0;
29370 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29371 wxTextCtrl
*result
= 0 ;
29374 PyObject
*swig_obj
[1] ;
29376 if (!args
) SWIG_fail
;
29377 swig_obj
[0] = args
;
29378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29379 if (!SWIG_IsOK(res1
)) {
29380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29382 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29385 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29386 wxPyEndAllowThreads(__tstate
);
29387 if (PyErr_Occurred()) SWIG_fail
;
29390 resultobj
= wxPyMake_wxObject(result
, 0);
29398 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29399 PyObject
*resultobj
= 0;
29400 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29402 int arg3
= (int) 0 ;
29403 wxListItem
*result
= 0 ;
29410 PyObject
* obj0
= 0 ;
29411 PyObject
* obj1
= 0 ;
29412 PyObject
* obj2
= 0 ;
29413 char * kwnames
[] = {
29414 (char *) "self",(char *) "itemId",(char *) "col", NULL
29417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29419 if (!SWIG_IsOK(res1
)) {
29420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29422 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29423 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29424 if (!SWIG_IsOK(ecode2
)) {
29425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29427 arg2
= static_cast< long >(val2
);
29429 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29430 if (!SWIG_IsOK(ecode3
)) {
29431 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29433 arg3
= static_cast< int >(val3
);
29436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29437 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29438 wxPyEndAllowThreads(__tstate
);
29439 if (PyErr_Occurred()) SWIG_fail
;
29442 resultobj
= wxPyMake_wxObject(result
, 0);
29450 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29451 PyObject
*resultobj
= 0;
29452 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29453 wxListItem
*arg2
= 0 ;
29459 PyObject
* obj0
= 0 ;
29460 PyObject
* obj1
= 0 ;
29461 char * kwnames
[] = {
29462 (char *) "self",(char *) "info", NULL
29465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29467 if (!SWIG_IsOK(res1
)) {
29468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29470 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29471 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29472 if (!SWIG_IsOK(res2
)) {
29473 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29476 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29478 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29481 result
= (bool)(arg1
)->SetItem(*arg2
);
29482 wxPyEndAllowThreads(__tstate
);
29483 if (PyErr_Occurred()) SWIG_fail
;
29486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29494 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29495 PyObject
*resultobj
= 0;
29496 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29499 wxString
*arg4
= 0 ;
29500 int arg5
= (int) -1 ;
29508 bool temp4
= false ;
29511 PyObject
* obj0
= 0 ;
29512 PyObject
* obj1
= 0 ;
29513 PyObject
* obj2
= 0 ;
29514 PyObject
* obj3
= 0 ;
29515 PyObject
* obj4
= 0 ;
29516 char * kwnames
[] = {
29517 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29522 if (!SWIG_IsOK(res1
)) {
29523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29525 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29526 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29527 if (!SWIG_IsOK(ecode2
)) {
29528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29530 arg2
= static_cast< long >(val2
);
29531 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29532 if (!SWIG_IsOK(ecode3
)) {
29533 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29535 arg3
= static_cast< int >(val3
);
29537 arg4
= wxString_in_helper(obj3
);
29538 if (arg4
== NULL
) SWIG_fail
;
29542 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29543 if (!SWIG_IsOK(ecode5
)) {
29544 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29546 arg5
= static_cast< int >(val5
);
29549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29550 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29551 wxPyEndAllowThreads(__tstate
);
29552 if (PyErr_Occurred()) SWIG_fail
;
29554 resultobj
= SWIG_From_long(static_cast< long >(result
));
29569 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29570 PyObject
*resultobj
= 0;
29571 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29581 PyObject
* obj0
= 0 ;
29582 PyObject
* obj1
= 0 ;
29583 PyObject
* obj2
= 0 ;
29584 char * kwnames
[] = {
29585 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29590 if (!SWIG_IsOK(res1
)) {
29591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29593 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29594 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29595 if (!SWIG_IsOK(ecode2
)) {
29596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29598 arg2
= static_cast< long >(val2
);
29599 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29600 if (!SWIG_IsOK(ecode3
)) {
29601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29603 arg3
= static_cast< long >(val3
);
29605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29606 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29607 wxPyEndAllowThreads(__tstate
);
29608 if (PyErr_Occurred()) SWIG_fail
;
29610 resultobj
= SWIG_From_int(static_cast< int >(result
));
29617 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29618 PyObject
*resultobj
= 0;
29619 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29632 PyObject
* obj0
= 0 ;
29633 PyObject
* obj1
= 0 ;
29634 PyObject
* obj2
= 0 ;
29635 PyObject
* obj3
= 0 ;
29636 char * kwnames
[] = {
29637 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29642 if (!SWIG_IsOK(res1
)) {
29643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29645 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29646 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29647 if (!SWIG_IsOK(ecode2
)) {
29648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29650 arg2
= static_cast< long >(val2
);
29651 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29652 if (!SWIG_IsOK(ecode3
)) {
29653 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29655 arg3
= static_cast< long >(val3
);
29656 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29657 if (!SWIG_IsOK(ecode4
)) {
29658 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29660 arg4
= static_cast< long >(val4
);
29662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29663 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29664 wxPyEndAllowThreads(__tstate
);
29665 if (PyErr_Occurred()) SWIG_fail
;
29668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29676 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29677 PyObject
*resultobj
= 0;
29678 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29681 int arg4
= (int) -1 ;
29691 PyObject
* obj0
= 0 ;
29692 PyObject
* obj1
= 0 ;
29693 PyObject
* obj2
= 0 ;
29694 PyObject
* obj3
= 0 ;
29695 char * kwnames
[] = {
29696 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29701 if (!SWIG_IsOK(res1
)) {
29702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29704 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29705 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29706 if (!SWIG_IsOK(ecode2
)) {
29707 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29709 arg2
= static_cast< long >(val2
);
29710 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29711 if (!SWIG_IsOK(ecode3
)) {
29712 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29714 arg3
= static_cast< int >(val3
);
29716 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29717 if (!SWIG_IsOK(ecode4
)) {
29718 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29720 arg4
= static_cast< int >(val4
);
29723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29724 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29725 wxPyEndAllowThreads(__tstate
);
29726 if (PyErr_Occurred()) SWIG_fail
;
29729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29737 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29738 PyObject
*resultobj
= 0;
29739 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29752 PyObject
* obj0
= 0 ;
29753 PyObject
* obj1
= 0 ;
29754 PyObject
* obj2
= 0 ;
29755 PyObject
* obj3
= 0 ;
29756 char * kwnames
[] = {
29757 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29762 if (!SWIG_IsOK(res1
)) {
29763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29765 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29766 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29767 if (!SWIG_IsOK(ecode2
)) {
29768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29770 arg2
= static_cast< long >(val2
);
29771 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29772 if (!SWIG_IsOK(ecode3
)) {
29773 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29775 arg3
= static_cast< long >(val3
);
29776 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29777 if (!SWIG_IsOK(ecode4
)) {
29778 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29780 arg4
= static_cast< int >(val4
);
29782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29783 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29784 wxPyEndAllowThreads(__tstate
);
29785 if (PyErr_Occurred()) SWIG_fail
;
29788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29796 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29797 PyObject
*resultobj
= 0;
29798 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29805 PyObject
* obj0
= 0 ;
29806 PyObject
* obj1
= 0 ;
29807 char * kwnames
[] = {
29808 (char *) "self",(char *) "item", NULL
29811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29813 if (!SWIG_IsOK(res1
)) {
29814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29816 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29817 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29818 if (!SWIG_IsOK(ecode2
)) {
29819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29821 arg2
= static_cast< long >(val2
);
29823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29824 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29825 wxPyEndAllowThreads(__tstate
);
29826 if (PyErr_Occurred()) SWIG_fail
;
29830 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29832 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29841 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29842 PyObject
*resultobj
= 0;
29843 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29845 wxString
*arg3
= 0 ;
29850 bool temp3
= false ;
29851 PyObject
* obj0
= 0 ;
29852 PyObject
* obj1
= 0 ;
29853 PyObject
* obj2
= 0 ;
29854 char * kwnames
[] = {
29855 (char *) "self",(char *) "item",(char *) "str", NULL
29858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29860 if (!SWIG_IsOK(res1
)) {
29861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29863 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29864 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29865 if (!SWIG_IsOK(ecode2
)) {
29866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29868 arg2
= static_cast< long >(val2
);
29870 arg3
= wxString_in_helper(obj2
);
29871 if (arg3
== NULL
) SWIG_fail
;
29875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29876 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29877 wxPyEndAllowThreads(__tstate
);
29878 if (PyErr_Occurred()) SWIG_fail
;
29880 resultobj
= SWIG_Py_Void();
29895 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29896 PyObject
*resultobj
= 0;
29897 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29904 PyObject
* obj0
= 0 ;
29905 PyObject
* obj1
= 0 ;
29906 char * kwnames
[] = {
29907 (char *) "self",(char *) "item", NULL
29910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29912 if (!SWIG_IsOK(res1
)) {
29913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29915 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29916 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29917 if (!SWIG_IsOK(ecode2
)) {
29918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29920 arg2
= static_cast< long >(val2
);
29922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29923 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29924 wxPyEndAllowThreads(__tstate
);
29925 if (PyErr_Occurred()) SWIG_fail
;
29927 resultobj
= SWIG_From_long(static_cast< long >(result
));
29934 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29935 PyObject
*resultobj
= 0;
29936 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29946 PyObject
* obj0
= 0 ;
29947 PyObject
* obj1
= 0 ;
29948 PyObject
* obj2
= 0 ;
29949 char * kwnames
[] = {
29950 (char *) "self",(char *) "item",(char *) "data", NULL
29953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29955 if (!SWIG_IsOK(res1
)) {
29956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29958 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29959 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29960 if (!SWIG_IsOK(ecode2
)) {
29961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29963 arg2
= static_cast< long >(val2
);
29964 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29965 if (!SWIG_IsOK(ecode3
)) {
29966 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29968 arg3
= static_cast< long >(val3
);
29970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29971 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29972 wxPyEndAllowThreads(__tstate
);
29973 if (PyErr_Occurred()) SWIG_fail
;
29976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29984 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29985 PyObject
*resultobj
= 0;
29986 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29993 PyObject
* obj0
= 0 ;
29994 PyObject
* obj1
= 0 ;
29995 char * kwnames
[] = {
29996 (char *) "self",(char *) "item", NULL
29999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30001 if (!SWIG_IsOK(res1
)) {
30002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30004 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30005 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30006 if (!SWIG_IsOK(ecode2
)) {
30007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
30009 arg2
= static_cast< long >(val2
);
30011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30012 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
30013 wxPyEndAllowThreads(__tstate
);
30014 if (PyErr_Occurred()) SWIG_fail
;
30016 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
30023 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30024 PyObject
*resultobj
= 0;
30025 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30027 int arg3
= (int) wxLIST_RECT_BOUNDS
;
30035 PyObject
* obj0
= 0 ;
30036 PyObject
* obj1
= 0 ;
30037 PyObject
* obj2
= 0 ;
30038 char * kwnames
[] = {
30039 (char *) "self",(char *) "item",(char *) "code", NULL
30042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30044 if (!SWIG_IsOK(res1
)) {
30045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30047 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30048 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30049 if (!SWIG_IsOK(ecode2
)) {
30050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
30052 arg2
= static_cast< long >(val2
);
30054 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30055 if (!SWIG_IsOK(ecode3
)) {
30056 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
30058 arg3
= static_cast< int >(val3
);
30061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30062 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
30063 wxPyEndAllowThreads(__tstate
);
30064 if (PyErr_Occurred()) SWIG_fail
;
30066 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30073 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30074 PyObject
*resultobj
= 0;
30075 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30077 wxPoint
*arg3
= 0 ;
30084 PyObject
* obj0
= 0 ;
30085 PyObject
* obj1
= 0 ;
30086 PyObject
* obj2
= 0 ;
30087 char * kwnames
[] = {
30088 (char *) "self",(char *) "item",(char *) "pos", NULL
30091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30093 if (!SWIG_IsOK(res1
)) {
30094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30096 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30097 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30098 if (!SWIG_IsOK(ecode2
)) {
30099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30101 arg2
= static_cast< long >(val2
);
30104 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30108 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
30109 wxPyEndAllowThreads(__tstate
);
30110 if (PyErr_Occurred()) SWIG_fail
;
30113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30121 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30122 PyObject
*resultobj
= 0;
30123 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30127 PyObject
*swig_obj
[1] ;
30129 if (!args
) SWIG_fail
;
30130 swig_obj
[0] = args
;
30131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30132 if (!SWIG_IsOK(res1
)) {
30133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30135 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30138 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
30139 wxPyEndAllowThreads(__tstate
);
30140 if (PyErr_Occurred()) SWIG_fail
;
30142 resultobj
= SWIG_From_int(static_cast< int >(result
));
30149 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30150 PyObject
*resultobj
= 0;
30151 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30155 PyObject
*swig_obj
[1] ;
30157 if (!args
) SWIG_fail
;
30158 swig_obj
[0] = args
;
30159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30160 if (!SWIG_IsOK(res1
)) {
30161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30163 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30166 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
30167 wxPyEndAllowThreads(__tstate
);
30168 if (PyErr_Occurred()) SWIG_fail
;
30170 resultobj
= SWIG_From_int(static_cast< int >(result
));
30177 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30178 PyObject
*resultobj
= 0;
30179 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30183 PyObject
*swig_obj
[1] ;
30185 if (!args
) SWIG_fail
;
30186 swig_obj
[0] = args
;
30187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30188 if (!SWIG_IsOK(res1
)) {
30189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30191 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30194 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
30195 wxPyEndAllowThreads(__tstate
);
30196 if (PyErr_Occurred()) SWIG_fail
;
30198 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30205 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30206 PyObject
*resultobj
= 0;
30207 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30209 bool arg3
= (bool) false ;
30216 PyObject
* obj0
= 0 ;
30217 PyObject
* obj1
= 0 ;
30218 PyObject
* obj2
= 0 ;
30219 char * kwnames
[] = {
30220 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
30223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30225 if (!SWIG_IsOK(res1
)) {
30226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30228 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30229 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30230 if (!SWIG_IsOK(ecode2
)) {
30231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
30233 arg2
= static_cast< int >(val2
);
30235 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30236 if (!SWIG_IsOK(ecode3
)) {
30237 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
30239 arg3
= static_cast< bool >(val3
);
30242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30243 (arg1
)->SetItemSpacing(arg2
,arg3
);
30244 wxPyEndAllowThreads(__tstate
);
30245 if (PyErr_Occurred()) SWIG_fail
;
30247 resultobj
= SWIG_Py_Void();
30254 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30255 PyObject
*resultobj
= 0;
30256 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30260 PyObject
*swig_obj
[1] ;
30262 if (!args
) SWIG_fail
;
30263 swig_obj
[0] = args
;
30264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30265 if (!SWIG_IsOK(res1
)) {
30266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30268 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30271 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
30272 wxPyEndAllowThreads(__tstate
);
30273 if (PyErr_Occurred()) SWIG_fail
;
30275 resultobj
= SWIG_From_int(static_cast< int >(result
));
30282 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30283 PyObject
*resultobj
= 0;
30284 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30288 PyObject
*swig_obj
[1] ;
30290 if (!args
) SWIG_fail
;
30291 swig_obj
[0] = args
;
30292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30293 if (!SWIG_IsOK(res1
)) {
30294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30296 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30299 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
30300 wxPyEndAllowThreads(__tstate
);
30301 if (PyErr_Occurred()) SWIG_fail
;
30303 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30310 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30311 PyObject
*resultobj
= 0;
30312 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30313 wxColour
*arg2
= 0 ;
30317 PyObject
* obj0
= 0 ;
30318 PyObject
* obj1
= 0 ;
30319 char * kwnames
[] = {
30320 (char *) "self",(char *) "col", NULL
30323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30325 if (!SWIG_IsOK(res1
)) {
30326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30328 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30331 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30335 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30336 wxPyEndAllowThreads(__tstate
);
30337 if (PyErr_Occurred()) SWIG_fail
;
30339 resultobj
= SWIG_Py_Void();
30346 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30347 PyObject
*resultobj
= 0;
30348 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30352 PyObject
*swig_obj
[1] ;
30354 if (!args
) SWIG_fail
;
30355 swig_obj
[0] = args
;
30356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30357 if (!SWIG_IsOK(res1
)) {
30358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30360 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30363 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30364 wxPyEndAllowThreads(__tstate
);
30365 if (PyErr_Occurred()) SWIG_fail
;
30367 resultobj
= SWIG_From_long(static_cast< long >(result
));
30374 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30375 PyObject
*resultobj
= 0;
30376 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30378 bool arg3
= (bool) true ;
30385 PyObject
* obj0
= 0 ;
30386 PyObject
* obj1
= 0 ;
30387 PyObject
* obj2
= 0 ;
30388 char * kwnames
[] = {
30389 (char *) "self",(char *) "style",(char *) "add", NULL
30392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30394 if (!SWIG_IsOK(res1
)) {
30395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30397 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30398 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30399 if (!SWIG_IsOK(ecode2
)) {
30400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30402 arg2
= static_cast< long >(val2
);
30404 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30405 if (!SWIG_IsOK(ecode3
)) {
30406 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30408 arg3
= static_cast< bool >(val3
);
30411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30412 (arg1
)->SetSingleStyle(arg2
,arg3
);
30413 wxPyEndAllowThreads(__tstate
);
30414 if (PyErr_Occurred()) SWIG_fail
;
30416 resultobj
= SWIG_Py_Void();
30423 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30424 PyObject
*resultobj
= 0;
30425 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30427 int arg3
= (int) wxLIST_NEXT_ALL
;
30428 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30438 PyObject
* obj0
= 0 ;
30439 PyObject
* obj1
= 0 ;
30440 PyObject
* obj2
= 0 ;
30441 PyObject
* obj3
= 0 ;
30442 char * kwnames
[] = {
30443 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30448 if (!SWIG_IsOK(res1
)) {
30449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30451 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30452 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30453 if (!SWIG_IsOK(ecode2
)) {
30454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30456 arg2
= static_cast< long >(val2
);
30458 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30459 if (!SWIG_IsOK(ecode3
)) {
30460 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30462 arg3
= static_cast< int >(val3
);
30465 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30466 if (!SWIG_IsOK(ecode4
)) {
30467 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30469 arg4
= static_cast< int >(val4
);
30472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30473 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30474 wxPyEndAllowThreads(__tstate
);
30475 if (PyErr_Occurred()) SWIG_fail
;
30477 resultobj
= SWIG_From_long(static_cast< long >(result
));
30484 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30485 PyObject
*resultobj
= 0;
30486 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30488 wxImageList
*result
= 0 ;
30493 PyObject
* obj0
= 0 ;
30494 PyObject
* obj1
= 0 ;
30495 char * kwnames
[] = {
30496 (char *) "self",(char *) "which", NULL
30499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30501 if (!SWIG_IsOK(res1
)) {
30502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30504 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30506 if (!SWIG_IsOK(ecode2
)) {
30507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30509 arg2
= static_cast< int >(val2
);
30511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30512 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30513 wxPyEndAllowThreads(__tstate
);
30514 if (PyErr_Occurred()) SWIG_fail
;
30517 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30525 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30526 PyObject
*resultobj
= 0;
30527 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30528 wxImageList
*arg2
= (wxImageList
*) 0 ;
30536 PyObject
* obj0
= 0 ;
30537 PyObject
* obj1
= 0 ;
30538 PyObject
* obj2
= 0 ;
30539 char * kwnames
[] = {
30540 (char *) "self",(char *) "imageList",(char *) "which", NULL
30543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30545 if (!SWIG_IsOK(res1
)) {
30546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30548 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30549 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30550 if (!SWIG_IsOK(res2
)) {
30551 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30553 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30554 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30555 if (!SWIG_IsOK(ecode3
)) {
30556 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30558 arg3
= static_cast< int >(val3
);
30560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30561 (arg1
)->SetImageList(arg2
,arg3
);
30562 wxPyEndAllowThreads(__tstate
);
30563 if (PyErr_Occurred()) SWIG_fail
;
30565 resultobj
= SWIG_Py_Void();
30572 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30573 PyObject
*resultobj
= 0;
30574 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30575 wxImageList
*arg2
= (wxImageList
*) 0 ;
30582 PyObject
* obj0
= 0 ;
30583 PyObject
* obj1
= 0 ;
30584 PyObject
* obj2
= 0 ;
30585 char * kwnames
[] = {
30586 (char *) "self",(char *) "imageList",(char *) "which", NULL
30589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30591 if (!SWIG_IsOK(res1
)) {
30592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30594 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30595 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30596 if (!SWIG_IsOK(res2
)) {
30597 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30599 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30600 if (!SWIG_IsOK(ecode3
)) {
30601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30603 arg3
= static_cast< int >(val3
);
30605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30606 (arg1
)->AssignImageList(arg2
,arg3
);
30607 wxPyEndAllowThreads(__tstate
);
30608 if (PyErr_Occurred()) SWIG_fail
;
30610 resultobj
= SWIG_Py_Void();
30617 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30618 PyObject
*resultobj
= 0;
30619 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30623 PyObject
*swig_obj
[1] ;
30625 if (!args
) SWIG_fail
;
30626 swig_obj
[0] = args
;
30627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30628 if (!SWIG_IsOK(res1
)) {
30629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30631 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30634 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30635 wxPyEndAllowThreads(__tstate
);
30636 if (PyErr_Occurred()) SWIG_fail
;
30639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30647 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30648 PyObject
*resultobj
= 0;
30649 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30653 PyObject
*swig_obj
[1] ;
30655 if (!args
) SWIG_fail
;
30656 swig_obj
[0] = args
;
30657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30658 if (!SWIG_IsOK(res1
)) {
30659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30661 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30664 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30665 wxPyEndAllowThreads(__tstate
);
30666 if (PyErr_Occurred()) SWIG_fail
;
30669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30677 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30678 PyObject
*resultobj
= 0;
30679 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30685 PyObject
* obj0
= 0 ;
30686 PyObject
* obj1
= 0 ;
30687 char * kwnames
[] = {
30688 (char *) "self",(char *) "item", NULL
30691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30693 if (!SWIG_IsOK(res1
)) {
30694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30696 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30697 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30698 if (!SWIG_IsOK(ecode2
)) {
30699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30701 arg2
= static_cast< long >(val2
);
30703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30704 (arg1
)->RefreshItem(arg2
);
30705 wxPyEndAllowThreads(__tstate
);
30706 if (PyErr_Occurred()) SWIG_fail
;
30708 resultobj
= SWIG_Py_Void();
30715 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30716 PyObject
*resultobj
= 0;
30717 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30726 PyObject
* obj0
= 0 ;
30727 PyObject
* obj1
= 0 ;
30728 PyObject
* obj2
= 0 ;
30729 char * kwnames
[] = {
30730 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30735 if (!SWIG_IsOK(res1
)) {
30736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30738 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30739 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30740 if (!SWIG_IsOK(ecode2
)) {
30741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30743 arg2
= static_cast< long >(val2
);
30744 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30745 if (!SWIG_IsOK(ecode3
)) {
30746 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30748 arg3
= static_cast< long >(val3
);
30750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30751 (arg1
)->RefreshItems(arg2
,arg3
);
30752 wxPyEndAllowThreads(__tstate
);
30753 if (PyErr_Occurred()) SWIG_fail
;
30755 resultobj
= SWIG_Py_Void();
30762 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30763 PyObject
*resultobj
= 0;
30764 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30765 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30771 PyObject
* obj0
= 0 ;
30772 PyObject
* obj1
= 0 ;
30773 char * kwnames
[] = {
30774 (char *) "self",(char *) "flag", NULL
30777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30779 if (!SWIG_IsOK(res1
)) {
30780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30782 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30784 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30785 if (!SWIG_IsOK(ecode2
)) {
30786 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30788 arg2
= static_cast< int >(val2
);
30791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30792 result
= (bool)(arg1
)->Arrange(arg2
);
30793 wxPyEndAllowThreads(__tstate
);
30794 if (PyErr_Occurred()) SWIG_fail
;
30797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30805 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30806 PyObject
*resultobj
= 0;
30807 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30814 PyObject
* obj0
= 0 ;
30815 PyObject
* obj1
= 0 ;
30816 char * kwnames
[] = {
30817 (char *) "self",(char *) "item", NULL
30820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30822 if (!SWIG_IsOK(res1
)) {
30823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30825 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30826 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30827 if (!SWIG_IsOK(ecode2
)) {
30828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30830 arg2
= static_cast< long >(val2
);
30832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30833 result
= (bool)(arg1
)->DeleteItem(arg2
);
30834 wxPyEndAllowThreads(__tstate
);
30835 if (PyErr_Occurred()) SWIG_fail
;
30838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30846 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30847 PyObject
*resultobj
= 0;
30848 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30852 PyObject
*swig_obj
[1] ;
30854 if (!args
) SWIG_fail
;
30855 swig_obj
[0] = args
;
30856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30857 if (!SWIG_IsOK(res1
)) {
30858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30860 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30863 result
= (bool)(arg1
)->DeleteAllItems();
30864 wxPyEndAllowThreads(__tstate
);
30865 if (PyErr_Occurred()) SWIG_fail
;
30868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30876 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30877 PyObject
*resultobj
= 0;
30878 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30885 PyObject
* obj0
= 0 ;
30886 PyObject
* obj1
= 0 ;
30887 char * kwnames
[] = {
30888 (char *) "self",(char *) "col", NULL
30891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30893 if (!SWIG_IsOK(res1
)) {
30894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30896 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30897 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30898 if (!SWIG_IsOK(ecode2
)) {
30899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30901 arg2
= static_cast< int >(val2
);
30903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30904 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30905 wxPyEndAllowThreads(__tstate
);
30906 if (PyErr_Occurred()) SWIG_fail
;
30909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30917 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30918 PyObject
*resultobj
= 0;
30919 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30923 PyObject
*swig_obj
[1] ;
30925 if (!args
) SWIG_fail
;
30926 swig_obj
[0] = args
;
30927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30928 if (!SWIG_IsOK(res1
)) {
30929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30931 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30934 result
= (bool)(arg1
)->DeleteAllColumns();
30935 wxPyEndAllowThreads(__tstate
);
30936 if (PyErr_Occurred()) SWIG_fail
;
30939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30947 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30948 PyObject
*resultobj
= 0;
30949 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30952 PyObject
*swig_obj
[1] ;
30954 if (!args
) SWIG_fail
;
30955 swig_obj
[0] = args
;
30956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30957 if (!SWIG_IsOK(res1
)) {
30958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30960 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30963 (arg1
)->ClearAll();
30964 wxPyEndAllowThreads(__tstate
);
30965 if (PyErr_Occurred()) SWIG_fail
;
30967 resultobj
= SWIG_Py_Void();
30974 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30975 PyObject
*resultobj
= 0;
30976 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30982 PyObject
* obj0
= 0 ;
30983 PyObject
* obj1
= 0 ;
30984 char * kwnames
[] = {
30985 (char *) "self",(char *) "item", NULL
30988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30990 if (!SWIG_IsOK(res1
)) {
30991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30993 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30994 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30995 if (!SWIG_IsOK(ecode2
)) {
30996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30998 arg2
= static_cast< long >(val2
);
31000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31001 (arg1
)->EditLabel(arg2
);
31002 wxPyEndAllowThreads(__tstate
);
31003 if (PyErr_Occurred()) SWIG_fail
;
31005 resultobj
= SWIG_Py_Void();
31012 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31013 PyObject
*resultobj
= 0;
31014 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31021 PyObject
* obj0
= 0 ;
31022 PyObject
* obj1
= 0 ;
31023 char * kwnames
[] = {
31024 (char *) "self",(char *) "item", NULL
31027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31029 if (!SWIG_IsOK(res1
)) {
31030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31032 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31033 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31034 if (!SWIG_IsOK(ecode2
)) {
31035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
31037 arg2
= static_cast< long >(val2
);
31039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31040 result
= (bool)(arg1
)->EnsureVisible(arg2
);
31041 wxPyEndAllowThreads(__tstate
);
31042 if (PyErr_Occurred()) SWIG_fail
;
31045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31053 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31054 PyObject
*resultobj
= 0;
31055 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31057 wxString
*arg3
= 0 ;
31058 bool arg4
= (bool) false ;
31064 bool temp3
= false ;
31067 PyObject
* obj0
= 0 ;
31068 PyObject
* obj1
= 0 ;
31069 PyObject
* obj2
= 0 ;
31070 PyObject
* obj3
= 0 ;
31071 char * kwnames
[] = {
31072 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
31075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31077 if (!SWIG_IsOK(res1
)) {
31078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31080 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31081 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31082 if (!SWIG_IsOK(ecode2
)) {
31083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31085 arg2
= static_cast< long >(val2
);
31087 arg3
= wxString_in_helper(obj2
);
31088 if (arg3
== NULL
) SWIG_fail
;
31092 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
31093 if (!SWIG_IsOK(ecode4
)) {
31094 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31096 arg4
= static_cast< bool >(val4
);
31099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31100 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
31101 wxPyEndAllowThreads(__tstate
);
31102 if (PyErr_Occurred()) SWIG_fail
;
31104 resultobj
= SWIG_From_long(static_cast< long >(result
));
31119 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31120 PyObject
*resultobj
= 0;
31121 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31131 PyObject
* obj0
= 0 ;
31132 PyObject
* obj1
= 0 ;
31133 PyObject
* obj2
= 0 ;
31134 char * kwnames
[] = {
31135 (char *) "self",(char *) "start",(char *) "data", NULL
31138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31140 if (!SWIG_IsOK(res1
)) {
31141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31143 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31144 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31145 if (!SWIG_IsOK(ecode2
)) {
31146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31148 arg2
= static_cast< long >(val2
);
31149 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
31150 if (!SWIG_IsOK(ecode3
)) {
31151 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31153 arg3
= static_cast< long >(val3
);
31155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31156 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
31157 wxPyEndAllowThreads(__tstate
);
31158 if (PyErr_Occurred()) SWIG_fail
;
31160 resultobj
= SWIG_From_long(static_cast< long >(result
));
31167 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31168 PyObject
*resultobj
= 0;
31169 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31171 wxPoint
*arg3
= 0 ;
31181 PyObject
* obj0
= 0 ;
31182 PyObject
* obj1
= 0 ;
31183 PyObject
* obj2
= 0 ;
31184 PyObject
* obj3
= 0 ;
31185 char * kwnames
[] = {
31186 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31191 if (!SWIG_IsOK(res1
)) {
31192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31194 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31195 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31196 if (!SWIG_IsOK(ecode2
)) {
31197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31199 arg2
= static_cast< long >(val2
);
31202 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31204 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31205 if (!SWIG_IsOK(ecode4
)) {
31206 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31208 arg4
= static_cast< int >(val4
);
31210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31211 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
31212 wxPyEndAllowThreads(__tstate
);
31213 if (PyErr_Occurred()) SWIG_fail
;
31215 resultobj
= SWIG_From_long(static_cast< long >(result
));
31222 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31223 PyObject
*resultobj
= 0;
31224 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31225 wxPoint
*arg2
= 0 ;
31232 int res3
= SWIG_TMPOBJ
;
31233 PyObject
* obj0
= 0 ;
31234 PyObject
* obj1
= 0 ;
31235 char * kwnames
[] = {
31236 (char *) "self",(char *) "point", NULL
31240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31242 if (!SWIG_IsOK(res1
)) {
31243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31245 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31248 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31252 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31253 wxPyEndAllowThreads(__tstate
);
31254 if (PyErr_Occurred()) SWIG_fail
;
31256 resultobj
= SWIG_From_long(static_cast< long >(result
));
31257 if (SWIG_IsTmpObj(res3
)) {
31258 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31260 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31261 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31269 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31270 PyObject
*resultobj
= 0;
31271 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31272 wxPoint
*arg2
= 0 ;
31274 long *arg4
= (long *) 0 ;
31280 int res3
= SWIG_TMPOBJ
;
31282 int res4
= SWIG_TMPOBJ
;
31283 PyObject
* obj0
= 0 ;
31284 PyObject
* obj1
= 0 ;
31285 char * kwnames
[] = {
31286 (char *) "self",(char *) "point", NULL
31291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31293 if (!SWIG_IsOK(res1
)) {
31294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31296 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31299 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31303 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
31304 wxPyEndAllowThreads(__tstate
);
31305 if (PyErr_Occurred()) SWIG_fail
;
31307 resultobj
= SWIG_From_long(static_cast< long >(result
));
31308 if (SWIG_IsTmpObj(res3
)) {
31309 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31311 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31312 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31314 if (SWIG_IsTmpObj(res4
)) {
31315 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31317 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31318 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31326 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31327 PyObject
*resultobj
= 0;
31328 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31329 wxListItem
*arg2
= 0 ;
31335 PyObject
* obj0
= 0 ;
31336 PyObject
* obj1
= 0 ;
31337 char * kwnames
[] = {
31338 (char *) "self",(char *) "info", NULL
31341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31343 if (!SWIG_IsOK(res1
)) {
31344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31346 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31347 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31348 if (!SWIG_IsOK(res2
)) {
31349 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31352 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31354 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31357 result
= (long)(arg1
)->InsertItem(*arg2
);
31358 wxPyEndAllowThreads(__tstate
);
31359 if (PyErr_Occurred()) SWIG_fail
;
31361 resultobj
= SWIG_From_long(static_cast< long >(result
));
31368 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31369 PyObject
*resultobj
= 0;
31370 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31372 wxString
*arg3
= 0 ;
31373 int arg4
= (int) -1 ;
31379 bool temp3
= false ;
31382 PyObject
* obj0
= 0 ;
31383 PyObject
* obj1
= 0 ;
31384 PyObject
* obj2
= 0 ;
31385 PyObject
* obj3
= 0 ;
31386 char * kwnames
[] = {
31387 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31392 if (!SWIG_IsOK(res1
)) {
31393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31395 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31396 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31397 if (!SWIG_IsOK(ecode2
)) {
31398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31400 arg2
= static_cast< long >(val2
);
31402 arg3
= wxString_in_helper(obj2
);
31403 if (arg3
== NULL
) SWIG_fail
;
31407 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31408 if (!SWIG_IsOK(ecode4
)) {
31409 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31411 arg4
= static_cast< int >(val4
);
31414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31415 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31416 wxPyEndAllowThreads(__tstate
);
31417 if (PyErr_Occurred()) SWIG_fail
;
31419 resultobj
= SWIG_From_long(static_cast< long >(result
));
31434 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31435 PyObject
*resultobj
= 0;
31436 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31446 PyObject
* obj0
= 0 ;
31447 PyObject
* obj1
= 0 ;
31448 PyObject
* obj2
= 0 ;
31449 char * kwnames
[] = {
31450 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31455 if (!SWIG_IsOK(res1
)) {
31456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31458 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31459 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31460 if (!SWIG_IsOK(ecode2
)) {
31461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31463 arg2
= static_cast< long >(val2
);
31464 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31465 if (!SWIG_IsOK(ecode3
)) {
31466 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31468 arg3
= static_cast< int >(val3
);
31470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31471 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31472 wxPyEndAllowThreads(__tstate
);
31473 if (PyErr_Occurred()) SWIG_fail
;
31475 resultobj
= SWIG_From_long(static_cast< long >(result
));
31482 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31483 PyObject
*resultobj
= 0;
31484 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31486 wxString
*arg3
= 0 ;
31493 bool temp3
= false ;
31496 PyObject
* obj0
= 0 ;
31497 PyObject
* obj1
= 0 ;
31498 PyObject
* obj2
= 0 ;
31499 PyObject
* obj3
= 0 ;
31500 char * kwnames
[] = {
31501 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31506 if (!SWIG_IsOK(res1
)) {
31507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31509 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31510 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31511 if (!SWIG_IsOK(ecode2
)) {
31512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31514 arg2
= static_cast< long >(val2
);
31516 arg3
= wxString_in_helper(obj2
);
31517 if (arg3
== NULL
) SWIG_fail
;
31520 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31521 if (!SWIG_IsOK(ecode4
)) {
31522 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31524 arg4
= static_cast< int >(val4
);
31526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31527 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31528 wxPyEndAllowThreads(__tstate
);
31529 if (PyErr_Occurred()) SWIG_fail
;
31531 resultobj
= SWIG_From_long(static_cast< long >(result
));
31546 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31547 PyObject
*resultobj
= 0;
31548 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31550 wxListItem
*arg3
= 0 ;
31558 PyObject
* obj0
= 0 ;
31559 PyObject
* obj1
= 0 ;
31560 PyObject
* obj2
= 0 ;
31561 char * kwnames
[] = {
31562 (char *) "self",(char *) "col",(char *) "info", NULL
31565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31567 if (!SWIG_IsOK(res1
)) {
31568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31570 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31571 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31572 if (!SWIG_IsOK(ecode2
)) {
31573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31575 arg2
= static_cast< long >(val2
);
31576 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31577 if (!SWIG_IsOK(res3
)) {
31578 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31581 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31583 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31586 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31587 wxPyEndAllowThreads(__tstate
);
31588 if (PyErr_Occurred()) SWIG_fail
;
31590 resultobj
= SWIG_From_long(static_cast< long >(result
));
31597 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31598 PyObject
*resultobj
= 0;
31599 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31601 wxString
*arg3
= 0 ;
31602 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31603 int arg5
= (int) -1 ;
31609 bool temp3
= false ;
31614 PyObject
* obj0
= 0 ;
31615 PyObject
* obj1
= 0 ;
31616 PyObject
* obj2
= 0 ;
31617 PyObject
* obj3
= 0 ;
31618 PyObject
* obj4
= 0 ;
31619 char * kwnames
[] = {
31620 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31625 if (!SWIG_IsOK(res1
)) {
31626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31628 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31629 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31630 if (!SWIG_IsOK(ecode2
)) {
31631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31633 arg2
= static_cast< long >(val2
);
31635 arg3
= wxString_in_helper(obj2
);
31636 if (arg3
== NULL
) SWIG_fail
;
31640 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31641 if (!SWIG_IsOK(ecode4
)) {
31642 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31644 arg4
= static_cast< int >(val4
);
31647 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31648 if (!SWIG_IsOK(ecode5
)) {
31649 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31651 arg5
= static_cast< int >(val5
);
31654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31655 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31656 wxPyEndAllowThreads(__tstate
);
31657 if (PyErr_Occurred()) SWIG_fail
;
31659 resultobj
= SWIG_From_long(static_cast< long >(result
));
31674 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31675 PyObject
*resultobj
= 0;
31676 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31682 PyObject
* obj0
= 0 ;
31683 PyObject
* obj1
= 0 ;
31684 char * kwnames
[] = {
31685 (char *) "self",(char *) "count", NULL
31688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31690 if (!SWIG_IsOK(res1
)) {
31691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31693 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31694 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31695 if (!SWIG_IsOK(ecode2
)) {
31696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31698 arg2
= static_cast< long >(val2
);
31700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31701 (arg1
)->SetItemCount(arg2
);
31702 wxPyEndAllowThreads(__tstate
);
31703 if (PyErr_Occurred()) SWIG_fail
;
31705 resultobj
= SWIG_Py_Void();
31712 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31713 PyObject
*resultobj
= 0;
31714 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31724 PyObject
* obj0
= 0 ;
31725 PyObject
* obj1
= 0 ;
31726 PyObject
* obj2
= 0 ;
31727 char * kwnames
[] = {
31728 (char *) "self",(char *) "dx",(char *) "dy", NULL
31731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31733 if (!SWIG_IsOK(res1
)) {
31734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31736 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31737 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31738 if (!SWIG_IsOK(ecode2
)) {
31739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31741 arg2
= static_cast< int >(val2
);
31742 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31743 if (!SWIG_IsOK(ecode3
)) {
31744 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31746 arg3
= static_cast< int >(val3
);
31748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31749 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31750 wxPyEndAllowThreads(__tstate
);
31751 if (PyErr_Occurred()) SWIG_fail
;
31754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31762 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31763 PyObject
*resultobj
= 0;
31764 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31766 wxColour
*arg3
= 0 ;
31772 PyObject
* obj0
= 0 ;
31773 PyObject
* obj1
= 0 ;
31774 PyObject
* obj2
= 0 ;
31775 char * kwnames
[] = {
31776 (char *) "self",(char *) "item",(char *) "col", NULL
31779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31781 if (!SWIG_IsOK(res1
)) {
31782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31784 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31785 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31786 if (!SWIG_IsOK(ecode2
)) {
31787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31789 arg2
= static_cast< long >(val2
);
31792 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31796 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31797 wxPyEndAllowThreads(__tstate
);
31798 if (PyErr_Occurred()) SWIG_fail
;
31800 resultobj
= SWIG_Py_Void();
31807 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31808 PyObject
*resultobj
= 0;
31809 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31816 PyObject
* obj0
= 0 ;
31817 PyObject
* obj1
= 0 ;
31818 char * kwnames
[] = {
31819 (char *) "self",(char *) "item", NULL
31822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31824 if (!SWIG_IsOK(res1
)) {
31825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31827 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31828 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31829 if (!SWIG_IsOK(ecode2
)) {
31830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31832 arg2
= static_cast< long >(val2
);
31834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31835 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31836 wxPyEndAllowThreads(__tstate
);
31837 if (PyErr_Occurred()) SWIG_fail
;
31839 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31846 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31847 PyObject
*resultobj
= 0;
31848 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31850 wxColour
*arg3
= 0 ;
31856 PyObject
* obj0
= 0 ;
31857 PyObject
* obj1
= 0 ;
31858 PyObject
* obj2
= 0 ;
31859 char * kwnames
[] = {
31860 (char *) "self",(char *) "item",(char *) "col", NULL
31863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31865 if (!SWIG_IsOK(res1
)) {
31866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31868 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31869 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31870 if (!SWIG_IsOK(ecode2
)) {
31871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31873 arg2
= static_cast< long >(val2
);
31876 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31880 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31881 wxPyEndAllowThreads(__tstate
);
31882 if (PyErr_Occurred()) SWIG_fail
;
31884 resultobj
= SWIG_Py_Void();
31891 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31892 PyObject
*resultobj
= 0;
31893 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31900 PyObject
* obj0
= 0 ;
31901 PyObject
* obj1
= 0 ;
31902 char * kwnames
[] = {
31903 (char *) "self",(char *) "item", NULL
31906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31908 if (!SWIG_IsOK(res1
)) {
31909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31911 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31912 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31913 if (!SWIG_IsOK(ecode2
)) {
31914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31916 arg2
= static_cast< long >(val2
);
31918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31919 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31920 wxPyEndAllowThreads(__tstate
);
31921 if (PyErr_Occurred()) SWIG_fail
;
31923 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31930 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31931 PyObject
*resultobj
= 0;
31932 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31941 PyObject
* obj0
= 0 ;
31942 PyObject
* obj1
= 0 ;
31943 PyObject
* obj2
= 0 ;
31944 char * kwnames
[] = {
31945 (char *) "self",(char *) "item",(char *) "f", NULL
31948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31950 if (!SWIG_IsOK(res1
)) {
31951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31953 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31954 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31955 if (!SWIG_IsOK(ecode2
)) {
31956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31958 arg2
= static_cast< long >(val2
);
31959 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31960 if (!SWIG_IsOK(res3
)) {
31961 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31964 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31966 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31969 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31970 wxPyEndAllowThreads(__tstate
);
31971 if (PyErr_Occurred()) SWIG_fail
;
31973 resultobj
= SWIG_Py_Void();
31980 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31981 PyObject
*resultobj
= 0;
31982 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31989 PyObject
* obj0
= 0 ;
31990 PyObject
* obj1
= 0 ;
31991 char * kwnames
[] = {
31992 (char *) "self",(char *) "item", NULL
31995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) 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_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
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_GetItemFont" "', expected argument " "2"" of type '" "long""'");
32005 arg2
= static_cast< long >(val2
);
32007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32008 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
32009 wxPyEndAllowThreads(__tstate
);
32010 if (PyErr_Occurred()) SWIG_fail
;
32012 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
32019 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32020 PyObject
*resultobj
= 0;
32021 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32022 PyObject
*arg2
= (PyObject
*) 0 ;
32026 PyObject
* obj0
= 0 ;
32027 PyObject
* obj1
= 0 ;
32028 char * kwnames
[] = {
32029 (char *) "self",(char *) "func", NULL
32032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32034 if (!SWIG_IsOK(res1
)) {
32035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32037 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32041 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
32042 wxPyEndAllowThreads(__tstate
);
32043 if (PyErr_Occurred()) SWIG_fail
;
32046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32054 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32055 PyObject
*resultobj
= 0;
32056 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32057 wxWindow
*result
= 0 ;
32060 PyObject
*swig_obj
[1] ;
32062 if (!args
) SWIG_fail
;
32063 swig_obj
[0] = args
;
32064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32065 if (!SWIG_IsOK(res1
)) {
32066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32068 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32071 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
32072 wxPyEndAllowThreads(__tstate
);
32073 if (PyErr_Occurred()) SWIG_fail
;
32076 resultobj
= wxPyMake_wxObject(result
, 0);
32084 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32085 PyObject
*resultobj
= 0;
32086 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
32087 SwigValueWrapper
<wxVisualAttributes
> result
;
32090 PyObject
* obj0
= 0 ;
32091 char * kwnames
[] = {
32092 (char *) "variant", NULL
32095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
32097 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32098 if (!SWIG_IsOK(ecode1
)) {
32099 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32101 arg1
= static_cast< wxWindowVariant
>(val1
);
32104 if (!wxPyCheckForApp()) SWIG_fail
;
32105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32106 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
32107 wxPyEndAllowThreads(__tstate
);
32108 if (PyErr_Occurred()) SWIG_fail
;
32110 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
32117 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32119 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32120 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
32121 return SWIG_Py_Void();
32124 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32125 return SWIG_Python_InitShadowInstance(args
);
32128 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32129 PyObject
*resultobj
= 0;
32130 wxWindow
*arg1
= (wxWindow
*) 0 ;
32131 int arg2
= (int) -1 ;
32132 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32133 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32134 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32135 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32136 long arg5
= (long) wxLC_REPORT
;
32137 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32138 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32139 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
32140 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32141 wxListView
*result
= 0 ;
32152 bool temp7
= false ;
32153 PyObject
* obj0
= 0 ;
32154 PyObject
* obj1
= 0 ;
32155 PyObject
* obj2
= 0 ;
32156 PyObject
* obj3
= 0 ;
32157 PyObject
* obj4
= 0 ;
32158 PyObject
* obj5
= 0 ;
32159 PyObject
* obj6
= 0 ;
32160 char * kwnames
[] = {
32161 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32166 if (!SWIG_IsOK(res1
)) {
32167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32169 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32171 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32172 if (!SWIG_IsOK(ecode2
)) {
32173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32175 arg2
= static_cast< int >(val2
);
32180 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32186 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32190 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
32191 if (!SWIG_IsOK(ecode5
)) {
32192 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32194 arg5
= static_cast< long >(val5
);
32197 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
32198 if (!SWIG_IsOK(res6
)) {
32199 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32202 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32204 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
32208 arg7
= wxString_in_helper(obj6
);
32209 if (arg7
== NULL
) SWIG_fail
;
32214 if (!wxPyCheckForApp()) SWIG_fail
;
32215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32216 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32217 wxPyEndAllowThreads(__tstate
);
32218 if (PyErr_Occurred()) SWIG_fail
;
32220 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
32235 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32236 PyObject
*resultobj
= 0;
32237 wxListView
*result
= 0 ;
32239 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
32241 if (!wxPyCheckForApp()) SWIG_fail
;
32242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32243 result
= (wxListView
*)new wxListView();
32244 wxPyEndAllowThreads(__tstate
);
32245 if (PyErr_Occurred()) SWIG_fail
;
32247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
32254 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32255 PyObject
*resultobj
= 0;
32256 wxListView
*arg1
= (wxListView
*) 0 ;
32257 wxWindow
*arg2
= (wxWindow
*) 0 ;
32258 int arg3
= (int) -1 ;
32259 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32260 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32261 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32262 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32263 long arg6
= (long) wxLC_REPORT
;
32264 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32265 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32266 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
32267 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32281 bool temp8
= false ;
32282 PyObject
* obj0
= 0 ;
32283 PyObject
* obj1
= 0 ;
32284 PyObject
* obj2
= 0 ;
32285 PyObject
* obj3
= 0 ;
32286 PyObject
* obj4
= 0 ;
32287 PyObject
* obj5
= 0 ;
32288 PyObject
* obj6
= 0 ;
32289 PyObject
* obj7
= 0 ;
32290 char * kwnames
[] = {
32291 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32296 if (!SWIG_IsOK(res1
)) {
32297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32299 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32300 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32301 if (!SWIG_IsOK(res2
)) {
32302 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32304 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32306 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32307 if (!SWIG_IsOK(ecode3
)) {
32308 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32310 arg3
= static_cast< int >(val3
);
32315 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32321 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32325 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32326 if (!SWIG_IsOK(ecode6
)) {
32327 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32329 arg6
= static_cast< long >(val6
);
32332 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32333 if (!SWIG_IsOK(res7
)) {
32334 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32337 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32339 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32343 arg8
= wxString_in_helper(obj7
);
32344 if (arg8
== NULL
) SWIG_fail
;
32349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32350 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32351 wxPyEndAllowThreads(__tstate
);
32352 if (PyErr_Occurred()) SWIG_fail
;
32355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32371 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32372 PyObject
*resultobj
= 0;
32373 wxListView
*arg1
= (wxListView
*) 0 ;
32375 bool arg3
= (bool) true ;
32382 PyObject
* obj0
= 0 ;
32383 PyObject
* obj1
= 0 ;
32384 PyObject
* obj2
= 0 ;
32385 char * kwnames
[] = {
32386 (char *) "self",(char *) "n",(char *) "on", NULL
32389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32391 if (!SWIG_IsOK(res1
)) {
32392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32394 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32395 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32396 if (!SWIG_IsOK(ecode2
)) {
32397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32399 arg2
= static_cast< long >(val2
);
32401 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32402 if (!SWIG_IsOK(ecode3
)) {
32403 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32405 arg3
= static_cast< bool >(val3
);
32408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32409 (arg1
)->Select(arg2
,arg3
);
32410 wxPyEndAllowThreads(__tstate
);
32411 if (PyErr_Occurred()) SWIG_fail
;
32413 resultobj
= SWIG_Py_Void();
32420 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32421 PyObject
*resultobj
= 0;
32422 wxListView
*arg1
= (wxListView
*) 0 ;
32428 PyObject
* obj0
= 0 ;
32429 PyObject
* obj1
= 0 ;
32430 char * kwnames
[] = {
32431 (char *) "self",(char *) "index", NULL
32434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32436 if (!SWIG_IsOK(res1
)) {
32437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32439 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32440 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32441 if (!SWIG_IsOK(ecode2
)) {
32442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32444 arg2
= static_cast< long >(val2
);
32446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32447 (arg1
)->Focus(arg2
);
32448 wxPyEndAllowThreads(__tstate
);
32449 if (PyErr_Occurred()) SWIG_fail
;
32451 resultobj
= SWIG_Py_Void();
32458 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32459 PyObject
*resultobj
= 0;
32460 wxListView
*arg1
= (wxListView
*) 0 ;
32464 PyObject
*swig_obj
[1] ;
32466 if (!args
) SWIG_fail
;
32467 swig_obj
[0] = args
;
32468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32469 if (!SWIG_IsOK(res1
)) {
32470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32472 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32475 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32476 wxPyEndAllowThreads(__tstate
);
32477 if (PyErr_Occurred()) SWIG_fail
;
32479 resultobj
= SWIG_From_long(static_cast< long >(result
));
32486 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32487 PyObject
*resultobj
= 0;
32488 wxListView
*arg1
= (wxListView
*) 0 ;
32495 PyObject
* obj0
= 0 ;
32496 PyObject
* obj1
= 0 ;
32497 char * kwnames
[] = {
32498 (char *) "self",(char *) "item", NULL
32501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32503 if (!SWIG_IsOK(res1
)) {
32504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32506 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32507 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32508 if (!SWIG_IsOK(ecode2
)) {
32509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32511 arg2
= static_cast< long >(val2
);
32513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32514 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32515 wxPyEndAllowThreads(__tstate
);
32516 if (PyErr_Occurred()) SWIG_fail
;
32518 resultobj
= SWIG_From_long(static_cast< long >(result
));
32525 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32526 PyObject
*resultobj
= 0;
32527 wxListView
*arg1
= (wxListView
*) 0 ;
32531 PyObject
*swig_obj
[1] ;
32533 if (!args
) SWIG_fail
;
32534 swig_obj
[0] = args
;
32535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32536 if (!SWIG_IsOK(res1
)) {
32537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32539 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32542 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32543 wxPyEndAllowThreads(__tstate
);
32544 if (PyErr_Occurred()) SWIG_fail
;
32546 resultobj
= SWIG_From_long(static_cast< long >(result
));
32553 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32554 PyObject
*resultobj
= 0;
32555 wxListView
*arg1
= (wxListView
*) 0 ;
32562 PyObject
* obj0
= 0 ;
32563 PyObject
* obj1
= 0 ;
32564 char * kwnames
[] = {
32565 (char *) "self",(char *) "index", NULL
32568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32570 if (!SWIG_IsOK(res1
)) {
32571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32573 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32574 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32575 if (!SWIG_IsOK(ecode2
)) {
32576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32578 arg2
= static_cast< long >(val2
);
32580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32581 result
= (bool)(arg1
)->IsSelected(arg2
);
32582 wxPyEndAllowThreads(__tstate
);
32583 if (PyErr_Occurred()) SWIG_fail
;
32586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32594 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32595 PyObject
*resultobj
= 0;
32596 wxListView
*arg1
= (wxListView
*) 0 ;
32605 PyObject
* obj0
= 0 ;
32606 PyObject
* obj1
= 0 ;
32607 PyObject
* obj2
= 0 ;
32608 char * kwnames
[] = {
32609 (char *) "self",(char *) "col",(char *) "image", NULL
32612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32614 if (!SWIG_IsOK(res1
)) {
32615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32617 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32618 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32619 if (!SWIG_IsOK(ecode2
)) {
32620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32622 arg2
= static_cast< int >(val2
);
32623 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32624 if (!SWIG_IsOK(ecode3
)) {
32625 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32627 arg3
= static_cast< int >(val3
);
32629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32630 (arg1
)->SetColumnImage(arg2
,arg3
);
32631 wxPyEndAllowThreads(__tstate
);
32632 if (PyErr_Occurred()) SWIG_fail
;
32634 resultobj
= SWIG_Py_Void();
32641 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32642 PyObject
*resultobj
= 0;
32643 wxListView
*arg1
= (wxListView
*) 0 ;
32649 PyObject
* obj0
= 0 ;
32650 PyObject
* obj1
= 0 ;
32651 char * kwnames
[] = {
32652 (char *) "self",(char *) "col", NULL
32655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32657 if (!SWIG_IsOK(res1
)) {
32658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32660 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32662 if (!SWIG_IsOK(ecode2
)) {
32663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32665 arg2
= static_cast< int >(val2
);
32667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32668 (arg1
)->ClearColumnImage(arg2
);
32669 wxPyEndAllowThreads(__tstate
);
32670 if (PyErr_Occurred()) SWIG_fail
;
32672 resultobj
= SWIG_Py_Void();
32679 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32681 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32682 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32683 return SWIG_Py_Void();
32686 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32687 return SWIG_Python_InitShadowInstance(args
);
32690 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32691 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32696 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32697 PyObject
*pyobj
= 0;
32701 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32703 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32710 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32711 PyObject
*resultobj
= 0;
32712 wxTreeItemId
*result
= 0 ;
32714 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32717 result
= (wxTreeItemId
*)new wxTreeItemId();
32718 wxPyEndAllowThreads(__tstate
);
32719 if (PyErr_Occurred()) SWIG_fail
;
32721 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32728 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32729 PyObject
*resultobj
= 0;
32730 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32733 PyObject
*swig_obj
[1] ;
32735 if (!args
) SWIG_fail
;
32736 swig_obj
[0] = args
;
32737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32738 if (!SWIG_IsOK(res1
)) {
32739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32741 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32746 wxPyEndAllowThreads(__tstate
);
32747 if (PyErr_Occurred()) SWIG_fail
;
32749 resultobj
= SWIG_Py_Void();
32756 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32757 PyObject
*resultobj
= 0;
32758 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32762 PyObject
*swig_obj
[1] ;
32764 if (!args
) SWIG_fail
;
32765 swig_obj
[0] = args
;
32766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32767 if (!SWIG_IsOK(res1
)) {
32768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32770 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32773 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32774 wxPyEndAllowThreads(__tstate
);
32775 if (PyErr_Occurred()) SWIG_fail
;
32778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32786 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32787 PyObject
*resultobj
= 0;
32788 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32789 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32795 PyObject
* obj0
= 0 ;
32796 PyObject
* obj1
= 0 ;
32797 char * kwnames
[] = {
32798 (char *) "self",(char *) "other", NULL
32801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32803 if (!SWIG_IsOK(res1
)) {
32804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32806 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32807 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32808 if (!SWIG_IsOK(res2
)) {
32809 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32811 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32814 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32815 wxPyEndAllowThreads(__tstate
);
32816 if (PyErr_Occurred()) SWIG_fail
;
32819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32827 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32828 PyObject
*resultobj
= 0;
32829 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32830 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32836 PyObject
* obj0
= 0 ;
32837 PyObject
* obj1
= 0 ;
32838 char * kwnames
[] = {
32839 (char *) "self",(char *) "other", NULL
32842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32844 if (!SWIG_IsOK(res1
)) {
32845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32847 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32848 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32849 if (!SWIG_IsOK(res2
)) {
32850 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32852 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32855 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32856 wxPyEndAllowThreads(__tstate
);
32857 if (PyErr_Occurred()) SWIG_fail
;
32860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32868 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32869 PyObject
*resultobj
= 0;
32870 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32871 void *arg2
= (void *) 0 ;
32875 PyObject
*swig_obj
[2] ;
32877 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32879 if (!SWIG_IsOK(res1
)) {
32880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32882 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32883 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32884 if (!SWIG_IsOK(res2
)) {
32885 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32887 if (arg1
) (arg1
)->m_pItem
= arg2
;
32889 resultobj
= SWIG_Py_Void();
32896 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32897 PyObject
*resultobj
= 0;
32898 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32902 PyObject
*swig_obj
[1] ;
32904 if (!args
) SWIG_fail
;
32905 swig_obj
[0] = args
;
32906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32907 if (!SWIG_IsOK(res1
)) {
32908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32910 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32911 result
= (void *) ((arg1
)->m_pItem
);
32912 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32919 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32921 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32922 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32923 return SWIG_Py_Void();
32926 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32927 return SWIG_Python_InitShadowInstance(args
);
32930 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32931 PyObject
*resultobj
= 0;
32932 PyObject
*arg1
= (PyObject
*) NULL
;
32933 wxPyTreeItemData
*result
= 0 ;
32934 PyObject
* obj0
= 0 ;
32935 char * kwnames
[] = {
32936 (char *) "obj", NULL
32939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32945 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32946 wxPyEndAllowThreads(__tstate
);
32947 if (PyErr_Occurred()) SWIG_fail
;
32949 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32956 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32957 PyObject
*resultobj
= 0;
32958 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32961 PyObject
*swig_obj
[1] ;
32963 if (!args
) SWIG_fail
;
32964 swig_obj
[0] = args
;
32965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32966 if (!SWIG_IsOK(res1
)) {
32967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32969 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32974 wxPyEndAllowThreads(__tstate
);
32975 if (PyErr_Occurred()) SWIG_fail
;
32977 resultobj
= SWIG_Py_Void();
32984 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32985 PyObject
*resultobj
= 0;
32986 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32987 PyObject
*result
= 0 ;
32990 PyObject
*swig_obj
[1] ;
32992 if (!args
) SWIG_fail
;
32993 swig_obj
[0] = args
;
32994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32995 if (!SWIG_IsOK(res1
)) {
32996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32998 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33001 result
= (PyObject
*)(arg1
)->GetData();
33002 wxPyEndAllowThreads(__tstate
);
33003 if (PyErr_Occurred()) SWIG_fail
;
33005 resultobj
= result
;
33012 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33013 PyObject
*resultobj
= 0;
33014 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33015 PyObject
*arg2
= (PyObject
*) 0 ;
33018 PyObject
* obj0
= 0 ;
33019 PyObject
* obj1
= 0 ;
33020 char * kwnames
[] = {
33021 (char *) "self",(char *) "obj", NULL
33024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33026 if (!SWIG_IsOK(res1
)) {
33027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33029 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33033 (arg1
)->SetData(arg2
);
33034 wxPyEndAllowThreads(__tstate
);
33035 if (PyErr_Occurred()) SWIG_fail
;
33037 resultobj
= SWIG_Py_Void();
33044 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33045 PyObject
*resultobj
= 0;
33046 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33047 wxTreeItemId
*result
= 0 ;
33050 PyObject
*swig_obj
[1] ;
33052 if (!args
) SWIG_fail
;
33053 swig_obj
[0] = args
;
33054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33055 if (!SWIG_IsOK(res1
)) {
33056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33058 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33062 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
33063 result
= (wxTreeItemId
*) &_result_ref
;
33065 wxPyEndAllowThreads(__tstate
);
33066 if (PyErr_Occurred()) SWIG_fail
;
33068 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33075 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33076 PyObject
*resultobj
= 0;
33077 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33078 wxTreeItemId
*arg2
= 0 ;
33083 PyObject
* obj0
= 0 ;
33084 PyObject
* obj1
= 0 ;
33085 char * kwnames
[] = {
33086 (char *) "self",(char *) "id", NULL
33089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33091 if (!SWIG_IsOK(res1
)) {
33092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33094 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33095 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33096 if (!SWIG_IsOK(res2
)) {
33097 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33100 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33102 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33105 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
33106 wxPyEndAllowThreads(__tstate
);
33107 if (PyErr_Occurred()) SWIG_fail
;
33109 resultobj
= SWIG_Py_Void();
33116 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33117 PyObject
*resultobj
= 0;
33118 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33121 PyObject
*swig_obj
[1] ;
33123 if (!args
) SWIG_fail
;
33124 swig_obj
[0] = args
;
33125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33126 if (!SWIG_IsOK(res1
)) {
33127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33129 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33132 wxPyTreeItemData_Destroy(arg1
);
33133 wxPyEndAllowThreads(__tstate
);
33134 if (PyErr_Occurred()) SWIG_fail
;
33136 resultobj
= SWIG_Py_Void();
33143 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33145 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33146 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
33147 return SWIG_Py_Void();
33150 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33151 return SWIG_Python_InitShadowInstance(args
);
33154 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
33157 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33158 if (!SWIG_IsOK(res
)) {
33159 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33162 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33164 wxTreeItemId
* temp
;
33165 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
33166 wxNullTreeItemId
= *temp
;
33167 if (SWIG_IsNewObj(res
)) delete temp
;
33176 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
33177 PyObject
*pyobj
= 0;
33179 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
33184 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33185 PyObject
*resultobj
= 0;
33186 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33187 int arg2
= (int) 0 ;
33188 wxTreeEvent
*result
= 0 ;
33194 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
33196 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33197 if (!SWIG_IsOK(ecode1
)) {
33198 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33200 arg1
= static_cast< wxEventType
>(val1
);
33203 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33204 if (!SWIG_IsOK(ecode2
)) {
33205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33207 arg2
= static_cast< int >(val2
);
33210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33211 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
33212 wxPyEndAllowThreads(__tstate
);
33213 if (PyErr_Occurred()) SWIG_fail
;
33215 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33222 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33223 PyObject
*resultobj
= 0;
33225 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
33226 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
33227 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
33228 wxTreeEvent
*result
= 0 ;
33236 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33237 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33238 if (!SWIG_IsOK(ecode1
)) {
33239 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33241 arg1
= static_cast< wxEventType
>(val1
);
33242 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33243 if (!SWIG_IsOK(res2
)) {
33244 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33246 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
33248 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
33249 if (!SWIG_IsOK(res3
)) {
33250 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33253 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33255 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
33258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33259 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
33260 wxPyEndAllowThreads(__tstate
);
33261 if (PyErr_Occurred()) SWIG_fail
;
33263 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33270 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
33274 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
33276 if ((argc
>= 0) && (argc
<= 2)) {
33281 int res
= SWIG_AsVal_int(argv
[1], NULL
);
33282 _v
= SWIG_CheckState(res
);
33285 if (!_v
) goto check_1
;
33287 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
33291 if ((argc
>= 2) && (argc
<= 3)) {
33292 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
33296 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
33301 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33302 PyObject
*resultobj
= 0;
33303 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33304 wxTreeItemId result
;
33307 PyObject
*swig_obj
[1] ;
33309 if (!args
) SWIG_fail
;
33310 swig_obj
[0] = args
;
33311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33312 if (!SWIG_IsOK(res1
)) {
33313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33315 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33318 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
33319 wxPyEndAllowThreads(__tstate
);
33320 if (PyErr_Occurred()) SWIG_fail
;
33322 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33329 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33330 PyObject
*resultobj
= 0;
33331 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33332 wxTreeItemId
*arg2
= 0 ;
33337 PyObject
* obj0
= 0 ;
33338 PyObject
* obj1
= 0 ;
33339 char * kwnames
[] = {
33340 (char *) "self",(char *) "item", NULL
33343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33345 if (!SWIG_IsOK(res1
)) {
33346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33348 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33349 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33350 if (!SWIG_IsOK(res2
)) {
33351 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33354 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33356 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33359 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33360 wxPyEndAllowThreads(__tstate
);
33361 if (PyErr_Occurred()) SWIG_fail
;
33363 resultobj
= SWIG_Py_Void();
33370 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33371 PyObject
*resultobj
= 0;
33372 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33373 wxTreeItemId result
;
33376 PyObject
*swig_obj
[1] ;
33378 if (!args
) SWIG_fail
;
33379 swig_obj
[0] = args
;
33380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33381 if (!SWIG_IsOK(res1
)) {
33382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33384 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33387 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33388 wxPyEndAllowThreads(__tstate
);
33389 if (PyErr_Occurred()) SWIG_fail
;
33391 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33398 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33399 PyObject
*resultobj
= 0;
33400 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33401 wxTreeItemId
*arg2
= 0 ;
33406 PyObject
* obj0
= 0 ;
33407 PyObject
* obj1
= 0 ;
33408 char * kwnames
[] = {
33409 (char *) "self",(char *) "item", NULL
33412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33414 if (!SWIG_IsOK(res1
)) {
33415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33417 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33418 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33419 if (!SWIG_IsOK(res2
)) {
33420 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33423 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33425 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33428 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33429 wxPyEndAllowThreads(__tstate
);
33430 if (PyErr_Occurred()) SWIG_fail
;
33432 resultobj
= SWIG_Py_Void();
33439 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33440 PyObject
*resultobj
= 0;
33441 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33445 PyObject
*swig_obj
[1] ;
33447 if (!args
) SWIG_fail
;
33448 swig_obj
[0] = args
;
33449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33450 if (!SWIG_IsOK(res1
)) {
33451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33453 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33456 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33457 wxPyEndAllowThreads(__tstate
);
33458 if (PyErr_Occurred()) SWIG_fail
;
33460 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33467 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33468 PyObject
*resultobj
= 0;
33469 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33470 wxPoint
*arg2
= 0 ;
33474 PyObject
* obj0
= 0 ;
33475 PyObject
* obj1
= 0 ;
33476 char * kwnames
[] = {
33477 (char *) "self",(char *) "pt", NULL
33480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33482 if (!SWIG_IsOK(res1
)) {
33483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33485 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33488 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33492 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33493 wxPyEndAllowThreads(__tstate
);
33494 if (PyErr_Occurred()) SWIG_fail
;
33496 resultobj
= SWIG_Py_Void();
33503 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33504 PyObject
*resultobj
= 0;
33505 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33506 wxKeyEvent
*result
= 0 ;
33509 PyObject
*swig_obj
[1] ;
33511 if (!args
) SWIG_fail
;
33512 swig_obj
[0] = args
;
33513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33514 if (!SWIG_IsOK(res1
)) {
33515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33517 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33521 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33522 result
= (wxKeyEvent
*) &_result_ref
;
33524 wxPyEndAllowThreads(__tstate
);
33525 if (PyErr_Occurred()) SWIG_fail
;
33527 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33534 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33535 PyObject
*resultobj
= 0;
33536 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33540 PyObject
*swig_obj
[1] ;
33542 if (!args
) SWIG_fail
;
33543 swig_obj
[0] = args
;
33544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33545 if (!SWIG_IsOK(res1
)) {
33546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33548 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33551 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33552 wxPyEndAllowThreads(__tstate
);
33553 if (PyErr_Occurred()) SWIG_fail
;
33555 resultobj
= SWIG_From_int(static_cast< int >(result
));
33562 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33563 PyObject
*resultobj
= 0;
33564 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33565 wxKeyEvent
*arg2
= 0 ;
33570 PyObject
* obj0
= 0 ;
33571 PyObject
* obj1
= 0 ;
33572 char * kwnames
[] = {
33573 (char *) "self",(char *) "evt", NULL
33576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33578 if (!SWIG_IsOK(res1
)) {
33579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33581 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33582 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33583 if (!SWIG_IsOK(res2
)) {
33584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33587 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33589 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33592 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33593 wxPyEndAllowThreads(__tstate
);
33594 if (PyErr_Occurred()) SWIG_fail
;
33596 resultobj
= SWIG_Py_Void();
33603 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33604 PyObject
*resultobj
= 0;
33605 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33606 wxString
*result
= 0 ;
33609 PyObject
*swig_obj
[1] ;
33611 if (!args
) SWIG_fail
;
33612 swig_obj
[0] = args
;
33613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33614 if (!SWIG_IsOK(res1
)) {
33615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33617 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33621 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33622 result
= (wxString
*) &_result_ref
;
33624 wxPyEndAllowThreads(__tstate
);
33625 if (PyErr_Occurred()) SWIG_fail
;
33629 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33631 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33640 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33641 PyObject
*resultobj
= 0;
33642 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33643 wxString
*arg2
= 0 ;
33646 bool temp2
= false ;
33647 PyObject
* obj0
= 0 ;
33648 PyObject
* obj1
= 0 ;
33649 char * kwnames
[] = {
33650 (char *) "self",(char *) "label", NULL
33653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33655 if (!SWIG_IsOK(res1
)) {
33656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33658 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33660 arg2
= wxString_in_helper(obj1
);
33661 if (arg2
== NULL
) SWIG_fail
;
33665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33666 (arg1
)->SetLabel((wxString
const &)*arg2
);
33667 wxPyEndAllowThreads(__tstate
);
33668 if (PyErr_Occurred()) SWIG_fail
;
33670 resultobj
= SWIG_Py_Void();
33685 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33686 PyObject
*resultobj
= 0;
33687 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33691 PyObject
*swig_obj
[1] ;
33693 if (!args
) SWIG_fail
;
33694 swig_obj
[0] = args
;
33695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33696 if (!SWIG_IsOK(res1
)) {
33697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33699 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33702 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33703 wxPyEndAllowThreads(__tstate
);
33704 if (PyErr_Occurred()) SWIG_fail
;
33707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33715 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33716 PyObject
*resultobj
= 0;
33717 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33723 PyObject
* obj0
= 0 ;
33724 PyObject
* obj1
= 0 ;
33725 char * kwnames
[] = {
33726 (char *) "self",(char *) "editCancelled", NULL
33729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33731 if (!SWIG_IsOK(res1
)) {
33732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33734 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33735 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33736 if (!SWIG_IsOK(ecode2
)) {
33737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33739 arg2
= static_cast< bool >(val2
);
33741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33742 (arg1
)->SetEditCanceled(arg2
);
33743 wxPyEndAllowThreads(__tstate
);
33744 if (PyErr_Occurred()) SWIG_fail
;
33746 resultobj
= SWIG_Py_Void();
33753 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33754 PyObject
*resultobj
= 0;
33755 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33756 wxString
*arg2
= 0 ;
33759 bool temp2
= false ;
33760 PyObject
* obj0
= 0 ;
33761 PyObject
* obj1
= 0 ;
33762 char * kwnames
[] = {
33763 (char *) "self",(char *) "toolTip", NULL
33766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33768 if (!SWIG_IsOK(res1
)) {
33769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33771 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33773 arg2
= wxString_in_helper(obj1
);
33774 if (arg2
== NULL
) SWIG_fail
;
33778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33779 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33780 wxPyEndAllowThreads(__tstate
);
33781 if (PyErr_Occurred()) SWIG_fail
;
33783 resultobj
= SWIG_Py_Void();
33798 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33799 PyObject
*resultobj
= 0;
33800 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33804 PyObject
*swig_obj
[1] ;
33806 if (!args
) SWIG_fail
;
33807 swig_obj
[0] = args
;
33808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33809 if (!SWIG_IsOK(res1
)) {
33810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33812 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33815 result
= (arg1
)->GetToolTip();
33816 wxPyEndAllowThreads(__tstate
);
33817 if (PyErr_Occurred()) SWIG_fail
;
33821 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33823 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33832 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33834 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33835 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33836 return SWIG_Py_Void();
33839 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33840 return SWIG_Python_InitShadowInstance(args
);
33843 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33844 PyObject
*resultobj
= 0;
33845 wxWindow
*arg1
= (wxWindow
*) 0 ;
33846 int arg2
= (int) -1 ;
33847 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33848 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33849 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33850 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33851 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33852 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33853 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33854 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33855 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33856 wxPyTreeCtrl
*result
= 0 ;
33867 bool temp7
= false ;
33868 PyObject
* obj0
= 0 ;
33869 PyObject
* obj1
= 0 ;
33870 PyObject
* obj2
= 0 ;
33871 PyObject
* obj3
= 0 ;
33872 PyObject
* obj4
= 0 ;
33873 PyObject
* obj5
= 0 ;
33874 PyObject
* obj6
= 0 ;
33875 char * kwnames
[] = {
33876 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33881 if (!SWIG_IsOK(res1
)) {
33882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33884 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33887 if (!SWIG_IsOK(ecode2
)) {
33888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33890 arg2
= static_cast< int >(val2
);
33895 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33901 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33905 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33906 if (!SWIG_IsOK(ecode5
)) {
33907 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33909 arg5
= static_cast< long >(val5
);
33912 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33913 if (!SWIG_IsOK(res6
)) {
33914 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33917 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33919 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33923 arg7
= wxString_in_helper(obj6
);
33924 if (arg7
== NULL
) SWIG_fail
;
33929 if (!wxPyCheckForApp()) SWIG_fail
;
33930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33931 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33932 wxPyEndAllowThreads(__tstate
);
33933 if (PyErr_Occurred()) SWIG_fail
;
33935 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33950 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33951 PyObject
*resultobj
= 0;
33952 wxPyTreeCtrl
*result
= 0 ;
33954 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33956 if (!wxPyCheckForApp()) SWIG_fail
;
33957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33958 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33959 wxPyEndAllowThreads(__tstate
);
33960 if (PyErr_Occurred()) SWIG_fail
;
33962 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33969 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33970 PyObject
*resultobj
= 0;
33971 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33972 wxWindow
*arg2
= (wxWindow
*) 0 ;
33973 int arg3
= (int) -1 ;
33974 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33975 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33976 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33977 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33978 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33979 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33980 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33981 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33982 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33996 bool temp8
= false ;
33997 PyObject
* obj0
= 0 ;
33998 PyObject
* obj1
= 0 ;
33999 PyObject
* obj2
= 0 ;
34000 PyObject
* obj3
= 0 ;
34001 PyObject
* obj4
= 0 ;
34002 PyObject
* obj5
= 0 ;
34003 PyObject
* obj6
= 0 ;
34004 PyObject
* obj7
= 0 ;
34005 char * kwnames
[] = {
34006 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
34010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34011 if (!SWIG_IsOK(res1
)) {
34012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34014 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34015 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34016 if (!SWIG_IsOK(res2
)) {
34017 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
34019 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34021 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34022 if (!SWIG_IsOK(ecode3
)) {
34023 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
34025 arg3
= static_cast< int >(val3
);
34030 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34036 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34040 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
34041 if (!SWIG_IsOK(ecode6
)) {
34042 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
34044 arg6
= static_cast< long >(val6
);
34047 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
34048 if (!SWIG_IsOK(res7
)) {
34049 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34052 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34054 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
34058 arg8
= wxString_in_helper(obj7
);
34059 if (arg8
== NULL
) SWIG_fail
;
34064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34065 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34066 wxPyEndAllowThreads(__tstate
);
34067 if (PyErr_Occurred()) SWIG_fail
;
34070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34086 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34087 PyObject
*resultobj
= 0;
34088 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34089 PyObject
*arg2
= (PyObject
*) 0 ;
34090 PyObject
*arg3
= (PyObject
*) 0 ;
34093 PyObject
* obj0
= 0 ;
34094 PyObject
* obj1
= 0 ;
34095 PyObject
* obj2
= 0 ;
34096 char * kwnames
[] = {
34097 (char *) "self",(char *) "self",(char *) "_class", NULL
34100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34102 if (!SWIG_IsOK(res1
)) {
34103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34105 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34110 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34111 wxPyEndAllowThreads(__tstate
);
34112 if (PyErr_Occurred()) SWIG_fail
;
34114 resultobj
= SWIG_Py_Void();
34121 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34122 PyObject
*resultobj
= 0;
34123 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34124 unsigned int result
;
34127 PyObject
*swig_obj
[1] ;
34129 if (!args
) SWIG_fail
;
34130 swig_obj
[0] = args
;
34131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34132 if (!SWIG_IsOK(res1
)) {
34133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34135 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34138 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
34139 wxPyEndAllowThreads(__tstate
);
34140 if (PyErr_Occurred()) SWIG_fail
;
34142 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34149 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34150 PyObject
*resultobj
= 0;
34151 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34152 unsigned int result
;
34155 PyObject
*swig_obj
[1] ;
34157 if (!args
) SWIG_fail
;
34158 swig_obj
[0] = args
;
34159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34160 if (!SWIG_IsOK(res1
)) {
34161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34163 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34166 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
34167 wxPyEndAllowThreads(__tstate
);
34168 if (PyErr_Occurred()) SWIG_fail
;
34170 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34177 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34178 PyObject
*resultobj
= 0;
34179 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34180 unsigned int arg2
;
34183 unsigned int val2
;
34185 PyObject
* obj0
= 0 ;
34186 PyObject
* obj1
= 0 ;
34187 char * kwnames
[] = {
34188 (char *) "self",(char *) "indent", NULL
34191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34193 if (!SWIG_IsOK(res1
)) {
34194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34196 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34197 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34198 if (!SWIG_IsOK(ecode2
)) {
34199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34201 arg2
= static_cast< unsigned int >(val2
);
34203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34204 (arg1
)->SetIndent(arg2
);
34205 wxPyEndAllowThreads(__tstate
);
34206 if (PyErr_Occurred()) SWIG_fail
;
34208 resultobj
= SWIG_Py_Void();
34215 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34216 PyObject
*resultobj
= 0;
34217 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34218 unsigned int result
;
34221 PyObject
*swig_obj
[1] ;
34223 if (!args
) SWIG_fail
;
34224 swig_obj
[0] = args
;
34225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34226 if (!SWIG_IsOK(res1
)) {
34227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34229 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34232 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
34233 wxPyEndAllowThreads(__tstate
);
34234 if (PyErr_Occurred()) SWIG_fail
;
34236 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34243 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34244 PyObject
*resultobj
= 0;
34245 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34246 unsigned int arg2
;
34249 unsigned int val2
;
34251 PyObject
* obj0
= 0 ;
34252 PyObject
* obj1
= 0 ;
34253 char * kwnames
[] = {
34254 (char *) "self",(char *) "spacing", NULL
34257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34259 if (!SWIG_IsOK(res1
)) {
34260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34262 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34263 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34264 if (!SWIG_IsOK(ecode2
)) {
34265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34267 arg2
= static_cast< unsigned int >(val2
);
34269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34270 (arg1
)->SetSpacing(arg2
);
34271 wxPyEndAllowThreads(__tstate
);
34272 if (PyErr_Occurred()) SWIG_fail
;
34274 resultobj
= SWIG_Py_Void();
34281 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34282 PyObject
*resultobj
= 0;
34283 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34284 wxImageList
*result
= 0 ;
34287 PyObject
*swig_obj
[1] ;
34289 if (!args
) SWIG_fail
;
34290 swig_obj
[0] = args
;
34291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34292 if (!SWIG_IsOK(res1
)) {
34293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34295 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34298 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
34299 wxPyEndAllowThreads(__tstate
);
34300 if (PyErr_Occurred()) SWIG_fail
;
34303 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34311 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34312 PyObject
*resultobj
= 0;
34313 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34314 wxImageList
*result
= 0 ;
34317 PyObject
*swig_obj
[1] ;
34319 if (!args
) SWIG_fail
;
34320 swig_obj
[0] = args
;
34321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34322 if (!SWIG_IsOK(res1
)) {
34323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34325 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34328 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
34329 wxPyEndAllowThreads(__tstate
);
34330 if (PyErr_Occurred()) SWIG_fail
;
34333 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34341 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34342 PyObject
*resultobj
= 0;
34343 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34344 wxImageList
*arg2
= (wxImageList
*) 0 ;
34349 PyObject
* obj0
= 0 ;
34350 PyObject
* obj1
= 0 ;
34351 char * kwnames
[] = {
34352 (char *) "self",(char *) "imageList", NULL
34355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34357 if (!SWIG_IsOK(res1
)) {
34358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34360 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34361 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34362 if (!SWIG_IsOK(res2
)) {
34363 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34365 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34368 (arg1
)->SetImageList(arg2
);
34369 wxPyEndAllowThreads(__tstate
);
34370 if (PyErr_Occurred()) SWIG_fail
;
34372 resultobj
= SWIG_Py_Void();
34379 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34380 PyObject
*resultobj
= 0;
34381 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34382 wxImageList
*arg2
= (wxImageList
*) 0 ;
34387 PyObject
* obj0
= 0 ;
34388 PyObject
* obj1
= 0 ;
34389 char * kwnames
[] = {
34390 (char *) "self",(char *) "imageList", NULL
34393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34395 if (!SWIG_IsOK(res1
)) {
34396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34398 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34399 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34400 if (!SWIG_IsOK(res2
)) {
34401 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34403 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34406 (arg1
)->SetStateImageList(arg2
);
34407 wxPyEndAllowThreads(__tstate
);
34408 if (PyErr_Occurred()) SWIG_fail
;
34410 resultobj
= SWIG_Py_Void();
34417 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34418 PyObject
*resultobj
= 0;
34419 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34420 wxImageList
*arg2
= (wxImageList
*) 0 ;
34424 PyObject
* obj0
= 0 ;
34425 PyObject
* obj1
= 0 ;
34426 char * kwnames
[] = {
34427 (char *) "self",(char *) "imageList", NULL
34430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34432 if (!SWIG_IsOK(res1
)) {
34433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34435 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34436 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34437 if (!SWIG_IsOK(res2
)) {
34438 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34442 (arg1
)->AssignImageList(arg2
);
34443 wxPyEndAllowThreads(__tstate
);
34444 if (PyErr_Occurred()) SWIG_fail
;
34446 resultobj
= SWIG_Py_Void();
34453 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34454 PyObject
*resultobj
= 0;
34455 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34456 wxImageList
*arg2
= (wxImageList
*) 0 ;
34460 PyObject
* obj0
= 0 ;
34461 PyObject
* obj1
= 0 ;
34462 char * kwnames
[] = {
34463 (char *) "self",(char *) "imageList", NULL
34466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34468 if (!SWIG_IsOK(res1
)) {
34469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34471 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34472 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34473 if (!SWIG_IsOK(res2
)) {
34474 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34478 (arg1
)->AssignStateImageList(arg2
);
34479 wxPyEndAllowThreads(__tstate
);
34480 if (PyErr_Occurred()) SWIG_fail
;
34482 resultobj
= SWIG_Py_Void();
34489 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34490 PyObject
*resultobj
= 0;
34491 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34492 wxTreeItemId
*arg2
= 0 ;
34498 PyObject
* obj0
= 0 ;
34499 PyObject
* obj1
= 0 ;
34500 char * kwnames
[] = {
34501 (char *) "self",(char *) "item", NULL
34504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34506 if (!SWIG_IsOK(res1
)) {
34507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34509 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34510 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34511 if (!SWIG_IsOK(res2
)) {
34512 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34515 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34517 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34520 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34521 wxPyEndAllowThreads(__tstate
);
34522 if (PyErr_Occurred()) SWIG_fail
;
34526 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34528 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34537 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34538 PyObject
*resultobj
= 0;
34539 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34540 wxTreeItemId
*arg2
= 0 ;
34541 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34549 PyObject
* obj0
= 0 ;
34550 PyObject
* obj1
= 0 ;
34551 PyObject
* obj2
= 0 ;
34552 char * kwnames
[] = {
34553 (char *) "self",(char *) "item",(char *) "which", NULL
34556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34558 if (!SWIG_IsOK(res1
)) {
34559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34561 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34562 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34563 if (!SWIG_IsOK(res2
)) {
34564 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34567 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34569 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34571 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34572 if (!SWIG_IsOK(ecode3
)) {
34573 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34575 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34579 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34580 wxPyEndAllowThreads(__tstate
);
34581 if (PyErr_Occurred()) SWIG_fail
;
34583 resultobj
= SWIG_From_int(static_cast< int >(result
));
34590 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34591 PyObject
*resultobj
= 0;
34592 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34593 wxTreeItemId
*arg2
= 0 ;
34594 wxPyTreeItemData
*result
= 0 ;
34599 PyObject
* obj0
= 0 ;
34600 PyObject
* obj1
= 0 ;
34601 char * kwnames
[] = {
34602 (char *) "self",(char *) "item", NULL
34605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34607 if (!SWIG_IsOK(res1
)) {
34608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34610 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34611 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34612 if (!SWIG_IsOK(res2
)) {
34613 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34616 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34618 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34621 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34622 wxPyEndAllowThreads(__tstate
);
34623 if (PyErr_Occurred()) SWIG_fail
;
34625 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34632 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34633 PyObject
*resultobj
= 0;
34634 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34635 wxTreeItemId
*arg2
= 0 ;
34636 PyObject
*result
= 0 ;
34641 PyObject
* obj0
= 0 ;
34642 PyObject
* obj1
= 0 ;
34643 char * kwnames
[] = {
34644 (char *) "self",(char *) "item", NULL
34647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34649 if (!SWIG_IsOK(res1
)) {
34650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34652 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34653 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34654 if (!SWIG_IsOK(res2
)) {
34655 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34658 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34660 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34663 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34664 wxPyEndAllowThreads(__tstate
);
34665 if (PyErr_Occurred()) SWIG_fail
;
34667 resultobj
= result
;
34674 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34675 PyObject
*resultobj
= 0;
34676 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34677 wxTreeItemId
*arg2
= 0 ;
34683 PyObject
* obj0
= 0 ;
34684 PyObject
* obj1
= 0 ;
34685 char * kwnames
[] = {
34686 (char *) "self",(char *) "item", NULL
34689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34691 if (!SWIG_IsOK(res1
)) {
34692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34694 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34695 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34696 if (!SWIG_IsOK(res2
)) {
34697 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34700 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34702 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34705 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34706 wxPyEndAllowThreads(__tstate
);
34707 if (PyErr_Occurred()) SWIG_fail
;
34709 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34716 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34717 PyObject
*resultobj
= 0;
34718 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34719 wxTreeItemId
*arg2
= 0 ;
34725 PyObject
* obj0
= 0 ;
34726 PyObject
* obj1
= 0 ;
34727 char * kwnames
[] = {
34728 (char *) "self",(char *) "item", NULL
34731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34733 if (!SWIG_IsOK(res1
)) {
34734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34736 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34737 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34738 if (!SWIG_IsOK(res2
)) {
34739 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34742 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34744 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34747 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34748 wxPyEndAllowThreads(__tstate
);
34749 if (PyErr_Occurred()) SWIG_fail
;
34751 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34758 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34759 PyObject
*resultobj
= 0;
34760 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34761 wxTreeItemId
*arg2
= 0 ;
34767 PyObject
* obj0
= 0 ;
34768 PyObject
* obj1
= 0 ;
34769 char * kwnames
[] = {
34770 (char *) "self",(char *) "item", NULL
34773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34775 if (!SWIG_IsOK(res1
)) {
34776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34778 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34779 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34780 if (!SWIG_IsOK(res2
)) {
34781 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34784 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34786 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34789 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34790 wxPyEndAllowThreads(__tstate
);
34791 if (PyErr_Occurred()) SWIG_fail
;
34793 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34800 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34801 PyObject
*resultobj
= 0;
34802 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34803 wxTreeItemId
*arg2
= 0 ;
34804 wxString
*arg3
= 0 ;
34809 bool temp3
= false ;
34810 PyObject
* obj0
= 0 ;
34811 PyObject
* obj1
= 0 ;
34812 PyObject
* obj2
= 0 ;
34813 char * kwnames
[] = {
34814 (char *) "self",(char *) "item",(char *) "text", NULL
34817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34819 if (!SWIG_IsOK(res1
)) {
34820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34822 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34823 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34824 if (!SWIG_IsOK(res2
)) {
34825 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34828 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34830 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34832 arg3
= wxString_in_helper(obj2
);
34833 if (arg3
== NULL
) SWIG_fail
;
34837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34838 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34839 wxPyEndAllowThreads(__tstate
);
34840 if (PyErr_Occurred()) SWIG_fail
;
34842 resultobj
= SWIG_Py_Void();
34857 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34858 PyObject
*resultobj
= 0;
34859 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34860 wxTreeItemId
*arg2
= 0 ;
34862 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34871 PyObject
* obj0
= 0 ;
34872 PyObject
* obj1
= 0 ;
34873 PyObject
* obj2
= 0 ;
34874 PyObject
* obj3
= 0 ;
34875 char * kwnames
[] = {
34876 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34881 if (!SWIG_IsOK(res1
)) {
34882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34884 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34885 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34886 if (!SWIG_IsOK(res2
)) {
34887 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34890 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34892 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34893 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34894 if (!SWIG_IsOK(ecode3
)) {
34895 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34897 arg3
= static_cast< int >(val3
);
34899 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34900 if (!SWIG_IsOK(ecode4
)) {
34901 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34903 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34907 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34908 wxPyEndAllowThreads(__tstate
);
34909 if (PyErr_Occurred()) SWIG_fail
;
34911 resultobj
= SWIG_Py_Void();
34918 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34919 PyObject
*resultobj
= 0;
34920 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34921 wxTreeItemId
*arg2
= 0 ;
34922 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34928 PyObject
* obj0
= 0 ;
34929 PyObject
* obj1
= 0 ;
34930 PyObject
* obj2
= 0 ;
34931 char * kwnames
[] = {
34932 (char *) "self",(char *) "item",(char *) "data", NULL
34935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34937 if (!SWIG_IsOK(res1
)) {
34938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34940 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34941 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34942 if (!SWIG_IsOK(res2
)) {
34943 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34946 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34948 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34949 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34950 if (!SWIG_IsOK(res3
)) {
34951 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34955 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34956 wxPyEndAllowThreads(__tstate
);
34957 if (PyErr_Occurred()) SWIG_fail
;
34959 resultobj
= SWIG_Py_Void();
34966 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34967 PyObject
*resultobj
= 0;
34968 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34969 wxTreeItemId
*arg2
= 0 ;
34970 PyObject
*arg3
= (PyObject
*) 0 ;
34975 PyObject
* obj0
= 0 ;
34976 PyObject
* obj1
= 0 ;
34977 PyObject
* obj2
= 0 ;
34978 char * kwnames
[] = {
34979 (char *) "self",(char *) "item",(char *) "obj", NULL
34982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34984 if (!SWIG_IsOK(res1
)) {
34985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34987 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34988 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34989 if (!SWIG_IsOK(res2
)) {
34990 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34993 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34995 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34999 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35000 wxPyEndAllowThreads(__tstate
);
35001 if (PyErr_Occurred()) SWIG_fail
;
35003 resultobj
= SWIG_Py_Void();
35010 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35011 PyObject
*resultobj
= 0;
35012 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35013 wxTreeItemId
*arg2
= 0 ;
35014 bool arg3
= (bool) true ;
35021 PyObject
* obj0
= 0 ;
35022 PyObject
* obj1
= 0 ;
35023 PyObject
* obj2
= 0 ;
35024 char * kwnames
[] = {
35025 (char *) "self",(char *) "item",(char *) "has", NULL
35028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35030 if (!SWIG_IsOK(res1
)) {
35031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35033 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35034 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35035 if (!SWIG_IsOK(res2
)) {
35036 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35039 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35041 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35043 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35044 if (!SWIG_IsOK(ecode3
)) {
35045 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
35047 arg3
= static_cast< bool >(val3
);
35050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35051 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
35052 wxPyEndAllowThreads(__tstate
);
35053 if (PyErr_Occurred()) SWIG_fail
;
35055 resultobj
= SWIG_Py_Void();
35062 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35063 PyObject
*resultobj
= 0;
35064 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35065 wxTreeItemId
*arg2
= 0 ;
35066 bool arg3
= (bool) true ;
35073 PyObject
* obj0
= 0 ;
35074 PyObject
* obj1
= 0 ;
35075 PyObject
* obj2
= 0 ;
35076 char * kwnames
[] = {
35077 (char *) "self",(char *) "item",(char *) "bold", NULL
35080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35082 if (!SWIG_IsOK(res1
)) {
35083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35085 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35086 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35087 if (!SWIG_IsOK(res2
)) {
35088 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35091 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35093 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35095 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35096 if (!SWIG_IsOK(ecode3
)) {
35097 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35099 arg3
= static_cast< bool >(val3
);
35102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35103 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
35104 wxPyEndAllowThreads(__tstate
);
35105 if (PyErr_Occurred()) SWIG_fail
;
35107 resultobj
= SWIG_Py_Void();
35114 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35115 PyObject
*resultobj
= 0;
35116 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35117 wxTreeItemId
*arg2
= 0 ;
35118 bool arg3
= (bool) true ;
35125 PyObject
* obj0
= 0 ;
35126 PyObject
* obj1
= 0 ;
35127 PyObject
* obj2
= 0 ;
35128 char * kwnames
[] = {
35129 (char *) "self",(char *) "item",(char *) "highlight", NULL
35132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35134 if (!SWIG_IsOK(res1
)) {
35135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35137 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35138 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35139 if (!SWIG_IsOK(res2
)) {
35140 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35143 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35145 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35147 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35148 if (!SWIG_IsOK(ecode3
)) {
35149 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35151 arg3
= static_cast< bool >(val3
);
35154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35155 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
35156 wxPyEndAllowThreads(__tstate
);
35157 if (PyErr_Occurred()) SWIG_fail
;
35159 resultobj
= SWIG_Py_Void();
35166 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35167 PyObject
*resultobj
= 0;
35168 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35169 wxTreeItemId
*arg2
= 0 ;
35170 wxColour
*arg3
= 0 ;
35176 PyObject
* obj0
= 0 ;
35177 PyObject
* obj1
= 0 ;
35178 PyObject
* obj2
= 0 ;
35179 char * kwnames
[] = {
35180 (char *) "self",(char *) "item",(char *) "col", NULL
35183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35185 if (!SWIG_IsOK(res1
)) {
35186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35188 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35189 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35190 if (!SWIG_IsOK(res2
)) {
35191 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35194 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35196 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35199 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35203 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35204 wxPyEndAllowThreads(__tstate
);
35205 if (PyErr_Occurred()) SWIG_fail
;
35207 resultobj
= SWIG_Py_Void();
35214 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35215 PyObject
*resultobj
= 0;
35216 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35217 wxTreeItemId
*arg2
= 0 ;
35218 wxColour
*arg3
= 0 ;
35224 PyObject
* obj0
= 0 ;
35225 PyObject
* obj1
= 0 ;
35226 PyObject
* obj2
= 0 ;
35227 char * kwnames
[] = {
35228 (char *) "self",(char *) "item",(char *) "col", NULL
35231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35233 if (!SWIG_IsOK(res1
)) {
35234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35236 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35237 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35238 if (!SWIG_IsOK(res2
)) {
35239 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35242 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35244 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35247 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35251 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35252 wxPyEndAllowThreads(__tstate
);
35253 if (PyErr_Occurred()) SWIG_fail
;
35255 resultobj
= SWIG_Py_Void();
35262 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35263 PyObject
*resultobj
= 0;
35264 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35265 wxTreeItemId
*arg2
= 0 ;
35273 PyObject
* obj0
= 0 ;
35274 PyObject
* obj1
= 0 ;
35275 PyObject
* obj2
= 0 ;
35276 char * kwnames
[] = {
35277 (char *) "self",(char *) "item",(char *) "font", NULL
35280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35282 if (!SWIG_IsOK(res1
)) {
35283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35285 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35286 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35287 if (!SWIG_IsOK(res2
)) {
35288 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35291 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35293 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35294 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
35295 if (!SWIG_IsOK(res3
)) {
35296 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35299 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35301 arg3
= reinterpret_cast< wxFont
* >(argp3
);
35303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35304 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
35305 wxPyEndAllowThreads(__tstate
);
35306 if (PyErr_Occurred()) SWIG_fail
;
35308 resultobj
= SWIG_Py_Void();
35315 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35316 PyObject
*resultobj
= 0;
35317 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35318 wxTreeItemId
*arg2
= 0 ;
35324 PyObject
* obj0
= 0 ;
35325 PyObject
* obj1
= 0 ;
35326 char * kwnames
[] = {
35327 (char *) "self",(char *) "item", NULL
35330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35332 if (!SWIG_IsOK(res1
)) {
35333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35335 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35336 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35337 if (!SWIG_IsOK(res2
)) {
35338 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35341 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35343 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35346 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35347 wxPyEndAllowThreads(__tstate
);
35348 if (PyErr_Occurred()) SWIG_fail
;
35351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35359 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35360 PyObject
*resultobj
= 0;
35361 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35362 wxTreeItemId
*arg2
= 0 ;
35368 PyObject
* obj0
= 0 ;
35369 PyObject
* obj1
= 0 ;
35370 char * kwnames
[] = {
35371 (char *) "self",(char *) "item", NULL
35374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35376 if (!SWIG_IsOK(res1
)) {
35377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35379 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35380 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35381 if (!SWIG_IsOK(res2
)) {
35382 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35385 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35387 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35390 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35391 wxPyEndAllowThreads(__tstate
);
35392 if (PyErr_Occurred()) SWIG_fail
;
35395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35403 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35404 PyObject
*resultobj
= 0;
35405 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35406 wxTreeItemId
*arg2
= 0 ;
35412 PyObject
* obj0
= 0 ;
35413 PyObject
* obj1
= 0 ;
35414 char * kwnames
[] = {
35415 (char *) "self",(char *) "item", NULL
35418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35420 if (!SWIG_IsOK(res1
)) {
35421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35423 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35424 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35425 if (!SWIG_IsOK(res2
)) {
35426 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35429 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35431 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35434 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35435 wxPyEndAllowThreads(__tstate
);
35436 if (PyErr_Occurred()) SWIG_fail
;
35439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35447 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35448 PyObject
*resultobj
= 0;
35449 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35450 wxTreeItemId
*arg2
= 0 ;
35456 PyObject
* obj0
= 0 ;
35457 PyObject
* obj1
= 0 ;
35458 char * kwnames
[] = {
35459 (char *) "self",(char *) "item", NULL
35462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35464 if (!SWIG_IsOK(res1
)) {
35465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35467 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35468 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35469 if (!SWIG_IsOK(res2
)) {
35470 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35473 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35475 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35478 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35479 wxPyEndAllowThreads(__tstate
);
35480 if (PyErr_Occurred()) SWIG_fail
;
35483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35491 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35492 PyObject
*resultobj
= 0;
35493 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35494 wxTreeItemId
*arg2
= 0 ;
35500 PyObject
* obj0
= 0 ;
35501 PyObject
* obj1
= 0 ;
35502 char * kwnames
[] = {
35503 (char *) "self",(char *) "item", NULL
35506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35508 if (!SWIG_IsOK(res1
)) {
35509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35511 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35512 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35513 if (!SWIG_IsOK(res2
)) {
35514 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35517 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35519 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35522 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35523 wxPyEndAllowThreads(__tstate
);
35524 if (PyErr_Occurred()) SWIG_fail
;
35527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35535 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35536 PyObject
*resultobj
= 0;
35537 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35538 wxTreeItemId
*arg2
= 0 ;
35539 bool arg3
= (bool) true ;
35547 PyObject
* obj0
= 0 ;
35548 PyObject
* obj1
= 0 ;
35549 PyObject
* obj2
= 0 ;
35550 char * kwnames
[] = {
35551 (char *) "self",(char *) "item",(char *) "recursively", NULL
35554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35556 if (!SWIG_IsOK(res1
)) {
35557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35559 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35560 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35561 if (!SWIG_IsOK(res2
)) {
35562 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35565 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35567 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35569 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35570 if (!SWIG_IsOK(ecode3
)) {
35571 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35573 arg3
= static_cast< bool >(val3
);
35576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35577 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35578 wxPyEndAllowThreads(__tstate
);
35579 if (PyErr_Occurred()) SWIG_fail
;
35581 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35588 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35589 PyObject
*resultobj
= 0;
35590 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35591 wxTreeItemId result
;
35594 PyObject
*swig_obj
[1] ;
35596 if (!args
) SWIG_fail
;
35597 swig_obj
[0] = args
;
35598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35599 if (!SWIG_IsOK(res1
)) {
35600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35602 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35605 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35606 wxPyEndAllowThreads(__tstate
);
35607 if (PyErr_Occurred()) SWIG_fail
;
35609 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35616 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35617 PyObject
*resultobj
= 0;
35618 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35619 wxTreeItemId result
;
35622 PyObject
*swig_obj
[1] ;
35624 if (!args
) SWIG_fail
;
35625 swig_obj
[0] = args
;
35626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35627 if (!SWIG_IsOK(res1
)) {
35628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35630 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35633 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35634 wxPyEndAllowThreads(__tstate
);
35635 if (PyErr_Occurred()) SWIG_fail
;
35637 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35644 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35645 PyObject
*resultobj
= 0;
35646 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35647 PyObject
*result
= 0 ;
35650 PyObject
*swig_obj
[1] ;
35652 if (!args
) SWIG_fail
;
35653 swig_obj
[0] = args
;
35654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35655 if (!SWIG_IsOK(res1
)) {
35656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35658 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35661 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35662 wxPyEndAllowThreads(__tstate
);
35663 if (PyErr_Occurred()) SWIG_fail
;
35665 resultobj
= result
;
35672 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35673 PyObject
*resultobj
= 0;
35674 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35675 wxTreeItemId
*arg2
= 0 ;
35676 wxTreeItemId result
;
35681 PyObject
* obj0
= 0 ;
35682 PyObject
* obj1
= 0 ;
35683 char * kwnames
[] = {
35684 (char *) "self",(char *) "item", NULL
35687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35689 if (!SWIG_IsOK(res1
)) {
35690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35692 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35693 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35694 if (!SWIG_IsOK(res2
)) {
35695 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35698 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35700 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35703 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35704 wxPyEndAllowThreads(__tstate
);
35705 if (PyErr_Occurred()) SWIG_fail
;
35707 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35714 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35715 PyObject
*resultobj
= 0;
35716 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35717 wxTreeItemId
*arg2
= 0 ;
35718 PyObject
*result
= 0 ;
35723 PyObject
* obj0
= 0 ;
35724 PyObject
* obj1
= 0 ;
35725 char * kwnames
[] = {
35726 (char *) "self",(char *) "item", NULL
35729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35731 if (!SWIG_IsOK(res1
)) {
35732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35734 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35735 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35736 if (!SWIG_IsOK(res2
)) {
35737 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35740 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35742 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35745 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35746 wxPyEndAllowThreads(__tstate
);
35747 if (PyErr_Occurred()) SWIG_fail
;
35749 resultobj
= result
;
35756 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35757 PyObject
*resultobj
= 0;
35758 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35759 wxTreeItemId
*arg2
= 0 ;
35760 void *arg3
= (void *) 0 ;
35761 PyObject
*result
= 0 ;
35767 PyObject
* obj0
= 0 ;
35768 PyObject
* obj1
= 0 ;
35769 PyObject
* obj2
= 0 ;
35770 char * kwnames
[] = {
35771 (char *) "self",(char *) "item",(char *) "cookie", NULL
35774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35776 if (!SWIG_IsOK(res1
)) {
35777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35779 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35780 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35781 if (!SWIG_IsOK(res2
)) {
35782 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35785 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35787 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35788 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35789 if (!SWIG_IsOK(res3
)) {
35790 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35794 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35795 wxPyEndAllowThreads(__tstate
);
35796 if (PyErr_Occurred()) SWIG_fail
;
35798 resultobj
= result
;
35805 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35806 PyObject
*resultobj
= 0;
35807 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35808 wxTreeItemId
*arg2
= 0 ;
35809 wxTreeItemId result
;
35814 PyObject
* obj0
= 0 ;
35815 PyObject
* obj1
= 0 ;
35816 char * kwnames
[] = {
35817 (char *) "self",(char *) "item", NULL
35820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35822 if (!SWIG_IsOK(res1
)) {
35823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35825 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35826 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35827 if (!SWIG_IsOK(res2
)) {
35828 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35831 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35833 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35836 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35837 wxPyEndAllowThreads(__tstate
);
35838 if (PyErr_Occurred()) SWIG_fail
;
35840 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35847 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35848 PyObject
*resultobj
= 0;
35849 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35850 wxTreeItemId
*arg2
= 0 ;
35851 wxTreeItemId result
;
35856 PyObject
* obj0
= 0 ;
35857 PyObject
* obj1
= 0 ;
35858 char * kwnames
[] = {
35859 (char *) "self",(char *) "item", NULL
35862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35864 if (!SWIG_IsOK(res1
)) {
35865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35867 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35868 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35869 if (!SWIG_IsOK(res2
)) {
35870 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35873 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35875 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35878 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35879 wxPyEndAllowThreads(__tstate
);
35880 if (PyErr_Occurred()) SWIG_fail
;
35882 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35889 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35890 PyObject
*resultobj
= 0;
35891 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35892 wxTreeItemId
*arg2
= 0 ;
35893 wxTreeItemId result
;
35898 PyObject
* obj0
= 0 ;
35899 PyObject
* obj1
= 0 ;
35900 char * kwnames
[] = {
35901 (char *) "self",(char *) "item", NULL
35904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35906 if (!SWIG_IsOK(res1
)) {
35907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35909 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35910 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35911 if (!SWIG_IsOK(res2
)) {
35912 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35915 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35917 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35920 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35921 wxPyEndAllowThreads(__tstate
);
35922 if (PyErr_Occurred()) SWIG_fail
;
35924 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35931 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35932 PyObject
*resultobj
= 0;
35933 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35934 wxTreeItemId result
;
35937 PyObject
*swig_obj
[1] ;
35939 if (!args
) SWIG_fail
;
35940 swig_obj
[0] = args
;
35941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35942 if (!SWIG_IsOK(res1
)) {
35943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35945 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35948 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35949 wxPyEndAllowThreads(__tstate
);
35950 if (PyErr_Occurred()) SWIG_fail
;
35952 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35959 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35960 PyObject
*resultobj
= 0;
35961 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35962 wxTreeItemId
*arg2
= 0 ;
35963 wxTreeItemId result
;
35968 PyObject
* obj0
= 0 ;
35969 PyObject
* obj1
= 0 ;
35970 char * kwnames
[] = {
35971 (char *) "self",(char *) "item", NULL
35974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35976 if (!SWIG_IsOK(res1
)) {
35977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35979 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35980 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35981 if (!SWIG_IsOK(res2
)) {
35982 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35985 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35987 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35990 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35991 wxPyEndAllowThreads(__tstate
);
35992 if (PyErr_Occurred()) SWIG_fail
;
35994 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36001 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36002 PyObject
*resultobj
= 0;
36003 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36004 wxTreeItemId
*arg2
= 0 ;
36005 wxTreeItemId result
;
36010 PyObject
* obj0
= 0 ;
36011 PyObject
* obj1
= 0 ;
36012 char * kwnames
[] = {
36013 (char *) "self",(char *) "item", NULL
36016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36018 if (!SWIG_IsOK(res1
)) {
36019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36021 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36022 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36023 if (!SWIG_IsOK(res2
)) {
36024 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36027 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36029 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36032 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
36033 wxPyEndAllowThreads(__tstate
);
36034 if (PyErr_Occurred()) SWIG_fail
;
36036 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36043 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36044 PyObject
*resultobj
= 0;
36045 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36046 wxString
*arg2
= 0 ;
36047 int arg3
= (int) -1 ;
36048 int arg4
= (int) -1 ;
36049 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
36050 wxTreeItemId result
;
36053 bool temp2
= false ;
36059 PyObject
* obj0
= 0 ;
36060 PyObject
* obj1
= 0 ;
36061 PyObject
* obj2
= 0 ;
36062 PyObject
* obj3
= 0 ;
36063 PyObject
* obj4
= 0 ;
36064 char * kwnames
[] = {
36065 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36070 if (!SWIG_IsOK(res1
)) {
36071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36073 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36075 arg2
= wxString_in_helper(obj1
);
36076 if (arg2
== NULL
) SWIG_fail
;
36080 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36081 if (!SWIG_IsOK(ecode3
)) {
36082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36084 arg3
= static_cast< int >(val3
);
36087 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36088 if (!SWIG_IsOK(ecode4
)) {
36089 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36091 arg4
= static_cast< int >(val4
);
36094 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36095 if (!SWIG_IsOK(res5
)) {
36096 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36101 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
36102 wxPyEndAllowThreads(__tstate
);
36103 if (PyErr_Occurred()) SWIG_fail
;
36105 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36120 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36121 PyObject
*resultobj
= 0;
36122 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36123 wxTreeItemId
*arg2
= 0 ;
36124 wxString
*arg3
= 0 ;
36125 int arg4
= (int) -1 ;
36126 int arg5
= (int) -1 ;
36127 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36128 wxTreeItemId result
;
36133 bool temp3
= false ;
36139 PyObject
* obj0
= 0 ;
36140 PyObject
* obj1
= 0 ;
36141 PyObject
* obj2
= 0 ;
36142 PyObject
* obj3
= 0 ;
36143 PyObject
* obj4
= 0 ;
36144 PyObject
* obj5
= 0 ;
36145 char * kwnames
[] = {
36146 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36151 if (!SWIG_IsOK(res1
)) {
36152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36154 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36155 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36156 if (!SWIG_IsOK(res2
)) {
36157 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36160 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36162 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36164 arg3
= wxString_in_helper(obj2
);
36165 if (arg3
== NULL
) SWIG_fail
;
36169 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36170 if (!SWIG_IsOK(ecode4
)) {
36171 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36173 arg4
= static_cast< int >(val4
);
36176 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36177 if (!SWIG_IsOK(ecode5
)) {
36178 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36180 arg5
= static_cast< int >(val5
);
36183 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36184 if (!SWIG_IsOK(res6
)) {
36185 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36190 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36191 wxPyEndAllowThreads(__tstate
);
36192 if (PyErr_Occurred()) SWIG_fail
;
36194 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36209 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36210 PyObject
*resultobj
= 0;
36211 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36212 wxTreeItemId
*arg2
= 0 ;
36213 wxTreeItemId
*arg3
= 0 ;
36214 wxString
*arg4
= 0 ;
36215 int arg5
= (int) -1 ;
36216 int arg6
= (int) -1 ;
36217 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36218 wxTreeItemId result
;
36225 bool temp4
= false ;
36231 PyObject
* obj0
= 0 ;
36232 PyObject
* obj1
= 0 ;
36233 PyObject
* obj2
= 0 ;
36234 PyObject
* obj3
= 0 ;
36235 PyObject
* obj4
= 0 ;
36236 PyObject
* obj5
= 0 ;
36237 PyObject
* obj6
= 0 ;
36238 char * kwnames
[] = {
36239 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36244 if (!SWIG_IsOK(res1
)) {
36245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36247 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36248 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36249 if (!SWIG_IsOK(res2
)) {
36250 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36253 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36255 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36256 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36257 if (!SWIG_IsOK(res3
)) {
36258 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36261 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36263 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
36265 arg4
= wxString_in_helper(obj3
);
36266 if (arg4
== NULL
) SWIG_fail
;
36270 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36271 if (!SWIG_IsOK(ecode5
)) {
36272 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36274 arg5
= static_cast< int >(val5
);
36277 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36278 if (!SWIG_IsOK(ecode6
)) {
36279 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36281 arg6
= static_cast< int >(val6
);
36284 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36285 if (!SWIG_IsOK(res7
)) {
36286 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36291 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36292 wxPyEndAllowThreads(__tstate
);
36293 if (PyErr_Occurred()) SWIG_fail
;
36295 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36310 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36311 PyObject
*resultobj
= 0;
36312 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36313 wxTreeItemId
*arg2
= 0 ;
36315 wxString
*arg4
= 0 ;
36316 int arg5
= (int) -1 ;
36317 int arg6
= (int) -1 ;
36318 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36319 wxTreeItemId result
;
36326 bool temp4
= false ;
36332 PyObject
* obj0
= 0 ;
36333 PyObject
* obj1
= 0 ;
36334 PyObject
* obj2
= 0 ;
36335 PyObject
* obj3
= 0 ;
36336 PyObject
* obj4
= 0 ;
36337 PyObject
* obj5
= 0 ;
36338 PyObject
* obj6
= 0 ;
36339 char * kwnames
[] = {
36340 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36345 if (!SWIG_IsOK(res1
)) {
36346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36348 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36349 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36350 if (!SWIG_IsOK(res2
)) {
36351 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36354 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36356 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36357 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36358 if (!SWIG_IsOK(ecode3
)) {
36359 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36361 arg3
= static_cast< size_t >(val3
);
36363 arg4
= wxString_in_helper(obj3
);
36364 if (arg4
== NULL
) SWIG_fail
;
36368 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36369 if (!SWIG_IsOK(ecode5
)) {
36370 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36372 arg5
= static_cast< int >(val5
);
36375 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36376 if (!SWIG_IsOK(ecode6
)) {
36377 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36379 arg6
= static_cast< int >(val6
);
36382 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36383 if (!SWIG_IsOK(res7
)) {
36384 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36389 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36390 wxPyEndAllowThreads(__tstate
);
36391 if (PyErr_Occurred()) SWIG_fail
;
36393 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36408 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36409 PyObject
*resultobj
= 0;
36410 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36411 wxTreeItemId
*arg2
= 0 ;
36412 wxString
*arg3
= 0 ;
36413 int arg4
= (int) -1 ;
36414 int arg5
= (int) -1 ;
36415 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36416 wxTreeItemId result
;
36421 bool temp3
= false ;
36427 PyObject
* obj0
= 0 ;
36428 PyObject
* obj1
= 0 ;
36429 PyObject
* obj2
= 0 ;
36430 PyObject
* obj3
= 0 ;
36431 PyObject
* obj4
= 0 ;
36432 PyObject
* obj5
= 0 ;
36433 char * kwnames
[] = {
36434 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36439 if (!SWIG_IsOK(res1
)) {
36440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36442 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36443 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36444 if (!SWIG_IsOK(res2
)) {
36445 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36448 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36450 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36452 arg3
= wxString_in_helper(obj2
);
36453 if (arg3
== NULL
) SWIG_fail
;
36457 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36458 if (!SWIG_IsOK(ecode4
)) {
36459 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36461 arg4
= static_cast< int >(val4
);
36464 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36465 if (!SWIG_IsOK(ecode5
)) {
36466 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36468 arg5
= static_cast< int >(val5
);
36471 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36472 if (!SWIG_IsOK(res6
)) {
36473 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36478 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36479 wxPyEndAllowThreads(__tstate
);
36480 if (PyErr_Occurred()) SWIG_fail
;
36482 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36497 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36498 PyObject
*resultobj
= 0;
36499 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36500 wxTreeItemId
*arg2
= 0 ;
36505 PyObject
* obj0
= 0 ;
36506 PyObject
* obj1
= 0 ;
36507 char * kwnames
[] = {
36508 (char *) "self",(char *) "item", NULL
36511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36513 if (!SWIG_IsOK(res1
)) {
36514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36516 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36517 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36518 if (!SWIG_IsOK(res2
)) {
36519 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36522 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36524 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36527 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36528 wxPyEndAllowThreads(__tstate
);
36529 if (PyErr_Occurred()) SWIG_fail
;
36531 resultobj
= SWIG_Py_Void();
36538 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36539 PyObject
*resultobj
= 0;
36540 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36541 wxTreeItemId
*arg2
= 0 ;
36546 PyObject
* obj0
= 0 ;
36547 PyObject
* obj1
= 0 ;
36548 char * kwnames
[] = {
36549 (char *) "self",(char *) "item", NULL
36552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36554 if (!SWIG_IsOK(res1
)) {
36555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36557 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36558 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36559 if (!SWIG_IsOK(res2
)) {
36560 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36563 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36565 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36568 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36569 wxPyEndAllowThreads(__tstate
);
36570 if (PyErr_Occurred()) SWIG_fail
;
36572 resultobj
= SWIG_Py_Void();
36579 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36580 PyObject
*resultobj
= 0;
36581 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36584 PyObject
*swig_obj
[1] ;
36586 if (!args
) SWIG_fail
;
36587 swig_obj
[0] = args
;
36588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36589 if (!SWIG_IsOK(res1
)) {
36590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36592 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36595 (arg1
)->DeleteAllItems();
36596 wxPyEndAllowThreads(__tstate
);
36597 if (PyErr_Occurred()) SWIG_fail
;
36599 resultobj
= SWIG_Py_Void();
36606 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36607 PyObject
*resultobj
= 0;
36608 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36609 wxTreeItemId
*arg2
= 0 ;
36614 PyObject
* obj0
= 0 ;
36615 PyObject
* obj1
= 0 ;
36616 char * kwnames
[] = {
36617 (char *) "self",(char *) "item", NULL
36620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36622 if (!SWIG_IsOK(res1
)) {
36623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36625 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36626 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36627 if (!SWIG_IsOK(res2
)) {
36628 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36631 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36633 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36636 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36637 wxPyEndAllowThreads(__tstate
);
36638 if (PyErr_Occurred()) SWIG_fail
;
36640 resultobj
= SWIG_Py_Void();
36647 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36648 PyObject
*resultobj
= 0;
36649 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36650 wxTreeItemId
*arg2
= 0 ;
36655 PyObject
* obj0
= 0 ;
36656 PyObject
* obj1
= 0 ;
36657 char * kwnames
[] = {
36658 (char *) "self",(char *) "item", NULL
36661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36663 if (!SWIG_IsOK(res1
)) {
36664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36666 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36667 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36668 if (!SWIG_IsOK(res2
)) {
36669 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36672 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36674 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36677 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
36678 wxPyEndAllowThreads(__tstate
);
36679 if (PyErr_Occurred()) SWIG_fail
;
36681 resultobj
= SWIG_Py_Void();
36688 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36689 PyObject
*resultobj
= 0;
36690 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36693 PyObject
*swig_obj
[1] ;
36695 if (!args
) SWIG_fail
;
36696 swig_obj
[0] = args
;
36697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36698 if (!SWIG_IsOK(res1
)) {
36699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36701 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36704 (arg1
)->ExpandAll();
36705 wxPyEndAllowThreads(__tstate
);
36706 if (PyErr_Occurred()) SWIG_fail
;
36708 resultobj
= SWIG_Py_Void();
36715 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36716 PyObject
*resultobj
= 0;
36717 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36718 wxTreeItemId
*arg2
= 0 ;
36723 PyObject
* obj0
= 0 ;
36724 PyObject
* obj1
= 0 ;
36725 char * kwnames
[] = {
36726 (char *) "self",(char *) "item", NULL
36729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36731 if (!SWIG_IsOK(res1
)) {
36732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36734 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36735 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36736 if (!SWIG_IsOK(res2
)) {
36737 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36740 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36742 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36745 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36746 wxPyEndAllowThreads(__tstate
);
36747 if (PyErr_Occurred()) SWIG_fail
;
36749 resultobj
= SWIG_Py_Void();
36756 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36757 PyObject
*resultobj
= 0;
36758 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36759 wxTreeItemId
*arg2
= 0 ;
36764 PyObject
* obj0
= 0 ;
36765 PyObject
* obj1
= 0 ;
36766 char * kwnames
[] = {
36767 (char *) "self",(char *) "item", NULL
36770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36772 if (!SWIG_IsOK(res1
)) {
36773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36775 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36776 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36777 if (!SWIG_IsOK(res2
)) {
36778 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36781 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36783 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36786 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36787 wxPyEndAllowThreads(__tstate
);
36788 if (PyErr_Occurred()) SWIG_fail
;
36790 resultobj
= SWIG_Py_Void();
36797 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36798 PyObject
*resultobj
= 0;
36799 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36800 wxTreeItemId
*arg2
= 0 ;
36805 PyObject
* obj0
= 0 ;
36806 PyObject
* obj1
= 0 ;
36807 char * kwnames
[] = {
36808 (char *) "self",(char *) "item", NULL
36811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36813 if (!SWIG_IsOK(res1
)) {
36814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36816 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36817 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36818 if (!SWIG_IsOK(res2
)) {
36819 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36822 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36824 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36827 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36828 wxPyEndAllowThreads(__tstate
);
36829 if (PyErr_Occurred()) SWIG_fail
;
36831 resultobj
= SWIG_Py_Void();
36838 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36839 PyObject
*resultobj
= 0;
36840 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36843 PyObject
*swig_obj
[1] ;
36845 if (!args
) SWIG_fail
;
36846 swig_obj
[0] = args
;
36847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36848 if (!SWIG_IsOK(res1
)) {
36849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36851 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36854 (arg1
)->Unselect();
36855 wxPyEndAllowThreads(__tstate
);
36856 if (PyErr_Occurred()) SWIG_fail
;
36858 resultobj
= SWIG_Py_Void();
36865 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36866 PyObject
*resultobj
= 0;
36867 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36868 wxTreeItemId
*arg2
= 0 ;
36873 PyObject
* obj0
= 0 ;
36874 PyObject
* obj1
= 0 ;
36875 char * kwnames
[] = {
36876 (char *) "self",(char *) "item", NULL
36879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36881 if (!SWIG_IsOK(res1
)) {
36882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36884 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36885 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36886 if (!SWIG_IsOK(res2
)) {
36887 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36890 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36892 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36895 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36896 wxPyEndAllowThreads(__tstate
);
36897 if (PyErr_Occurred()) SWIG_fail
;
36899 resultobj
= SWIG_Py_Void();
36906 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36907 PyObject
*resultobj
= 0;
36908 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36911 PyObject
*swig_obj
[1] ;
36913 if (!args
) SWIG_fail
;
36914 swig_obj
[0] = args
;
36915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36916 if (!SWIG_IsOK(res1
)) {
36917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36919 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36922 (arg1
)->UnselectAll();
36923 wxPyEndAllowThreads(__tstate
);
36924 if (PyErr_Occurred()) SWIG_fail
;
36926 resultobj
= SWIG_Py_Void();
36933 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36934 PyObject
*resultobj
= 0;
36935 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36936 wxTreeItemId
*arg2
= 0 ;
36937 bool arg3
= (bool) true ;
36944 PyObject
* obj0
= 0 ;
36945 PyObject
* obj1
= 0 ;
36946 PyObject
* obj2
= 0 ;
36947 char * kwnames
[] = {
36948 (char *) "self",(char *) "item",(char *) "select", NULL
36951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36953 if (!SWIG_IsOK(res1
)) {
36954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36956 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36957 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36958 if (!SWIG_IsOK(res2
)) {
36959 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36962 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36964 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36966 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36967 if (!SWIG_IsOK(ecode3
)) {
36968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36970 arg3
= static_cast< bool >(val3
);
36973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36974 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36975 wxPyEndAllowThreads(__tstate
);
36976 if (PyErr_Occurred()) SWIG_fail
;
36978 resultobj
= SWIG_Py_Void();
36985 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36986 PyObject
*resultobj
= 0;
36987 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36988 wxTreeItemId
*arg2
= 0 ;
36993 PyObject
* obj0
= 0 ;
36994 PyObject
* obj1
= 0 ;
36995 char * kwnames
[] = {
36996 (char *) "self",(char *) "item", NULL
36999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37001 if (!SWIG_IsOK(res1
)) {
37002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37004 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37005 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37006 if (!SWIG_IsOK(res2
)) {
37007 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37012 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37015 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
37016 wxPyEndAllowThreads(__tstate
);
37017 if (PyErr_Occurred()) SWIG_fail
;
37019 resultobj
= SWIG_Py_Void();
37026 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37027 PyObject
*resultobj
= 0;
37028 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37029 wxTreeItemId
*arg2
= 0 ;
37034 PyObject
* obj0
= 0 ;
37035 PyObject
* obj1
= 0 ;
37036 char * kwnames
[] = {
37037 (char *) "self",(char *) "item", NULL
37040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37042 if (!SWIG_IsOK(res1
)) {
37043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37045 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37046 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37047 if (!SWIG_IsOK(res2
)) {
37048 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37051 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37053 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37056 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
37057 wxPyEndAllowThreads(__tstate
);
37058 if (PyErr_Occurred()) SWIG_fail
;
37060 resultobj
= SWIG_Py_Void();
37067 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37068 PyObject
*resultobj
= 0;
37069 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37070 wxTreeItemId
*arg2
= 0 ;
37075 PyObject
* obj0
= 0 ;
37076 PyObject
* obj1
= 0 ;
37077 char * kwnames
[] = {
37078 (char *) "self",(char *) "item", NULL
37081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37083 if (!SWIG_IsOK(res1
)) {
37084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37086 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37087 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37088 if (!SWIG_IsOK(res2
)) {
37089 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37092 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37094 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37097 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
37098 wxPyEndAllowThreads(__tstate
);
37099 if (PyErr_Occurred()) SWIG_fail
;
37101 resultobj
= SWIG_Py_Void();
37108 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37109 PyObject
*resultobj
= 0;
37110 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37111 wxTreeItemId
*arg2
= 0 ;
37116 PyObject
* obj0
= 0 ;
37117 PyObject
* obj1
= 0 ;
37118 char * kwnames
[] = {
37119 (char *) "self",(char *) "item", NULL
37122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37124 if (!SWIG_IsOK(res1
)) {
37125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37127 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37128 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37129 if (!SWIG_IsOK(res2
)) {
37130 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37133 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37135 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37138 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
37139 wxPyEndAllowThreads(__tstate
);
37140 if (PyErr_Occurred()) SWIG_fail
;
37142 resultobj
= SWIG_Py_Void();
37149 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37150 PyObject
*resultobj
= 0;
37151 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37152 wxTextCtrl
*result
= 0 ;
37155 PyObject
*swig_obj
[1] ;
37157 if (!args
) SWIG_fail
;
37158 swig_obj
[0] = args
;
37159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37160 if (!SWIG_IsOK(res1
)) {
37161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37163 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37166 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
37167 wxPyEndAllowThreads(__tstate
);
37168 if (PyErr_Occurred()) SWIG_fail
;
37171 resultobj
= wxPyMake_wxObject(result
, 0);
37179 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37180 PyObject
*resultobj
= 0;
37181 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37182 wxTreeItemId
*arg2
= 0 ;
37187 PyObject
* obj0
= 0 ;
37188 PyObject
* obj1
= 0 ;
37189 char * kwnames
[] = {
37190 (char *) "self",(char *) "item", NULL
37193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37195 if (!SWIG_IsOK(res1
)) {
37196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37198 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37199 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37200 if (!SWIG_IsOK(res2
)) {
37201 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37204 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37206 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37209 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
37210 wxPyEndAllowThreads(__tstate
);
37211 if (PyErr_Occurred()) SWIG_fail
;
37213 resultobj
= SWIG_Py_Void();
37220 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37221 PyObject
*resultobj
= 0;
37222 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37223 wxPoint
*arg2
= 0 ;
37225 wxTreeItemId result
;
37230 int res3
= SWIG_TMPOBJ
;
37231 PyObject
* obj0
= 0 ;
37232 PyObject
* obj1
= 0 ;
37233 char * kwnames
[] = {
37234 (char *) "self",(char *) "point", NULL
37238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37240 if (!SWIG_IsOK(res1
)) {
37241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37243 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37246 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37250 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
37251 wxPyEndAllowThreads(__tstate
);
37252 if (PyErr_Occurred()) SWIG_fail
;
37254 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37255 if (SWIG_IsTmpObj(res3
)) {
37256 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
37258 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37259 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
37267 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37268 PyObject
*resultobj
= 0;
37269 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37270 wxTreeItemId
*arg2
= 0 ;
37271 bool arg3
= (bool) false ;
37272 PyObject
*result
= 0 ;
37279 PyObject
* obj0
= 0 ;
37280 PyObject
* obj1
= 0 ;
37281 PyObject
* obj2
= 0 ;
37282 char * kwnames
[] = {
37283 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37288 if (!SWIG_IsOK(res1
)) {
37289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37291 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37292 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37293 if (!SWIG_IsOK(res2
)) {
37294 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37297 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37299 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37301 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37302 if (!SWIG_IsOK(ecode3
)) {
37303 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37305 arg3
= static_cast< bool >(val3
);
37308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37309 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
37310 wxPyEndAllowThreads(__tstate
);
37311 if (PyErr_Occurred()) SWIG_fail
;
37313 resultobj
= result
;
37320 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37321 PyObject
*resultobj
= 0;
37322 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37323 SwigValueWrapper
<wxVisualAttributes
> result
;
37326 PyObject
* obj0
= 0 ;
37327 char * kwnames
[] = {
37328 (char *) "variant", NULL
37331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
37333 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37334 if (!SWIG_IsOK(ecode1
)) {
37335 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37337 arg1
= static_cast< wxWindowVariant
>(val1
);
37340 if (!wxPyCheckForApp()) SWIG_fail
;
37341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37342 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37343 wxPyEndAllowThreads(__tstate
);
37344 if (PyErr_Occurred()) SWIG_fail
;
37346 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37353 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37354 PyObject
*resultobj
= 0;
37355 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37361 PyObject
* obj0
= 0 ;
37362 PyObject
* obj1
= 0 ;
37363 char * kwnames
[] = {
37364 (char *) "self",(char *) "q", NULL
37367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37369 if (!SWIG_IsOK(res1
)) {
37370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37372 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37373 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37374 if (!SWIG_IsOK(ecode2
)) {
37375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37377 arg2
= static_cast< bool >(val2
);
37379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37380 (arg1
)->SetQuickBestSize(arg2
);
37381 wxPyEndAllowThreads(__tstate
);
37382 if (PyErr_Occurred()) SWIG_fail
;
37384 resultobj
= SWIG_Py_Void();
37391 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37392 PyObject
*resultobj
= 0;
37393 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37397 PyObject
*swig_obj
[1] ;
37399 if (!args
) SWIG_fail
;
37400 swig_obj
[0] = args
;
37401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37402 if (!SWIG_IsOK(res1
)) {
37403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37405 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37408 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37409 wxPyEndAllowThreads(__tstate
);
37410 if (PyErr_Occurred()) SWIG_fail
;
37413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37421 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37423 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37424 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37425 return SWIG_Py_Void();
37428 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37429 return SWIG_Python_InitShadowInstance(args
);
37432 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37433 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37438 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37439 PyObject
*pyobj
= 0;
37443 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37445 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37452 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37453 PyObject
*resultobj
= 0;
37454 wxWindow
*arg1
= (wxWindow
*) 0 ;
37455 int arg2
= (int) (int)-1 ;
37456 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37457 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37458 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37459 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37460 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37461 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37462 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37463 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37464 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37465 int arg8
= (int) 0 ;
37466 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37467 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37468 wxGenericDirCtrl
*result
= 0 ;
37473 bool temp3
= false ;
37478 bool temp7
= false ;
37481 bool temp9
= false ;
37482 PyObject
* obj0
= 0 ;
37483 PyObject
* obj1
= 0 ;
37484 PyObject
* obj2
= 0 ;
37485 PyObject
* obj3
= 0 ;
37486 PyObject
* obj4
= 0 ;
37487 PyObject
* obj5
= 0 ;
37488 PyObject
* obj6
= 0 ;
37489 PyObject
* obj7
= 0 ;
37490 PyObject
* obj8
= 0 ;
37491 char * kwnames
[] = {
37492 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37497 if (!SWIG_IsOK(res1
)) {
37498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37500 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37503 if (!SWIG_IsOK(ecode2
)) {
37504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37506 arg2
= static_cast< int >(val2
);
37510 arg3
= wxString_in_helper(obj2
);
37511 if (arg3
== NULL
) SWIG_fail
;
37518 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37524 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37528 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37529 if (!SWIG_IsOK(ecode6
)) {
37530 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37532 arg6
= static_cast< long >(val6
);
37536 arg7
= wxString_in_helper(obj6
);
37537 if (arg7
== NULL
) SWIG_fail
;
37542 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37543 if (!SWIG_IsOK(ecode8
)) {
37544 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37546 arg8
= static_cast< int >(val8
);
37550 arg9
= wxString_in_helper(obj8
);
37551 if (arg9
== NULL
) SWIG_fail
;
37556 if (!wxPyCheckForApp()) SWIG_fail
;
37557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37558 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37559 wxPyEndAllowThreads(__tstate
);
37560 if (PyErr_Occurred()) SWIG_fail
;
37562 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37593 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37594 PyObject
*resultobj
= 0;
37595 wxGenericDirCtrl
*result
= 0 ;
37597 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37599 if (!wxPyCheckForApp()) SWIG_fail
;
37600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37601 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37602 wxPyEndAllowThreads(__tstate
);
37603 if (PyErr_Occurred()) SWIG_fail
;
37605 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37612 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37613 PyObject
*resultobj
= 0;
37614 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37615 wxWindow
*arg2
= (wxWindow
*) 0 ;
37616 int arg3
= (int) (int)-1 ;
37617 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37618 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37619 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37620 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37621 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37622 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37623 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37624 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37625 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37626 int arg9
= (int) 0 ;
37627 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37628 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37636 bool temp4
= false ;
37641 bool temp8
= false ;
37644 bool temp10
= false ;
37645 PyObject
* obj0
= 0 ;
37646 PyObject
* obj1
= 0 ;
37647 PyObject
* obj2
= 0 ;
37648 PyObject
* obj3
= 0 ;
37649 PyObject
* obj4
= 0 ;
37650 PyObject
* obj5
= 0 ;
37651 PyObject
* obj6
= 0 ;
37652 PyObject
* obj7
= 0 ;
37653 PyObject
* obj8
= 0 ;
37654 PyObject
* obj9
= 0 ;
37655 char * kwnames
[] = {
37656 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37661 if (!SWIG_IsOK(res1
)) {
37662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37664 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37665 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37666 if (!SWIG_IsOK(res2
)) {
37667 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37669 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37671 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37672 if (!SWIG_IsOK(ecode3
)) {
37673 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37675 arg3
= static_cast< int >(val3
);
37679 arg4
= wxString_in_helper(obj3
);
37680 if (arg4
== NULL
) SWIG_fail
;
37687 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37693 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37697 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37698 if (!SWIG_IsOK(ecode7
)) {
37699 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37701 arg7
= static_cast< long >(val7
);
37705 arg8
= wxString_in_helper(obj7
);
37706 if (arg8
== NULL
) SWIG_fail
;
37711 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37712 if (!SWIG_IsOK(ecode9
)) {
37713 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37715 arg9
= static_cast< int >(val9
);
37719 arg10
= wxString_in_helper(obj9
);
37720 if (arg10
== NULL
) SWIG_fail
;
37725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37726 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37727 wxPyEndAllowThreads(__tstate
);
37728 if (PyErr_Occurred()) SWIG_fail
;
37731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37763 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37764 PyObject
*resultobj
= 0;
37765 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37766 wxString
*arg2
= 0 ;
37770 bool temp2
= false ;
37771 PyObject
* obj0
= 0 ;
37772 PyObject
* obj1
= 0 ;
37773 char * kwnames
[] = {
37774 (char *) "self",(char *) "path", NULL
37777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37779 if (!SWIG_IsOK(res1
)) {
37780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37782 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37784 arg2
= wxString_in_helper(obj1
);
37785 if (arg2
== NULL
) SWIG_fail
;
37789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37790 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37791 wxPyEndAllowThreads(__tstate
);
37792 if (PyErr_Occurred()) SWIG_fail
;
37795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37811 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37812 PyObject
*resultobj
= 0;
37813 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37814 wxString
*arg2
= 0 ;
37818 bool temp2
= false ;
37819 PyObject
* obj0
= 0 ;
37820 PyObject
* obj1
= 0 ;
37821 char * kwnames
[] = {
37822 (char *) "self",(char *) "path", NULL
37825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37827 if (!SWIG_IsOK(res1
)) {
37828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37830 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37832 arg2
= wxString_in_helper(obj1
);
37833 if (arg2
== NULL
) SWIG_fail
;
37837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37838 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
37839 wxPyEndAllowThreads(__tstate
);
37840 if (PyErr_Occurred()) SWIG_fail
;
37843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37859 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37860 PyObject
*resultobj
= 0;
37861 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37865 PyObject
*swig_obj
[1] ;
37867 if (!args
) SWIG_fail
;
37868 swig_obj
[0] = args
;
37869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37870 if (!SWIG_IsOK(res1
)) {
37871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37873 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37876 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37877 wxPyEndAllowThreads(__tstate
);
37878 if (PyErr_Occurred()) SWIG_fail
;
37882 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37884 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37893 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37894 PyObject
*resultobj
= 0;
37895 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37896 wxString
*arg2
= 0 ;
37899 bool temp2
= false ;
37900 PyObject
* obj0
= 0 ;
37901 PyObject
* obj1
= 0 ;
37902 char * kwnames
[] = {
37903 (char *) "self",(char *) "path", NULL
37906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37908 if (!SWIG_IsOK(res1
)) {
37909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37911 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37913 arg2
= wxString_in_helper(obj1
);
37914 if (arg2
== NULL
) SWIG_fail
;
37918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37919 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37920 wxPyEndAllowThreads(__tstate
);
37921 if (PyErr_Occurred()) SWIG_fail
;
37923 resultobj
= SWIG_Py_Void();
37938 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37939 PyObject
*resultobj
= 0;
37940 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37944 PyObject
*swig_obj
[1] ;
37946 if (!args
) SWIG_fail
;
37947 swig_obj
[0] = args
;
37948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37949 if (!SWIG_IsOK(res1
)) {
37950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37952 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37955 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37956 wxPyEndAllowThreads(__tstate
);
37957 if (PyErr_Occurred()) SWIG_fail
;
37961 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37963 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37972 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37973 PyObject
*resultobj
= 0;
37974 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37978 PyObject
*swig_obj
[1] ;
37980 if (!args
) SWIG_fail
;
37981 swig_obj
[0] = args
;
37982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37983 if (!SWIG_IsOK(res1
)) {
37984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37986 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37989 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37990 wxPyEndAllowThreads(__tstate
);
37991 if (PyErr_Occurred()) SWIG_fail
;
37995 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37997 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38006 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38007 PyObject
*resultobj
= 0;
38008 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38009 wxString
*arg2
= 0 ;
38012 bool temp2
= false ;
38013 PyObject
* obj0
= 0 ;
38014 PyObject
* obj1
= 0 ;
38015 char * kwnames
[] = {
38016 (char *) "self",(char *) "path", NULL
38019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38021 if (!SWIG_IsOK(res1
)) {
38022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38024 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38026 arg2
= wxString_in_helper(obj1
);
38027 if (arg2
== NULL
) SWIG_fail
;
38031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38032 (arg1
)->SetPath((wxString
const &)*arg2
);
38033 wxPyEndAllowThreads(__tstate
);
38034 if (PyErr_Occurred()) SWIG_fail
;
38036 resultobj
= SWIG_Py_Void();
38051 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38052 PyObject
*resultobj
= 0;
38053 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38059 PyObject
* obj0
= 0 ;
38060 PyObject
* obj1
= 0 ;
38061 char * kwnames
[] = {
38062 (char *) "self",(char *) "show", NULL
38065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38067 if (!SWIG_IsOK(res1
)) {
38068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38070 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38071 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
38072 if (!SWIG_IsOK(ecode2
)) {
38073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38075 arg2
= static_cast< bool >(val2
);
38077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38078 (arg1
)->ShowHidden(arg2
);
38079 wxPyEndAllowThreads(__tstate
);
38080 if (PyErr_Occurred()) SWIG_fail
;
38082 resultobj
= SWIG_Py_Void();
38089 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38090 PyObject
*resultobj
= 0;
38091 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38095 PyObject
*swig_obj
[1] ;
38097 if (!args
) SWIG_fail
;
38098 swig_obj
[0] = args
;
38099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38100 if (!SWIG_IsOK(res1
)) {
38101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38103 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38106 result
= (bool)(arg1
)->GetShowHidden();
38107 wxPyEndAllowThreads(__tstate
);
38108 if (PyErr_Occurred()) SWIG_fail
;
38111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38119 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38120 PyObject
*resultobj
= 0;
38121 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38125 PyObject
*swig_obj
[1] ;
38127 if (!args
) SWIG_fail
;
38128 swig_obj
[0] = args
;
38129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38130 if (!SWIG_IsOK(res1
)) {
38131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38133 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38136 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
38137 wxPyEndAllowThreads(__tstate
);
38138 if (PyErr_Occurred()) SWIG_fail
;
38142 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38144 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38153 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38154 PyObject
*resultobj
= 0;
38155 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38156 wxString
*arg2
= 0 ;
38159 bool temp2
= false ;
38160 PyObject
* obj0
= 0 ;
38161 PyObject
* obj1
= 0 ;
38162 char * kwnames
[] = {
38163 (char *) "self",(char *) "filter", NULL
38166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38168 if (!SWIG_IsOK(res1
)) {
38169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38171 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38173 arg2
= wxString_in_helper(obj1
);
38174 if (arg2
== NULL
) SWIG_fail
;
38178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38179 (arg1
)->SetFilter((wxString
const &)*arg2
);
38180 wxPyEndAllowThreads(__tstate
);
38181 if (PyErr_Occurred()) SWIG_fail
;
38183 resultobj
= SWIG_Py_Void();
38198 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38199 PyObject
*resultobj
= 0;
38200 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38204 PyObject
*swig_obj
[1] ;
38206 if (!args
) SWIG_fail
;
38207 swig_obj
[0] = args
;
38208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38209 if (!SWIG_IsOK(res1
)) {
38210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38212 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38215 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
38216 wxPyEndAllowThreads(__tstate
);
38217 if (PyErr_Occurred()) SWIG_fail
;
38219 resultobj
= SWIG_From_int(static_cast< int >(result
));
38226 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38227 PyObject
*resultobj
= 0;
38228 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38234 PyObject
* obj0
= 0 ;
38235 PyObject
* obj1
= 0 ;
38236 char * kwnames
[] = {
38237 (char *) "self",(char *) "n", NULL
38240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38242 if (!SWIG_IsOK(res1
)) {
38243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38245 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38247 if (!SWIG_IsOK(ecode2
)) {
38248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38250 arg2
= static_cast< int >(val2
);
38252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38253 (arg1
)->SetFilterIndex(arg2
);
38254 wxPyEndAllowThreads(__tstate
);
38255 if (PyErr_Occurred()) SWIG_fail
;
38257 resultobj
= SWIG_Py_Void();
38264 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38265 PyObject
*resultobj
= 0;
38266 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38267 wxTreeItemId result
;
38270 PyObject
*swig_obj
[1] ;
38272 if (!args
) SWIG_fail
;
38273 swig_obj
[0] = args
;
38274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38275 if (!SWIG_IsOK(res1
)) {
38276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38278 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38281 result
= (arg1
)->GetRootId();
38282 wxPyEndAllowThreads(__tstate
);
38283 if (PyErr_Occurred()) SWIG_fail
;
38285 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38292 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38293 PyObject
*resultobj
= 0;
38294 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38295 wxPyTreeCtrl
*result
= 0 ;
38298 PyObject
*swig_obj
[1] ;
38300 if (!args
) SWIG_fail
;
38301 swig_obj
[0] = args
;
38302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38303 if (!SWIG_IsOK(res1
)) {
38304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38306 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38309 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
38310 wxPyEndAllowThreads(__tstate
);
38311 if (PyErr_Occurred()) SWIG_fail
;
38314 resultobj
= wxPyMake_wxObject(result
, 0);
38322 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38323 PyObject
*resultobj
= 0;
38324 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38325 wxDirFilterListCtrl
*result
= 0 ;
38328 PyObject
*swig_obj
[1] ;
38330 if (!args
) SWIG_fail
;
38331 swig_obj
[0] = args
;
38332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38333 if (!SWIG_IsOK(res1
)) {
38334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38336 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38339 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38340 wxPyEndAllowThreads(__tstate
);
38341 if (PyErr_Occurred()) SWIG_fail
;
38343 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38350 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38351 PyObject
*resultobj
= 0;
38352 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38353 wxTreeItemId arg2
;
38354 wxString
*arg3
= 0 ;
38356 wxTreeItemId result
;
38361 bool temp3
= false ;
38363 int res4
= SWIG_TMPOBJ
;
38364 PyObject
* obj0
= 0 ;
38365 PyObject
* obj1
= 0 ;
38366 PyObject
* obj2
= 0 ;
38367 char * kwnames
[] = {
38368 (char *) "self",(char *) "parentId",(char *) "path", NULL
38372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38374 if (!SWIG_IsOK(res1
)) {
38375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38377 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38379 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38380 if (!SWIG_IsOK(res2
)) {
38381 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38384 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38386 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38388 if (SWIG_IsNewObj(res2
)) delete temp
;
38392 arg3
= wxString_in_helper(obj2
);
38393 if (arg3
== NULL
) SWIG_fail
;
38397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38398 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38399 wxPyEndAllowThreads(__tstate
);
38400 if (PyErr_Occurred()) SWIG_fail
;
38402 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38403 if (SWIG_IsTmpObj(res4
)) {
38404 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38406 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38407 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38423 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38424 PyObject
*resultobj
= 0;
38425 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38428 PyObject
*swig_obj
[1] ;
38430 if (!args
) SWIG_fail
;
38431 swig_obj
[0] = args
;
38432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38433 if (!SWIG_IsOK(res1
)) {
38434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38436 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38439 (arg1
)->DoResize();
38440 wxPyEndAllowThreads(__tstate
);
38441 if (PyErr_Occurred()) SWIG_fail
;
38443 resultobj
= SWIG_Py_Void();
38450 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38451 PyObject
*resultobj
= 0;
38452 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38455 PyObject
*swig_obj
[1] ;
38457 if (!args
) SWIG_fail
;
38458 swig_obj
[0] = args
;
38459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38460 if (!SWIG_IsOK(res1
)) {
38461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38463 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38466 (arg1
)->ReCreateTree();
38467 wxPyEndAllowThreads(__tstate
);
38468 if (PyErr_Occurred()) SWIG_fail
;
38470 resultobj
= SWIG_Py_Void();
38477 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38479 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38480 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38481 return SWIG_Py_Void();
38484 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38485 return SWIG_Python_InitShadowInstance(args
);
38488 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38489 PyObject
*resultobj
= 0;
38490 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38491 int arg2
= (int) (int)-1 ;
38492 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38493 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38494 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38495 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38496 long arg5
= (long) 0 ;
38497 wxDirFilterListCtrl
*result
= 0 ;
38506 PyObject
* obj0
= 0 ;
38507 PyObject
* obj1
= 0 ;
38508 PyObject
* obj2
= 0 ;
38509 PyObject
* obj3
= 0 ;
38510 PyObject
* obj4
= 0 ;
38511 char * kwnames
[] = {
38512 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38517 if (!SWIG_IsOK(res1
)) {
38518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38520 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38523 if (!SWIG_IsOK(ecode2
)) {
38524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38526 arg2
= static_cast< int >(val2
);
38531 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38537 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38541 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38542 if (!SWIG_IsOK(ecode5
)) {
38543 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38545 arg5
= static_cast< long >(val5
);
38548 if (!wxPyCheckForApp()) SWIG_fail
;
38549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38550 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38551 wxPyEndAllowThreads(__tstate
);
38552 if (PyErr_Occurred()) SWIG_fail
;
38554 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38561 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38562 PyObject
*resultobj
= 0;
38563 wxDirFilterListCtrl
*result
= 0 ;
38565 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38567 if (!wxPyCheckForApp()) SWIG_fail
;
38568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38569 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38570 wxPyEndAllowThreads(__tstate
);
38571 if (PyErr_Occurred()) SWIG_fail
;
38573 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38580 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38581 PyObject
*resultobj
= 0;
38582 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38583 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38584 int arg3
= (int) (int)-1 ;
38585 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38586 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38587 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38588 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38589 long arg6
= (long) 0 ;
38601 PyObject
* obj0
= 0 ;
38602 PyObject
* obj1
= 0 ;
38603 PyObject
* obj2
= 0 ;
38604 PyObject
* obj3
= 0 ;
38605 PyObject
* obj4
= 0 ;
38606 PyObject
* obj5
= 0 ;
38607 char * kwnames
[] = {
38608 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38613 if (!SWIG_IsOK(res1
)) {
38614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38616 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38617 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38618 if (!SWIG_IsOK(res2
)) {
38619 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38621 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38623 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38624 if (!SWIG_IsOK(ecode3
)) {
38625 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38627 arg3
= static_cast< int >(val3
);
38632 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38638 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38642 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38643 if (!SWIG_IsOK(ecode6
)) {
38644 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38646 arg6
= static_cast< long >(val6
);
38649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38650 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38651 wxPyEndAllowThreads(__tstate
);
38652 if (PyErr_Occurred()) SWIG_fail
;
38655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38663 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38664 PyObject
*resultobj
= 0;
38665 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38666 wxString
*arg2
= 0 ;
38670 bool temp2
= false ;
38673 PyObject
* obj0
= 0 ;
38674 PyObject
* obj1
= 0 ;
38675 PyObject
* obj2
= 0 ;
38676 char * kwnames
[] = {
38677 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38682 if (!SWIG_IsOK(res1
)) {
38683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38685 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38687 arg2
= wxString_in_helper(obj1
);
38688 if (arg2
== NULL
) SWIG_fail
;
38691 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38692 if (!SWIG_IsOK(ecode3
)) {
38693 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38695 arg3
= static_cast< int >(val3
);
38697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38698 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38699 wxPyEndAllowThreads(__tstate
);
38700 if (PyErr_Occurred()) SWIG_fail
;
38702 resultobj
= SWIG_Py_Void();
38717 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38719 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38720 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38721 return SWIG_Py_Void();
38724 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38725 return SWIG_Python_InitShadowInstance(args
);
38728 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38729 PyObject
*resultobj
= 0;
38730 wxWindow
*arg1
= (wxWindow
*) 0 ;
38731 int arg2
= (int) (int)-1 ;
38732 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38733 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38734 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38735 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38736 long arg5
= (long) 0 ;
38737 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38738 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38739 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38740 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38741 wxPyControl
*result
= 0 ;
38752 bool temp7
= false ;
38753 PyObject
* obj0
= 0 ;
38754 PyObject
* obj1
= 0 ;
38755 PyObject
* obj2
= 0 ;
38756 PyObject
* obj3
= 0 ;
38757 PyObject
* obj4
= 0 ;
38758 PyObject
* obj5
= 0 ;
38759 PyObject
* obj6
= 0 ;
38760 char * kwnames
[] = {
38761 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38766 if (!SWIG_IsOK(res1
)) {
38767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38769 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38771 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38772 if (!SWIG_IsOK(ecode2
)) {
38773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38775 arg2
= static_cast< int >(val2
);
38780 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38786 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38790 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38791 if (!SWIG_IsOK(ecode5
)) {
38792 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38794 arg5
= static_cast< long >(val5
);
38797 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38798 if (!SWIG_IsOK(res6
)) {
38799 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38802 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38804 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38808 arg7
= wxString_in_helper(obj6
);
38809 if (arg7
== NULL
) SWIG_fail
;
38814 if (!wxPyCheckForApp()) SWIG_fail
;
38815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38816 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38817 wxPyEndAllowThreads(__tstate
);
38818 if (PyErr_Occurred()) SWIG_fail
;
38820 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38835 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38836 PyObject
*resultobj
= 0;
38837 wxPyControl
*result
= 0 ;
38839 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38841 if (!wxPyCheckForApp()) SWIG_fail
;
38842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38843 result
= (wxPyControl
*)new wxPyControl();
38844 wxPyEndAllowThreads(__tstate
);
38845 if (PyErr_Occurred()) SWIG_fail
;
38847 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38854 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38855 PyObject
*resultobj
= 0;
38856 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38857 PyObject
*arg2
= (PyObject
*) 0 ;
38858 PyObject
*arg3
= (PyObject
*) 0 ;
38861 PyObject
* obj0
= 0 ;
38862 PyObject
* obj1
= 0 ;
38863 PyObject
* obj2
= 0 ;
38864 char * kwnames
[] = {
38865 (char *) "self",(char *) "self",(char *) "_class", NULL
38868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38870 if (!SWIG_IsOK(res1
)) {
38871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38873 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38878 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38879 wxPyEndAllowThreads(__tstate
);
38880 if (PyErr_Occurred()) SWIG_fail
;
38882 resultobj
= SWIG_Py_Void();
38889 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38890 PyObject
*resultobj
= 0;
38891 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38892 wxDC
*arg2
= (wxDC
*) 0 ;
38898 PyObject
* obj0
= 0 ;
38899 PyObject
* obj1
= 0 ;
38900 char * kwnames
[] = {
38901 (char *) "self",(char *) "dc", NULL
38904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38906 if (!SWIG_IsOK(res1
)) {
38907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38909 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38910 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38911 if (!SWIG_IsOK(res2
)) {
38912 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38914 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38917 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38918 wxPyEndAllowThreads(__tstate
);
38919 if (PyErr_Occurred()) SWIG_fail
;
38922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38930 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38931 PyObject
*resultobj
= 0;
38932 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38947 PyObject
* obj0
= 0 ;
38948 PyObject
* obj1
= 0 ;
38949 PyObject
* obj2
= 0 ;
38950 PyObject
* obj3
= 0 ;
38951 PyObject
* obj4
= 0 ;
38952 char * kwnames
[] = {
38953 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38958 if (!SWIG_IsOK(res1
)) {
38959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38961 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38962 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38963 if (!SWIG_IsOK(ecode2
)) {
38964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38966 arg2
= static_cast< int >(val2
);
38967 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38968 if (!SWIG_IsOK(ecode3
)) {
38969 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38971 arg3
= static_cast< int >(val3
);
38972 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38973 if (!SWIG_IsOK(ecode4
)) {
38974 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38976 arg4
= static_cast< int >(val4
);
38977 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38978 if (!SWIG_IsOK(ecode5
)) {
38979 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38981 arg5
= static_cast< int >(val5
);
38983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38984 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38985 wxPyEndAllowThreads(__tstate
);
38986 if (PyErr_Occurred()) SWIG_fail
;
38988 resultobj
= SWIG_Py_Void();
38995 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38996 PyObject
*resultobj
= 0;
38997 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39002 int arg6
= (int) wxSIZE_AUTO
;
39015 PyObject
* obj0
= 0 ;
39016 PyObject
* obj1
= 0 ;
39017 PyObject
* obj2
= 0 ;
39018 PyObject
* obj3
= 0 ;
39019 PyObject
* obj4
= 0 ;
39020 PyObject
* obj5
= 0 ;
39021 char * kwnames
[] = {
39022 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
39025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
39026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39027 if (!SWIG_IsOK(res1
)) {
39028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39030 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39031 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39032 if (!SWIG_IsOK(ecode2
)) {
39033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
39035 arg2
= static_cast< int >(val2
);
39036 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39037 if (!SWIG_IsOK(ecode3
)) {
39038 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
39040 arg3
= static_cast< int >(val3
);
39041 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39042 if (!SWIG_IsOK(ecode4
)) {
39043 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39045 arg4
= static_cast< int >(val4
);
39046 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39047 if (!SWIG_IsOK(ecode5
)) {
39048 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39050 arg5
= static_cast< int >(val5
);
39052 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
39053 if (!SWIG_IsOK(ecode6
)) {
39054 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39056 arg6
= static_cast< int >(val6
);
39059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39060 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
39061 wxPyEndAllowThreads(__tstate
);
39062 if (PyErr_Occurred()) SWIG_fail
;
39064 resultobj
= SWIG_Py_Void();
39071 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39072 PyObject
*resultobj
= 0;
39073 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39082 PyObject
* obj0
= 0 ;
39083 PyObject
* obj1
= 0 ;
39084 PyObject
* obj2
= 0 ;
39085 char * kwnames
[] = {
39086 (char *) "self",(char *) "width",(char *) "height", NULL
39089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39091 if (!SWIG_IsOK(res1
)) {
39092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39094 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39095 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39096 if (!SWIG_IsOK(ecode2
)) {
39097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39099 arg2
= static_cast< int >(val2
);
39100 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39101 if (!SWIG_IsOK(ecode3
)) {
39102 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39104 arg3
= static_cast< int >(val3
);
39106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39107 (arg1
)->DoSetClientSize(arg2
,arg3
);
39108 wxPyEndAllowThreads(__tstate
);
39109 if (PyErr_Occurred()) SWIG_fail
;
39111 resultobj
= SWIG_Py_Void();
39118 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39119 PyObject
*resultobj
= 0;
39120 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39129 PyObject
* obj0
= 0 ;
39130 PyObject
* obj1
= 0 ;
39131 PyObject
* obj2
= 0 ;
39132 char * kwnames
[] = {
39133 (char *) "self",(char *) "x",(char *) "y", NULL
39136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39138 if (!SWIG_IsOK(res1
)) {
39139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39141 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39143 if (!SWIG_IsOK(ecode2
)) {
39144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39146 arg2
= static_cast< int >(val2
);
39147 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39148 if (!SWIG_IsOK(ecode3
)) {
39149 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39151 arg3
= static_cast< int >(val3
);
39153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39154 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
39155 wxPyEndAllowThreads(__tstate
);
39156 if (PyErr_Occurred()) SWIG_fail
;
39158 resultobj
= SWIG_Py_Void();
39165 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39166 PyObject
*resultobj
= 0;
39167 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39168 int *arg2
= (int *) 0 ;
39169 int *arg3
= (int *) 0 ;
39173 int res2
= SWIG_TMPOBJ
;
39175 int res3
= SWIG_TMPOBJ
;
39176 PyObject
*swig_obj
[1] ;
39180 if (!args
) SWIG_fail
;
39181 swig_obj
[0] = args
;
39182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39183 if (!SWIG_IsOK(res1
)) {
39184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39186 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39189 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
39190 wxPyEndAllowThreads(__tstate
);
39191 if (PyErr_Occurred()) SWIG_fail
;
39193 resultobj
= SWIG_Py_Void();
39194 if (SWIG_IsTmpObj(res2
)) {
39195 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39197 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39198 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39200 if (SWIG_IsTmpObj(res3
)) {
39201 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39203 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39204 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39212 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39213 PyObject
*resultobj
= 0;
39214 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39215 int *arg2
= (int *) 0 ;
39216 int *arg3
= (int *) 0 ;
39220 int res2
= SWIG_TMPOBJ
;
39222 int res3
= SWIG_TMPOBJ
;
39223 PyObject
*swig_obj
[1] ;
39227 if (!args
) SWIG_fail
;
39228 swig_obj
[0] = args
;
39229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39230 if (!SWIG_IsOK(res1
)) {
39231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39233 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39236 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
39237 wxPyEndAllowThreads(__tstate
);
39238 if (PyErr_Occurred()) SWIG_fail
;
39240 resultobj
= SWIG_Py_Void();
39241 if (SWIG_IsTmpObj(res2
)) {
39242 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39244 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39245 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39247 if (SWIG_IsTmpObj(res3
)) {
39248 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39250 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39251 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39259 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39260 PyObject
*resultobj
= 0;
39261 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39262 int *arg2
= (int *) 0 ;
39263 int *arg3
= (int *) 0 ;
39267 int res2
= SWIG_TMPOBJ
;
39269 int res3
= SWIG_TMPOBJ
;
39270 PyObject
*swig_obj
[1] ;
39274 if (!args
) SWIG_fail
;
39275 swig_obj
[0] = args
;
39276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39277 if (!SWIG_IsOK(res1
)) {
39278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39280 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39283 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
39284 wxPyEndAllowThreads(__tstate
);
39285 if (PyErr_Occurred()) SWIG_fail
;
39287 resultobj
= SWIG_Py_Void();
39288 if (SWIG_IsTmpObj(res2
)) {
39289 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39291 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39292 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39294 if (SWIG_IsTmpObj(res3
)) {
39295 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39297 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39298 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39306 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39307 PyObject
*resultobj
= 0;
39308 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39312 PyObject
*swig_obj
[1] ;
39314 if (!args
) SWIG_fail
;
39315 swig_obj
[0] = args
;
39316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39317 if (!SWIG_IsOK(res1
)) {
39318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39320 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39323 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39324 wxPyEndAllowThreads(__tstate
);
39325 if (PyErr_Occurred()) SWIG_fail
;
39327 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39334 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39335 PyObject
*resultobj
= 0;
39336 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39340 PyObject
*swig_obj
[1] ;
39342 if (!args
) SWIG_fail
;
39343 swig_obj
[0] = args
;
39344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39345 if (!SWIG_IsOK(res1
)) {
39346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39348 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39351 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39352 wxPyEndAllowThreads(__tstate
);
39353 if (PyErr_Occurred()) SWIG_fail
;
39355 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39362 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39363 PyObject
*resultobj
= 0;
39364 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39365 SwigValueWrapper
<wxVisualAttributes
> result
;
39368 PyObject
*swig_obj
[1] ;
39370 if (!args
) SWIG_fail
;
39371 swig_obj
[0] = args
;
39372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39373 if (!SWIG_IsOK(res1
)) {
39374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39376 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39379 result
= (arg1
)->GetDefaultAttributes();
39380 wxPyEndAllowThreads(__tstate
);
39381 if (PyErr_Occurred()) SWIG_fail
;
39383 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39390 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39391 PyObject
*resultobj
= 0;
39392 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39395 PyObject
*swig_obj
[1] ;
39397 if (!args
) SWIG_fail
;
39398 swig_obj
[0] = args
;
39399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39400 if (!SWIG_IsOK(res1
)) {
39401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39403 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39406 (arg1
)->OnInternalIdle();
39407 wxPyEndAllowThreads(__tstate
);
39408 if (PyErr_Occurred()) SWIG_fail
;
39410 resultobj
= SWIG_Py_Void();
39417 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39419 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39420 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39421 return SWIG_Py_Void();
39424 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39425 return SWIG_Python_InitShadowInstance(args
);
39428 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39429 PyObject
*resultobj
= 0;
39430 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39431 int arg2
= (int) 0 ;
39432 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39433 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39434 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39435 wxHelpEvent
*result
= 0 ;
39443 PyObject
* obj0
= 0 ;
39444 PyObject
* obj1
= 0 ;
39445 PyObject
* obj2
= 0 ;
39446 PyObject
* obj3
= 0 ;
39447 char * kwnames
[] = {
39448 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39453 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39454 if (!SWIG_IsOK(ecode1
)) {
39455 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39457 arg1
= static_cast< wxEventType
>(val1
);
39460 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39461 if (!SWIG_IsOK(ecode2
)) {
39462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39464 arg2
= static_cast< int >(val2
);
39469 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39473 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39474 if (!SWIG_IsOK(ecode4
)) {
39475 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39477 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39481 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39482 wxPyEndAllowThreads(__tstate
);
39483 if (PyErr_Occurred()) SWIG_fail
;
39485 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39492 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39493 PyObject
*resultobj
= 0;
39494 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39498 PyObject
*swig_obj
[1] ;
39500 if (!args
) SWIG_fail
;
39501 swig_obj
[0] = args
;
39502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39503 if (!SWIG_IsOK(res1
)) {
39504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39506 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39509 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39510 wxPyEndAllowThreads(__tstate
);
39511 if (PyErr_Occurred()) SWIG_fail
;
39513 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39520 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39521 PyObject
*resultobj
= 0;
39522 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39523 wxPoint
*arg2
= 0 ;
39527 PyObject
* obj0
= 0 ;
39528 PyObject
* obj1
= 0 ;
39529 char * kwnames
[] = {
39530 (char *) "self",(char *) "pos", NULL
39533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39535 if (!SWIG_IsOK(res1
)) {
39536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39538 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39541 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39545 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39546 wxPyEndAllowThreads(__tstate
);
39547 if (PyErr_Occurred()) SWIG_fail
;
39549 resultobj
= SWIG_Py_Void();
39556 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39557 PyObject
*resultobj
= 0;
39558 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39559 wxString
*result
= 0 ;
39562 PyObject
*swig_obj
[1] ;
39564 if (!args
) SWIG_fail
;
39565 swig_obj
[0] = args
;
39566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39567 if (!SWIG_IsOK(res1
)) {
39568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39570 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39574 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39575 result
= (wxString
*) &_result_ref
;
39577 wxPyEndAllowThreads(__tstate
);
39578 if (PyErr_Occurred()) SWIG_fail
;
39582 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39584 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39593 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39594 PyObject
*resultobj
= 0;
39595 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39596 wxString
*arg2
= 0 ;
39599 bool temp2
= false ;
39600 PyObject
* obj0
= 0 ;
39601 PyObject
* obj1
= 0 ;
39602 char * kwnames
[] = {
39603 (char *) "self",(char *) "link", NULL
39606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39608 if (!SWIG_IsOK(res1
)) {
39609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39611 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39613 arg2
= wxString_in_helper(obj1
);
39614 if (arg2
== NULL
) SWIG_fail
;
39618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39619 (arg1
)->SetLink((wxString
const &)*arg2
);
39620 wxPyEndAllowThreads(__tstate
);
39621 if (PyErr_Occurred()) SWIG_fail
;
39623 resultobj
= SWIG_Py_Void();
39638 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39639 PyObject
*resultobj
= 0;
39640 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39641 wxString
*result
= 0 ;
39644 PyObject
*swig_obj
[1] ;
39646 if (!args
) SWIG_fail
;
39647 swig_obj
[0] = args
;
39648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39649 if (!SWIG_IsOK(res1
)) {
39650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39652 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39656 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39657 result
= (wxString
*) &_result_ref
;
39659 wxPyEndAllowThreads(__tstate
);
39660 if (PyErr_Occurred()) SWIG_fail
;
39664 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39666 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39675 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39676 PyObject
*resultobj
= 0;
39677 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39678 wxString
*arg2
= 0 ;
39681 bool temp2
= false ;
39682 PyObject
* obj0
= 0 ;
39683 PyObject
* obj1
= 0 ;
39684 char * kwnames
[] = {
39685 (char *) "self",(char *) "target", NULL
39688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39690 if (!SWIG_IsOK(res1
)) {
39691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39693 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39695 arg2
= wxString_in_helper(obj1
);
39696 if (arg2
== NULL
) SWIG_fail
;
39700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39701 (arg1
)->SetTarget((wxString
const &)*arg2
);
39702 wxPyEndAllowThreads(__tstate
);
39703 if (PyErr_Occurred()) SWIG_fail
;
39705 resultobj
= SWIG_Py_Void();
39720 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39721 PyObject
*resultobj
= 0;
39722 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39723 wxHelpEvent::Origin result
;
39726 PyObject
*swig_obj
[1] ;
39728 if (!args
) SWIG_fail
;
39729 swig_obj
[0] = args
;
39730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39731 if (!SWIG_IsOK(res1
)) {
39732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39734 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39737 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39738 wxPyEndAllowThreads(__tstate
);
39739 if (PyErr_Occurred()) SWIG_fail
;
39741 resultobj
= SWIG_From_int(static_cast< int >(result
));
39748 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39749 PyObject
*resultobj
= 0;
39750 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39751 wxHelpEvent::Origin arg2
;
39756 PyObject
* obj0
= 0 ;
39757 PyObject
* obj1
= 0 ;
39758 char * kwnames
[] = {
39759 (char *) "self",(char *) "origin", NULL
39762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39764 if (!SWIG_IsOK(res1
)) {
39765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39767 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39768 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39769 if (!SWIG_IsOK(ecode2
)) {
39770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39772 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39775 (arg1
)->SetOrigin(arg2
);
39776 wxPyEndAllowThreads(__tstate
);
39777 if (PyErr_Occurred()) SWIG_fail
;
39779 resultobj
= SWIG_Py_Void();
39786 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39788 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39789 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39790 return SWIG_Py_Void();
39793 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39794 return SWIG_Python_InitShadowInstance(args
);
39797 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39798 PyObject
*resultobj
= 0;
39799 wxWindow
*arg1
= (wxWindow
*) NULL
;
39800 bool arg2
= (bool) true ;
39801 wxContextHelp
*result
= 0 ;
39806 PyObject
* obj0
= 0 ;
39807 PyObject
* obj1
= 0 ;
39808 char * kwnames
[] = {
39809 (char *) "window",(char *) "doNow", NULL
39812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39815 if (!SWIG_IsOK(res1
)) {
39816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39818 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39821 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39822 if (!SWIG_IsOK(ecode2
)) {
39823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39825 arg2
= static_cast< bool >(val2
);
39828 if (!wxPyCheckForApp()) SWIG_fail
;
39829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39830 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39831 wxPyEndAllowThreads(__tstate
);
39832 if (PyErr_Occurred()) SWIG_fail
;
39834 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39841 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39842 PyObject
*resultobj
= 0;
39843 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39846 PyObject
*swig_obj
[1] ;
39848 if (!args
) SWIG_fail
;
39849 swig_obj
[0] = args
;
39850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39851 if (!SWIG_IsOK(res1
)) {
39852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39854 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39859 wxPyEndAllowThreads(__tstate
);
39860 if (PyErr_Occurred()) SWIG_fail
;
39862 resultobj
= SWIG_Py_Void();
39869 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39870 PyObject
*resultobj
= 0;
39871 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39872 wxWindow
*arg2
= (wxWindow
*) NULL
;
39878 PyObject
* obj0
= 0 ;
39879 PyObject
* obj1
= 0 ;
39880 char * kwnames
[] = {
39881 (char *) "self",(char *) "window", NULL
39884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39886 if (!SWIG_IsOK(res1
)) {
39887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39889 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39891 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39892 if (!SWIG_IsOK(res2
)) {
39893 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39895 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39899 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39900 wxPyEndAllowThreads(__tstate
);
39901 if (PyErr_Occurred()) SWIG_fail
;
39904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39912 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39913 PyObject
*resultobj
= 0;
39914 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39918 PyObject
*swig_obj
[1] ;
39920 if (!args
) SWIG_fail
;
39921 swig_obj
[0] = args
;
39922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39923 if (!SWIG_IsOK(res1
)) {
39924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39926 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39929 result
= (bool)(arg1
)->EndContextHelp();
39930 wxPyEndAllowThreads(__tstate
);
39931 if (PyErr_Occurred()) SWIG_fail
;
39934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39942 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39944 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39945 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39946 return SWIG_Py_Void();
39949 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39950 return SWIG_Python_InitShadowInstance(args
);
39953 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39954 PyObject
*resultobj
= 0;
39955 wxWindow
*arg1
= (wxWindow
*) 0 ;
39956 int arg2
= (int) wxID_CONTEXT_HELP
;
39957 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39958 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39959 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39960 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39961 long arg5
= (long) wxBU_AUTODRAW
;
39962 wxContextHelpButton
*result
= 0 ;
39971 PyObject
* obj0
= 0 ;
39972 PyObject
* obj1
= 0 ;
39973 PyObject
* obj2
= 0 ;
39974 PyObject
* obj3
= 0 ;
39975 PyObject
* obj4
= 0 ;
39976 char * kwnames
[] = {
39977 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39982 if (!SWIG_IsOK(res1
)) {
39983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39985 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39987 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39988 if (!SWIG_IsOK(ecode2
)) {
39989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39991 arg2
= static_cast< int >(val2
);
39996 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40002 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
40006 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
40007 if (!SWIG_IsOK(ecode5
)) {
40008 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
40010 arg5
= static_cast< long >(val5
);
40013 if (!wxPyCheckForApp()) SWIG_fail
;
40014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40015 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
40016 wxPyEndAllowThreads(__tstate
);
40017 if (PyErr_Occurred()) SWIG_fail
;
40019 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
40026 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40028 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40029 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
40030 return SWIG_Py_Void();
40033 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40034 return SWIG_Python_InitShadowInstance(args
);
40037 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40038 PyObject
*resultobj
= 0;
40039 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40042 PyObject
*swig_obj
[1] ;
40044 if (!args
) SWIG_fail
;
40045 swig_obj
[0] = args
;
40046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40047 if (!SWIG_IsOK(res1
)) {
40048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40050 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40055 wxPyEndAllowThreads(__tstate
);
40056 if (PyErr_Occurred()) SWIG_fail
;
40058 resultobj
= SWIG_Py_Void();
40065 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40066 PyObject
*resultobj
= 0;
40067 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40068 wxHelpProvider
*result
= 0 ;
40070 PyObject
* obj0
= 0 ;
40071 char * kwnames
[] = {
40072 (char *) "helpProvider", NULL
40075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
40076 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40077 if (!SWIG_IsOK(res1
)) {
40078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40082 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
40083 wxPyEndAllowThreads(__tstate
);
40084 if (PyErr_Occurred()) SWIG_fail
;
40086 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
40093 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40094 PyObject
*resultobj
= 0;
40095 wxHelpProvider
*result
= 0 ;
40097 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
40099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40100 result
= (wxHelpProvider
*)wxHelpProvider::Get();
40101 wxPyEndAllowThreads(__tstate
);
40102 if (PyErr_Occurred()) SWIG_fail
;
40104 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40111 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40112 PyObject
*resultobj
= 0;
40113 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40114 wxWindow
*arg2
= (wxWindow
*) 0 ;
40120 PyObject
* obj0
= 0 ;
40121 PyObject
* obj1
= 0 ;
40122 char * kwnames
[] = {
40123 (char *) "self",(char *) "window", NULL
40126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40128 if (!SWIG_IsOK(res1
)) {
40129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40131 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40132 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40133 if (!SWIG_IsOK(res2
)) {
40134 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40136 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40139 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
40140 wxPyEndAllowThreads(__tstate
);
40141 if (PyErr_Occurred()) SWIG_fail
;
40145 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40147 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40156 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40157 PyObject
*resultobj
= 0;
40158 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40159 wxWindow
*arg2
= (wxWindow
*) 0 ;
40165 PyObject
* obj0
= 0 ;
40166 PyObject
* obj1
= 0 ;
40167 char * kwnames
[] = {
40168 (char *) "self",(char *) "window", NULL
40171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40173 if (!SWIG_IsOK(res1
)) {
40174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40176 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40177 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40178 if (!SWIG_IsOK(res2
)) {
40179 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40181 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40184 result
= (bool)(arg1
)->ShowHelp(arg2
);
40185 wxPyEndAllowThreads(__tstate
);
40186 if (PyErr_Occurred()) SWIG_fail
;
40189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40197 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40198 PyObject
*resultobj
= 0;
40199 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40200 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
40201 wxPoint
*arg3
= 0 ;
40202 wxHelpEvent::Origin arg4
;
40211 PyObject
* obj0
= 0 ;
40212 PyObject
* obj1
= 0 ;
40213 PyObject
* obj2
= 0 ;
40214 PyObject
* obj3
= 0 ;
40215 char * kwnames
[] = {
40216 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40221 if (!SWIG_IsOK(res1
)) {
40222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40224 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40225 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
40226 if (!SWIG_IsOK(res2
)) {
40227 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40229 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
40232 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40234 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
40235 if (!SWIG_IsOK(ecode4
)) {
40236 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40238 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
40240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40241 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
40242 wxPyEndAllowThreads(__tstate
);
40243 if (PyErr_Occurred()) SWIG_fail
;
40246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40254 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40255 PyObject
*resultobj
= 0;
40256 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40257 wxWindow
*arg2
= (wxWindow
*) 0 ;
40258 wxString
*arg3
= 0 ;
40263 bool temp3
= false ;
40264 PyObject
* obj0
= 0 ;
40265 PyObject
* obj1
= 0 ;
40266 PyObject
* obj2
= 0 ;
40267 char * kwnames
[] = {
40268 (char *) "self",(char *) "window",(char *) "text", NULL
40271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40273 if (!SWIG_IsOK(res1
)) {
40274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40276 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40277 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40278 if (!SWIG_IsOK(res2
)) {
40279 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40281 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40283 arg3
= wxString_in_helper(obj2
);
40284 if (arg3
== NULL
) SWIG_fail
;
40288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40289 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40290 wxPyEndAllowThreads(__tstate
);
40291 if (PyErr_Occurred()) SWIG_fail
;
40293 resultobj
= SWIG_Py_Void();
40308 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40309 PyObject
*resultobj
= 0;
40310 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40312 wxString
*arg3
= 0 ;
40317 bool temp3
= false ;
40318 PyObject
* obj0
= 0 ;
40319 PyObject
* obj1
= 0 ;
40320 PyObject
* obj2
= 0 ;
40321 char * kwnames
[] = {
40322 (char *) "self",(char *) "id",(char *) "text", NULL
40325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40327 if (!SWIG_IsOK(res1
)) {
40328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40330 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40332 if (!SWIG_IsOK(ecode2
)) {
40333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40335 arg2
= static_cast< int >(val2
);
40337 arg3
= wxString_in_helper(obj2
);
40338 if (arg3
== NULL
) SWIG_fail
;
40342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40343 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40344 wxPyEndAllowThreads(__tstate
);
40345 if (PyErr_Occurred()) SWIG_fail
;
40347 resultobj
= SWIG_Py_Void();
40362 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40363 PyObject
*resultobj
= 0;
40364 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40365 wxWindow
*arg2
= (wxWindow
*) 0 ;
40370 PyObject
* obj0
= 0 ;
40371 PyObject
* obj1
= 0 ;
40372 char * kwnames
[] = {
40373 (char *) "self",(char *) "window", NULL
40376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40378 if (!SWIG_IsOK(res1
)) {
40379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40381 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40382 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40383 if (!SWIG_IsOK(res2
)) {
40384 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40386 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40389 (arg1
)->RemoveHelp(arg2
);
40390 wxPyEndAllowThreads(__tstate
);
40391 if (PyErr_Occurred()) SWIG_fail
;
40393 resultobj
= SWIG_Py_Void();
40400 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40401 PyObject
*resultobj
= 0;
40402 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40405 PyObject
*swig_obj
[1] ;
40407 if (!args
) SWIG_fail
;
40408 swig_obj
[0] = args
;
40409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40410 if (!SWIG_IsOK(res1
)) {
40411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40413 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40416 wxHelpProvider_Destroy(arg1
);
40417 wxPyEndAllowThreads(__tstate
);
40418 if (PyErr_Occurred()) SWIG_fail
;
40420 resultobj
= SWIG_Py_Void();
40427 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40429 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40430 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40431 return SWIG_Py_Void();
40434 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40435 PyObject
*resultobj
= 0;
40436 wxSimpleHelpProvider
*result
= 0 ;
40438 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40441 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40442 wxPyEndAllowThreads(__tstate
);
40443 if (PyErr_Occurred()) SWIG_fail
;
40445 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40452 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40454 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40455 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40456 return SWIG_Py_Void();
40459 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40460 return SWIG_Python_InitShadowInstance(args
);
40463 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40464 PyObject
*resultobj
= 0;
40465 wxBitmap
*arg1
= 0 ;
40466 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40467 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40468 wxGenericDragImage
*result
= 0 ;
40473 PyObject
* obj0
= 0 ;
40474 PyObject
* obj1
= 0 ;
40475 char * kwnames
[] = {
40476 (char *) "image",(char *) "cursor", NULL
40479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40480 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40481 if (!SWIG_IsOK(res1
)) {
40482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40485 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40487 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40489 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40490 if (!SWIG_IsOK(res2
)) {
40491 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40494 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40496 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40499 if (!wxPyCheckForApp()) SWIG_fail
;
40500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40501 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40502 wxPyEndAllowThreads(__tstate
);
40503 if (PyErr_Occurred()) SWIG_fail
;
40505 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40512 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40513 PyObject
*resultobj
= 0;
40515 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40516 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40517 wxGenericDragImage
*result
= 0 ;
40522 PyObject
* obj0
= 0 ;
40523 PyObject
* obj1
= 0 ;
40524 char * kwnames
[] = {
40525 (char *) "image",(char *) "cursor", NULL
40528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40529 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40530 if (!SWIG_IsOK(res1
)) {
40531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40534 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40536 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40538 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40539 if (!SWIG_IsOK(res2
)) {
40540 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40543 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40545 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40548 if (!wxPyCheckForApp()) SWIG_fail
;
40549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40550 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40551 wxPyEndAllowThreads(__tstate
);
40552 if (PyErr_Occurred()) SWIG_fail
;
40554 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40561 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40562 PyObject
*resultobj
= 0;
40563 wxString
*arg1
= 0 ;
40564 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40565 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40566 wxGenericDragImage
*result
= 0 ;
40567 bool temp1
= false ;
40570 PyObject
* obj0
= 0 ;
40571 PyObject
* obj1
= 0 ;
40572 char * kwnames
[] = {
40573 (char *) "str",(char *) "cursor", NULL
40576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40578 arg1
= wxString_in_helper(obj0
);
40579 if (arg1
== NULL
) SWIG_fail
;
40583 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40584 if (!SWIG_IsOK(res2
)) {
40585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40588 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40590 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40593 if (!wxPyCheckForApp()) SWIG_fail
;
40594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40595 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40596 wxPyEndAllowThreads(__tstate
);
40597 if (PyErr_Occurred()) SWIG_fail
;
40599 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40614 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40615 PyObject
*resultobj
= 0;
40616 wxPyTreeCtrl
*arg1
= 0 ;
40617 wxTreeItemId
*arg2
= 0 ;
40618 wxGenericDragImage
*result
= 0 ;
40623 PyObject
* obj0
= 0 ;
40624 PyObject
* obj1
= 0 ;
40625 char * kwnames
[] = {
40626 (char *) "treeCtrl",(char *) "id", NULL
40629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40630 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40631 if (!SWIG_IsOK(res1
)) {
40632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40635 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40637 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40638 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40639 if (!SWIG_IsOK(res2
)) {
40640 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40643 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40645 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40647 if (!wxPyCheckForApp()) SWIG_fail
;
40648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40649 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40650 wxPyEndAllowThreads(__tstate
);
40651 if (PyErr_Occurred()) SWIG_fail
;
40653 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40660 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40661 PyObject
*resultobj
= 0;
40662 wxPyListCtrl
*arg1
= 0 ;
40664 wxGenericDragImage
*result
= 0 ;
40669 PyObject
* obj0
= 0 ;
40670 PyObject
* obj1
= 0 ;
40671 char * kwnames
[] = {
40672 (char *) "listCtrl",(char *) "id", NULL
40675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40676 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40677 if (!SWIG_IsOK(res1
)) {
40678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40681 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40683 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40684 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40685 if (!SWIG_IsOK(ecode2
)) {
40686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40688 arg2
= static_cast< long >(val2
);
40690 if (!wxPyCheckForApp()) SWIG_fail
;
40691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40692 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40693 wxPyEndAllowThreads(__tstate
);
40694 if (PyErr_Occurred()) SWIG_fail
;
40696 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40703 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40704 PyObject
*resultobj
= 0;
40705 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40708 PyObject
*swig_obj
[1] ;
40710 if (!args
) SWIG_fail
;
40711 swig_obj
[0] = args
;
40712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40713 if (!SWIG_IsOK(res1
)) {
40714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40716 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40721 wxPyEndAllowThreads(__tstate
);
40722 if (PyErr_Occurred()) SWIG_fail
;
40724 resultobj
= SWIG_Py_Void();
40731 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40732 PyObject
*resultobj
= 0;
40733 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40734 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40739 PyObject
* obj0
= 0 ;
40740 PyObject
* obj1
= 0 ;
40741 char * kwnames
[] = {
40742 (char *) "self",(char *) "bitmap", NULL
40745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40747 if (!SWIG_IsOK(res1
)) {
40748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40750 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40751 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40752 if (!SWIG_IsOK(res2
)) {
40753 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40755 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40758 (arg1
)->SetBackingBitmap(arg2
);
40759 wxPyEndAllowThreads(__tstate
);
40760 if (PyErr_Occurred()) SWIG_fail
;
40762 resultobj
= SWIG_Py_Void();
40769 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40770 PyObject
*resultobj
= 0;
40771 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40772 wxPoint
*arg2
= 0 ;
40773 wxWindow
*arg3
= (wxWindow
*) 0 ;
40774 bool arg4
= (bool) false ;
40775 wxRect
*arg5
= (wxRect
*) NULL
;
40786 PyObject
* obj0
= 0 ;
40787 PyObject
* obj1
= 0 ;
40788 PyObject
* obj2
= 0 ;
40789 PyObject
* obj3
= 0 ;
40790 PyObject
* obj4
= 0 ;
40791 char * kwnames
[] = {
40792 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40797 if (!SWIG_IsOK(res1
)) {
40798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40800 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40803 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40805 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40806 if (!SWIG_IsOK(res3
)) {
40807 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40809 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40811 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40812 if (!SWIG_IsOK(ecode4
)) {
40813 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40815 arg4
= static_cast< bool >(val4
);
40818 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
40819 if (!SWIG_IsOK(res5
)) {
40820 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40822 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40826 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40827 wxPyEndAllowThreads(__tstate
);
40828 if (PyErr_Occurred()) SWIG_fail
;
40831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40839 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40840 PyObject
*resultobj
= 0;
40841 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40842 wxPoint
*arg2
= 0 ;
40843 wxWindow
*arg3
= (wxWindow
*) 0 ;
40844 wxWindow
*arg4
= (wxWindow
*) 0 ;
40853 PyObject
* obj0
= 0 ;
40854 PyObject
* obj1
= 0 ;
40855 PyObject
* obj2
= 0 ;
40856 PyObject
* obj3
= 0 ;
40857 char * kwnames
[] = {
40858 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40863 if (!SWIG_IsOK(res1
)) {
40864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40866 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40869 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40871 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40872 if (!SWIG_IsOK(res3
)) {
40873 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40875 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40876 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40877 if (!SWIG_IsOK(res4
)) {
40878 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40880 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40883 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40884 wxPyEndAllowThreads(__tstate
);
40885 if (PyErr_Occurred()) SWIG_fail
;
40888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40896 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40897 PyObject
*resultobj
= 0;
40898 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40902 PyObject
*swig_obj
[1] ;
40904 if (!args
) SWIG_fail
;
40905 swig_obj
[0] = args
;
40906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40907 if (!SWIG_IsOK(res1
)) {
40908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40910 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40913 result
= (bool)(arg1
)->EndDrag();
40914 wxPyEndAllowThreads(__tstate
);
40915 if (PyErr_Occurred()) SWIG_fail
;
40918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40926 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40927 PyObject
*resultobj
= 0;
40928 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40929 wxPoint
*arg2
= 0 ;
40934 PyObject
* obj0
= 0 ;
40935 PyObject
* obj1
= 0 ;
40936 char * kwnames
[] = {
40937 (char *) "self",(char *) "pt", NULL
40940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40942 if (!SWIG_IsOK(res1
)) {
40943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40945 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40948 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40952 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40953 wxPyEndAllowThreads(__tstate
);
40954 if (PyErr_Occurred()) SWIG_fail
;
40957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40965 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40966 PyObject
*resultobj
= 0;
40967 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40971 PyObject
*swig_obj
[1] ;
40973 if (!args
) SWIG_fail
;
40974 swig_obj
[0] = args
;
40975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40976 if (!SWIG_IsOK(res1
)) {
40977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40979 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40982 result
= (bool)(arg1
)->Show();
40983 wxPyEndAllowThreads(__tstate
);
40984 if (PyErr_Occurred()) SWIG_fail
;
40987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40995 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40996 PyObject
*resultobj
= 0;
40997 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41001 PyObject
*swig_obj
[1] ;
41003 if (!args
) SWIG_fail
;
41004 swig_obj
[0] = args
;
41005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41006 if (!SWIG_IsOK(res1
)) {
41007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41009 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41012 result
= (bool)(arg1
)->Hide();
41013 wxPyEndAllowThreads(__tstate
);
41014 if (PyErr_Occurred()) SWIG_fail
;
41017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41025 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41026 PyObject
*resultobj
= 0;
41027 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41028 wxPoint
*arg2
= 0 ;
41033 PyObject
* obj0
= 0 ;
41034 PyObject
* obj1
= 0 ;
41035 char * kwnames
[] = {
41036 (char *) "self",(char *) "pos", NULL
41039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41041 if (!SWIG_IsOK(res1
)) {
41042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41044 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41047 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41051 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
41052 wxPyEndAllowThreads(__tstate
);
41053 if (PyErr_Occurred()) SWIG_fail
;
41055 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
41062 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41063 PyObject
*resultobj
= 0;
41064 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41066 wxPoint
*arg3
= 0 ;
41073 PyObject
* obj0
= 0 ;
41074 PyObject
* obj1
= 0 ;
41075 PyObject
* obj2
= 0 ;
41076 char * kwnames
[] = {
41077 (char *) "self",(char *) "dc",(char *) "pos", NULL
41080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41082 if (!SWIG_IsOK(res1
)) {
41083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41085 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41086 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41087 if (!SWIG_IsOK(res2
)) {
41088 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41091 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41093 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41096 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41100 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
41101 wxPyEndAllowThreads(__tstate
);
41102 if (PyErr_Occurred()) SWIG_fail
;
41105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41113 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41114 PyObject
*resultobj
= 0;
41115 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41117 wxMemoryDC
*arg3
= 0 ;
41129 PyObject
* obj0
= 0 ;
41130 PyObject
* obj1
= 0 ;
41131 PyObject
* obj2
= 0 ;
41132 PyObject
* obj3
= 0 ;
41133 PyObject
* obj4
= 0 ;
41134 char * kwnames
[] = {
41135 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41140 if (!SWIG_IsOK(res1
)) {
41141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41143 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41144 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41145 if (!SWIG_IsOK(res2
)) {
41146 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41149 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41151 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41152 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
41153 if (!SWIG_IsOK(res3
)) {
41154 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41157 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41159 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
41162 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
41166 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
41169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41170 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
41171 wxPyEndAllowThreads(__tstate
);
41172 if (PyErr_Occurred()) SWIG_fail
;
41175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41183 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41184 PyObject
*resultobj
= 0;
41185 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41186 wxPoint
*arg2
= 0 ;
41187 wxPoint
*arg3
= 0 ;
41199 PyObject
* obj0
= 0 ;
41200 PyObject
* obj1
= 0 ;
41201 PyObject
* obj2
= 0 ;
41202 PyObject
* obj3
= 0 ;
41203 PyObject
* obj4
= 0 ;
41204 char * kwnames
[] = {
41205 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41210 if (!SWIG_IsOK(res1
)) {
41211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41213 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41216 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41220 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41222 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41223 if (!SWIG_IsOK(ecode4
)) {
41224 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41226 arg4
= static_cast< bool >(val4
);
41227 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
41228 if (!SWIG_IsOK(ecode5
)) {
41229 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41231 arg5
= static_cast< bool >(val5
);
41233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41234 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
41235 wxPyEndAllowThreads(__tstate
);
41236 if (PyErr_Occurred()) SWIG_fail
;
41239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41247 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41249 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41250 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
41251 return SWIG_Py_Void();
41254 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41255 return SWIG_Python_InitShadowInstance(args
);
41258 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
41259 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
41264 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
41265 PyObject
*pyobj
= 0;
41269 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41271 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41278 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41279 PyObject
*resultobj
= 0;
41280 wxWindow
*arg1
= (wxWindow
*) 0 ;
41281 int arg2
= (int) -1 ;
41282 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
41283 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
41284 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
41285 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
41286 wxSize
const &arg5_defvalue
= wxDefaultSize
;
41287 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
41288 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41289 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
41290 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
41291 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
41292 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41293 wxDatePickerCtrl
*result
= 0 ;
41306 bool temp8
= false ;
41307 PyObject
* obj0
= 0 ;
41308 PyObject
* obj1
= 0 ;
41309 PyObject
* obj2
= 0 ;
41310 PyObject
* obj3
= 0 ;
41311 PyObject
* obj4
= 0 ;
41312 PyObject
* obj5
= 0 ;
41313 PyObject
* obj6
= 0 ;
41314 PyObject
* obj7
= 0 ;
41315 char * kwnames
[] = {
41316 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41321 if (!SWIG_IsOK(res1
)) {
41322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41324 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41326 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41327 if (!SWIG_IsOK(ecode2
)) {
41328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41330 arg2
= static_cast< int >(val2
);
41333 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41334 if (!SWIG_IsOK(res3
)) {
41335 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41338 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41340 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41345 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41351 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41355 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41356 if (!SWIG_IsOK(ecode6
)) {
41357 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41359 arg6
= static_cast< long >(val6
);
41362 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41363 if (!SWIG_IsOK(res7
)) {
41364 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41367 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41369 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41373 arg8
= wxString_in_helper(obj7
);
41374 if (arg8
== NULL
) SWIG_fail
;
41379 if (!wxPyCheckForApp()) SWIG_fail
;
41380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41381 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41382 wxPyEndAllowThreads(__tstate
);
41383 if (PyErr_Occurred()) SWIG_fail
;
41385 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41400 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41401 PyObject
*resultobj
= 0;
41402 wxDatePickerCtrl
*result
= 0 ;
41404 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41406 if (!wxPyCheckForApp()) SWIG_fail
;
41407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41408 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41409 wxPyEndAllowThreads(__tstate
);
41410 if (PyErr_Occurred()) SWIG_fail
;
41412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41419 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41420 PyObject
*resultobj
= 0;
41421 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41422 wxWindow
*arg2
= (wxWindow
*) 0 ;
41423 int arg3
= (int) -1 ;
41424 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41425 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41426 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41427 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41428 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41429 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41430 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41431 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41432 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41433 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41434 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41450 bool temp9
= false ;
41451 PyObject
* obj0
= 0 ;
41452 PyObject
* obj1
= 0 ;
41453 PyObject
* obj2
= 0 ;
41454 PyObject
* obj3
= 0 ;
41455 PyObject
* obj4
= 0 ;
41456 PyObject
* obj5
= 0 ;
41457 PyObject
* obj6
= 0 ;
41458 PyObject
* obj7
= 0 ;
41459 PyObject
* obj8
= 0 ;
41460 char * kwnames
[] = {
41461 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41466 if (!SWIG_IsOK(res1
)) {
41467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41469 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41470 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41471 if (!SWIG_IsOK(res2
)) {
41472 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41474 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41476 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41477 if (!SWIG_IsOK(ecode3
)) {
41478 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41480 arg3
= static_cast< int >(val3
);
41483 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41484 if (!SWIG_IsOK(res4
)) {
41485 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41488 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41490 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41495 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41501 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41505 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41506 if (!SWIG_IsOK(ecode7
)) {
41507 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41509 arg7
= static_cast< long >(val7
);
41512 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41513 if (!SWIG_IsOK(res8
)) {
41514 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41517 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41519 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41523 arg9
= wxString_in_helper(obj8
);
41524 if (arg9
== NULL
) SWIG_fail
;
41529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41530 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41531 wxPyEndAllowThreads(__tstate
);
41532 if (PyErr_Occurred()) SWIG_fail
;
41535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41551 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41552 PyObject
*resultobj
= 0;
41553 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41554 wxDateTime
*arg2
= 0 ;
41559 PyObject
* obj0
= 0 ;
41560 PyObject
* obj1
= 0 ;
41561 char * kwnames
[] = {
41562 (char *) "self",(char *) "dt", NULL
41565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41567 if (!SWIG_IsOK(res1
)) {
41568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41570 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41571 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41572 if (!SWIG_IsOK(res2
)) {
41573 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41576 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41578 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41581 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41582 wxPyEndAllowThreads(__tstate
);
41583 if (PyErr_Occurred()) SWIG_fail
;
41585 resultobj
= SWIG_Py_Void();
41592 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41593 PyObject
*resultobj
= 0;
41594 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41598 PyObject
*swig_obj
[1] ;
41600 if (!args
) SWIG_fail
;
41601 swig_obj
[0] = args
;
41602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41603 if (!SWIG_IsOK(res1
)) {
41604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41606 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41609 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41610 wxPyEndAllowThreads(__tstate
);
41611 if (PyErr_Occurred()) SWIG_fail
;
41613 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41620 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41621 PyObject
*resultobj
= 0;
41622 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41623 wxDateTime
*arg2
= 0 ;
41624 wxDateTime
*arg3
= 0 ;
41631 PyObject
* obj0
= 0 ;
41632 PyObject
* obj1
= 0 ;
41633 PyObject
* obj2
= 0 ;
41634 char * kwnames
[] = {
41635 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41640 if (!SWIG_IsOK(res1
)) {
41641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41643 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41644 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41645 if (!SWIG_IsOK(res2
)) {
41646 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41649 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41651 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41652 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41653 if (!SWIG_IsOK(res3
)) {
41654 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41657 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41659 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41662 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41663 wxPyEndAllowThreads(__tstate
);
41664 if (PyErr_Occurred()) SWIG_fail
;
41666 resultobj
= SWIG_Py_Void();
41673 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41674 PyObject
*resultobj
= 0;
41675 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41679 PyObject
*swig_obj
[1] ;
41681 if (!args
) SWIG_fail
;
41682 swig_obj
[0] = args
;
41683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41684 if (!SWIG_IsOK(res1
)) {
41685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41687 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41690 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41691 wxPyEndAllowThreads(__tstate
);
41692 if (PyErr_Occurred()) SWIG_fail
;
41694 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41701 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41702 PyObject
*resultobj
= 0;
41703 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41707 PyObject
*swig_obj
[1] ;
41709 if (!args
) SWIG_fail
;
41710 swig_obj
[0] = args
;
41711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41712 if (!SWIG_IsOK(res1
)) {
41713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41715 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41718 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41719 wxPyEndAllowThreads(__tstate
);
41720 if (PyErr_Occurred()) SWIG_fail
;
41722 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41729 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41731 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41732 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41733 return SWIG_Py_Void();
41736 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41737 return SWIG_Python_InitShadowInstance(args
);
41740 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41741 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41746 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41747 PyObject
*pyobj
= 0;
41751 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41753 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41760 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41761 PyObject
*resultobj
= 0;
41762 wxWindow
*arg1
= (wxWindow
*) 0 ;
41764 wxString
*arg3
= 0 ;
41765 wxString
*arg4
= 0 ;
41766 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41767 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41768 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41769 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41770 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41771 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41772 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41773 wxHyperlinkCtrl
*result
= 0 ;
41778 bool temp3
= false ;
41779 bool temp4
= false ;
41784 bool temp8
= false ;
41785 PyObject
* obj0
= 0 ;
41786 PyObject
* obj1
= 0 ;
41787 PyObject
* obj2
= 0 ;
41788 PyObject
* obj3
= 0 ;
41789 PyObject
* obj4
= 0 ;
41790 PyObject
* obj5
= 0 ;
41791 PyObject
* obj6
= 0 ;
41792 PyObject
* obj7
= 0 ;
41793 char * kwnames
[] = {
41794 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41799 if (!SWIG_IsOK(res1
)) {
41800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41802 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41803 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41804 if (!SWIG_IsOK(ecode2
)) {
41805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41807 arg2
= static_cast< int >(val2
);
41809 arg3
= wxString_in_helper(obj2
);
41810 if (arg3
== NULL
) SWIG_fail
;
41814 arg4
= wxString_in_helper(obj3
);
41815 if (arg4
== NULL
) SWIG_fail
;
41821 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41827 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41831 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41832 if (!SWIG_IsOK(ecode7
)) {
41833 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41835 arg7
= static_cast< long >(val7
);
41839 arg8
= wxString_in_helper(obj7
);
41840 if (arg8
== NULL
) SWIG_fail
;
41845 if (!wxPyCheckForApp()) SWIG_fail
;
41846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41847 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
41848 wxPyEndAllowThreads(__tstate
);
41849 if (PyErr_Occurred()) SWIG_fail
;
41851 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
41882 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41883 PyObject
*resultobj
= 0;
41884 wxHyperlinkCtrl
*result
= 0 ;
41886 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
41888 if (!wxPyCheckForApp()) SWIG_fail
;
41889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41890 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
41891 wxPyEndAllowThreads(__tstate
);
41892 if (PyErr_Occurred()) SWIG_fail
;
41894 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
41901 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41902 PyObject
*resultobj
= 0;
41903 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41904 wxWindow
*arg2
= (wxWindow
*) 0 ;
41906 wxString
*arg4
= 0 ;
41907 wxString
*arg5
= 0 ;
41908 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
41909 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
41910 wxSize
const &arg7_defvalue
= wxDefaultSize
;
41911 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
41912 long arg8
= (long) wxHL_DEFAULT_STYLE
;
41913 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
41914 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41922 bool temp4
= false ;
41923 bool temp5
= false ;
41928 bool temp9
= false ;
41929 PyObject
* obj0
= 0 ;
41930 PyObject
* obj1
= 0 ;
41931 PyObject
* obj2
= 0 ;
41932 PyObject
* obj3
= 0 ;
41933 PyObject
* obj4
= 0 ;
41934 PyObject
* obj5
= 0 ;
41935 PyObject
* obj6
= 0 ;
41936 PyObject
* obj7
= 0 ;
41937 PyObject
* obj8
= 0 ;
41938 char * kwnames
[] = {
41939 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41944 if (!SWIG_IsOK(res1
)) {
41945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41947 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41948 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41949 if (!SWIG_IsOK(res2
)) {
41950 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41952 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41953 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41954 if (!SWIG_IsOK(ecode3
)) {
41955 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41957 arg3
= static_cast< int >(val3
);
41959 arg4
= wxString_in_helper(obj3
);
41960 if (arg4
== NULL
) SWIG_fail
;
41964 arg5
= wxString_in_helper(obj4
);
41965 if (arg5
== NULL
) SWIG_fail
;
41971 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
41977 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
41981 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
41982 if (!SWIG_IsOK(ecode8
)) {
41983 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41985 arg8
= static_cast< long >(val8
);
41989 arg9
= wxString_in_helper(obj8
);
41990 if (arg9
== NULL
) SWIG_fail
;
41995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41996 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
41997 wxPyEndAllowThreads(__tstate
);
41998 if (PyErr_Occurred()) SWIG_fail
;
42001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42033 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42034 PyObject
*resultobj
= 0;
42035 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42039 PyObject
*swig_obj
[1] ;
42041 if (!args
) SWIG_fail
;
42042 swig_obj
[0] = args
;
42043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42044 if (!SWIG_IsOK(res1
)) {
42045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42047 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42050 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
42051 wxPyEndAllowThreads(__tstate
);
42052 if (PyErr_Occurred()) SWIG_fail
;
42054 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42061 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42062 PyObject
*resultobj
= 0;
42063 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42064 wxColour
*arg2
= 0 ;
42068 PyObject
* obj0
= 0 ;
42069 PyObject
* obj1
= 0 ;
42070 char * kwnames
[] = {
42071 (char *) "self",(char *) "colour", NULL
42074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42076 if (!SWIG_IsOK(res1
)) {
42077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42079 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42082 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42086 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
42087 wxPyEndAllowThreads(__tstate
);
42088 if (PyErr_Occurred()) SWIG_fail
;
42090 resultobj
= SWIG_Py_Void();
42097 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42098 PyObject
*resultobj
= 0;
42099 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42103 PyObject
*swig_obj
[1] ;
42105 if (!args
) SWIG_fail
;
42106 swig_obj
[0] = args
;
42107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42108 if (!SWIG_IsOK(res1
)) {
42109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42111 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42114 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
42115 wxPyEndAllowThreads(__tstate
);
42116 if (PyErr_Occurred()) SWIG_fail
;
42118 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42125 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42126 PyObject
*resultobj
= 0;
42127 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42128 wxColour
*arg2
= 0 ;
42132 PyObject
* obj0
= 0 ;
42133 PyObject
* obj1
= 0 ;
42134 char * kwnames
[] = {
42135 (char *) "self",(char *) "colour", NULL
42138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42140 if (!SWIG_IsOK(res1
)) {
42141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42143 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42146 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42150 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
42151 wxPyEndAllowThreads(__tstate
);
42152 if (PyErr_Occurred()) SWIG_fail
;
42154 resultobj
= SWIG_Py_Void();
42161 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42162 PyObject
*resultobj
= 0;
42163 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42167 PyObject
*swig_obj
[1] ;
42169 if (!args
) SWIG_fail
;
42170 swig_obj
[0] = args
;
42171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42172 if (!SWIG_IsOK(res1
)) {
42173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42175 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42178 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
42179 wxPyEndAllowThreads(__tstate
);
42180 if (PyErr_Occurred()) SWIG_fail
;
42182 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42189 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42190 PyObject
*resultobj
= 0;
42191 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42192 wxColour
*arg2
= 0 ;
42196 PyObject
* obj0
= 0 ;
42197 PyObject
* obj1
= 0 ;
42198 char * kwnames
[] = {
42199 (char *) "self",(char *) "colour", NULL
42202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42204 if (!SWIG_IsOK(res1
)) {
42205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42207 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42210 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42214 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
42215 wxPyEndAllowThreads(__tstate
);
42216 if (PyErr_Occurred()) SWIG_fail
;
42218 resultobj
= SWIG_Py_Void();
42225 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42226 PyObject
*resultobj
= 0;
42227 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42231 PyObject
*swig_obj
[1] ;
42233 if (!args
) SWIG_fail
;
42234 swig_obj
[0] = args
;
42235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42236 if (!SWIG_IsOK(res1
)) {
42237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42239 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42242 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
42243 wxPyEndAllowThreads(__tstate
);
42244 if (PyErr_Occurred()) SWIG_fail
;
42248 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42250 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42259 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42260 PyObject
*resultobj
= 0;
42261 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42262 wxString
*arg2
= 0 ;
42265 bool temp2
= false ;
42266 PyObject
* obj0
= 0 ;
42267 PyObject
* obj1
= 0 ;
42268 char * kwnames
[] = {
42269 (char *) "self",(char *) "url", NULL
42272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42274 if (!SWIG_IsOK(res1
)) {
42275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42277 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42279 arg2
= wxString_in_helper(obj1
);
42280 if (arg2
== NULL
) SWIG_fail
;
42284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42285 (arg1
)->SetURL((wxString
const &)*arg2
);
42286 wxPyEndAllowThreads(__tstate
);
42287 if (PyErr_Occurred()) SWIG_fail
;
42289 resultobj
= SWIG_Py_Void();
42304 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42305 PyObject
*resultobj
= 0;
42306 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42307 bool arg2
= (bool) true ;
42312 PyObject
* obj0
= 0 ;
42313 PyObject
* obj1
= 0 ;
42314 char * kwnames
[] = {
42315 (char *) "self",(char *) "visited", NULL
42318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42320 if (!SWIG_IsOK(res1
)) {
42321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42323 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42325 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42326 if (!SWIG_IsOK(ecode2
)) {
42327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42329 arg2
= static_cast< bool >(val2
);
42332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42333 (arg1
)->SetVisited(arg2
);
42334 wxPyEndAllowThreads(__tstate
);
42335 if (PyErr_Occurred()) SWIG_fail
;
42337 resultobj
= SWIG_Py_Void();
42344 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42345 PyObject
*resultobj
= 0;
42346 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42350 PyObject
*swig_obj
[1] ;
42352 if (!args
) SWIG_fail
;
42353 swig_obj
[0] = args
;
42354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42355 if (!SWIG_IsOK(res1
)) {
42356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42358 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42361 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42362 wxPyEndAllowThreads(__tstate
);
42363 if (PyErr_Occurred()) SWIG_fail
;
42366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42374 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42376 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42377 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42378 return SWIG_Py_Void();
42381 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42382 return SWIG_Python_InitShadowInstance(args
);
42385 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42386 PyObject
*resultobj
= 0;
42387 wxObject
*arg1
= (wxObject
*) 0 ;
42389 wxString
*arg3
= 0 ;
42390 wxHyperlinkEvent
*result
= 0 ;
42395 bool temp3
= false ;
42396 PyObject
* obj0
= 0 ;
42397 PyObject
* obj1
= 0 ;
42398 PyObject
* obj2
= 0 ;
42399 char * kwnames
[] = {
42400 (char *) "generator",(char *) "id",(char *) "url", NULL
42403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42405 if (!SWIG_IsOK(res1
)) {
42406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42408 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42409 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42410 if (!SWIG_IsOK(ecode2
)) {
42411 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42413 arg2
= static_cast< int >(val2
);
42415 arg3
= wxString_in_helper(obj2
);
42416 if (arg3
== NULL
) SWIG_fail
;
42420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42421 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42422 wxPyEndAllowThreads(__tstate
);
42423 if (PyErr_Occurred()) SWIG_fail
;
42425 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42440 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42441 PyObject
*resultobj
= 0;
42442 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42446 PyObject
*swig_obj
[1] ;
42448 if (!args
) SWIG_fail
;
42449 swig_obj
[0] = args
;
42450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42451 if (!SWIG_IsOK(res1
)) {
42452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42454 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42457 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42458 wxPyEndAllowThreads(__tstate
);
42459 if (PyErr_Occurred()) SWIG_fail
;
42463 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42465 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42474 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42475 PyObject
*resultobj
= 0;
42476 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42477 wxString
*arg2
= 0 ;
42480 bool temp2
= false ;
42481 PyObject
* obj0
= 0 ;
42482 PyObject
* obj1
= 0 ;
42483 char * kwnames
[] = {
42484 (char *) "self",(char *) "url", NULL
42487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42489 if (!SWIG_IsOK(res1
)) {
42490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42492 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42494 arg2
= wxString_in_helper(obj1
);
42495 if (arg2
== NULL
) SWIG_fail
;
42499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42500 (arg1
)->SetURL((wxString
const &)*arg2
);
42501 wxPyEndAllowThreads(__tstate
);
42502 if (PyErr_Occurred()) SWIG_fail
;
42504 resultobj
= SWIG_Py_Void();
42519 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42521 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42522 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42523 return SWIG_Py_Void();
42526 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42527 return SWIG_Python_InitShadowInstance(args
);
42530 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42531 PyObject
*resultobj
= 0;
42532 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42533 wxWindow
*arg2
= (wxWindow
*) 0 ;
42535 wxString
const &arg4_defvalue
= wxEmptyString
;
42536 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42537 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42538 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42539 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42540 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42541 long arg7
= (long) 0 ;
42542 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42543 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42544 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42545 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42553 bool temp4
= false ;
42560 bool temp9
= false ;
42561 PyObject
* obj0
= 0 ;
42562 PyObject
* obj1
= 0 ;
42563 PyObject
* obj2
= 0 ;
42564 PyObject
* obj3
= 0 ;
42565 PyObject
* obj4
= 0 ;
42566 PyObject
* obj5
= 0 ;
42567 PyObject
* obj6
= 0 ;
42568 PyObject
* obj7
= 0 ;
42569 PyObject
* obj8
= 0 ;
42570 char * kwnames
[] = {
42571 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42576 if (!SWIG_IsOK(res1
)) {
42577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42579 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42580 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42581 if (!SWIG_IsOK(res2
)) {
42582 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42584 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42585 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42586 if (!SWIG_IsOK(ecode3
)) {
42587 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42589 arg3
= static_cast< int >(val3
);
42592 arg4
= wxString_in_helper(obj3
);
42593 if (arg4
== NULL
) SWIG_fail
;
42600 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42606 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42610 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42611 if (!SWIG_IsOK(ecode7
)) {
42612 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42614 arg7
= static_cast< long >(val7
);
42617 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42618 if (!SWIG_IsOK(res8
)) {
42619 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42622 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42624 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42628 arg9
= wxString_in_helper(obj8
);
42629 if (arg9
== NULL
) SWIG_fail
;
42634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42635 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42636 wxPyEndAllowThreads(__tstate
);
42637 if (PyErr_Occurred()) SWIG_fail
;
42640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42664 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42665 PyObject
*resultobj
= 0;
42666 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42672 PyObject
* obj0
= 0 ;
42673 PyObject
* obj1
= 0 ;
42674 char * kwnames
[] = {
42675 (char *) "self",(char *) "newmargin", NULL
42678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42680 if (!SWIG_IsOK(res1
)) {
42681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42683 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42684 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42685 if (!SWIG_IsOK(ecode2
)) {
42686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42688 arg2
= static_cast< int >(val2
);
42690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42691 (arg1
)->SetInternalMargin(arg2
);
42692 wxPyEndAllowThreads(__tstate
);
42693 if (PyErr_Occurred()) SWIG_fail
;
42695 resultobj
= SWIG_Py_Void();
42702 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42703 PyObject
*resultobj
= 0;
42704 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42708 PyObject
*swig_obj
[1] ;
42710 if (!args
) SWIG_fail
;
42711 swig_obj
[0] = args
;
42712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42713 if (!SWIG_IsOK(res1
)) {
42714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42716 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42719 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
42720 wxPyEndAllowThreads(__tstate
);
42721 if (PyErr_Occurred()) SWIG_fail
;
42723 resultobj
= SWIG_From_int(static_cast< int >(result
));
42730 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42731 PyObject
*resultobj
= 0;
42732 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42738 PyObject
* obj0
= 0 ;
42739 PyObject
* obj1
= 0 ;
42740 char * kwnames
[] = {
42741 (char *) "self",(char *) "prop", NULL
42744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42746 if (!SWIG_IsOK(res1
)) {
42747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42749 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42750 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42751 if (!SWIG_IsOK(ecode2
)) {
42752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42754 arg2
= static_cast< int >(val2
);
42756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42757 (arg1
)->SetTextCtrlProportion(arg2
);
42758 wxPyEndAllowThreads(__tstate
);
42759 if (PyErr_Occurred()) SWIG_fail
;
42761 resultobj
= SWIG_Py_Void();
42768 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42769 PyObject
*resultobj
= 0;
42770 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42774 PyObject
*swig_obj
[1] ;
42776 if (!args
) SWIG_fail
;
42777 swig_obj
[0] = args
;
42778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42779 if (!SWIG_IsOK(res1
)) {
42780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42782 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42785 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
42786 wxPyEndAllowThreads(__tstate
);
42787 if (PyErr_Occurred()) SWIG_fail
;
42789 resultobj
= SWIG_From_int(static_cast< int >(result
));
42796 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42797 PyObject
*resultobj
= 0;
42798 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42804 PyObject
* obj0
= 0 ;
42805 PyObject
* obj1
= 0 ;
42806 char * kwnames
[] = {
42807 (char *) "self",(char *) "prop", NULL
42810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42812 if (!SWIG_IsOK(res1
)) {
42813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42815 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42817 if (!SWIG_IsOK(ecode2
)) {
42818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42820 arg2
= static_cast< int >(val2
);
42822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42823 (arg1
)->SetPickerCtrlProportion(arg2
);
42824 wxPyEndAllowThreads(__tstate
);
42825 if (PyErr_Occurred()) SWIG_fail
;
42827 resultobj
= SWIG_Py_Void();
42834 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42835 PyObject
*resultobj
= 0;
42836 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42840 PyObject
*swig_obj
[1] ;
42842 if (!args
) SWIG_fail
;
42843 swig_obj
[0] = args
;
42844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42845 if (!SWIG_IsOK(res1
)) {
42846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42848 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42851 result
= (int)((wxPickerBase
const *)arg1
)->GetPickerCtrlProportion();
42852 wxPyEndAllowThreads(__tstate
);
42853 if (PyErr_Occurred()) SWIG_fail
;
42855 resultobj
= SWIG_From_int(static_cast< int >(result
));
42862 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42863 PyObject
*resultobj
= 0;
42864 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42868 PyObject
*swig_obj
[1] ;
42870 if (!args
) SWIG_fail
;
42871 swig_obj
[0] = args
;
42872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42873 if (!SWIG_IsOK(res1
)) {
42874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42876 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42879 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
42880 wxPyEndAllowThreads(__tstate
);
42881 if (PyErr_Occurred()) SWIG_fail
;
42884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42892 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42893 PyObject
*resultobj
= 0;
42894 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42895 bool arg2
= (bool) true ;
42900 PyObject
* obj0
= 0 ;
42901 PyObject
* obj1
= 0 ;
42902 char * kwnames
[] = {
42903 (char *) "self",(char *) "grow", NULL
42906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42908 if (!SWIG_IsOK(res1
)) {
42909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42911 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42913 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42914 if (!SWIG_IsOK(ecode2
)) {
42915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42917 arg2
= static_cast< bool >(val2
);
42920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42921 (arg1
)->SetTextCtrlGrowable(arg2
);
42922 wxPyEndAllowThreads(__tstate
);
42923 if (PyErr_Occurred()) SWIG_fail
;
42925 resultobj
= SWIG_Py_Void();
42932 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42933 PyObject
*resultobj
= 0;
42934 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42938 PyObject
*swig_obj
[1] ;
42940 if (!args
) SWIG_fail
;
42941 swig_obj
[0] = args
;
42942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42943 if (!SWIG_IsOK(res1
)) {
42944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42946 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42949 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
42950 wxPyEndAllowThreads(__tstate
);
42951 if (PyErr_Occurred()) SWIG_fail
;
42954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42962 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42963 PyObject
*resultobj
= 0;
42964 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42965 bool arg2
= (bool) true ;
42970 PyObject
* obj0
= 0 ;
42971 PyObject
* obj1
= 0 ;
42972 char * kwnames
[] = {
42973 (char *) "self",(char *) "grow", NULL
42976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42978 if (!SWIG_IsOK(res1
)) {
42979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42981 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42983 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42984 if (!SWIG_IsOK(ecode2
)) {
42985 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42987 arg2
= static_cast< bool >(val2
);
42990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42991 (arg1
)->SetPickerCtrlGrowable(arg2
);
42992 wxPyEndAllowThreads(__tstate
);
42993 if (PyErr_Occurred()) SWIG_fail
;
42995 resultobj
= SWIG_Py_Void();
43002 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43003 PyObject
*resultobj
= 0;
43004 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43008 PyObject
*swig_obj
[1] ;
43010 if (!args
) SWIG_fail
;
43011 swig_obj
[0] = args
;
43012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43013 if (!SWIG_IsOK(res1
)) {
43014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43016 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43019 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
43020 wxPyEndAllowThreads(__tstate
);
43021 if (PyErr_Occurred()) SWIG_fail
;
43024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43032 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43033 PyObject
*resultobj
= 0;
43034 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43035 wxTextCtrl
*result
= 0 ;
43038 PyObject
*swig_obj
[1] ;
43040 if (!args
) SWIG_fail
;
43041 swig_obj
[0] = args
;
43042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43043 if (!SWIG_IsOK(res1
)) {
43044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43046 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43049 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
43050 wxPyEndAllowThreads(__tstate
);
43051 if (PyErr_Occurred()) SWIG_fail
;
43054 resultobj
= wxPyMake_wxObject(result
, 0);
43062 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43063 PyObject
*resultobj
= 0;
43064 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43065 wxControl
*result
= 0 ;
43068 PyObject
*swig_obj
[1] ;
43070 if (!args
) SWIG_fail
;
43071 swig_obj
[0] = args
;
43072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43073 if (!SWIG_IsOK(res1
)) {
43074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43076 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43079 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
43080 wxPyEndAllowThreads(__tstate
);
43081 if (PyErr_Occurred()) SWIG_fail
;
43084 resultobj
= wxPyMake_wxObject(result
, 0);
43092 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43094 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43095 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
43096 return SWIG_Py_Void();
43099 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
43100 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
43105 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
43106 PyObject
*pyobj
= 0;
43110 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43112 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43119 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43120 PyObject
*resultobj
= 0;
43121 wxWindow
*arg1
= (wxWindow
*) 0 ;
43122 int arg2
= (int) -1 ;
43123 wxColour
const &arg3_defvalue
= *wxBLACK
;
43124 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
43125 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43126 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43127 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43128 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43129 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
43130 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43131 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43132 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
43133 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43134 wxColourPickerCtrl
*result
= 0 ;
43146 bool temp8
= false ;
43147 PyObject
* obj0
= 0 ;
43148 PyObject
* obj1
= 0 ;
43149 PyObject
* obj2
= 0 ;
43150 PyObject
* obj3
= 0 ;
43151 PyObject
* obj4
= 0 ;
43152 PyObject
* obj5
= 0 ;
43153 PyObject
* obj6
= 0 ;
43154 PyObject
* obj7
= 0 ;
43155 char * kwnames
[] = {
43156 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43161 if (!SWIG_IsOK(res1
)) {
43162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43164 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43166 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43167 if (!SWIG_IsOK(ecode2
)) {
43168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43170 arg2
= static_cast< int >(val2
);
43175 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43181 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43187 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43191 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43192 if (!SWIG_IsOK(ecode6
)) {
43193 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43195 arg6
= static_cast< long >(val6
);
43198 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43199 if (!SWIG_IsOK(res7
)) {
43200 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43203 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43205 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43209 arg8
= wxString_in_helper(obj7
);
43210 if (arg8
== NULL
) SWIG_fail
;
43215 if (!wxPyCheckForApp()) SWIG_fail
;
43216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43217 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43218 wxPyEndAllowThreads(__tstate
);
43219 if (PyErr_Occurred()) SWIG_fail
;
43221 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43236 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43237 PyObject
*resultobj
= 0;
43238 wxColourPickerCtrl
*result
= 0 ;
43240 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
43242 if (!wxPyCheckForApp()) SWIG_fail
;
43243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43244 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
43245 wxPyEndAllowThreads(__tstate
);
43246 if (PyErr_Occurred()) SWIG_fail
;
43248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43255 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43256 PyObject
*resultobj
= 0;
43257 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43258 wxWindow
*arg2
= (wxWindow
*) 0 ;
43260 wxColour
const &arg4_defvalue
= *wxBLACK
;
43261 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
43262 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43263 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43264 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43265 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43266 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
43267 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43268 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43269 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
43270 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43285 bool temp9
= false ;
43286 PyObject
* obj0
= 0 ;
43287 PyObject
* obj1
= 0 ;
43288 PyObject
* obj2
= 0 ;
43289 PyObject
* obj3
= 0 ;
43290 PyObject
* obj4
= 0 ;
43291 PyObject
* obj5
= 0 ;
43292 PyObject
* obj6
= 0 ;
43293 PyObject
* obj7
= 0 ;
43294 PyObject
* obj8
= 0 ;
43295 char * kwnames
[] = {
43296 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43301 if (!SWIG_IsOK(res1
)) {
43302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43304 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43305 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43306 if (!SWIG_IsOK(res2
)) {
43307 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43309 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43310 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43311 if (!SWIG_IsOK(ecode3
)) {
43312 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43314 arg3
= static_cast< int >(val3
);
43318 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
43324 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43330 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43334 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43335 if (!SWIG_IsOK(ecode7
)) {
43336 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43338 arg7
= static_cast< long >(val7
);
43341 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43342 if (!SWIG_IsOK(res8
)) {
43343 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43346 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43348 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43352 arg9
= wxString_in_helper(obj8
);
43353 if (arg9
== NULL
) SWIG_fail
;
43358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43359 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43360 wxPyEndAllowThreads(__tstate
);
43361 if (PyErr_Occurred()) SWIG_fail
;
43364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43380 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43381 PyObject
*resultobj
= 0;
43382 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43386 PyObject
*swig_obj
[1] ;
43388 if (!args
) SWIG_fail
;
43389 swig_obj
[0] = args
;
43390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43391 if (!SWIG_IsOK(res1
)) {
43392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43394 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43397 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43398 wxPyEndAllowThreads(__tstate
);
43399 if (PyErr_Occurred()) SWIG_fail
;
43401 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43408 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43409 PyObject
*resultobj
= 0;
43410 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43411 wxColour
*arg2
= 0 ;
43415 PyObject
* obj0
= 0 ;
43416 PyObject
* obj1
= 0 ;
43417 char * kwnames
[] = {
43418 (char *) "self",(char *) "col", NULL
43421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43423 if (!SWIG_IsOK(res1
)) {
43424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43426 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43429 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43433 (arg1
)->SetColour((wxColour
const &)*arg2
);
43434 wxPyEndAllowThreads(__tstate
);
43435 if (PyErr_Occurred()) SWIG_fail
;
43437 resultobj
= SWIG_Py_Void();
43444 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43446 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43447 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43448 return SWIG_Py_Void();
43451 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43452 return SWIG_Python_InitShadowInstance(args
);
43455 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43456 PyObject
*resultobj
= 0;
43457 wxObject
*arg1
= (wxObject
*) 0 ;
43459 wxColour
*arg3
= 0 ;
43460 wxColourPickerEvent
*result
= 0 ;
43466 PyObject
* obj0
= 0 ;
43467 PyObject
* obj1
= 0 ;
43468 PyObject
* obj2
= 0 ;
43469 char * kwnames
[] = {
43470 (char *) "generator",(char *) "id",(char *) "col", NULL
43473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43475 if (!SWIG_IsOK(res1
)) {
43476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43478 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43479 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43480 if (!SWIG_IsOK(ecode2
)) {
43481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43483 arg2
= static_cast< int >(val2
);
43486 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43490 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43491 wxPyEndAllowThreads(__tstate
);
43492 if (PyErr_Occurred()) SWIG_fail
;
43494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43501 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43502 PyObject
*resultobj
= 0;
43503 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43507 PyObject
*swig_obj
[1] ;
43509 if (!args
) SWIG_fail
;
43510 swig_obj
[0] = args
;
43511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43512 if (!SWIG_IsOK(res1
)) {
43513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43515 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43518 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43519 wxPyEndAllowThreads(__tstate
);
43520 if (PyErr_Occurred()) SWIG_fail
;
43522 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43529 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43530 PyObject
*resultobj
= 0;
43531 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43532 wxColour
*arg2
= 0 ;
43536 PyObject
* obj0
= 0 ;
43537 PyObject
* obj1
= 0 ;
43538 char * kwnames
[] = {
43539 (char *) "self",(char *) "c", NULL
43542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43544 if (!SWIG_IsOK(res1
)) {
43545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43547 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43550 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43554 (arg1
)->SetColour((wxColour
const &)*arg2
);
43555 wxPyEndAllowThreads(__tstate
);
43556 if (PyErr_Occurred()) SWIG_fail
;
43558 resultobj
= SWIG_Py_Void();
43565 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43567 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43568 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43569 return SWIG_Py_Void();
43572 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43573 return SWIG_Python_InitShadowInstance(args
);
43576 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43577 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43582 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43583 PyObject
*pyobj
= 0;
43587 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43589 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43596 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43597 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43602 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43603 PyObject
*pyobj
= 0;
43607 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43609 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43616 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43617 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43622 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43623 PyObject
*pyobj
= 0;
43627 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43629 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43636 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43637 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43642 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43643 PyObject
*pyobj
= 0;
43647 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43649 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43656 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43657 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43662 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43663 PyObject
*pyobj
= 0;
43667 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43669 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43676 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43677 PyObject
*resultobj
= 0;
43678 wxWindow
*arg1
= (wxWindow
*) 0 ;
43679 int arg2
= (int) -1 ;
43680 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43681 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43682 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
43683 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43684 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43685 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43686 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43687 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43688 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43689 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43690 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
43691 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43692 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43693 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
43694 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43695 wxFilePickerCtrl
*result
= 0 ;
43700 bool temp3
= false ;
43701 bool temp4
= false ;
43702 bool temp5
= false ;
43709 bool temp10
= false ;
43710 PyObject
* obj0
= 0 ;
43711 PyObject
* obj1
= 0 ;
43712 PyObject
* obj2
= 0 ;
43713 PyObject
* obj3
= 0 ;
43714 PyObject
* obj4
= 0 ;
43715 PyObject
* obj5
= 0 ;
43716 PyObject
* obj6
= 0 ;
43717 PyObject
* obj7
= 0 ;
43718 PyObject
* obj8
= 0 ;
43719 PyObject
* obj9
= 0 ;
43720 char * kwnames
[] = {
43721 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43726 if (!SWIG_IsOK(res1
)) {
43727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43729 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43731 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43732 if (!SWIG_IsOK(ecode2
)) {
43733 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43735 arg2
= static_cast< int >(val2
);
43739 arg3
= wxString_in_helper(obj2
);
43740 if (arg3
== NULL
) SWIG_fail
;
43746 arg4
= wxString_in_helper(obj3
);
43747 if (arg4
== NULL
) SWIG_fail
;
43753 arg5
= wxString_in_helper(obj4
);
43754 if (arg5
== NULL
) SWIG_fail
;
43761 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43767 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43771 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43772 if (!SWIG_IsOK(ecode8
)) {
43773 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43775 arg8
= static_cast< long >(val8
);
43778 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43779 if (!SWIG_IsOK(res9
)) {
43780 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43783 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43785 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
43789 arg10
= wxString_in_helper(obj9
);
43790 if (arg10
== NULL
) SWIG_fail
;
43795 if (!wxPyCheckForApp()) SWIG_fail
;
43796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43797 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
);
43798 wxPyEndAllowThreads(__tstate
);
43799 if (PyErr_Occurred()) SWIG_fail
;
43801 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
43840 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43841 PyObject
*resultobj
= 0;
43842 wxFilePickerCtrl
*result
= 0 ;
43844 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
43846 if (!wxPyCheckForApp()) SWIG_fail
;
43847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43848 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
43849 wxPyEndAllowThreads(__tstate
);
43850 if (PyErr_Occurred()) SWIG_fail
;
43852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
43859 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43860 PyObject
*resultobj
= 0;
43861 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43862 wxWindow
*arg2
= (wxWindow
*) 0 ;
43863 int arg3
= (int) -1 ;
43864 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43865 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43866 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
43867 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43868 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43869 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
43870 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
43871 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
43872 wxSize
const &arg8_defvalue
= wxDefaultSize
;
43873 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
43874 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
43875 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
43876 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
43877 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
43878 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
43886 bool temp4
= false ;
43887 bool temp5
= false ;
43888 bool temp6
= false ;
43895 bool temp11
= false ;
43896 PyObject
* obj0
= 0 ;
43897 PyObject
* obj1
= 0 ;
43898 PyObject
* obj2
= 0 ;
43899 PyObject
* obj3
= 0 ;
43900 PyObject
* obj4
= 0 ;
43901 PyObject
* obj5
= 0 ;
43902 PyObject
* obj6
= 0 ;
43903 PyObject
* obj7
= 0 ;
43904 PyObject
* obj8
= 0 ;
43905 PyObject
* obj9
= 0 ;
43906 PyObject
* obj10
= 0 ;
43907 char * kwnames
[] = {
43908 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
43912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43913 if (!SWIG_IsOK(res1
)) {
43914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43916 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43917 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43918 if (!SWIG_IsOK(res2
)) {
43919 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43921 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43923 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43924 if (!SWIG_IsOK(ecode3
)) {
43925 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43927 arg3
= static_cast< int >(val3
);
43931 arg4
= wxString_in_helper(obj3
);
43932 if (arg4
== NULL
) SWIG_fail
;
43938 arg5
= wxString_in_helper(obj4
);
43939 if (arg5
== NULL
) SWIG_fail
;
43945 arg6
= wxString_in_helper(obj5
);
43946 if (arg6
== NULL
) SWIG_fail
;
43953 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
43959 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
43963 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
43964 if (!SWIG_IsOK(ecode9
)) {
43965 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
43967 arg9
= static_cast< long >(val9
);
43970 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
43971 if (!SWIG_IsOK(res10
)) {
43972 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43975 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43977 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
43981 arg11
= wxString_in_helper(obj10
);
43982 if (arg11
== NULL
) SWIG_fail
;
43987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43988 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
);
43989 wxPyEndAllowThreads(__tstate
);
43990 if (PyErr_Occurred()) SWIG_fail
;
43993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44033 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44034 PyObject
*resultobj
= 0;
44035 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44039 PyObject
*swig_obj
[1] ;
44041 if (!args
) SWIG_fail
;
44042 swig_obj
[0] = args
;
44043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44044 if (!SWIG_IsOK(res1
)) {
44045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44047 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44050 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
44051 wxPyEndAllowThreads(__tstate
);
44052 if (PyErr_Occurred()) SWIG_fail
;
44056 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44058 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44067 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44068 PyObject
*resultobj
= 0;
44069 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44070 wxString
*arg2
= 0 ;
44073 bool temp2
= false ;
44074 PyObject
* obj0
= 0 ;
44075 PyObject
* obj1
= 0 ;
44076 char * kwnames
[] = {
44077 (char *) "self",(char *) "str", NULL
44080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44082 if (!SWIG_IsOK(res1
)) {
44083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44085 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44087 arg2
= wxString_in_helper(obj1
);
44088 if (arg2
== NULL
) SWIG_fail
;
44092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44093 (arg1
)->SetPath((wxString
const &)*arg2
);
44094 wxPyEndAllowThreads(__tstate
);
44095 if (PyErr_Occurred()) SWIG_fail
;
44097 resultobj
= SWIG_Py_Void();
44112 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44113 PyObject
*resultobj
= 0;
44114 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44115 wxString
*arg2
= 0 ;
44119 bool temp2
= false ;
44120 PyObject
* obj0
= 0 ;
44121 PyObject
* obj1
= 0 ;
44122 char * kwnames
[] = {
44123 (char *) "self",(char *) "path", NULL
44126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44128 if (!SWIG_IsOK(res1
)) {
44129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44131 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44133 arg2
= wxString_in_helper(obj1
);
44134 if (arg2
== NULL
) SWIG_fail
;
44138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44139 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44140 wxPyEndAllowThreads(__tstate
);
44141 if (PyErr_Occurred()) SWIG_fail
;
44144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44160 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44161 PyObject
*resultobj
= 0;
44162 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44166 PyObject
*swig_obj
[1] ;
44168 if (!args
) SWIG_fail
;
44169 swig_obj
[0] = args
;
44170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44171 if (!SWIG_IsOK(res1
)) {
44172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44174 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44177 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
44178 wxPyEndAllowThreads(__tstate
);
44179 if (PyErr_Occurred()) SWIG_fail
;
44183 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44185 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44194 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44196 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44197 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
44198 return SWIG_Py_Void();
44201 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44202 return SWIG_Python_InitShadowInstance(args
);
44205 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44206 PyObject
*resultobj
= 0;
44207 wxWindow
*arg1
= (wxWindow
*) 0 ;
44208 int arg2
= (int) -1 ;
44209 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44210 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44211 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
44212 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44213 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44214 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44215 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44216 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44217 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
44218 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44219 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44220 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
44221 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44222 wxDirPickerCtrl
*result
= 0 ;
44227 bool temp3
= false ;
44228 bool temp4
= false ;
44235 bool temp9
= false ;
44236 PyObject
* obj0
= 0 ;
44237 PyObject
* obj1
= 0 ;
44238 PyObject
* obj2
= 0 ;
44239 PyObject
* obj3
= 0 ;
44240 PyObject
* obj4
= 0 ;
44241 PyObject
* obj5
= 0 ;
44242 PyObject
* obj6
= 0 ;
44243 PyObject
* obj7
= 0 ;
44244 PyObject
* obj8
= 0 ;
44245 char * kwnames
[] = {
44246 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44251 if (!SWIG_IsOK(res1
)) {
44252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44254 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44256 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44257 if (!SWIG_IsOK(ecode2
)) {
44258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44260 arg2
= static_cast< int >(val2
);
44264 arg3
= wxString_in_helper(obj2
);
44265 if (arg3
== NULL
) SWIG_fail
;
44271 arg4
= wxString_in_helper(obj3
);
44272 if (arg4
== NULL
) SWIG_fail
;
44279 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44285 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44289 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44290 if (!SWIG_IsOK(ecode7
)) {
44291 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44293 arg7
= static_cast< long >(val7
);
44296 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44297 if (!SWIG_IsOK(res8
)) {
44298 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44301 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44303 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44307 arg9
= wxString_in_helper(obj8
);
44308 if (arg9
== NULL
) SWIG_fail
;
44313 if (!wxPyCheckForApp()) SWIG_fail
;
44314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44315 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
);
44316 wxPyEndAllowThreads(__tstate
);
44317 if (PyErr_Occurred()) SWIG_fail
;
44319 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44350 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44351 PyObject
*resultobj
= 0;
44352 wxDirPickerCtrl
*result
= 0 ;
44354 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44356 if (!wxPyCheckForApp()) SWIG_fail
;
44357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44358 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44359 wxPyEndAllowThreads(__tstate
);
44360 if (PyErr_Occurred()) SWIG_fail
;
44362 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44369 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44370 PyObject
*resultobj
= 0;
44371 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44372 wxWindow
*arg2
= (wxWindow
*) 0 ;
44373 int arg3
= (int) -1 ;
44374 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44375 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44376 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44377 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44378 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44379 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44380 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44381 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44382 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44383 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44384 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44385 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
44386 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44394 bool temp4
= false ;
44395 bool temp5
= false ;
44402 bool temp10
= false ;
44403 PyObject
* obj0
= 0 ;
44404 PyObject
* obj1
= 0 ;
44405 PyObject
* obj2
= 0 ;
44406 PyObject
* obj3
= 0 ;
44407 PyObject
* obj4
= 0 ;
44408 PyObject
* obj5
= 0 ;
44409 PyObject
* obj6
= 0 ;
44410 PyObject
* obj7
= 0 ;
44411 PyObject
* obj8
= 0 ;
44412 PyObject
* obj9
= 0 ;
44413 char * kwnames
[] = {
44414 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44419 if (!SWIG_IsOK(res1
)) {
44420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44422 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44423 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44424 if (!SWIG_IsOK(res2
)) {
44425 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44427 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44429 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44430 if (!SWIG_IsOK(ecode3
)) {
44431 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44433 arg3
= static_cast< int >(val3
);
44437 arg4
= wxString_in_helper(obj3
);
44438 if (arg4
== NULL
) SWIG_fail
;
44444 arg5
= wxString_in_helper(obj4
);
44445 if (arg5
== NULL
) SWIG_fail
;
44452 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44458 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44462 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44463 if (!SWIG_IsOK(ecode8
)) {
44464 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44466 arg8
= static_cast< long >(val8
);
44469 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44470 if (!SWIG_IsOK(res9
)) {
44471 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44474 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44476 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44480 arg10
= wxString_in_helper(obj9
);
44481 if (arg10
== NULL
) SWIG_fail
;
44486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44487 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
);
44488 wxPyEndAllowThreads(__tstate
);
44489 if (PyErr_Occurred()) SWIG_fail
;
44492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44524 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44525 PyObject
*resultobj
= 0;
44526 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44530 PyObject
*swig_obj
[1] ;
44532 if (!args
) SWIG_fail
;
44533 swig_obj
[0] = args
;
44534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44535 if (!SWIG_IsOK(res1
)) {
44536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44538 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44541 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44542 wxPyEndAllowThreads(__tstate
);
44543 if (PyErr_Occurred()) SWIG_fail
;
44547 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44549 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44558 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44559 PyObject
*resultobj
= 0;
44560 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44561 wxString
*arg2
= 0 ;
44564 bool temp2
= false ;
44565 PyObject
* obj0
= 0 ;
44566 PyObject
* obj1
= 0 ;
44567 char * kwnames
[] = {
44568 (char *) "self",(char *) "str", NULL
44571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44573 if (!SWIG_IsOK(res1
)) {
44574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44576 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44578 arg2
= wxString_in_helper(obj1
);
44579 if (arg2
== NULL
) SWIG_fail
;
44583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44584 (arg1
)->SetPath((wxString
const &)*arg2
);
44585 wxPyEndAllowThreads(__tstate
);
44586 if (PyErr_Occurred()) SWIG_fail
;
44588 resultobj
= SWIG_Py_Void();
44603 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44604 PyObject
*resultobj
= 0;
44605 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44606 wxString
*arg2
= 0 ;
44610 bool temp2
= false ;
44611 PyObject
* obj0
= 0 ;
44612 PyObject
* obj1
= 0 ;
44613 char * kwnames
[] = {
44614 (char *) "self",(char *) "path", NULL
44617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44619 if (!SWIG_IsOK(res1
)) {
44620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44622 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44624 arg2
= wxString_in_helper(obj1
);
44625 if (arg2
== NULL
) SWIG_fail
;
44629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44630 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44631 wxPyEndAllowThreads(__tstate
);
44632 if (PyErr_Occurred()) SWIG_fail
;
44635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44651 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44652 PyObject
*resultobj
= 0;
44653 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44657 PyObject
*swig_obj
[1] ;
44659 if (!args
) SWIG_fail
;
44660 swig_obj
[0] = args
;
44661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44662 if (!SWIG_IsOK(res1
)) {
44663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44665 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44668 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
44669 wxPyEndAllowThreads(__tstate
);
44670 if (PyErr_Occurred()) SWIG_fail
;
44674 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44676 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44685 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44687 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44688 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
44689 return SWIG_Py_Void();
44692 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44693 return SWIG_Python_InitShadowInstance(args
);
44696 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44697 PyObject
*resultobj
= 0;
44699 wxObject
*arg2
= (wxObject
*) 0 ;
44701 wxString
*arg4
= 0 ;
44702 wxFileDirPickerEvent
*result
= 0 ;
44709 bool temp4
= false ;
44710 PyObject
* obj0
= 0 ;
44711 PyObject
* obj1
= 0 ;
44712 PyObject
* obj2
= 0 ;
44713 PyObject
* obj3
= 0 ;
44714 char * kwnames
[] = {
44715 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44719 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44720 if (!SWIG_IsOK(ecode1
)) {
44721 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44723 arg1
= static_cast< wxEventType
>(val1
);
44724 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
44725 if (!SWIG_IsOK(res2
)) {
44726 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44728 arg2
= reinterpret_cast< wxObject
* >(argp2
);
44729 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44730 if (!SWIG_IsOK(ecode3
)) {
44731 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44733 arg3
= static_cast< int >(val3
);
44735 arg4
= wxString_in_helper(obj3
);
44736 if (arg4
== NULL
) SWIG_fail
;
44740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44741 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
44742 wxPyEndAllowThreads(__tstate
);
44743 if (PyErr_Occurred()) SWIG_fail
;
44745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
44760 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44761 PyObject
*resultobj
= 0;
44762 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44766 PyObject
*swig_obj
[1] ;
44768 if (!args
) SWIG_fail
;
44769 swig_obj
[0] = args
;
44770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44771 if (!SWIG_IsOK(res1
)) {
44772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44774 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44777 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
44778 wxPyEndAllowThreads(__tstate
);
44779 if (PyErr_Occurred()) SWIG_fail
;
44783 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44785 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44794 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44795 PyObject
*resultobj
= 0;
44796 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44797 wxString
*arg2
= 0 ;
44800 bool temp2
= false ;
44801 PyObject
* obj0
= 0 ;
44802 PyObject
* obj1
= 0 ;
44803 char * kwnames
[] = {
44804 (char *) "self",(char *) "p", NULL
44807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44809 if (!SWIG_IsOK(res1
)) {
44810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
44812 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44814 arg2
= wxString_in_helper(obj1
);
44815 if (arg2
== NULL
) SWIG_fail
;
44819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44820 (arg1
)->SetPath((wxString
const &)*arg2
);
44821 wxPyEndAllowThreads(__tstate
);
44822 if (PyErr_Occurred()) SWIG_fail
;
44824 resultobj
= SWIG_Py_Void();
44839 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44841 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44842 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
44843 return SWIG_Py_Void();
44846 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44847 return SWIG_Python_InitShadowInstance(args
);
44850 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
44851 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
44856 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
44857 PyObject
*pyobj
= 0;
44861 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44863 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44870 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44871 PyObject
*resultobj
= 0;
44872 wxWindow
*arg1
= (wxWindow
*) 0 ;
44873 int arg2
= (int) -1 ;
44874 wxFont
const &arg3_defvalue
= wxNullFont
;
44875 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
44876 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
44877 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
44878 wxSize
const &arg5_defvalue
= wxDefaultSize
;
44879 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
44880 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
44881 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
44882 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
44883 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
44884 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
44885 wxFontPickerCtrl
*result
= 0 ;
44898 bool temp8
= false ;
44899 PyObject
* obj0
= 0 ;
44900 PyObject
* obj1
= 0 ;
44901 PyObject
* obj2
= 0 ;
44902 PyObject
* obj3
= 0 ;
44903 PyObject
* obj4
= 0 ;
44904 PyObject
* obj5
= 0 ;
44905 PyObject
* obj6
= 0 ;
44906 PyObject
* obj7
= 0 ;
44907 char * kwnames
[] = {
44908 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
44912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44913 if (!SWIG_IsOK(res1
)) {
44914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44916 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44918 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44919 if (!SWIG_IsOK(ecode2
)) {
44920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44922 arg2
= static_cast< int >(val2
);
44925 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
44926 if (!SWIG_IsOK(res3
)) {
44927 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44930 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44932 arg3
= reinterpret_cast< wxFont
* >(argp3
);
44937 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
44943 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
44947 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
44948 if (!SWIG_IsOK(ecode6
)) {
44949 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
44951 arg6
= static_cast< long >(val6
);
44954 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
44955 if (!SWIG_IsOK(res7
)) {
44956 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44959 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44961 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
44965 arg8
= wxString_in_helper(obj7
);
44966 if (arg8
== NULL
) SWIG_fail
;
44971 if (!wxPyCheckForApp()) SWIG_fail
;
44972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44973 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
44974 wxPyEndAllowThreads(__tstate
);
44975 if (PyErr_Occurred()) SWIG_fail
;
44977 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44992 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44993 PyObject
*resultobj
= 0;
44994 wxFontPickerCtrl
*result
= 0 ;
44996 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
44998 if (!wxPyCheckForApp()) SWIG_fail
;
44999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45000 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
45001 wxPyEndAllowThreads(__tstate
);
45002 if (PyErr_Occurred()) SWIG_fail
;
45004 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
45011 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45012 PyObject
*resultobj
= 0;
45013 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45014 wxWindow
*arg2
= (wxWindow
*) 0 ;
45015 int arg3
= (int) -1 ;
45016 wxFont
const &arg4_defvalue
= wxNullFont
;
45017 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
45018 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45019 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45020 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45021 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45022 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
45023 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45024 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45025 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
45026 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45042 bool temp9
= false ;
45043 PyObject
* obj0
= 0 ;
45044 PyObject
* obj1
= 0 ;
45045 PyObject
* obj2
= 0 ;
45046 PyObject
* obj3
= 0 ;
45047 PyObject
* obj4
= 0 ;
45048 PyObject
* obj5
= 0 ;
45049 PyObject
* obj6
= 0 ;
45050 PyObject
* obj7
= 0 ;
45051 PyObject
* obj8
= 0 ;
45052 char * kwnames
[] = {
45053 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45058 if (!SWIG_IsOK(res1
)) {
45059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45061 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45062 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45063 if (!SWIG_IsOK(res2
)) {
45064 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45066 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45068 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45069 if (!SWIG_IsOK(ecode3
)) {
45070 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45072 arg3
= static_cast< int >(val3
);
45075 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
45076 if (!SWIG_IsOK(res4
)) {
45077 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45080 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45082 arg4
= reinterpret_cast< wxFont
* >(argp4
);
45087 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45093 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45097 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45098 if (!SWIG_IsOK(ecode7
)) {
45099 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45101 arg7
= static_cast< long >(val7
);
45104 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45105 if (!SWIG_IsOK(res8
)) {
45106 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45109 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45111 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45115 arg9
= wxString_in_helper(obj8
);
45116 if (arg9
== NULL
) SWIG_fail
;
45121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45122 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45123 wxPyEndAllowThreads(__tstate
);
45124 if (PyErr_Occurred()) SWIG_fail
;
45127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45143 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45144 PyObject
*resultobj
= 0;
45145 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45149 PyObject
*swig_obj
[1] ;
45151 if (!args
) SWIG_fail
;
45152 swig_obj
[0] = args
;
45153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45154 if (!SWIG_IsOK(res1
)) {
45155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45157 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45160 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
45161 wxPyEndAllowThreads(__tstate
);
45162 if (PyErr_Occurred()) SWIG_fail
;
45164 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45171 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45172 PyObject
*resultobj
= 0;
45173 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45179 PyObject
* obj0
= 0 ;
45180 PyObject
* obj1
= 0 ;
45181 char * kwnames
[] = {
45182 (char *) "self",(char *) "f", NULL
45185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45187 if (!SWIG_IsOK(res1
)) {
45188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45190 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45191 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45192 if (!SWIG_IsOK(res2
)) {
45193 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45196 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45198 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45201 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
45202 wxPyEndAllowThreads(__tstate
);
45203 if (PyErr_Occurred()) SWIG_fail
;
45205 resultobj
= SWIG_Py_Void();
45212 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45213 PyObject
*resultobj
= 0;
45214 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45215 unsigned int arg2
;
45218 unsigned int val2
;
45220 PyObject
* obj0
= 0 ;
45221 PyObject
* obj1
= 0 ;
45222 char * kwnames
[] = {
45223 (char *) "self",(char *) "max", NULL
45226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45228 if (!SWIG_IsOK(res1
)) {
45229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45231 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45232 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45233 if (!SWIG_IsOK(ecode2
)) {
45234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45236 arg2
= static_cast< unsigned int >(val2
);
45238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45239 (arg1
)->SetMaxPointSize(arg2
);
45240 wxPyEndAllowThreads(__tstate
);
45241 if (PyErr_Occurred()) SWIG_fail
;
45243 resultobj
= SWIG_Py_Void();
45250 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45251 PyObject
*resultobj
= 0;
45252 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45253 unsigned int result
;
45256 PyObject
*swig_obj
[1] ;
45258 if (!args
) SWIG_fail
;
45259 swig_obj
[0] = args
;
45260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45261 if (!SWIG_IsOK(res1
)) {
45262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45264 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45267 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
45268 wxPyEndAllowThreads(__tstate
);
45269 if (PyErr_Occurred()) SWIG_fail
;
45271 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
45278 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45280 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45281 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
45282 return SWIG_Py_Void();
45285 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45286 return SWIG_Python_InitShadowInstance(args
);
45289 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45290 PyObject
*resultobj
= 0;
45291 wxObject
*arg1
= (wxObject
*) 0 ;
45294 wxFontPickerEvent
*result
= 0 ;
45301 PyObject
* obj0
= 0 ;
45302 PyObject
* obj1
= 0 ;
45303 PyObject
* obj2
= 0 ;
45304 char * kwnames
[] = {
45305 (char *) "generator",(char *) "id",(char *) "f", NULL
45308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45310 if (!SWIG_IsOK(res1
)) {
45311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45313 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45314 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45315 if (!SWIG_IsOK(ecode2
)) {
45316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45318 arg2
= static_cast< int >(val2
);
45319 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45320 if (!SWIG_IsOK(res3
)) {
45321 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45326 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45329 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45330 wxPyEndAllowThreads(__tstate
);
45331 if (PyErr_Occurred()) SWIG_fail
;
45333 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45340 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45341 PyObject
*resultobj
= 0;
45342 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45346 PyObject
*swig_obj
[1] ;
45348 if (!args
) SWIG_fail
;
45349 swig_obj
[0] = args
;
45350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45351 if (!SWIG_IsOK(res1
)) {
45352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45354 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45357 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45358 wxPyEndAllowThreads(__tstate
);
45359 if (PyErr_Occurred()) SWIG_fail
;
45361 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45368 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45369 PyObject
*resultobj
= 0;
45370 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45376 PyObject
* obj0
= 0 ;
45377 PyObject
* obj1
= 0 ;
45378 char * kwnames
[] = {
45379 (char *) "self",(char *) "c", NULL
45382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45384 if (!SWIG_IsOK(res1
)) {
45385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45387 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45388 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45389 if (!SWIG_IsOK(res2
)) {
45390 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45393 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45395 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45398 (arg1
)->SetFont((wxFont
const &)*arg2
);
45399 wxPyEndAllowThreads(__tstate
);
45400 if (PyErr_Occurred()) SWIG_fail
;
45402 resultobj
= SWIG_Py_Void();
45409 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45411 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45412 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45413 return SWIG_Py_Void();
45416 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45417 return SWIG_Python_InitShadowInstance(args
);
45420 SWIGINTERN
int CollapsiblePaneNameStr_set(PyObject
*) {
45421 SWIG_Error(SWIG_AttributeError
,"Variable CollapsiblePaneNameStr is read-only.");
45426 SWIGINTERN PyObject
*CollapsiblePaneNameStr_get(void) {
45427 PyObject
*pyobj
= 0;
45431 pyobj
= PyUnicode_FromWideChar((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45433 pyobj
= PyString_FromStringAndSize((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45440 SWIGINTERN PyObject
*_wrap_new_CollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45441 PyObject
*resultobj
= 0;
45442 wxWindow
*arg1
= (wxWindow
*) 0 ;
45443 int arg2
= (int) -1 ;
45444 wxString
const &arg3_defvalue
= wxPyEmptyString
;
45445 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
45446 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45447 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45448 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45449 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45450 long arg6
= (long) wxCP_DEFAULT_STYLE
;
45451 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45452 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45453 wxString
const &arg8_defvalue
= wxPyCollapsiblePaneNameStr
;
45454 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45455 wxCollapsiblePane
*result
= 0 ;
45460 bool temp3
= false ;
45467 bool temp8
= false ;
45468 PyObject
* obj0
= 0 ;
45469 PyObject
* obj1
= 0 ;
45470 PyObject
* obj2
= 0 ;
45471 PyObject
* obj3
= 0 ;
45472 PyObject
* obj4
= 0 ;
45473 PyObject
* obj5
= 0 ;
45474 PyObject
* obj6
= 0 ;
45475 PyObject
* obj7
= 0 ;
45476 char * kwnames
[] = {
45477 (char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CollapsiblePane",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45482 if (!SWIG_IsOK(res1
)) {
45483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePane" "', expected argument " "1"" of type '" "wxWindow *""'");
45485 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45487 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45488 if (!SWIG_IsOK(ecode2
)) {
45489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePane" "', expected argument " "2"" of type '" "int""'");
45491 arg2
= static_cast< int >(val2
);
45495 arg3
= wxString_in_helper(obj2
);
45496 if (arg3
== NULL
) SWIG_fail
;
45503 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45509 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45513 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45514 if (!SWIG_IsOK(ecode6
)) {
45515 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CollapsiblePane" "', expected argument " "6"" of type '" "long""'");
45517 arg6
= static_cast< long >(val6
);
45520 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45521 if (!SWIG_IsOK(res7
)) {
45522 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45525 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45527 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45531 arg8
= wxString_in_helper(obj7
);
45532 if (arg8
== NULL
) SWIG_fail
;
45537 if (!wxPyCheckForApp()) SWIG_fail
;
45538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45539 result
= (wxCollapsiblePane
*)new wxCollapsiblePane(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45540 wxPyEndAllowThreads(__tstate
);
45541 if (PyErr_Occurred()) SWIG_fail
;
45543 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_NEW
| 0 );
45566 SWIGINTERN PyObject
*_wrap_new_PreCollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45567 PyObject
*resultobj
= 0;
45568 wxCollapsiblePane
*result
= 0 ;
45570 if (!SWIG_Python_UnpackTuple(args
,"new_PreCollapsiblePane",0,0,0)) SWIG_fail
;
45572 if (!wxPyCheckForApp()) SWIG_fail
;
45573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45574 result
= (wxCollapsiblePane
*)new wxCollapsiblePane();
45575 wxPyEndAllowThreads(__tstate
);
45576 if (PyErr_Occurred()) SWIG_fail
;
45578 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_OWN
| 0 );
45585 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45586 PyObject
*resultobj
= 0;
45587 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45588 wxWindow
*arg2
= (wxWindow
*) 0 ;
45589 int arg3
= (int) -1 ;
45590 wxString
const &arg4_defvalue
= wxPyEmptyString
;
45591 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
45592 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45593 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45594 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45595 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45596 long arg7
= (long) wxCP_DEFAULT_STYLE
;
45597 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45598 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45599 wxString
const &arg9_defvalue
= wxPyCollapsiblePaneNameStr
;
45600 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45608 bool temp4
= false ;
45615 bool temp9
= false ;
45616 PyObject
* obj0
= 0 ;
45617 PyObject
* obj1
= 0 ;
45618 PyObject
* obj2
= 0 ;
45619 PyObject
* obj3
= 0 ;
45620 PyObject
* obj4
= 0 ;
45621 PyObject
* obj5
= 0 ;
45622 PyObject
* obj6
= 0 ;
45623 PyObject
* obj7
= 0 ;
45624 PyObject
* obj8
= 0 ;
45625 char * kwnames
[] = {
45626 (char *) "self",(char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CollapsiblePane_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45631 if (!SWIG_IsOK(res1
)) {
45632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Create" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45634 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45635 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45636 if (!SWIG_IsOK(res2
)) {
45637 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CollapsiblePane_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45639 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45641 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45642 if (!SWIG_IsOK(ecode3
)) {
45643 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CollapsiblePane_Create" "', expected argument " "3"" of type '" "int""'");
45645 arg3
= static_cast< int >(val3
);
45649 arg4
= wxString_in_helper(obj3
);
45650 if (arg4
== NULL
) SWIG_fail
;
45657 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45663 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45667 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45668 if (!SWIG_IsOK(ecode7
)) {
45669 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CollapsiblePane_Create" "', expected argument " "7"" of type '" "long""'");
45671 arg7
= static_cast< long >(val7
);
45674 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45675 if (!SWIG_IsOK(res8
)) {
45676 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45679 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45681 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45685 arg9
= wxString_in_helper(obj8
);
45686 if (arg9
== NULL
) SWIG_fail
;
45691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45692 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45693 wxPyEndAllowThreads(__tstate
);
45694 if (PyErr_Occurred()) SWIG_fail
;
45697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45721 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45722 PyObject
*resultobj
= 0;
45723 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45724 bool arg2
= (bool) true ;
45729 PyObject
* obj0
= 0 ;
45730 PyObject
* obj1
= 0 ;
45731 char * kwnames
[] = {
45732 (char *) "self",(char *) "collapse", NULL
45735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CollapsiblePane_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45737 if (!SWIG_IsOK(res1
)) {
45738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45740 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45742 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
45743 if (!SWIG_IsOK(ecode2
)) {
45744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "2"" of type '" "bool""'");
45746 arg2
= static_cast< bool >(val2
);
45749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45750 (arg1
)->Collapse(arg2
);
45751 wxPyEndAllowThreads(__tstate
);
45752 if (PyErr_Occurred()) SWIG_fail
;
45754 resultobj
= SWIG_Py_Void();
45761 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45762 PyObject
*resultobj
= 0;
45763 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45766 PyObject
*swig_obj
[1] ;
45768 if (!args
) SWIG_fail
;
45769 swig_obj
[0] = args
;
45770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45771 if (!SWIG_IsOK(res1
)) {
45772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Expand" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45774 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45778 wxPyEndAllowThreads(__tstate
);
45779 if (PyErr_Occurred()) SWIG_fail
;
45781 resultobj
= SWIG_Py_Void();
45788 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45789 PyObject
*resultobj
= 0;
45790 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45794 PyObject
*swig_obj
[1] ;
45796 if (!args
) SWIG_fail
;
45797 swig_obj
[0] = args
;
45798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45799 if (!SWIG_IsOK(res1
)) {
45800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45802 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45805 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsCollapsed();
45806 wxPyEndAllowThreads(__tstate
);
45807 if (PyErr_Occurred()) SWIG_fail
;
45810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45818 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45819 PyObject
*resultobj
= 0;
45820 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45824 PyObject
*swig_obj
[1] ;
45826 if (!args
) SWIG_fail
;
45827 swig_obj
[0] = args
;
45828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45829 if (!SWIG_IsOK(res1
)) {
45830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsExpanded" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45832 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45835 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsExpanded();
45836 wxPyEndAllowThreads(__tstate
);
45837 if (PyErr_Occurred()) SWIG_fail
;
45840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45848 SWIGINTERN PyObject
*_wrap_CollapsiblePane_GetPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45849 PyObject
*resultobj
= 0;
45850 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45851 wxWindow
*result
= 0 ;
45854 PyObject
*swig_obj
[1] ;
45856 if (!args
) SWIG_fail
;
45857 swig_obj
[0] = args
;
45858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45859 if (!SWIG_IsOK(res1
)) {
45860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_GetPane" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45862 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45865 result
= (wxWindow
*)((wxCollapsiblePane
const *)arg1
)->GetPane();
45866 wxPyEndAllowThreads(__tstate
);
45867 if (PyErr_Occurred()) SWIG_fail
;
45870 resultobj
= wxPyMake_wxObject(result
, 0);
45878 SWIGINTERN PyObject
*CollapsiblePane_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45880 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45881 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePane
, SWIG_NewClientData(obj
));
45882 return SWIG_Py_Void();
45885 SWIGINTERN PyObject
*CollapsiblePane_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45886 return SWIG_Python_InitShadowInstance(args
);
45889 SWIGINTERN PyObject
*_wrap_new_CollapsiblePaneEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45890 PyObject
*resultobj
= 0;
45891 wxObject
*arg1
= (wxObject
*) 0 ;
45894 wxCollapsiblePaneEvent
*result
= 0 ;
45901 PyObject
* obj0
= 0 ;
45902 PyObject
* obj1
= 0 ;
45903 PyObject
* obj2
= 0 ;
45904 char * kwnames
[] = {
45905 (char *) "generator",(char *) "id",(char *) "collapsed", NULL
45908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_CollapsiblePaneEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45910 if (!SWIG_IsOK(res1
)) {
45911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45913 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45914 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45915 if (!SWIG_IsOK(ecode2
)) {
45916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "2"" of type '" "int""'");
45918 arg2
= static_cast< int >(val2
);
45919 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
45920 if (!SWIG_IsOK(ecode3
)) {
45921 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "3"" of type '" "bool""'");
45923 arg3
= static_cast< bool >(val3
);
45925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45926 result
= (wxCollapsiblePaneEvent
*)new wxCollapsiblePaneEvent(arg1
,arg2
,arg3
);
45927 wxPyEndAllowThreads(__tstate
);
45928 if (PyErr_Occurred()) SWIG_fail
;
45930 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_POINTER_NEW
| 0 );
45937 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_GetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45938 PyObject
*resultobj
= 0;
45939 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
45943 PyObject
*swig_obj
[1] ;
45945 if (!args
) SWIG_fail
;
45946 swig_obj
[0] = args
;
45947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
45948 if (!SWIG_IsOK(res1
)) {
45949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_GetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent const *""'");
45951 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
45953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45954 result
= (bool)((wxCollapsiblePaneEvent
const *)arg1
)->GetCollapsed();
45955 wxPyEndAllowThreads(__tstate
);
45956 if (PyErr_Occurred()) SWIG_fail
;
45959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45967 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_SetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45968 PyObject
*resultobj
= 0;
45969 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
45975 PyObject
* obj0
= 0 ;
45976 PyObject
* obj1
= 0 ;
45977 char * kwnames
[] = {
45978 (char *) "self",(char *) "c", NULL
45981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CollapsiblePaneEvent_SetCollapsed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
45983 if (!SWIG_IsOK(res1
)) {
45984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent *""'");
45986 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
45987 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
45988 if (!SWIG_IsOK(ecode2
)) {
45989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "2"" of type '" "bool""'");
45991 arg2
= static_cast< bool >(val2
);
45993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45994 (arg1
)->SetCollapsed(arg2
);
45995 wxPyEndAllowThreads(__tstate
);
45996 if (PyErr_Occurred()) SWIG_fail
;
45998 resultobj
= SWIG_Py_Void();
46005 SWIGINTERN PyObject
*CollapsiblePaneEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46007 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46008 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_NewClientData(obj
));
46009 return SWIG_Py_Void();
46012 SWIGINTERN PyObject
*CollapsiblePaneEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46013 return SWIG_Python_InitShadowInstance(args
);
46016 SWIGINTERN
int SearchCtrlNameStr_set(PyObject
*) {
46017 SWIG_Error(SWIG_AttributeError
,"Variable SearchCtrlNameStr is read-only.");
46022 SWIGINTERN PyObject
*SearchCtrlNameStr_get(void) {
46023 PyObject
*pyobj
= 0;
46027 pyobj
= PyUnicode_FromWideChar((&wxPySearchCtrlNameStr
)->c_str(), (&wxPySearchCtrlNameStr
)->Len());
46029 pyobj
= PyString_FromStringAndSize((&wxPySearchCtrlNameStr
)->c_str(), (&wxPySearchCtrlNameStr
)->Len());
46036 SWIGINTERN PyObject
*_wrap_new_SearchCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46037 PyObject
*resultobj
= 0;
46038 wxWindow
*arg1
= (wxWindow
*) 0 ;
46039 int arg2
= (int) -1 ;
46040 wxString
const &arg3_defvalue
= wxEmptyString
;
46041 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
46042 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
46043 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
46044 wxSize
const &arg5_defvalue
= wxDefaultSize
;
46045 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
46046 long arg6
= (long) 0 ;
46047 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
46048 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
46049 wxString
const &arg8_defvalue
= wxPySearchCtrlNameStr
;
46050 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
46051 wxSearchCtrl
*result
= 0 ;
46056 bool temp3
= false ;
46063 bool temp8
= false ;
46064 PyObject
* obj0
= 0 ;
46065 PyObject
* obj1
= 0 ;
46066 PyObject
* obj2
= 0 ;
46067 PyObject
* obj3
= 0 ;
46068 PyObject
* obj4
= 0 ;
46069 PyObject
* obj5
= 0 ;
46070 PyObject
* obj6
= 0 ;
46071 PyObject
* obj7
= 0 ;
46072 char * kwnames
[] = {
46073 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_SearchCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
46077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46078 if (!SWIG_IsOK(res1
)) {
46079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SearchCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
46081 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
46083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46084 if (!SWIG_IsOK(ecode2
)) {
46085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SearchCtrl" "', expected argument " "2"" of type '" "int""'");
46087 arg2
= static_cast< int >(val2
);
46091 arg3
= wxString_in_helper(obj2
);
46092 if (arg3
== NULL
) SWIG_fail
;
46099 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
46105 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
46109 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
46110 if (!SWIG_IsOK(ecode6
)) {
46111 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SearchCtrl" "', expected argument " "6"" of type '" "long""'");
46113 arg6
= static_cast< long >(val6
);
46116 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
46117 if (!SWIG_IsOK(res7
)) {
46118 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46121 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46123 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
46127 arg8
= wxString_in_helper(obj7
);
46128 if (arg8
== NULL
) SWIG_fail
;
46133 if (!wxPyCheckForApp()) SWIG_fail
;
46134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46135 result
= (wxSearchCtrl
*)new wxSearchCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
46136 wxPyEndAllowThreads(__tstate
);
46137 if (PyErr_Occurred()) SWIG_fail
;
46139 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSearchCtrl
, SWIG_POINTER_NEW
| 0 );
46162 SWIGINTERN PyObject
*_wrap_new_PreSearchCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46163 PyObject
*resultobj
= 0;
46164 wxSearchCtrl
*result
= 0 ;
46166 if (!SWIG_Python_UnpackTuple(args
,"new_PreSearchCtrl",0,0,0)) SWIG_fail
;
46168 if (!wxPyCheckForApp()) SWIG_fail
;
46169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46170 result
= (wxSearchCtrl
*)new wxSearchCtrl();
46171 wxPyEndAllowThreads(__tstate
);
46172 if (PyErr_Occurred()) SWIG_fail
;
46174 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSearchCtrl
, SWIG_POINTER_OWN
| 0 );
46181 SWIGINTERN PyObject
*_wrap_SearchCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46182 PyObject
*resultobj
= 0;
46183 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46184 wxWindow
*arg2
= (wxWindow
*) 0 ;
46185 int arg3
= (int) -1 ;
46186 wxString
const &arg4_defvalue
= wxEmptyString
;
46187 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
46188 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
46189 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
46190 wxSize
const &arg6_defvalue
= wxDefaultSize
;
46191 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
46192 long arg7
= (long) 0 ;
46193 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
46194 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
46195 wxString
const &arg9_defvalue
= wxPySearchCtrlNameStr
;
46196 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
46204 bool temp4
= false ;
46211 bool temp9
= false ;
46212 PyObject
* obj0
= 0 ;
46213 PyObject
* obj1
= 0 ;
46214 PyObject
* obj2
= 0 ;
46215 PyObject
* obj3
= 0 ;
46216 PyObject
* obj4
= 0 ;
46217 PyObject
* obj5
= 0 ;
46218 PyObject
* obj6
= 0 ;
46219 PyObject
* obj7
= 0 ;
46220 PyObject
* obj8
= 0 ;
46221 char * kwnames
[] = {
46222 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:SearchCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
46226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46227 if (!SWIG_IsOK(res1
)) {
46228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_Create" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46230 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46231 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46232 if (!SWIG_IsOK(res2
)) {
46233 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
46235 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46237 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46238 if (!SWIG_IsOK(ecode3
)) {
46239 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SearchCtrl_Create" "', expected argument " "3"" of type '" "int""'");
46241 arg3
= static_cast< int >(val3
);
46245 arg4
= wxString_in_helper(obj3
);
46246 if (arg4
== NULL
) SWIG_fail
;
46253 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
46259 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
46263 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
46264 if (!SWIG_IsOK(ecode7
)) {
46265 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SearchCtrl_Create" "', expected argument " "7"" of type '" "long""'");
46267 arg7
= static_cast< long >(val7
);
46270 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
46271 if (!SWIG_IsOK(res8
)) {
46272 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46275 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46277 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
46281 arg9
= wxString_in_helper(obj8
);
46282 if (arg9
== NULL
) SWIG_fail
;
46287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46288 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
46289 wxPyEndAllowThreads(__tstate
);
46290 if (PyErr_Occurred()) SWIG_fail
;
46293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46317 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46318 PyObject
*resultobj
= 0;
46319 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46320 wxMenu
*arg2
= (wxMenu
*) 0 ;
46325 PyObject
* obj0
= 0 ;
46326 PyObject
* obj1
= 0 ;
46327 char * kwnames
[] = {
46328 (char *) "self",(char *) "menu", NULL
46331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46333 if (!SWIG_IsOK(res1
)) {
46334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46336 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46337 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
46338 if (!SWIG_IsOK(res2
)) {
46339 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
46341 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
46343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46344 (arg1
)->SetMenu(arg2
);
46345 wxPyEndAllowThreads(__tstate
);
46346 if (PyErr_Occurred()) SWIG_fail
;
46348 resultobj
= SWIG_Py_Void();
46355 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46356 PyObject
*resultobj
= 0;
46357 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46358 wxMenu
*result
= 0 ;
46361 PyObject
*swig_obj
[1] ;
46363 if (!args
) SWIG_fail
;
46364 swig_obj
[0] = args
;
46365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46366 if (!SWIG_IsOK(res1
)) {
46367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46369 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46372 result
= (wxMenu
*)(arg1
)->GetMenu();
46373 wxPyEndAllowThreads(__tstate
);
46374 if (PyErr_Occurred()) SWIG_fail
;
46377 resultobj
= wxPyMake_wxObject(result
, 0);
46385 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46386 PyObject
*resultobj
= 0;
46387 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46393 PyObject
* obj0
= 0 ;
46394 PyObject
* obj1
= 0 ;
46395 char * kwnames
[] = {
46396 (char *) "self",(char *) "show", NULL
46399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchButtonVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46401 if (!SWIG_IsOK(res1
)) {
46402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46404 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46405 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46406 if (!SWIG_IsOK(ecode2
)) {
46407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SearchCtrl_SetSearchButtonVisible" "', expected argument " "2"" of type '" "bool""'");
46409 arg2
= static_cast< bool >(val2
);
46411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46412 (arg1
)->SetSearchButtonVisible(arg2
);
46413 wxPyEndAllowThreads(__tstate
);
46414 if (PyErr_Occurred()) SWIG_fail
;
46416 resultobj
= SWIG_Py_Void();
46423 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetSearchButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46424 PyObject
*resultobj
= 0;
46425 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46429 PyObject
*swig_obj
[1] ;
46431 if (!args
) SWIG_fail
;
46432 swig_obj
[0] = args
;
46433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46434 if (!SWIG_IsOK(res1
)) {
46435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetSearchButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46437 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46440 result
= (bool)((wxSearchCtrl
const *)arg1
)->GetSearchButtonVisible();
46441 wxPyEndAllowThreads(__tstate
);
46442 if (PyErr_Occurred()) SWIG_fail
;
46445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46453 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetCancelButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46454 PyObject
*resultobj
= 0;
46455 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46461 PyObject
* obj0
= 0 ;
46462 PyObject
* obj1
= 0 ;
46463 char * kwnames
[] = {
46464 (char *) "self",(char *) "show", NULL
46467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetCancelButtonVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46469 if (!SWIG_IsOK(res1
)) {
46470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetCancelButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46472 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46473 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46474 if (!SWIG_IsOK(ecode2
)) {
46475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SearchCtrl_SetCancelButtonVisible" "', expected argument " "2"" of type '" "bool""'");
46477 arg2
= static_cast< bool >(val2
);
46479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46480 (arg1
)->SetCancelButtonVisible(arg2
);
46481 wxPyEndAllowThreads(__tstate
);
46482 if (PyErr_Occurred()) SWIG_fail
;
46484 resultobj
= SWIG_Py_Void();
46491 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetCancelButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46492 PyObject
*resultobj
= 0;
46493 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46497 PyObject
*swig_obj
[1] ;
46499 if (!args
) SWIG_fail
;
46500 swig_obj
[0] = args
;
46501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46502 if (!SWIG_IsOK(res1
)) {
46503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetCancelButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46505 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46508 result
= (bool)((wxSearchCtrl
const *)arg1
)->GetCancelButtonVisible();
46509 wxPyEndAllowThreads(__tstate
);
46510 if (PyErr_Occurred()) SWIG_fail
;
46513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46521 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46522 PyObject
*resultobj
= 0;
46523 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46524 wxBitmap
*arg2
= 0 ;
46529 PyObject
* obj0
= 0 ;
46530 PyObject
* obj1
= 0 ;
46531 char * kwnames
[] = {
46532 (char *) "self",(char *) "bitmap", NULL
46535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46537 if (!SWIG_IsOK(res1
)) {
46538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46540 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46541 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46542 if (!SWIG_IsOK(res2
)) {
46543 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46546 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46548 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46551 (arg1
)->SetSearchBitmap((wxBitmap
const &)*arg2
);
46552 wxPyEndAllowThreads(__tstate
);
46553 if (PyErr_Occurred()) SWIG_fail
;
46555 resultobj
= SWIG_Py_Void();
46562 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchMenuBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46563 PyObject
*resultobj
= 0;
46564 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46565 wxBitmap
*arg2
= 0 ;
46570 PyObject
* obj0
= 0 ;
46571 PyObject
* obj1
= 0 ;
46572 char * kwnames
[] = {
46573 (char *) "self",(char *) "bitmap", NULL
46576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchMenuBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46578 if (!SWIG_IsOK(res1
)) {
46579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46581 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46582 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46583 if (!SWIG_IsOK(res2
)) {
46584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46587 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46589 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46592 (arg1
)->SetSearchMenuBitmap((wxBitmap
const &)*arg2
);
46593 wxPyEndAllowThreads(__tstate
);
46594 if (PyErr_Occurred()) SWIG_fail
;
46596 resultobj
= SWIG_Py_Void();
46603 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetCancelBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46604 PyObject
*resultobj
= 0;
46605 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46606 wxBitmap
*arg2
= 0 ;
46611 PyObject
* obj0
= 0 ;
46612 PyObject
* obj1
= 0 ;
46613 char * kwnames
[] = {
46614 (char *) "self",(char *) "bitmap", NULL
46617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetCancelBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46619 if (!SWIG_IsOK(res1
)) {
46620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46622 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46623 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46624 if (!SWIG_IsOK(res2
)) {
46625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46628 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46630 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46633 (arg1
)->SetCancelBitmap((wxBitmap
const &)*arg2
);
46634 wxPyEndAllowThreads(__tstate
);
46635 if (PyErr_Occurred()) SWIG_fail
;
46637 resultobj
= SWIG_Py_Void();
46644 SWIGINTERN PyObject
*SearchCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46646 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46647 SWIG_TypeNewClientData(SWIGTYPE_p_wxSearchCtrl
, SWIG_NewClientData(obj
));
46648 return SWIG_Py_Void();
46651 SWIGINTERN PyObject
*SearchCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46652 return SWIG_Python_InitShadowInstance(args
);
46655 static PyMethodDef SwigMethods
[] = {
46656 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46657 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
46658 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46659 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
46660 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
46661 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46662 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
46663 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
46664 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46665 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
46666 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46667 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
46668 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
46669 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
46670 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
46671 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
46672 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46673 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46674 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46675 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46676 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46677 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46678 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
46679 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
46680 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
46681 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
46682 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46683 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
46684 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46685 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
46686 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
46687 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46688 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
46689 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46690 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
46691 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
46692 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46693 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
46694 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
46695 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46696 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
46697 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46698 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
46699 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46700 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
46701 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
46702 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46703 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
46704 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46705 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
46706 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46707 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
46708 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
46709 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
46710 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46711 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
46712 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
46713 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46714 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46715 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
46716 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
46717 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46718 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46719 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
46720 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46721 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
46722 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
46723 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
46724 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
46725 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
46726 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
46727 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
46728 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
46729 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
46730 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46731 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
46732 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
46733 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46734 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
46735 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46736 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46737 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
46738 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46739 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
46740 { (char *)"Gauge_Pulse", (PyCFunction
)_wrap_Gauge_Pulse
, METH_O
, NULL
},
46741 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
46742 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46743 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
46744 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46745 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
46746 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46747 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
46748 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
46749 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46750 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
46751 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46752 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46753 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
46754 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
46755 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46756 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
46757 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46758 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
46759 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
46760 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46761 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
46762 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
46763 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46764 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
46765 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46766 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46767 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46768 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
46769 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
46770 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46771 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
46772 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46773 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
46774 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46775 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46776 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46777 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
46778 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
46779 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46780 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
46781 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46782 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46783 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46784 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46785 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46786 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46787 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46788 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46789 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46790 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46791 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
46792 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46793 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46794 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46795 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46796 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
46797 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46798 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46799 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46800 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46801 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46802 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
46803 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
46804 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46805 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
46806 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46807 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46808 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46809 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
46810 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
46811 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
46812 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46813 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
46814 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
46815 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46816 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46817 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46818 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46819 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46820 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46821 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46822 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46823 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46824 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
46825 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
46826 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
46827 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
46828 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
46829 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
46830 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
46831 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46832 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
46833 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
46834 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
46835 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
46836 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
46837 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
46838 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
46839 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
46840 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
46841 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
46842 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46843 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
46844 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
46845 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46846 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
46847 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46848 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
46849 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46850 { (char *)"TextCtrl_IsEmpty", (PyCFunction
)_wrap_TextCtrl_IsEmpty
, METH_O
, NULL
},
46851 { (char *)"TextCtrl_ChangeValue", (PyCFunction
) _wrap_TextCtrl_ChangeValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46852 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46853 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46854 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46855 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
46856 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
46857 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
46858 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
46859 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
46860 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
46861 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
46862 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
46863 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46864 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46865 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46866 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46867 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
46868 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
46869 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46870 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46871 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46872 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46873 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46874 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46875 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46876 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46877 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
46878 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46879 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46880 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46881 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46882 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46883 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
46884 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
46885 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
46886 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
46887 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
46888 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
46889 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
46890 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
46891 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
46892 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
46893 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46894 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
46895 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
46896 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
46897 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46898 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
46899 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46900 { (char *)"TextCtrl_MacCheckSpelling", (PyCFunction
) _wrap_TextCtrl_MacCheckSpelling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46901 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction
)_wrap_TextCtrl_SendTextUpdatedEvent
, METH_O
, NULL
},
46902 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46903 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46904 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46905 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
46906 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
46907 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46908 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
46909 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
46910 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
46911 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
46912 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
46913 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46914 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
46915 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46916 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
46917 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
46918 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
46919 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
46920 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
46921 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46922 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46923 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
46924 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
46925 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46926 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
46927 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46928 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
46929 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
46930 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
46931 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46932 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46933 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46934 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46935 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
46936 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46937 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
46938 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
46939 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46940 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
46941 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46942 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
46943 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46944 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46945 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46946 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
46947 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
46948 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46949 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46950 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
46951 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
46952 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46953 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
46954 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46955 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
46956 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
46957 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46958 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
46959 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46960 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46961 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
46962 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
46963 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46964 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
46965 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46966 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46967 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46968 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46969 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46970 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46971 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46972 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
46973 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
46974 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46975 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46976 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46977 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46978 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46979 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46980 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
46981 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
46982 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46983 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
46984 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46985 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
46986 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46987 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46988 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
46989 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
46990 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46991 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
46992 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46993 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
46994 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46995 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46996 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
46997 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
46998 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46999 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47000 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47001 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47002 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
47003 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
47004 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47005 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
47006 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47007 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
47008 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
47009 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47010 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
47011 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
47012 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
47013 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47014 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47015 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
47016 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
47017 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47018 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
47019 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47020 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47021 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
47022 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47023 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
47024 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
47025 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
47026 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47027 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
47028 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
47029 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47030 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47031 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47032 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47033 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
47034 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47035 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47036 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47037 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47038 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
47039 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47040 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
47041 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47042 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
47043 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47044 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
47045 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
47046 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47047 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47048 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
47049 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47050 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47051 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47052 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction
) _wrap_BookCtrlBase_ChangeSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47053 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47054 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47055 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47056 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
47057 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47058 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
47059 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47060 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
47061 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47062 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
47063 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
47064 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47065 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
47066 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47067 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
47068 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47069 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47070 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
47071 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47072 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction
) _wrap_Notebook_SendPageChangingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47073 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction
) _wrap_Notebook_SendPageChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47074 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
47075 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
47076 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47077 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
47078 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
47079 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47080 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
47081 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47082 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
47083 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
47084 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
47085 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47086 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
47087 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
47088 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47089 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
47090 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47091 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
47092 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
47093 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
47094 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47095 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
47096 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
47097 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47098 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
47099 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47100 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47101 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47102 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47103 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47104 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47105 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47106 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
47107 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
47108 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
47109 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47110 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
47111 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
47112 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47113 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
47114 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47115 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
47116 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
47117 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
47118 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
47119 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47120 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
47121 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
47122 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
47123 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
47124 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
47125 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
47126 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
47127 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
47128 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
47129 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
47130 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
47131 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
47132 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
47133 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
47134 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
47135 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
47136 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
47137 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
47138 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
47139 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47140 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
47141 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47142 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47143 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47144 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47145 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47146 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47147 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
47148 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47149 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
47150 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47151 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
47152 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47153 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47154 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47155 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47156 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47157 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47158 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47159 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
47160 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47161 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47162 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47163 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47164 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
47165 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
47166 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47167 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47168 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47169 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47170 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47171 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47172 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47173 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47174 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47175 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47176 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47177 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47178 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47179 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47180 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47181 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47182 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
47183 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
47184 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
47185 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
47186 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47187 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47188 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
47189 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
47190 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47191 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
47192 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
47193 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47194 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47195 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
47196 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
47197 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
47198 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47199 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
47200 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47201 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47202 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
47203 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
47204 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47205 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
47206 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47207 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47208 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47209 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
47210 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
47211 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
47212 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
47213 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
47214 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
47215 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47216 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
47217 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
47218 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
47219 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
47220 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
47221 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
47222 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
47223 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47224 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47225 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47226 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47227 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47228 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47229 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47230 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47231 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47232 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47233 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47234 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47235 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47236 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
47237 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
47238 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
47239 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
47240 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
47241 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
47242 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
47243 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
47244 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
47245 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
47246 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
47247 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
47248 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
47249 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
47250 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
47251 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
47252 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
47253 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
47254 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
47255 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
47256 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
47257 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
47258 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
47259 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
47260 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
47261 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
47262 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
47263 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
47264 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
47265 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
47266 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
47267 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
47268 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
47269 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
47270 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
47271 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
47272 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47273 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
47274 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
47275 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
47276 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
47277 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
47278 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
47279 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
47280 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
47281 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
47282 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
47283 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
47284 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
47285 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
47286 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
47287 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
47288 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
47289 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
47290 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
47291 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
47292 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
47293 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
47294 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
47295 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
47296 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
47297 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47298 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
47299 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
47300 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47301 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
47302 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47303 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47304 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47305 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47306 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47307 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47308 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
47309 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
47310 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
47311 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47312 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47313 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47314 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47315 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47316 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47317 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47318 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47319 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47320 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47321 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47322 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47323 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47324 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47325 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
47326 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
47327 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
47328 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47329 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
47330 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
47331 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47332 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
47333 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47334 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47335 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47336 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47337 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47338 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
47339 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
47340 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47341 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47342 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47343 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47344 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
47345 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47346 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
47347 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
47348 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47349 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47350 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47351 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47352 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47353 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47354 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47355 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47356 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47357 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47358 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47359 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47360 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47361 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47362 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47363 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47364 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47365 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47366 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47367 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47368 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47369 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47370 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
47371 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47372 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
47373 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
47374 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47375 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
47376 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47377 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47378 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47379 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
47380 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47381 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
47382 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47383 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47384 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47385 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
47386 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
47387 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
47388 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
47389 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
47390 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47391 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47392 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
47393 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
47394 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
47395 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
47396 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47397 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
47398 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
47399 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47400 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
47401 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47402 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
47403 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
47404 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
47405 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
47406 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
47407 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47408 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
47409 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47410 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
47411 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47412 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
47413 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
47414 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47415 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
47416 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47417 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
47418 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47419 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47420 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
47421 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
47422 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
47423 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47424 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
47425 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47426 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47427 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
47428 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
47429 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47430 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
47431 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47432 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
47433 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
47434 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47435 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47436 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47437 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47438 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47439 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47440 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47441 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47442 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47443 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47444 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47445 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47446 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47447 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47448 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47449 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47450 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47451 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47452 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47453 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47454 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47455 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47456 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47457 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47458 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47459 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47460 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47461 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
47462 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
47463 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
47464 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47465 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47466 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47467 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47468 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47469 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47470 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
47471 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47472 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47473 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47474 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47475 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47476 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47477 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47478 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47479 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47480 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
47481 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47482 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47483 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
47484 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47485 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47486 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47487 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
47488 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47489 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
47490 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47491 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47492 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47493 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47494 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47495 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
47496 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47497 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47498 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47499 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47500 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47501 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
47502 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
47503 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
47504 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47505 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
47506 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47507 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47508 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47509 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
47510 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47511 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
47512 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
47513 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47514 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47515 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
47516 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
47517 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47518 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
47519 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47520 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
47521 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
47522 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
47523 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47524 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
47525 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
47526 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
47527 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
47528 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47529 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
47530 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47531 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47532 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
47533 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
47534 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47535 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
47536 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47537 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47538 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47539 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47540 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47541 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47542 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
47543 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
47544 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
47545 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
47546 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
47547 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
47548 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
47549 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
47550 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
47551 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47552 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
47553 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47554 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
47555 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47556 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
47557 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47558 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
47559 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47560 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
47561 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
47562 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47563 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
47564 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47565 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
47566 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
47567 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
47568 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47569 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
47570 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
47571 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
47572 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47573 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
47574 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47575 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47576 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47577 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47578 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47579 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47580 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
47581 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
47582 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
47583 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
47584 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
47585 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47586 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47587 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47588 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47589 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47590 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
47591 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47592 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47593 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47594 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
47595 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47596 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
47597 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
47598 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47599 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47600 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47601 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47602 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
47603 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
47604 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47605 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
47606 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47607 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47608 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
47609 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47610 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
47611 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
47612 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47613 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47614 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47615 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
47616 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47617 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
47618 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47619 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
47620 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47621 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
47622 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47623 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
47624 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47625 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47626 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
47627 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
47628 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
47629 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47630 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
47631 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47632 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
47633 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
47634 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47635 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47636 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
47637 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47638 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
47639 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47640 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetPickerCtrlProportion
, METH_O
, NULL
},
47641 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
47642 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47643 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
47644 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47645 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
47646 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
47647 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
47648 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
47649 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47650 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
47651 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47652 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
47653 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47654 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47655 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47656 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47657 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
47658 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47659 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47660 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47661 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47662 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
47663 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47664 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
47665 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47666 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47667 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
47668 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47669 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47670 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47671 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
47672 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47673 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
47674 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47675 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47676 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
47677 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47678 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47679 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47680 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
47681 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47682 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47683 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47684 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47685 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
47686 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47687 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
47688 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47689 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47690 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
47691 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47692 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47693 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47694 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
47695 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47696 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47697 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47698 { (char *)"new_CollapsiblePane", (PyCFunction
) _wrap_new_CollapsiblePane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47699 { (char *)"new_PreCollapsiblePane", (PyCFunction
)_wrap_new_PreCollapsiblePane
, METH_NOARGS
, NULL
},
47700 { (char *)"CollapsiblePane_Create", (PyCFunction
) _wrap_CollapsiblePane_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47701 { (char *)"CollapsiblePane_Collapse", (PyCFunction
) _wrap_CollapsiblePane_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47702 { (char *)"CollapsiblePane_Expand", (PyCFunction
)_wrap_CollapsiblePane_Expand
, METH_O
, NULL
},
47703 { (char *)"CollapsiblePane_IsCollapsed", (PyCFunction
)_wrap_CollapsiblePane_IsCollapsed
, METH_O
, NULL
},
47704 { (char *)"CollapsiblePane_IsExpanded", (PyCFunction
)_wrap_CollapsiblePane_IsExpanded
, METH_O
, NULL
},
47705 { (char *)"CollapsiblePane_GetPane", (PyCFunction
)_wrap_CollapsiblePane_GetPane
, METH_O
, NULL
},
47706 { (char *)"CollapsiblePane_swigregister", CollapsiblePane_swigregister
, METH_VARARGS
, NULL
},
47707 { (char *)"CollapsiblePane_swiginit", CollapsiblePane_swiginit
, METH_VARARGS
, NULL
},
47708 { (char *)"new_CollapsiblePaneEvent", (PyCFunction
) _wrap_new_CollapsiblePaneEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47709 { (char *)"CollapsiblePaneEvent_GetCollapsed", (PyCFunction
)_wrap_CollapsiblePaneEvent_GetCollapsed
, METH_O
, NULL
},
47710 { (char *)"CollapsiblePaneEvent_SetCollapsed", (PyCFunction
) _wrap_CollapsiblePaneEvent_SetCollapsed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47711 { (char *)"CollapsiblePaneEvent_swigregister", CollapsiblePaneEvent_swigregister
, METH_VARARGS
, NULL
},
47712 { (char *)"CollapsiblePaneEvent_swiginit", CollapsiblePaneEvent_swiginit
, METH_VARARGS
, NULL
},
47713 { (char *)"new_SearchCtrl", (PyCFunction
) _wrap_new_SearchCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47714 { (char *)"new_PreSearchCtrl", (PyCFunction
)_wrap_new_PreSearchCtrl
, METH_NOARGS
, NULL
},
47715 { (char *)"SearchCtrl_Create", (PyCFunction
) _wrap_SearchCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47716 { (char *)"SearchCtrl_SetMenu", (PyCFunction
) _wrap_SearchCtrl_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47717 { (char *)"SearchCtrl_GetMenu", (PyCFunction
)_wrap_SearchCtrl_GetMenu
, METH_O
, NULL
},
47718 { (char *)"SearchCtrl_SetSearchButtonVisible", (PyCFunction
) _wrap_SearchCtrl_SetSearchButtonVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47719 { (char *)"SearchCtrl_GetSearchButtonVisible", (PyCFunction
)_wrap_SearchCtrl_GetSearchButtonVisible
, METH_O
, NULL
},
47720 { (char *)"SearchCtrl_SetCancelButtonVisible", (PyCFunction
) _wrap_SearchCtrl_SetCancelButtonVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47721 { (char *)"SearchCtrl_GetCancelButtonVisible", (PyCFunction
)_wrap_SearchCtrl_GetCancelButtonVisible
, METH_O
, NULL
},
47722 { (char *)"SearchCtrl_SetSearchBitmap", (PyCFunction
) _wrap_SearchCtrl_SetSearchBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47723 { (char *)"SearchCtrl_SetSearchMenuBitmap", (PyCFunction
) _wrap_SearchCtrl_SetSearchMenuBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47724 { (char *)"SearchCtrl_SetCancelBitmap", (PyCFunction
) _wrap_SearchCtrl_SetCancelBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47725 { (char *)"SearchCtrl_swigregister", SearchCtrl_swigregister
, METH_VARARGS
, NULL
},
47726 { (char *)"SearchCtrl_swiginit", SearchCtrl_swiginit
, METH_VARARGS
, NULL
},
47727 { NULL
, NULL
, 0, NULL
}
47731 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
47733 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
47734 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47736 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
47737 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
47739 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
47740 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
47742 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
47743 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
47745 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
47746 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
47748 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
47749 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47751 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
47752 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47754 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
47755 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
47757 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
47758 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47760 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
47761 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47763 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
47764 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47766 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
47767 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
47769 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
47770 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
47772 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
47773 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47775 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
47776 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47778 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
47779 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
47781 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
47782 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
47784 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
47785 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
47787 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
47788 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47790 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
47791 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47793 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
47794 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47796 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
47797 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47799 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
47800 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47802 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
47803 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
47805 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
47806 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
47808 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
47809 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47811 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
47812 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47814 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
47815 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
47817 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
47818 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
47820 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
47821 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
47823 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
47824 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
47826 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
47827 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
47829 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
47830 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
47832 static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x
) {
47833 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
47835 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
47836 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
47838 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
47839 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
47841 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
47842 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47844 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
47845 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47847 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
47848 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
47850 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
47851 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
47853 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
47854 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
47856 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
47857 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
47859 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
47860 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47862 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
47863 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
47865 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
47866 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
47868 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
47869 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47871 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
47872 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
47874 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
47875 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
47877 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
47878 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47880 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
47881 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47883 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
47884 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47886 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
47887 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
47889 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
47890 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
47892 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
47893 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47895 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
47896 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47898 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
47899 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47901 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
47902 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47904 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
47905 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47907 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
47908 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
47910 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
47911 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47913 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
47914 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
47916 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
47917 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
47919 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
47920 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
47922 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
47923 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47925 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
47926 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
47928 static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x
) {
47929 return (void *)((wxControl
*) ((wxCollapsiblePane
*) x
));
47931 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
47932 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
47934 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
47935 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
47937 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
47938 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
47940 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
47941 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
47943 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
47944 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
47946 static void *_p_wxSearchCtrlTo_p_wxControl(void *x
) {
47947 return (void *)((wxControl
*) (wxTextCtrl
*) ((wxSearchCtrl
*) x
));
47949 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
47950 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
47952 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
47953 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
47955 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
47956 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47958 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
47959 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
47961 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
47962 return (void *)((wxControl
*) ((wxComboBox
*) x
));
47964 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
47965 return (void *)((wxControl
*) ((wxPyControl
*) x
));
47967 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
47968 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
47970 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
47971 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
47973 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
47974 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
47976 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
47977 return (void *)((wxControl
*) ((wxGauge
*) x
));
47979 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
47980 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
47982 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
47983 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47985 static void *_p_wxListbookTo_p_wxControl(void *x
) {
47986 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
47988 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
47989 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
47991 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
47992 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
47994 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
47995 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
47997 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
47998 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
48000 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
48001 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
48003 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
48004 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
48006 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
48007 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48009 static void *_p_wxListViewTo_p_wxControl(void *x
) {
48010 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
48012 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
48013 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
48015 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
48016 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
48018 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
48019 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
48021 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
48022 return (void *)((wxControl
*) ((wxStaticText
*) x
));
48024 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
48025 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
48027 static void *_p_wxSliderTo_p_wxControl(void *x
) {
48028 return (void *)((wxControl
*) ((wxSlider
*) x
));
48030 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
48031 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
48033 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
48034 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
48036 static void *_p_wxButtonTo_p_wxControl(void *x
) {
48037 return (void *)((wxControl
*) ((wxButton
*) x
));
48039 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
48040 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
48042 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
48043 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48045 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
48046 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
48048 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
48049 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48051 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
48052 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48054 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
48055 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48057 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
48058 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48060 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
48061 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
48063 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
48064 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
48066 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
48067 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48069 static void *_p_wxSearchCtrlTo_p_wxTextCtrl(void *x
) {
48070 return (void *)((wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48072 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
48073 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48075 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
48076 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48078 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
48079 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
48081 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
48082 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48084 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
48085 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48087 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
48088 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48090 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
48091 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48093 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
48094 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48096 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
48097 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48099 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
48100 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48102 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
48103 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
48105 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
48106 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
48108 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
48109 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
48111 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
48112 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
48114 static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x
) {
48115 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
48117 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
48118 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
48120 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
48121 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
48123 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
48124 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
48126 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
48127 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
48129 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
48130 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48132 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
48133 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
48135 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
48136 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
48138 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
48139 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
48141 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
48142 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
48144 static void *_p_wxSearchCtrlTo_p_wxEvtHandler(void *x
) {
48145 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48147 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
48148 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48150 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
48151 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
48153 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
48154 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
48156 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
48157 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
48159 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
48160 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
48162 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
48163 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
48165 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
48166 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48168 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
48169 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
48171 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
48172 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
48174 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
48175 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
48177 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
48178 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
48180 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
48181 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
48183 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
48184 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
48186 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
48187 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
48189 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
48190 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48192 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
48193 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48195 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
48196 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
48198 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
48199 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
48201 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
48202 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
48204 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
48205 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
48207 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
48208 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48210 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
48211 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48213 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
48214 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48216 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
48217 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48219 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
48220 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
48222 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
48223 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48225 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
48226 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
48228 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
48229 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
48231 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
48232 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
48234 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
48235 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
48237 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
48238 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48240 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
48241 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
48243 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
48244 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
48246 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
48247 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48249 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
48250 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48252 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
48253 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
48255 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
48256 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48258 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
48259 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48261 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
48262 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48264 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
48265 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48267 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
48268 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
48270 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
48271 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
48273 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
48274 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
48276 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
48277 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48279 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
48280 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48282 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
48283 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
48285 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
48286 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
48288 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
48289 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48291 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
48292 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
48294 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
48295 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
48297 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
48298 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
48300 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
48301 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
48303 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
48304 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48306 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
48307 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
48309 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
48310 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
48312 static void *_p_wxSizerTo_p_wxObject(void *x
) {
48313 return (void *)((wxObject
*) ((wxSizer
*) x
));
48315 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
48316 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
48318 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
48319 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
48321 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
48322 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
48324 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
48325 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48327 static void *_p_wxEventTo_p_wxObject(void *x
) {
48328 return (void *)((wxObject
*) ((wxEvent
*) x
));
48330 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
48331 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
48333 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
48334 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
48336 static void *_p_wxSearchCtrlTo_p_wxObject(void *x
) {
48337 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48339 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
48340 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
48342 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
48343 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
48345 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
48346 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
48348 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
48349 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
48351 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
48352 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48354 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
48355 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48357 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
48358 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
48360 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
48361 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
48363 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
48364 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
48366 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
48367 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
48369 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
48370 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
48372 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
48373 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
48375 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
48376 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
48378 static void *_p_wxControlTo_p_wxObject(void *x
) {
48379 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
48381 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
48382 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
48384 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
48385 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
48387 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
48388 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
48390 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
48391 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
48393 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
48394 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
48396 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
48397 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
48399 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
48400 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48402 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
48403 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48405 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
48406 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48408 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
48409 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48411 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
48412 return (void *)((wxObject
*) ((wxFSFile
*) x
));
48414 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
48415 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
48417 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
48418 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48420 static void *_p_wxListViewTo_p_wxObject(void *x
) {
48421 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48423 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
48424 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48426 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
48427 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
48429 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
48430 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48432 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
48433 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
48435 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
48436 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48438 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
48439 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48441 static void *_p_wxListbookTo_p_wxObject(void *x
) {
48442 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48444 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
48445 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
48447 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
48448 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
48450 static void *_p_wxSliderTo_p_wxObject(void *x
) {
48451 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
48453 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
48454 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
48456 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
48457 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
48459 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
48460 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
48462 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
48463 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48465 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
48466 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
48468 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
48469 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
48471 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
48472 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
48474 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
48475 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
48477 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
48478 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
48480 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
48481 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
48483 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
48484 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
48486 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
48487 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
48489 static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x
) {
48490 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48492 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
48493 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
48495 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
48496 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
48498 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
48499 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
48501 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
48502 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
48504 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
48505 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
48507 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
48508 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
48510 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
48511 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
48513 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
48514 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
48516 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
48517 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
48519 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
48520 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
48522 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
48523 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
48525 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
48526 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
48528 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
48529 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
48531 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
48532 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
48534 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
48535 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
48537 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
48538 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
48540 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
48541 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
48543 static void *_p_wxListEventTo_p_wxObject(void *x
) {
48544 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
48546 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
48547 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48549 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
48550 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48552 static void *_p_wxButtonTo_p_wxObject(void *x
) {
48553 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
48555 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
48556 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48558 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
48559 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
48561 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
48562 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48564 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
48565 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
48567 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
48568 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
48570 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
48571 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
48573 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
48574 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
48576 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
48577 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
48579 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
48580 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
48582 static void *_p_wxListItemTo_p_wxObject(void *x
) {
48583 return (void *)((wxObject
*) ((wxListItem
*) x
));
48585 static void *_p_wxImageTo_p_wxObject(void *x
) {
48586 return (void *)((wxObject
*) ((wxImage
*) x
));
48588 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
48589 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
48591 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
48592 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48594 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
48595 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
48597 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
48598 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
48600 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
48601 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48603 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
48604 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48606 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
48607 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48609 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
48610 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48612 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
48613 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48615 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
48616 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48618 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
48619 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
48621 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
48622 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
48624 static void *_p_wxWindowTo_p_wxObject(void *x
) {
48625 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
48627 static void *_p_wxMenuTo_p_wxObject(void *x
) {
48628 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
48630 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
48631 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
48633 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
48634 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
48636 static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x
) {
48637 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
48639 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
48640 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
48642 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
48643 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
48645 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
48646 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
48648 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
48649 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
48651 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
48652 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
48654 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
48655 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
48657 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
48658 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48660 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
48661 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48663 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
48664 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48666 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
48667 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
48669 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
48670 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
48672 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
48673 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
48675 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
48676 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
48678 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
48679 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48681 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
48682 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
48684 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
48685 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48687 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
48688 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48690 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
48691 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48693 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
48694 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48696 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
48697 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
48699 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
48700 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
48702 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
48703 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
48705 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
48706 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48708 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
48709 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
48711 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
48712 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
48714 static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x
) {
48715 return (void *)((wxWindow
*) (wxControl
*) ((wxCollapsiblePane
*) x
));
48717 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
48718 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
48720 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
48721 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
48723 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
48724 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48726 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
48727 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
48729 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
48730 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
48732 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
48733 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
48735 static void *_p_wxSearchCtrlTo_p_wxWindow(void *x
) {
48736 return (void *)((wxWindow
*) (wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48738 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
48739 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48741 static void *_p_wxControlTo_p_wxWindow(void *x
) {
48742 return (void *)((wxWindow
*) ((wxControl
*) x
));
48744 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
48745 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
48747 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
48748 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
48750 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
48751 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
48753 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
48754 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48756 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
48757 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
48759 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
48760 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
48762 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
48763 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
48765 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
48766 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
48768 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
48769 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
48771 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
48772 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
48774 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
48775 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48777 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
48778 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48780 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
48781 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
48783 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
48784 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
48786 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
48787 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
48789 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
48790 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
48792 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
48793 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48795 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
48796 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48798 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
48799 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48801 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
48802 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48804 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
48805 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48807 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
48808 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
48810 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
48811 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
48813 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
48814 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
48816 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
48817 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
48819 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
48820 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
48822 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
48823 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48825 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
48826 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
48828 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
48829 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
48831 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
48832 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48834 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
48835 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48837 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
48838 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
48840 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
48841 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48843 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
48844 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48846 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
48847 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48849 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
48850 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48852 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
48853 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
48855 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48856 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48858 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48859 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48861 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48862 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48864 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48865 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48867 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48868 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48870 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
48871 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48873 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
48874 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48876 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
48877 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48879 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
48880 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48882 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
48883 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48885 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
48886 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48888 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
48889 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48891 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
48892 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
48894 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
48895 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48897 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
48898 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
48900 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
48901 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48903 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
48904 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48906 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
48907 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48909 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
48910 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48912 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
48913 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48915 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
48916 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48918 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
48919 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
48921 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
48922 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48924 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
48925 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
48927 static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x
) {
48928 return (void *)((wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48930 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
48931 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48933 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
48934 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48936 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
48937 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48939 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
48940 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
48942 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
48943 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48945 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
48946 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48948 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
48949 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48951 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
48952 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
48954 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
48955 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
48957 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
48958 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
48960 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
48961 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
48963 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
48964 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
48965 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};
48966 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
48967 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
48968 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
48969 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
48970 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
48971 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
48972 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
48973 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
48974 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
48975 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
48976 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
48977 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
48978 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
48979 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
48980 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
48981 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
48982 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
48983 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
48984 static swig_type_info _swigt__p_wxCollapsiblePane
= {"_p_wxCollapsiblePane", "wxCollapsiblePane *", 0, 0, (void*)0, 0};
48985 static swig_type_info _swigt__p_wxCollapsiblePaneEvent
= {"_p_wxCollapsiblePaneEvent", "wxCollapsiblePaneEvent *", 0, 0, (void*)0, 0};
48986 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
48987 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
48988 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
48989 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
48990 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
48991 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
48992 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
48993 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
48994 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
48995 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
48996 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
48997 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
48998 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
48999 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
49000 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
49001 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
49002 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
49003 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
49004 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
49005 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
49006 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
49007 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
49008 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
49009 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
49010 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
49011 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
49012 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
49013 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
49014 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
49015 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
49016 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
49017 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
49018 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
49019 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
49020 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
49021 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
49022 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
49023 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
49024 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
49025 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
49026 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
49027 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
49028 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
49029 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
49030 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
49031 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
49032 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
49033 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
49034 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
49035 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
49036 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
49037 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
49038 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
49039 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
49040 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
49041 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
49042 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
49043 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
49044 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
49045 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
49046 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
49047 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
49048 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
49049 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
49050 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
49051 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
49052 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
49053 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
49054 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
49055 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
49056 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
49057 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
49058 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
49059 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
49060 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
49061 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
49062 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
49063 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
49064 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
49065 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
49066 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
49067 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
49068 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
49069 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
49070 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
49071 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
49072 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
49073 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
49074 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
49075 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
49076 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
49077 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
49078 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
49079 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
49080 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
49081 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
49082 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
49083 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
49084 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
49085 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
49086 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
49087 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
49088 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
49089 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
49090 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
49091 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
49092 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
49093 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
49094 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
49095 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
49096 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
49097 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
49098 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
49099 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
49100 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
49101 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
49102 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
49103 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
49104 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
49105 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
49106 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
49107 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
49108 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
49109 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
49110 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
49111 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
49112 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
49113 static swig_type_info _swigt__p_wxSearchCtrl
= {"_p_wxSearchCtrl", "wxSearchCtrl *", 0, 0, (void*)0, 0};
49114 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
49115 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
49116 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
49117 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
49118 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
49119 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
49120 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
49121 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
49122 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
49123 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
49124 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
49125 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
49126 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
49127 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
49128 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
49129 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
49130 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
49131 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
49132 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
49133 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
49134 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
49135 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
49136 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
49137 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
49138 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
49139 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
49140 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
49141 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
49143 static swig_type_info
*swig_type_initial
[] = {
49146 &_swigt__p_form_ops_t
,
49149 &_swigt__p_unsigned_char
,
49150 &_swigt__p_unsigned_int
,
49151 &_swigt__p_unsigned_long
,
49153 &_swigt__p_wxANIHandler
,
49154 &_swigt__p_wxAcceleratorTable
,
49155 &_swigt__p_wxActivateEvent
,
49156 &_swigt__p_wxArrayInt
,
49157 &_swigt__p_wxArrayString
,
49158 &_swigt__p_wxBMPHandler
,
49159 &_swigt__p_wxBitmap
,
49160 &_swigt__p_wxBitmapButton
,
49161 &_swigt__p_wxBookCtrlBase
,
49162 &_swigt__p_wxBookCtrlBaseEvent
,
49163 &_swigt__p_wxBoxSizer
,
49164 &_swigt__p_wxButton
,
49165 &_swigt__p_wxCURHandler
,
49166 &_swigt__p_wxCheckBox
,
49167 &_swigt__p_wxCheckListBox
,
49168 &_swigt__p_wxChildFocusEvent
,
49169 &_swigt__p_wxChoice
,
49170 &_swigt__p_wxChoicebook
,
49171 &_swigt__p_wxChoicebookEvent
,
49172 &_swigt__p_wxClipboardTextEvent
,
49173 &_swigt__p_wxCloseEvent
,
49174 &_swigt__p_wxCollapsiblePane
,
49175 &_swigt__p_wxCollapsiblePaneEvent
,
49176 &_swigt__p_wxColour
,
49177 &_swigt__p_wxColourPickerCtrl
,
49178 &_swigt__p_wxColourPickerEvent
,
49179 &_swigt__p_wxComboBox
,
49180 &_swigt__p_wxCommandEvent
,
49181 &_swigt__p_wxContextHelp
,
49182 &_swigt__p_wxContextHelpButton
,
49183 &_swigt__p_wxContextMenuEvent
,
49184 &_swigt__p_wxControl
,
49185 &_swigt__p_wxControlWithItems
,
49186 &_swigt__p_wxCursor
,
49188 &_swigt__p_wxDateEvent
,
49189 &_swigt__p_wxDatePickerCtrl
,
49190 &_swigt__p_wxDateTime
,
49191 &_swigt__p_wxDirFilterListCtrl
,
49192 &_swigt__p_wxDirPickerCtrl
,
49193 &_swigt__p_wxDisplayChangedEvent
,
49194 &_swigt__p_wxDropFilesEvent
,
49195 &_swigt__p_wxDuplexMode
,
49196 &_swigt__p_wxEraseEvent
,
49197 &_swigt__p_wxEvent
,
49198 &_swigt__p_wxEvtHandler
,
49199 &_swigt__p_wxFSFile
,
49200 &_swigt__p_wxFileDirPickerEvent
,
49201 &_swigt__p_wxFilePickerCtrl
,
49202 &_swigt__p_wxFileSystem
,
49203 &_swigt__p_wxFlexGridSizer
,
49204 &_swigt__p_wxFocusEvent
,
49206 &_swigt__p_wxFontPickerCtrl
,
49207 &_swigt__p_wxFontPickerEvent
,
49208 &_swigt__p_wxGBSizerItem
,
49209 &_swigt__p_wxGIFHandler
,
49210 &_swigt__p_wxGauge
,
49211 &_swigt__p_wxGenericDirCtrl
,
49212 &_swigt__p_wxGenericDragImage
,
49213 &_swigt__p_wxGridBagSizer
,
49214 &_swigt__p_wxGridSizer
,
49215 &_swigt__p_wxHelpEvent
,
49216 &_swigt__p_wxHelpProvider
,
49217 &_swigt__p_wxHyperlinkCtrl
,
49218 &_swigt__p_wxHyperlinkEvent
,
49219 &_swigt__p_wxICOHandler
,
49221 &_swigt__p_wxIconizeEvent
,
49222 &_swigt__p_wxIdleEvent
,
49223 &_swigt__p_wxImage
,
49224 &_swigt__p_wxImageHandler
,
49225 &_swigt__p_wxImageList
,
49226 &_swigt__p_wxIndividualLayoutConstraint
,
49227 &_swigt__p_wxInitDialogEvent
,
49228 &_swigt__p_wxItemContainer
,
49229 &_swigt__p_wxJPEGHandler
,
49230 &_swigt__p_wxKeyEvent
,
49231 &_swigt__p_wxLayoutConstraints
,
49232 &_swigt__p_wxListBox
,
49233 &_swigt__p_wxListEvent
,
49234 &_swigt__p_wxListItem
,
49235 &_swigt__p_wxListItemAttr
,
49236 &_swigt__p_wxListView
,
49237 &_swigt__p_wxListbook
,
49238 &_swigt__p_wxListbookEvent
,
49239 &_swigt__p_wxMaximizeEvent
,
49240 &_swigt__p_wxMemoryDC
,
49242 &_swigt__p_wxMenuBar
,
49243 &_swigt__p_wxMenuEvent
,
49244 &_swigt__p_wxMenuItem
,
49245 &_swigt__p_wxMouseCaptureChangedEvent
,
49246 &_swigt__p_wxMouseCaptureLostEvent
,
49247 &_swigt__p_wxMouseEvent
,
49248 &_swigt__p_wxMoveEvent
,
49249 &_swigt__p_wxNavigationKeyEvent
,
49250 &_swigt__p_wxNcPaintEvent
,
49251 &_swigt__p_wxNotebook
,
49252 &_swigt__p_wxNotebookEvent
,
49253 &_swigt__p_wxNotifyEvent
,
49254 &_swigt__p_wxObject
,
49255 &_swigt__p_wxPCXHandler
,
49256 &_swigt__p_wxPNGHandler
,
49257 &_swigt__p_wxPNMHandler
,
49258 &_swigt__p_wxPaintEvent
,
49259 &_swigt__p_wxPaletteChangedEvent
,
49260 &_swigt__p_wxPaperSize
,
49261 &_swigt__p_wxPickerBase
,
49262 &_swigt__p_wxPoint
,
49263 &_swigt__p_wxPyApp
,
49264 &_swigt__p_wxPyCommandEvent
,
49265 &_swigt__p_wxPyControl
,
49266 &_swigt__p_wxPyEvent
,
49267 &_swigt__p_wxPyImageHandler
,
49268 &_swigt__p_wxPyListCtrl
,
49269 &_swigt__p_wxPySizer
,
49270 &_swigt__p_wxPyTreeCtrl
,
49271 &_swigt__p_wxPyTreeItemData
,
49272 &_swigt__p_wxPyValidator
,
49273 &_swigt__p_wxQueryNewPaletteEvent
,
49274 &_swigt__p_wxRadioBox
,
49275 &_swigt__p_wxRadioButton
,
49277 &_swigt__p_wxScrollBar
,
49278 &_swigt__p_wxScrollEvent
,
49279 &_swigt__p_wxScrollWinEvent
,
49280 &_swigt__p_wxSearchCtrl
,
49281 &_swigt__p_wxSetCursorEvent
,
49282 &_swigt__p_wxShowEvent
,
49283 &_swigt__p_wxSimpleHelpProvider
,
49285 &_swigt__p_wxSizeEvent
,
49286 &_swigt__p_wxSizer
,
49287 &_swigt__p_wxSizerItem
,
49288 &_swigt__p_wxSlider
,
49289 &_swigt__p_wxSpinButton
,
49290 &_swigt__p_wxSpinCtrl
,
49291 &_swigt__p_wxSpinEvent
,
49292 &_swigt__p_wxStaticBitmap
,
49293 &_swigt__p_wxStaticBox
,
49294 &_swigt__p_wxStaticBoxSizer
,
49295 &_swigt__p_wxStaticLine
,
49296 &_swigt__p_wxStaticText
,
49297 &_swigt__p_wxStdDialogButtonSizer
,
49298 &_swigt__p_wxString
,
49299 &_swigt__p_wxSysColourChangedEvent
,
49300 &_swigt__p_wxTGAHandler
,
49301 &_swigt__p_wxTIFFHandler
,
49302 &_swigt__p_wxTextAttr
,
49303 &_swigt__p_wxTextCtrl
,
49304 &_swigt__p_wxTextUrlEvent
,
49305 &_swigt__p_wxToggleButton
,
49306 &_swigt__p_wxToolBar
,
49307 &_swigt__p_wxToolBarBase
,
49308 &_swigt__p_wxToolBarToolBase
,
49309 &_swigt__p_wxToolbook
,
49310 &_swigt__p_wxToolbookEvent
,
49311 &_swigt__p_wxTreeEvent
,
49312 &_swigt__p_wxTreeItemId
,
49313 &_swigt__p_wxTreebook
,
49314 &_swigt__p_wxTreebookEvent
,
49315 &_swigt__p_wxUpdateUIEvent
,
49316 &_swigt__p_wxValidator
,
49317 &_swigt__p_wxVisualAttributes
,
49318 &_swigt__p_wxWindow
,
49319 &_swigt__p_wxWindowBase
,
49320 &_swigt__p_wxWindowCreateEvent
,
49321 &_swigt__p_wxWindowDestroyEvent
,
49322 &_swigt__p_wxXPMHandler
,
49325 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
49326 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
49327 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
49328 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
49329 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
49330 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
49331 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
49332 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
49333 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
49334 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
49335 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
49336 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
49337 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}};
49338 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}};
49339 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}};
49340 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}};
49341 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
49342 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
49343 static swig_cast_info _swigc__p_wxChoice
[] = { {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxChoice
, 0, 0, 0},{0, 0, 0, 0}};
49344 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
49345 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49346 static swig_cast_info _swigc__p_wxCollapsiblePane
[] = { {&_swigt__p_wxCollapsiblePane
, 0, 0, 0},{0, 0, 0, 0}};
49347 static swig_cast_info _swigc__p_wxCollapsiblePaneEvent
[] = { {&_swigt__p_wxCollapsiblePaneEvent
, 0, 0, 0},{0, 0, 0, 0}};
49348 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
49349 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49350 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49351 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
49352 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49353 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
49354 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
49355 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
49356 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
49357 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
49358 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49359 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49360 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
49361 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}};
49362 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
49363 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
49364 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}};
49365 static swig_cast_info _swigc__p_wxControlWithItems
[] = { {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxControlWithItems
, 0, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0},{0, 0, 0, 0}};
49366 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
49367 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
49368 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49369 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
49370 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49371 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49372 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
49373 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
49374 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49375 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49376 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
49377 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
49378 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49379 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
49380 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
49381 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49382 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49383 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49384 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49385 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
49386 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
49387 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
49388 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
49389 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49390 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49391 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49392 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49393 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
49394 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
49395 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
49396 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49397 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
49398 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}};
49399 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
49400 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
49401 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
49402 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSearchCtrl
, _p_wxSearchCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
49403 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49404 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49405 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
49406 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49407 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49408 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
49409 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49410 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
49411 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
49412 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}};
49413 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49414 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
49415 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
49416 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
49417 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}};
49418 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49419 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}};
49420 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
49421 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
49422 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
49423 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
49424 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
49425 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49426 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
49427 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
49428 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49429 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
49430 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49431 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}};
49432 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
49433 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
49434 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
49435 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
49436 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49437 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49438 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49439 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
49440 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
49441 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
49442 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
49443 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
49444 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
49445 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
49446 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
49447 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
49448 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
49449 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
49450 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
49451 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
49452 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
49453 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
49454 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
49455 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
49456 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
49457 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
49458 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
49459 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
49460 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
49461 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
49462 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
49463 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSearchCtrl
, _p_wxSearchCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent
, _p_wxCollapsiblePaneEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelp
, _p_wxContextHelpTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListItem
, _p_wxListItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDragImage
, _p_wxGenericDragImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarToolBase
, _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
49464 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
49465 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}};
49466 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
49467 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
49468 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}};
49469 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49470 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
49471 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
49472 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
49473 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
49474 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
49475 static swig_cast_info _swigc__p_wxSearchCtrl
[] = { {&_swigt__p_wxSearchCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49476 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
49477 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
49478 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
49479 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
49480 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49481 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
49482 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
49483 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
49484 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
49485 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
49486 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
49487 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
49488 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}};
49489 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
49490 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
49491 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
49492 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}};
49493 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
49494 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
49495 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49496 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49497 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
49498 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
49499 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49500 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}};
49501 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
49502 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}};
49503 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
49505 static swig_cast_info
*swig_cast_initial
[] = {
49508 _swigc__p_form_ops_t
,
49511 _swigc__p_unsigned_char
,
49512 _swigc__p_unsigned_int
,
49513 _swigc__p_unsigned_long
,
49515 _swigc__p_wxANIHandler
,
49516 _swigc__p_wxAcceleratorTable
,
49517 _swigc__p_wxActivateEvent
,
49518 _swigc__p_wxArrayInt
,
49519 _swigc__p_wxArrayString
,
49520 _swigc__p_wxBMPHandler
,
49521 _swigc__p_wxBitmap
,
49522 _swigc__p_wxBitmapButton
,
49523 _swigc__p_wxBookCtrlBase
,
49524 _swigc__p_wxBookCtrlBaseEvent
,
49525 _swigc__p_wxBoxSizer
,
49526 _swigc__p_wxButton
,
49527 _swigc__p_wxCURHandler
,
49528 _swigc__p_wxCheckBox
,
49529 _swigc__p_wxCheckListBox
,
49530 _swigc__p_wxChildFocusEvent
,
49531 _swigc__p_wxChoice
,
49532 _swigc__p_wxChoicebook
,
49533 _swigc__p_wxChoicebookEvent
,
49534 _swigc__p_wxClipboardTextEvent
,
49535 _swigc__p_wxCloseEvent
,
49536 _swigc__p_wxCollapsiblePane
,
49537 _swigc__p_wxCollapsiblePaneEvent
,
49538 _swigc__p_wxColour
,
49539 _swigc__p_wxColourPickerCtrl
,
49540 _swigc__p_wxColourPickerEvent
,
49541 _swigc__p_wxComboBox
,
49542 _swigc__p_wxCommandEvent
,
49543 _swigc__p_wxContextHelp
,
49544 _swigc__p_wxContextHelpButton
,
49545 _swigc__p_wxContextMenuEvent
,
49546 _swigc__p_wxControl
,
49547 _swigc__p_wxControlWithItems
,
49548 _swigc__p_wxCursor
,
49550 _swigc__p_wxDateEvent
,
49551 _swigc__p_wxDatePickerCtrl
,
49552 _swigc__p_wxDateTime
,
49553 _swigc__p_wxDirFilterListCtrl
,
49554 _swigc__p_wxDirPickerCtrl
,
49555 _swigc__p_wxDisplayChangedEvent
,
49556 _swigc__p_wxDropFilesEvent
,
49557 _swigc__p_wxDuplexMode
,
49558 _swigc__p_wxEraseEvent
,
49560 _swigc__p_wxEvtHandler
,
49561 _swigc__p_wxFSFile
,
49562 _swigc__p_wxFileDirPickerEvent
,
49563 _swigc__p_wxFilePickerCtrl
,
49564 _swigc__p_wxFileSystem
,
49565 _swigc__p_wxFlexGridSizer
,
49566 _swigc__p_wxFocusEvent
,
49568 _swigc__p_wxFontPickerCtrl
,
49569 _swigc__p_wxFontPickerEvent
,
49570 _swigc__p_wxGBSizerItem
,
49571 _swigc__p_wxGIFHandler
,
49573 _swigc__p_wxGenericDirCtrl
,
49574 _swigc__p_wxGenericDragImage
,
49575 _swigc__p_wxGridBagSizer
,
49576 _swigc__p_wxGridSizer
,
49577 _swigc__p_wxHelpEvent
,
49578 _swigc__p_wxHelpProvider
,
49579 _swigc__p_wxHyperlinkCtrl
,
49580 _swigc__p_wxHyperlinkEvent
,
49581 _swigc__p_wxICOHandler
,
49583 _swigc__p_wxIconizeEvent
,
49584 _swigc__p_wxIdleEvent
,
49586 _swigc__p_wxImageHandler
,
49587 _swigc__p_wxImageList
,
49588 _swigc__p_wxIndividualLayoutConstraint
,
49589 _swigc__p_wxInitDialogEvent
,
49590 _swigc__p_wxItemContainer
,
49591 _swigc__p_wxJPEGHandler
,
49592 _swigc__p_wxKeyEvent
,
49593 _swigc__p_wxLayoutConstraints
,
49594 _swigc__p_wxListBox
,
49595 _swigc__p_wxListEvent
,
49596 _swigc__p_wxListItem
,
49597 _swigc__p_wxListItemAttr
,
49598 _swigc__p_wxListView
,
49599 _swigc__p_wxListbook
,
49600 _swigc__p_wxListbookEvent
,
49601 _swigc__p_wxMaximizeEvent
,
49602 _swigc__p_wxMemoryDC
,
49604 _swigc__p_wxMenuBar
,
49605 _swigc__p_wxMenuEvent
,
49606 _swigc__p_wxMenuItem
,
49607 _swigc__p_wxMouseCaptureChangedEvent
,
49608 _swigc__p_wxMouseCaptureLostEvent
,
49609 _swigc__p_wxMouseEvent
,
49610 _swigc__p_wxMoveEvent
,
49611 _swigc__p_wxNavigationKeyEvent
,
49612 _swigc__p_wxNcPaintEvent
,
49613 _swigc__p_wxNotebook
,
49614 _swigc__p_wxNotebookEvent
,
49615 _swigc__p_wxNotifyEvent
,
49616 _swigc__p_wxObject
,
49617 _swigc__p_wxPCXHandler
,
49618 _swigc__p_wxPNGHandler
,
49619 _swigc__p_wxPNMHandler
,
49620 _swigc__p_wxPaintEvent
,
49621 _swigc__p_wxPaletteChangedEvent
,
49622 _swigc__p_wxPaperSize
,
49623 _swigc__p_wxPickerBase
,
49626 _swigc__p_wxPyCommandEvent
,
49627 _swigc__p_wxPyControl
,
49628 _swigc__p_wxPyEvent
,
49629 _swigc__p_wxPyImageHandler
,
49630 _swigc__p_wxPyListCtrl
,
49631 _swigc__p_wxPySizer
,
49632 _swigc__p_wxPyTreeCtrl
,
49633 _swigc__p_wxPyTreeItemData
,
49634 _swigc__p_wxPyValidator
,
49635 _swigc__p_wxQueryNewPaletteEvent
,
49636 _swigc__p_wxRadioBox
,
49637 _swigc__p_wxRadioButton
,
49639 _swigc__p_wxScrollBar
,
49640 _swigc__p_wxScrollEvent
,
49641 _swigc__p_wxScrollWinEvent
,
49642 _swigc__p_wxSearchCtrl
,
49643 _swigc__p_wxSetCursorEvent
,
49644 _swigc__p_wxShowEvent
,
49645 _swigc__p_wxSimpleHelpProvider
,
49647 _swigc__p_wxSizeEvent
,
49649 _swigc__p_wxSizerItem
,
49650 _swigc__p_wxSlider
,
49651 _swigc__p_wxSpinButton
,
49652 _swigc__p_wxSpinCtrl
,
49653 _swigc__p_wxSpinEvent
,
49654 _swigc__p_wxStaticBitmap
,
49655 _swigc__p_wxStaticBox
,
49656 _swigc__p_wxStaticBoxSizer
,
49657 _swigc__p_wxStaticLine
,
49658 _swigc__p_wxStaticText
,
49659 _swigc__p_wxStdDialogButtonSizer
,
49660 _swigc__p_wxString
,
49661 _swigc__p_wxSysColourChangedEvent
,
49662 _swigc__p_wxTGAHandler
,
49663 _swigc__p_wxTIFFHandler
,
49664 _swigc__p_wxTextAttr
,
49665 _swigc__p_wxTextCtrl
,
49666 _swigc__p_wxTextUrlEvent
,
49667 _swigc__p_wxToggleButton
,
49668 _swigc__p_wxToolBar
,
49669 _swigc__p_wxToolBarBase
,
49670 _swigc__p_wxToolBarToolBase
,
49671 _swigc__p_wxToolbook
,
49672 _swigc__p_wxToolbookEvent
,
49673 _swigc__p_wxTreeEvent
,
49674 _swigc__p_wxTreeItemId
,
49675 _swigc__p_wxTreebook
,
49676 _swigc__p_wxTreebookEvent
,
49677 _swigc__p_wxUpdateUIEvent
,
49678 _swigc__p_wxValidator
,
49679 _swigc__p_wxVisualAttributes
,
49680 _swigc__p_wxWindow
,
49681 _swigc__p_wxWindowBase
,
49682 _swigc__p_wxWindowCreateEvent
,
49683 _swigc__p_wxWindowDestroyEvent
,
49684 _swigc__p_wxXPMHandler
,
49688 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
49690 static swig_const_info swig_const_table
[] = {
49691 {0, 0, 0, 0.0, 0, 0}};
49696 /* -----------------------------------------------------------------------------
49697 * Type initialization:
49698 * This problem is tough by the requirement that no dynamic
49699 * memory is used. Also, since swig_type_info structures store pointers to
49700 * swig_cast_info structures and swig_cast_info structures store pointers back
49701 * to swig_type_info structures, we need some lookup code at initialization.
49702 * The idea is that swig generates all the structures that are needed.
49703 * The runtime then collects these partially filled structures.
49704 * The SWIG_InitializeModule function takes these initial arrays out of
49705 * swig_module, and does all the lookup, filling in the swig_module.types
49706 * array with the correct data and linking the correct swig_cast_info
49707 * structures together.
49709 * The generated swig_type_info structures are assigned staticly to an initial
49710 * array. We just loop though that array, and handle each type individually.
49711 * First we lookup if this type has been already loaded, and if so, use the
49712 * loaded structure instead of the generated one. Then we have to fill in the
49713 * cast linked list. The cast data is initially stored in something like a
49714 * two-dimensional array. Each row corresponds to a type (there are the same
49715 * number of rows as there are in the swig_type_initial array). Each entry in
49716 * a column is one of the swig_cast_info structures for that type.
49717 * The cast_initial array is actually an array of arrays, because each row has
49718 * a variable number of columns. So to actually build the cast linked list,
49719 * we find the array of casts associated with the type, and loop through it
49720 * adding the casts to the list. The one last trick we need to do is making
49721 * sure the type pointer in the swig_cast_info struct is correct.
49723 * First off, we lookup the cast->type name to see if it is already loaded.
49724 * There are three cases to handle:
49725 * 1) If the cast->type has already been loaded AND the type we are adding
49726 * casting info to has not been loaded (it is in this module), THEN we
49727 * replace the cast->type pointer with the type pointer that has already
49729 * 2) If BOTH types (the one we are adding casting info to, and the
49730 * cast->type) are loaded, THEN the cast info has already been loaded by
49731 * the previous module so we just ignore it.
49732 * 3) Finally, if cast->type has not already been loaded, then we add that
49733 * swig_cast_info to the linked list (because the cast->type) pointer will
49735 * ----------------------------------------------------------------------------- */
49745 #define SWIGRUNTIME_DEBUG
49749 SWIG_InitializeModule(void *clientdata
) {
49751 swig_module_info
*module_head
;
49752 static int init_run
= 0;
49754 clientdata
= clientdata
;
49756 if (init_run
) return;
49759 /* Initialize the swig_module */
49760 swig_module
.type_initial
= swig_type_initial
;
49761 swig_module
.cast_initial
= swig_cast_initial
;
49763 /* Try and load any already created modules */
49764 module_head
= SWIG_GetModule(clientdata
);
49766 swig_module
.next
= module_head
->next
;
49767 module_head
->next
= &swig_module
;
49769 /* This is the first module loaded */
49770 swig_module
.next
= &swig_module
;
49771 SWIG_SetModule(clientdata
, &swig_module
);
49774 /* Now work on filling in swig_module.types */
49775 #ifdef SWIGRUNTIME_DEBUG
49776 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
49778 for (i
= 0; i
< swig_module
.size
; ++i
) {
49779 swig_type_info
*type
= 0;
49780 swig_type_info
*ret
;
49781 swig_cast_info
*cast
;
49783 #ifdef SWIGRUNTIME_DEBUG
49784 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
49787 /* if there is another module already loaded */
49788 if (swig_module
.next
!= &swig_module
) {
49789 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
49792 /* Overwrite clientdata field */
49793 #ifdef SWIGRUNTIME_DEBUG
49794 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
49796 if (swig_module
.type_initial
[i
]->clientdata
) {
49797 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
49798 #ifdef SWIGRUNTIME_DEBUG
49799 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
49803 type
= swig_module
.type_initial
[i
];
49806 /* Insert casting types */
49807 cast
= swig_module
.cast_initial
[i
];
49808 while (cast
->type
) {
49809 /* Don't need to add information already in the list */
49811 #ifdef SWIGRUNTIME_DEBUG
49812 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
49814 if (swig_module
.next
!= &swig_module
) {
49815 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
49816 #ifdef SWIGRUNTIME_DEBUG
49817 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
49821 if (type
== swig_module
.type_initial
[i
]) {
49822 #ifdef SWIGRUNTIME_DEBUG
49823 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
49828 /* Check for casting already in the list */
49829 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
49830 #ifdef SWIGRUNTIME_DEBUG
49831 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
49833 if (!ocast
) ret
= 0;
49838 #ifdef SWIGRUNTIME_DEBUG
49839 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
49842 type
->cast
->prev
= cast
;
49843 cast
->next
= type
->cast
;
49849 /* Set entry in modules->types array equal to the type */
49850 swig_module
.types
[i
] = type
;
49852 swig_module
.types
[i
] = 0;
49854 #ifdef SWIGRUNTIME_DEBUG
49855 printf("**** SWIG_InitializeModule: Cast List ******\n");
49856 for (i
= 0; i
< swig_module
.size
; ++i
) {
49858 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
49859 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
49860 while (cast
->type
) {
49861 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
49865 printf("---- Total casts: %d\n",j
);
49867 printf("**** SWIG_InitializeModule: Cast List ******\n");
49871 /* This function will propagate the clientdata field of type to
49872 * any new swig_type_info structures that have been added into the list
49873 * of equivalent types. It is like calling
49874 * SWIG_TypeClientData(type, clientdata) a second time.
49877 SWIG_PropagateClientData(void) {
49879 swig_cast_info
*equiv
;
49880 static int init_run
= 0;
49882 if (init_run
) return;
49885 for (i
= 0; i
< swig_module
.size
; i
++) {
49886 if (swig_module
.types
[i
]->clientdata
) {
49887 equiv
= swig_module
.types
[i
]->cast
;
49889 if (!equiv
->converter
) {
49890 if (equiv
->type
&& !equiv
->type
->clientdata
)
49891 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
49893 equiv
= equiv
->next
;
49913 /* Python-specific SWIG API */
49914 #define SWIG_newvarlink() SWIG_Python_newvarlink()
49915 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
49916 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
49918 /* -----------------------------------------------------------------------------
49919 * global variable support code.
49920 * ----------------------------------------------------------------------------- */
49922 typedef struct swig_globalvar
{
49923 char *name
; /* Name of global variable */
49924 PyObject
*(*get_attr
)(void); /* Return the current value */
49925 int (*set_attr
)(PyObject
*); /* Set the value */
49926 struct swig_globalvar
*next
;
49929 typedef struct swig_varlinkobject
{
49931 swig_globalvar
*vars
;
49932 } swig_varlinkobject
;
49934 SWIGINTERN PyObject
*
49935 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
49936 return PyString_FromString("<Swig global variables>");
49939 SWIGINTERN PyObject
*
49940 swig_varlink_str(swig_varlinkobject
*v
) {
49941 PyObject
*str
= PyString_FromString("(");
49942 swig_globalvar
*var
;
49943 for (var
= v
->vars
; var
; var
=var
->next
) {
49944 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
49945 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
49947 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
49952 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
49953 PyObject
*str
= swig_varlink_str(v
);
49954 fprintf(fp
,"Swig global variables ");
49955 fprintf(fp
,"%s\n", PyString_AsString(str
));
49961 swig_varlink_dealloc(swig_varlinkobject
*v
) {
49962 swig_globalvar
*var
= v
->vars
;
49964 swig_globalvar
*n
= var
->next
;
49971 SWIGINTERN PyObject
*
49972 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
49973 PyObject
*res
= NULL
;
49974 swig_globalvar
*var
= v
->vars
;
49976 if (strcmp(var
->name
,n
) == 0) {
49977 res
= (*var
->get_attr
)();
49982 if (res
== NULL
&& !PyErr_Occurred()) {
49983 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
49989 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
49991 swig_globalvar
*var
= v
->vars
;
49993 if (strcmp(var
->name
,n
) == 0) {
49994 res
= (*var
->set_attr
)(p
);
49999 if (res
== 1 && !PyErr_Occurred()) {
50000 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
50005 SWIGINTERN PyTypeObject
*
50006 swig_varlink_type(void) {
50007 static char varlink__doc__
[] = "Swig var link object";
50008 static PyTypeObject varlink_type
;
50009 static int type_init
= 0;
50011 const PyTypeObject tmp
50013 PyObject_HEAD_INIT(NULL
)
50014 0, /* Number of items in variable part (ob_size) */
50015 (char *)"swigvarlink", /* Type name (tp_name) */
50016 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
50017 0, /* Itemsize (tp_itemsize) */
50018 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
50019 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
50020 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
50021 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
50022 0, /* tp_compare */
50023 (reprfunc
) swig_varlink_repr
, /* tp_repr */
50024 0, /* tp_as_number */
50025 0, /* tp_as_sequence */
50026 0, /* tp_as_mapping */
50029 (reprfunc
)swig_varlink_str
, /* tp_str */
50030 0, /* tp_getattro */
50031 0, /* tp_setattro */
50032 0, /* tp_as_buffer */
50034 varlink__doc__
, /* tp_doc */
50035 0, /* tp_traverse */
50037 0, /* tp_richcompare */
50038 0, /* tp_weaklistoffset */
50039 #if PY_VERSION_HEX >= 0x02020000
50040 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
50042 #if PY_VERSION_HEX >= 0x02030000
50045 #ifdef COUNT_ALLOCS
50046 0,0,0,0 /* tp_alloc -> tp_next */
50049 varlink_type
= tmp
;
50050 varlink_type
.ob_type
= &PyType_Type
;
50053 return &varlink_type
;
50056 /* Create a variable linking object for use later */
50057 SWIGINTERN PyObject
*
50058 SWIG_Python_newvarlink(void) {
50059 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
50063 return ((PyObject
*) result
);
50067 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
50068 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
50069 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
50071 size_t size
= strlen(name
)+1;
50072 gv
->name
= (char *)malloc(size
);
50074 strncpy(gv
->name
,name
,size
);
50075 gv
->get_attr
= get_attr
;
50076 gv
->set_attr
= set_attr
;
50077 gv
->next
= v
->vars
;
50083 SWIGINTERN PyObject
*
50085 static PyObject
*_SWIG_globals
= 0;
50086 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
50087 return _SWIG_globals
;
50090 /* -----------------------------------------------------------------------------
50091 * constants/methods manipulation
50092 * ----------------------------------------------------------------------------- */
50094 /* Install Constants */
50096 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
50099 for (i
= 0; constants
[i
].type
; ++i
) {
50100 switch(constants
[i
].type
) {
50101 case SWIG_PY_POINTER
:
50102 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
50104 case SWIG_PY_BINARY
:
50105 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
50112 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
50118 /* -----------------------------------------------------------------------------*/
50119 /* Fix SwigMethods to carry the callback ptrs when needed */
50120 /* -----------------------------------------------------------------------------*/
50123 SWIG_Python_FixMethods(PyMethodDef
*methods
,
50124 swig_const_info
*const_table
,
50125 swig_type_info
**types
,
50126 swig_type_info
**types_initial
) {
50128 for (i
= 0; methods
[i
].ml_name
; ++i
) {
50129 const char *c
= methods
[i
].ml_doc
;
50130 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
50132 swig_const_info
*ci
= 0;
50133 const char *name
= c
+ 10;
50134 for (j
= 0; const_table
[j
].type
; ++j
) {
50135 if (strncmp(const_table
[j
].name
, name
,
50136 strlen(const_table
[j
].name
)) == 0) {
50137 ci
= &(const_table
[j
]);
50142 size_t shift
= (ci
->ptype
) - types
;
50143 swig_type_info
*ty
= types_initial
[shift
];
50144 size_t ldoc
= (c
- methods
[i
].ml_doc
);
50145 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
50146 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
50149 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
50151 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
50153 strncpy(buff
, "swig_ptr: ", 10);
50155 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
50156 methods
[i
].ml_doc
= ndoc
;
50168 /* -----------------------------------------------------------------------------*
50169 * Partial Init method
50170 * -----------------------------------------------------------------------------*/
50175 SWIGEXPORT
void SWIG_init(void) {
50178 /* Fix SwigMethods to carry the callback ptrs when needed */
50179 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
50181 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
50182 d
= PyModule_GetDict(m
);
50184 SWIG_InitializeModule(0);
50185 SWIG_InstallConstants(d
,swig_const_table
);
50188 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
50189 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
50190 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
50191 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
50192 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
50193 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
50194 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
50195 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
50196 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
50197 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
50198 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
50199 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
50200 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
50201 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
50202 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
50203 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
50204 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
50205 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
50206 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
50207 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
50208 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
50209 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
50210 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
50211 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
50212 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
50213 SWIG_addvarlink(SWIG_globals(),(char*)"StaticLineNameStr",StaticLineNameStr_get
, StaticLineNameStr_set
);
50214 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
50215 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
50216 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
50217 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
50218 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
50219 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
50220 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
50221 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
50222 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
50223 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
50224 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
50225 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
50226 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
50227 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
50228 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
50229 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
50230 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
50231 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
50232 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
50233 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
50234 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
50235 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
50236 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
50237 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
50238 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
50239 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
50240 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
50241 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
50242 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
50243 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
50244 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
50245 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
50246 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
50247 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
50248 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
50249 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
50250 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
50251 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
50252 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
50253 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
50254 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
50255 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
50256 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
50257 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
50258 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
50259 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
50260 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
50261 SWIG_Python_SetConstant(d
, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY
)));
50262 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
50263 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
50264 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
50265 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
50266 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
50267 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
50268 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
50269 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
50270 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
50271 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
50272 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
50273 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
50274 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
50275 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
50276 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
50277 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
50278 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
50279 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
50280 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
50281 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
50282 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
50283 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
50284 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
50285 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
50286 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
50287 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
50288 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
50289 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
50290 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
50291 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
50292 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
50293 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
50294 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
50295 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
50296 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
50297 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
50298 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
50299 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
50300 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
50301 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
50302 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
50303 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
50304 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
50305 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
50306 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
50307 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
50308 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
50309 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
50310 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
50311 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
50312 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
50313 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
50314 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
50315 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
50316 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
50317 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
50318 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
50319 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
50320 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
50321 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
50322 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
50323 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
50324 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
50325 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
50326 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
50327 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
50328 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
50329 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
50330 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
50331 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
50332 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
50333 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
50334 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
50335 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
50336 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
50337 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
50338 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
50339 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
50340 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
50341 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
50342 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
50343 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
50344 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
50345 SWIG_Python_SetConstant(d
, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP
)));
50346 SWIG_Python_SetConstant(d
, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT
)));
50347 SWIG_Python_SetConstant(d
, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM
)));
50348 SWIG_Python_SetConstant(d
, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT
)));
50349 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
50350 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
50351 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
50352 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
50353 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
50354 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
50355 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
50356 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
50357 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
50358 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
50359 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
50360 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
50361 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
50362 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
50363 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
50364 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
50365 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
50366 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
50367 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
50368 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
50369 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
50370 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
50371 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
50372 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
50373 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
50374 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
50375 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
50376 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
50377 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
50378 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
50379 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
50380 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
50381 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
50382 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
50383 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
50384 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
50385 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
50386 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
50387 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
50388 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
50389 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
50390 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
50391 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
50392 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
50393 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
50394 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
50395 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
50396 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
50397 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
50398 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
50399 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
50400 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
50401 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
50402 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
50403 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
50404 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
50405 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
50406 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
50407 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
50408 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
50409 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
50410 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
50411 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
50412 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
50413 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
50414 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
50415 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
50416 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
50417 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
50418 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
50419 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
50420 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
50421 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
50422 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
50423 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
50424 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
50425 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
50426 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
50427 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
50428 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
50429 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
50430 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
50431 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
50432 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
50433 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
50434 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
50435 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
50436 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
50437 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
50438 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
50439 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
50440 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
50441 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
50442 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
50443 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
50444 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
50445 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
50446 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
50447 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
50448 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
50450 // Map renamed classes back to their common name for OOR
50451 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
50453 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
50454 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
50455 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
50456 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
50457 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
50458 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
50459 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
50460 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
50461 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
50462 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
50463 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
50464 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
50465 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
50466 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
50467 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
50468 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
50469 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
50470 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
50471 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
50472 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
50473 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
50474 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
50475 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
50476 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
50477 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
50478 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
50479 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
50480 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
50481 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
50482 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
50483 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
50484 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
50485 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
50486 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
50487 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
50488 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
50489 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
50490 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
50491 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
50492 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
50493 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
50494 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
50495 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
50496 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
50497 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
50498 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
50499 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
50500 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
50501 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
50502 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
50503 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
50504 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
50505 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
50506 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
50507 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
50508 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
50510 // Map renamed classes back to their common name for OOR
50511 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
50512 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
50514 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
50515 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
50516 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
50517 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
50518 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
50519 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
50520 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
50521 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
50522 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
50523 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
50524 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
50526 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
50528 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
50529 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
50530 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
50531 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
50532 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
50533 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
50534 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
50535 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
50536 SWIG_Python_SetConstant(d
, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT
)));
50537 SWIG_Python_SetConstant(d
, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT
)));
50538 SWIG_Python_SetConstant(d
, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE
)));
50539 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
50540 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
50541 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
50542 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
50543 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
50544 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
50545 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
50546 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
50547 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
50548 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
50549 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
50550 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
50551 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
50552 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
50553 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
50554 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
50555 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
50556 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
50557 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
50558 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
50559 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
50560 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
50561 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
50562 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
50563 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
50564 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
50565 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
50566 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
50567 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
50568 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
50569 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
50570 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));
50571 SWIG_addvarlink(SWIG_globals(),(char*)"CollapsiblePaneNameStr",CollapsiblePaneNameStr_get
, CollapsiblePaneNameStr_set
);
50572 SWIG_Python_SetConstant(d
, "CP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCP_DEFAULT_STYLE
)));
50573 SWIG_Python_SetConstant(d
, "CP_NO_TLW_RESIZE",SWIG_From_int(static_cast< int >(wxCP_NO_TLW_RESIZE
)));
50574 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLLPANE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLLPANE_CHANGED
));
50575 SWIG_addvarlink(SWIG_globals(),(char*)"SearchCtrlNameStr",SearchCtrlNameStr_get
, SearchCtrlNameStr_set
);
50576 PyDict_SetItemString(d
, "wxEVT_COMMAND_SEARCHCTRL_CANCEL", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_CANCEL
));
50577 PyDict_SetItemString(d
, "wxEVT_COMMAND_SEARCHCTRL_SEARCH", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_SEARCH
));